Page MenuHomeFreeBSD
Feed Advanced Search

May 28 2017

mizhka accepted D10967: fixed for BCM4712 module.
May 28 2017, 5:16 AM

May 2 2017

mizhka accepted D10563: clang compile error fix.
May 2 2017, 5:22 AM

May 1 2017

mizhka added inline comments to D10557: fixed hi load traffic bug.
May 1 2017, 8:45 PM

Apr 13 2017

mizhka accepted D10122: Add support for dumping bcma/siba EROM tables via a new BHND_EROM_DUMP() method..

NICE!!! :)

Apr 13 2017, 3:17 PM
mizhka accepted D10177: cfi mx flash patch.
Apr 13 2017, 3:16 PM
mizhka accepted D10295: fdt away and mii hang workaround on ip17x.
Apr 13 2017, 3:15 PM
mizhka accepted D10336: add rt2880 support with etherswitch ip17x driver.

Generally speaking, I'm happy with patch. The only thing I worry is CD9660 image (inspired by ZRouter) vs. UFS1 zipped image (inspired by freebsd-wifi-build). This patch is based on CD9660 and it can be committed, but in future it will be nice to support both image types.

Apr 13 2017, 3:14 PM
mizhka accepted D8802: no hardcode tagging port setting at amd6996fc.
Apr 13 2017, 3:07 PM
mizhka accepted D10278: create man page for etherswitch driver.
Apr 13 2017, 3:07 PM

Mar 26 2017

mizhka accepted D10144: add mv88e6065 support.
Mar 26 2017, 11:22 AM

Feb 27 2017

mizhka accepted D9784: gpiopps support patch.

@sgalabov , could you please have a look? Thanks!

Feb 27 2017, 8:36 PM

Feb 10 2017

mizhka accepted D9499: Move bhnd_nexus driver out into sys/mips/broadcom to support MIPS-specific behavior..

Of course I like it. More broadcom features. I hope to see ARM BHND support in future :) I'll cross fingers before start rebase

Feb 10 2017, 12:09 PM

Feb 9 2017

mizhka accepted D9503: Add I2C device hints for Onion Omega.
Feb 9 2017, 7:46 AM

Jan 23 2017

mizhka accepted D9301: add GDMA1 Frames Destination Port to Port 0 CPU setting.
Jan 23 2017, 7:02 AM

Jan 20 2017

mizhka accepted D9255: add etherswitch files.
Jan 20 2017, 1:19 PM
mizhka retitled D9254: [gpioths] add kernel modules and correct few issues from to [gpioths] add kernel modules and correct few issues.
Jan 20 2017, 6:27 AM

Jan 14 2017

mizhka added a reviewer for D9185: Add driver for temperature/humidity sensor DHT11 to expose data via sysctl: gonzo.
Jan 14 2017, 10:28 PM
mizhka retitled D9185: Add driver for temperature/humidity sensor DHT11 to expose data via sysctl from to Add driver for temperature/humidity sensor DHT11 to expose data via sysctl.
Jan 14 2017, 10:27 PM
mizhka accepted D8790: Support Micrel KSZ8995MA switch chip on Etherswitch..
Jan 14 2017, 10:12 PM

Jan 9 2017

mizhka retitled D9107: [ONIONOMEGA] missing hints of wifi/gpio/leds from to [ONIONOMEGA] missing hints of wifi/gpio/leds.
Jan 9 2017, 7:51 PM

Dec 15 2016

mizhka added a comment to D8749: Delete gpio flags because of not support device. This is same as gpioiic. Add spi clock low delay. Reformat message. ar5315_spi.c spibus minor number fix..

Why delete my added gpio_delay() in gpiospi.c ? My KSZ8995MA code don't work no gpio_delay() on my target. I think current code clock is wrong.

Dec 15 2016, 7:05 AM

Dec 14 2016

