
Hi Tim,
On Wed, Sep 28, 2022 at 4:37 PM Tim Harvey tharvey@gateworks.com wrote:
diff --git a/configs/gwventana_gw5904_defconfig b/configs/gwventana_gw5904_defconfig index 8c6baf0ae5e2..33b57c5a1c5d 100644 --- a/configs/gwventana_gw5904_defconfig +++ b/configs/gwventana_gw5904_defconfig @@ -111,11 +111,11 @@ CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_FSL_USDHC=y CONFIG_MTD=y CONFIG_PHYLIB=y -CONFIG_MV88E61XX_SWITCH=y -CONFIG_MV88E61XX_CPU_PORT=5 -CONFIG_MV88E61XX_PHY_PORTS=0xf -CONFIG_MV88E61XX_FIXED_PORTS=0x0 +CONFIG_MV88E61XX=y
There is a typo here:
This one should be CONFIG_MV88E6XXX instead.
After fixing this and passing CONFIG_NET_RANDOM_ETHADDR=y to my custom board defconfig:
ethernet 0 [ + ] fecmxc | | `-- ethernet@30be0000 bootdev 2 [ ] eth_bootdev | | |-- ethernet@30be0000.bootdev mdio 0 [ + ] fec_mdio | | `-- mdio dsa 0 [ ] mv88e6xxx | | `-- switch@0 ethernet 1 [ ] dsa-port | | |-- lan4 bootdev 3 [ ] eth_bootdev | | | `-- switch@0@0.bootdev ethernet 2 [ ] dsa-port | | |-- lan3 bootdev 4 [ ] eth_bootdev | | | `-- switch@0@1.bootdev ethernet 3 [ ] dsa-port | | |-- lan2 bootdev 5 [ ] eth_bootdev | | | `-- switch@0@2.bootdev ethernet 4 [ ] dsa-port | | |-- lan1 bootdev 6 [ ] eth_bootdev | | | `-- switch@0@3.bootdev mdio 1 [ + ] mv88e6xxx_mdio | | |-- mv88e6xxx-mdio-0 mdio 2 [ ] mv88e6xxx_mdio | | |-- mv88e6xxx-mdio-1 mdio 3 [ ] mv88e6xxx_mdio | | |-- mv88e6xxx-mdio-2 mdio 4 [ ] mv88e6xxx_mdio | | `-- mv88e6xxx-mdio-3
but still not able to get a DHCP address:
u-boot=> dhcp BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4
Thanks