arm64: dts: ti: k3-am62-wakeup: Enable cpsw_mac_syscon in U-Boot
Subsystems (2)
PATCH 1/2 arm64: dts: ti: k3-am62-wakeup: Enable cpsw_mac_syscon in U-Boot
Add the "bootph-all" property to cpsw_mac_syscon.
This fuse region contains the internal MAC address. Without this syscon node enabled, this interface will get a random MAC during network boot. This is problematic because the AM62x network boot is using BOOTP protocol for some binaries and this protocol does not support dynamic lease expiration. Therefore, the DHCP server can run out of free IP addresses.
--- arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +1 -0
@@ -30,6 +30,7 @@ opp_efuse_table: syscon@18 { cpsw_mac_syscon: ethernet-mac-syscon@200 { compatible = "ti,am62p-cpsw-mac-efuse", "syscon"; reg = <0x200 0x8>; + bootph-all; }; usb0_phy_ctrl: syscon@4008 {
Signature · 1 line
2.25.1
PATCH 2/2 arm64: dts: ti: k3-am62a-wakeup: Enable cpsw_mac_syscon in U-Boot
Add the "bootph-all" property to cpsw_mac_syscon.
This fuse region contains the internal MAC address. Without this syscon node enabled, this interface will get a random MAC during network boot. This is problematic because the AM62Ax network boot is using BOOTP protocol for some binaries and this protocol does not support dynamic lease expiration. Therefore, the DHCP server can run out of free IP addresses.
--- arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi +1 -0
@@ -28,6 +28,7 @@ opp_efuse_table: syscon@18 { cpsw_mac_syscon: ethernet-mac-syscon@200 { compatible = "ti,am62p-cpsw-mac-efuse", "syscon"; reg = <0x200 0x8>; + bootph-all; }; usb0_phy_ctrl: syscon@4008 {
Signature · 1 line
2.25.1
Vignesh Raghavendra
maintainerHi Daniel,
Quoted 19 lines · Daniel Schultz
Add the "bootph-all" property to
cpsw_mac_syscon.This fuse region contains the internal MAC address. Without this syscon node enabled, this interface will get a random MAC during network boot. This is problematic because the AM62x network boot is using BOOTP protocol for some binaries and this protocol does not support dynamic lease expiration. Therefore, the DHCP server can run out of free IP addresses.
Signed-off-by Daniel Schultz <[email protected]>--- arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 1 + 1 file changed, 1 insertion(+)arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +0
-0
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi opp_efuse_table: syscon@18 { · line 33
Quoted 4 lines
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +1
-0@@ -30,6 +30,7 @@ opp_efuse_table: syscon@18 { cpsw_mac_syscon: ethernet-mac-syscon@200 { compatible = "ti,am62p-cpsw-mac-efuse", "syscon"; reg = <0x200 0x8>; + bootph-all;
Please restrict this to boards that actually support network boot by moving to dts or SoM specific dtsi? Same applies to 2/2
Quoted 3 lines
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +0
-0}; usb0_phy_ctrl: syscon@4008 {
Signature · 3 lines
Regards Vignesh https://ti.com/opensource