mizhka retitled D8795: [spibus] small code refactoring from to [spibus] small code refactoring.
Dec 14 2016, 2:32 PM
mizhka added a reviewer for D8790: Support Micrel KSZ8995MA switch chip on Etherswitch.: ray.
Dec 14 2016, 10:03 AM

Dec 12 2016

mizhka accepted D8749: Delete gpio flags because of not support device. This is same as gpioiic. Add spi clock low delay. Reformat message. ar5315_spi.c spibus minor number fix..

Thanks for your contribution!

Dec 12 2016, 6:48 AM

Nov 26 2016

mizhka accepted D8645: bhnd: Unify NVRAM/SPROM parsing, implement compact SPROM layout encoding.
Nov 26 2016, 5:02 PM

Nov 22 2016

mizhka accepted D7238: Add support Ralink RT1310 soc.

Thank you, Hiroki-san!

Nov 22 2016, 8:22 AM

Nov 20 2016

mizhka accepted D8584: add ukswitch hint that is phy offset at mdio register..
Nov 20 2016, 5:52 AM

Nov 18 2016

mizhka accepted D8557: Cleanup and not depend RedBoot initalize. Compatible non INTRNG build..
Nov 18 2016, 9:07 AM

Nov 17 2016

mizhka updated subscribers of rS308744: [etherswitch] add infineon adm6996fc support on etherswitch.

@yamori813_yahoo.co.jp , could you please test this commit? It's slightly different from your version, I've checked compilation and i want to be sure that nothing from functional part is broken. Thanks in advance

Nov 17 2016, 7:44 AM
mizhka accepted D8495: add infineon adm6996fc support on etherswitch.
Nov 17 2016, 7:31 AM

Nov 16 2016

mizhka updated the diff for D7775: [BCMA/MIPS74k] IRQ-to-Core discovery via MIPS core mapping.

Rebased to -HEAD

Nov 16 2016, 7:37 AM
mizhka abandoned D6988: [BHND] (fix-regression) reboot doesn't work: PMU watchdog must be triggered on shutdown.

Closed

Nov 16 2016, 7:13 AM
mizhka abandoned D6880: [BHND] Change default implementation of bhnd_bus_get_chipid from NULL to GENERIC.

Abandon this revision. need to find more flexible way

Nov 16 2016, 7:12 AM

Nov 15 2016

mizhka added a comment to D8344: add marvell 88e6060 support on etherswitch.

I'm happy with his going into the tree as-is. We can always unify these drivers more later.

Would someone mind please committing this to -head?

Nov 15 2016, 9:39 PM
mizhka added a comment to D8344: add marvell 88e6060 support on etherswitch.

@yamori813_yahoo.co.jp , do you have plan to merge it with e6000sw or add VLAN support?

Nov 15 2016, 5:25 PM
mizhka accepted D6832: enable phy4 and mac4.
Nov 15 2016, 4:56 PM
mizhka added a comment to D6832: enable phy4 and mac4.

(?) I wonder what is tested KERNCONF :)
(?) any documentation source?
(+) Patch is fine against -HEAD

Nov 15 2016, 4:56 PM
mizhka accepted D6796: Add RTL8366SR support at etherswitch driver.

(*) Small improvements are welcome (@ray, @adrian comments)
(+) Patch is fine against current -HEAD
(+) Build has been compiled via freebsd-wifi-build/tl-wr1043nd

Nov 15 2016, 4:29 PM

Nov 14 2016

mizhka retitled D8516: [MIPS] Fix Config3[ULRI] printing from to [MIPS] Fix Config3[ULRI] printing.
Nov 14 2016, 9:50 PM
mizhka updated the diff for D8514: [MIPS] Print Config7 on boot for several MIPS architectures.
Nov 14 2016, 9:31 PM
mizhka added inline comments to D8514: [MIPS] Print Config7 on boot for several MIPS architectures.
Nov 14 2016, 8:21 PM
mizhka retitled D8514: [MIPS] Print Config7 on boot for several MIPS architectures from to [MIPS] Print Config7 on boot for several MIPS architectures.
Nov 14 2016, 8:13 PM

