Where is 'etherswitchcfg' in 13.2-RELEASE

The 13.0-CURRENT r369658 compiled Mon Apr 26 2021 had e6060sw, etherswitch and etherswitchcfg fully working without changes as in thread
https://forums.freebsd.org/threads/freebsd-for-espressobin-marvell-armada-3700. After updating the same kernel config when updating to 13.2-RELEASE, the switch does not work anymore.

Why it don't work? Did I downgrade from current to the release or something? Every time there are some surprises when some work should be done using the device. It was suppose to be a nice and quiet ascension day. Hopefully the upcoming 14.0-RELEASE has this.

esc
 
Why it don't work?
What doesn't work? Provide more details, maybe you're hitting a bug, maybe it's not configured correctly. Can't tell without some details.

Did I downgrade from current to the release or something?
No, but -CURRENT might have some bits and pieces that don't make it into a release because they're not ready, or too unstable, or some other reason, -CURRENT is the developer's playground.
Hopefully the upcoming 14.0-RELEASE has this.
etherswitch(4) and etherswitchcfg(8) were added in 10.0, e6060sw(4) was added in 12.0. It's all been available for quite some time.
 
The error was
Code:
# etherswitchcfg
etherswitchcfg: Can't open control file: /dev/etherswitch0: No such file or directory
 
The kernel had these defines. Should the driver be in the kernel. There were no .ko -modules in /boot/kernel.
Code:
     device mdio
     device etherswitch
     device e6060sw
 
The man page hint.e6060sw.0.at="mdio0" was there just to try in one reboot. I guess there was no mdio -devices either. This line was not needed before and the testline was removed. The old kernel 13.0-CURRENT booted ok with these settings (without the hints) and the etherswitchcfg listed the switch connectors. The 13.2-RELEASE does not do the trick. Are there DTS-files to compile in the kernel. Maybe a correct DTS was missing from kernel tree, is this true? The bootloader uboot finds the dtb from /boot/dtb (in this case) and this part has not been tweaked. The device has the loader in a separate memory outside of the disk (not modified).
 
Last edited by a moderator:
Back
Top