Nov 11 2016

mizhka added a comment to D8495: add infineon adm6996fc support on etherswitch.
  1. I see some "magic" constants. May be worth to add macros.
  2. DPRINTF usage: it prints function name on each call, is it useful/enough useful?
  3. "style(9)": ADM6996FC_READREG/WRITEREG - to be tab instead of space
  4. No checks on malloc results, may be NULL.
  5. Probe: can you add array of IDs to match. In future it will be easy to add IDs into array to bring support of another models.
Nov 11 2016, 5:20 AM

Nov 10 2016

mizhka accepted D8344: add marvell 88e6060 support on etherswitch.
Nov 10 2016, 5:04 AM
mizhka resigned from D8344: add marvell 88e6060 support on etherswitch.
Nov 10 2016, 5:04 AM

Nov 9 2016

mizhka added a comment to D8344: add marvell 88e6060 support on etherswitch.

Hi @adrian, @loos. Is there any way to make automatic check diff against style(9)?

Nov 9 2016, 7:35 AM
mizhka accepted D8344: add marvell 88e6060 support on etherswitch.
Nov 9 2016, 7:23 AM

Nov 2 2016

mizhka added inline comments to D8344: add marvell 88e6060 support on etherswitch.
Nov 2 2016, 4:39 PM

Sep 18 2016

mizhka accepted D7791: Split bcm_mipscore.c into bcm_mips (BMIPS32/BMIPS3300) and bcm_mips74k drivers..

Please ship it!

Sep 18 2016, 8:48 PM

Sep 7 2016

mizhka added a comment to D7692: MIPS: Fix cpu_establish_[hard|soft]intr() post r304459.

Thank you! Already on github: https://github.com/freebsd/freebsd/commit/2a1c75d8f2f60bf398ad401e6cde49562f938564. Time to rebase ;)

Sep 7 2016, 9:52 AM · MIPS

Sep 6 2016

mizhka accepted D7791: Split bcm_mipscore.c into bcm_mips (BMIPS32/BMIPS3300) and bcm_mips74k drivers..

I would call bcm_mips4k instead of bcm_mips.

Sep 6 2016, 5:16 AM

Sep 5 2016

mizhka accepted D7769: Implement bhnd(4) backplane interrupt handling..

Also please land sketches for items mentioned by you in parallel review request

Sep 5 2016, 6:08 PM

Sep 4 2016

mizhka retitled D7781: [BHND/USB] Port of EHCI/OHCI support from ZRouter from to [BHND/USB] Port of EHCI/OHCI support from ZRouter.
Sep 4 2016, 4:36 PM
mizhka added a comment to D7775: [BCMA/MIPS74k] IRQ-to-Core discovery via MIPS core mapping.

This patch is written in parallel with D7769, but it doesn't interfere with it. IMHO, some work should be done to marry them :)

Once the INTRNG regression got ironed out, my thinking around D7769 was:

  • Move (bhnd|siba|bcma|)_nexus into sys/mips/broadcom so that we can depend directly on MIPS-specific behavior. There's very little code there, and making it arch-specific simplifies things.
Sep 4 2016, 6:04 AM

Sep 3 2016

mizhka retitled D7775: [BCMA/MIPS74k] IRQ-to-Core discovery via MIPS core mapping from to [BCMA/MIPS74k] IRQ-to-Core discovery via MIPS core mapping.
Sep 3 2016, 9:14 PM

Aug 31 2016

mizhka retitled D7721: [BHND/PMU] Change SET macro to be opposite to GET from to [BHND/PMU] Change SET macro to be opposite to GET.
Aug 31 2016, 4:19 PM
mizhka added a comment to D7692: MIPS: Fix cpu_establish_[hard|soft]intr() post r304459.

Quick check on Broadcom 4716.

Aug 31 2016, 4:13 PM · MIPS

Aug 22 2016

mizhka accepted D7570: Include the chip model (e.g. BCM4xxx) in bhnd(4) bus's device descriptions..
Aug 22 2016, 6:00 PM
mizhka requested changes to D7570: Include the chip model (e.g. BCM4xxx) in bhnd(4) bus's device descriptions..
Aug 22 2016, 10:03 AM
mizhka accepted D7492: [bhnd] Initial power/clock management support..

Looks fine. Let's land it :)

Aug 22 2016, 9:53 AM
mizhka accepted D7539: [mips/broadcom] Implement early boot hardware probing and generic platform_reset() support..
Aug 22 2016, 9:39 AM

Jul 22 2016

mizhka updated D7288: [new-committer:mizhka] add committer into graph.
Jul 22 2016, 6:21 PM
mizhka retitled D7288: [new-committer:mizhka] add committer into graph from to [new-committer:mizhka] add committer into graph.
Jul 22 2016, 6:20 PM
mizhka updated D7287: [new-committer:mizhka] update doc & site & pgp key.
Jul 22 2016, 6:13 PM
mizhka retitled D7287: [new-committer:mizhka] update doc & site & pgp key from to [new-committer:mizhka] update doc & site & pgp key.
Jul 22 2016, 6:12 PM

Jul 20 2016

mizhka added a reviewer for D7209: [Bug 211031] [panic] in ng_uncallout when argument is NULL: adrian.
Jul 20 2016, 4:09 PM

Jul 16 2016

mizhka updated the diff for D7209: [Bug 211031] [panic] in ng_uncallout when argument is NULL.
  • style(9) change
  • no functional change
Jul 16 2016, 8:45 AM

Jul 14 2016

mizhka accepted D7198: Fix ports-mgmt/portfind string management/searching issues.
Jul 14 2016, 3:19 PM

Jul 13 2016

mizhka retitled D7209: [Bug 211031] [panic] in ng_uncallout when argument is NULL from to [Bug 211031] [panic] in ng_uncallout when argument is NULL.
Jul 13 2016, 11:17 PM

Jul 12 2016

mizhka abandoned D6991: [BHND] [SoC core] slight improvement of device description.

new style of bhnd_set_default_core_desc is nice. Abandoning this rev...

Jul 12 2016, 1:26 PM

Jun 28 2016

mizhka added a comment to D6988: [BHND] (fix-regression) reboot doesn't work: PMU watchdog must be triggered on shutdown.

The command "reboot" hangs on Asus RT-N53. It worked before, so fix is simple: watchdog must be triggered always on shutdown.

This will break on non-PMU-equippped devices (e.g. WGT634U), and more recent Broadcom devices that map the PMU register block via a dedicated core instead of ChipCommon; if we can't use CFE, we have to look at the ChipCommon core revision + capability flags + device table.

Do you mean "throw exception" under "break"?

TC: run "reboot"
AR: hang

If you break to debugger (sysctl debug.kdb.panic=1) and issue a 'reset' command, the same code path succeeds; any idea why CFE is failing here?

Because CFE is unreliable thing :) CFE is generic word, too many builds, versions, hacks and so on. The less used CFE features, the less pain :)

Jun 28 2016, 4:55 AM

Jun 27 2016

mizhka retitled D6993: [BHND] SPI: print extra information in case of SPI timeout from to [BHND] SPI: print extra information in case of SPI timeout.
Jun 27 2016, 6:15 PM
mizhka retitled D6992: [BHND] Add CFG partition for freebsd-wifi-build configuration from to [BHND] Add CFG partition for freebsd-wifi-build configuration.
Jun 27 2016, 6:09 PM
mizhka retitled D6991: [BHND] [SoC core] slight improvement of device description from to [BHND] [SoC core] slight improvement of device description.
Jun 27 2016, 6:00 PM
mizhka updated D6989: [BHND] Add initial bits of support for BCM4704.
Jun 27 2016, 5:54 PM
mizhka retitled D6990: [bcm_machdep] CFE_MEMORYSIZE and cosmetic code changes from to [bcm_machdep] CFE_MEMORYSIZE and cosmetic code changes.
Jun 27 2016, 5:53 PM
mizhka updated D6989: [BHND] Add initial bits of support for BCM4704.
Jun 27 2016, 5:43 PM
mizhka retitled D6989: [BHND] Add initial bits of support for BCM4704 from to [BHND] Add initial bits of support for BCM4704.
Jun 27 2016, 5:43 PM
mizhka retitled D6988: [BHND] (fix-regression) reboot doesn't work: PMU watchdog must be triggered on shutdown from to [BHND] (fix-regression) reboot doesn't work: PMU watchdog must be triggered on shutdown.
Jun 27 2016, 5:37 PM

Jun 23 2016

mizhka updated the diff for D6920: [BHND/bcma] Add implementation of BHND_BUS_RESET_CORE function for BCMA.
  • fixed typo in macro name
  • timeout variable
Jun 23 2016, 10:55 PM
mizhka updated the diff for D6907: [MIPS/DDB] (fix) backtrace: incorrect MIPS32 reg values & truncated backtrace on MipsKernGenException inside short function.
  • fixed according to review remark: usage of cast instead of #define case
Jun 23 2016, 10:14 PM
mizhka added inline comments to D6907: [MIPS/DDB] (fix) backtrace: incorrect MIPS32 reg values & truncated backtrace on MipsKernGenException inside short function.
Jun 23 2016, 8:58 PM
mizhka updated the diff for D6920: [BHND/bcma] Add implementation of BHND_BUS_RESET_CORE function for BCMA.
  • usage of macros from bcma_dmp.h instead of new ones
  • added status checks
Jun 23 2016, 3:59 PM
mizhka added a comment to D6920: [BHND/bcma] Add implementation of BHND_BUS_RESET_CORE function for BCMA.

In addition to inline comments, if you happen to feel like implementing the nearly identical bcma_suspend_core(), I wouldn't say no :-)

Jun 23 2016, 2:49 PM
mizhka added a comment to D6880: [BHND] Change default implementation of bhnd_bus_get_chipid from NULL to GENERIC.
In D6880#144503, @mizhka_gmail.com wrote:

I believe the the switch type can be determined via the NVRAM boardflags:

  • BFL_ENETADM (ADMtek switch)
  • BFL_ENETSPI (SPI roboswitch)
  • BFL_ENETVLAN (VLAN support for either)

I'd like the bhnd-attached drivers to identify the child device configuration locally, and then provide that in a generic form to their children, so that we can limit the CHIPID switch statements and NVRAM variable dependencies to a few central places that use the declarative device tables, and avoid hard dependencies on bhnd(4) API in (potentially non-bhnd-specific) devices attached to the device tree well below the bhnd(4) cores.

Yes, it allow to identify bus of etherswitch, but not model.

From what I remember of the ISC-licensed Broadcom code, there may some quirks to reading the etherswitch device ID, but it /should/ be readable.

We need to know Chip ID because different chips has different register layout. For instance, BCM5325 and BCM5358 are very-very close, but has crucial difference in one bit -"VLAN Valid" flag: for BCM5325 it's bit(6), for BCM5358 it's bit(7). (BCM5325 can be external/integrated, BCM5358 is integrated). As result, BCM5325 code fails on BCM5358 and vice versa.

To be honest, there are many families of BroadCom ethernet switches, B53xx is subclass, mostly used in home routers.
As possible solution, we can put ChipId in independent place (i.e. not-BHND-specific), for instance, kernel environment variable.

Rather than a global variable (i.e. kenv), my recommendation would to be pass down what you need from the ethernet driver itself; that way the interface between ethernet and switch driver can be independent of the bhnd bus, and we're not creating dependencies on global state populated by bhnd.

Jun 23 2016, 4:45 AM

Jun 22 2016

mizhka retitled D6920: [BHND/bcma] Add implementation of BHND_BUS_RESET_CORE function for BCMA from to [BHND/bcma] Add implementation of BHND_BUS_RESET_CORE function for BCMA.
Jun 22 2016, 11:10 AM

Jun 21 2016

mizhka accepted D6896: bhnd(4) chipc child enumeration using the chipc capabilities..
Jun 21 2016, 9:59 PM
mizhka requested changes to D6896: bhnd(4) chipc child enumeration using the chipc capabilities..
Jun 21 2016, 9:47 PM
mizhka retitled D6907: [MIPS/DDB] (fix) backtrace: incorrect MIPS32 reg values & truncated backtrace on MipsKernGenException inside short function from to [MIPS/DDB] (fix) backtrace: incorrect MIPS32 reg values & truncated backtrace on MipsKernGenException inside short function.
Jun 21 2016, 4:27 PM
mizhka added a comment to D6896: bhnd(4) chipc child enumeration using the chipc capabilities..

I also want to solve CFI issue on RT-N16, hope Alex will look on it.
My laziness forced me to code following test for MIPS boards:

  • CFE load kernel
  • login as root
  • call devinfo, uname, hostname, ifconfig
Jun 21 2016, 2:13 PM
mizhka accepted D6897: Replace mips/sentry5 with mips/broadcom..

Superb!

Jun 21 2016, 12:43 PM
mizhka added a comment to D6896: bhnd(4) chipc child enumeration using the chipc capabilities..

I've scan changes briefly:

  • what is test strategy? is it just kernel loading or passing over rc to multiuser mode?
  • changes are more than announced ;) for instance, flashmap is removed. What is new alternative to flashmap?
Jun 21 2016, 6:07 AM

Jun 20 2016

mizhka requested changes to D6897: Replace mips/sentry5 with mips/broadcom..

Super-nice change. I had a lot of thoughts about it.
I'm asking for few changes in inline comments, but please feel free to ask any question, argue, reject :)

Jun 20 2016, 7:52 AM

Jun 18 2016

mizhka added a comment to D6880: [BHND] Change default implementation of bhnd_bus_get_chipid from NULL to GENERIC.

I believe the the switch type can be determined via the NVRAM boardflags:

  • BFL_ENETADM (ADMtek switch)
  • BFL_ENETSPI (SPI roboswitch)
  • BFL_ENETVLAN (VLAN support for either)

I'd like the bhnd-attached drivers to identify the child device configuration locally, and then provide that in a generic form to their children, so that we can limit the CHIPID switch statements and NVRAM variable dependencies to a few central places that use the declarative device tables, and avoid hard dependencies on bhnd(4) API in (potentially non-bhnd-specific) devices attached to the device tree well below the bhnd(4) cores.

Jun 18 2016, 6:25 AM

Jun 17 2016

mizhka retitled D6880: [BHND] Change default implementation of bhnd_bus_get_chipid from NULL to GENERIC from to [BHND] Change default implementation of bhnd_bus_get_chipid from NULL to GENERIC.
Jun 17 2016, 12:56 PM

Jun 6 2016

mizhka accepted D6735: Fix bhnd(4) MIPS core attachment issues.
Jun 6 2016, 5:19 PM

May 30 2016

mizhka updated the diff for D6584: [BHND] (fix) set of corrections.
  • move def implementation for BHND_CHIPC_GET_CAPS into bhnd_chipc_if.m
May 30 2016, 3:47 PM
mizhka added inline comments to D6250: [BHND] ChipCommon: Resource managers, Serial & Parallel Flash support, .
May 30 2016, 7:27 AM

May 27 2016

mizhka added inline comments to D6250: [BHND] ChipCommon: Resource managers, Serial & Parallel Flash support, .
May 27 2016, 8:29 PM
mizhka updated the diff for D5674: [dev/cfi] add support for flashes with different bus-vs-device address width.
  • new sc_buswidth parameter to softc
  • scan of configuration for new sc_buswidth parameter
May 27 2016, 6:21 PM