[openwrt/openwrt] imx: coretexa53: fix network configuration for GW74xx

LEDE Commits lede-commits at lists.infradead.org
Sat Jun 22 07:29:47 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/176b8df7016ed322f4295ba88465b1132db4d80e

commit 176b8df7016ed322f4295ba88465b1132db4d80e
Author: Tim Harvey <tharvey at gateworks.com>
AuthorDate: Tue May 21 11:44:34 2024 -0700

    imx: coretexa53: fix network configuration for GW74xx
    
    The GW74xx's first RJ45 is eth0 which should be the WAN adapter, not
    eth1 which is the CPU uplink port to the switch.
    
    Signed-off-by: Tim Harvey <tharvey at gateworks.com>
    Link: https://github.com/openwrt/openwrt/pull/15736
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/imx/cortexa53/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/imx/cortexa53/base-files/etc/board.d/02_network b/target/linux/imx/cortexa53/base-files/etc/board.d/02_network
index c6049824e0..f5dbbb09b9 100644
--- a/target/linux/imx/cortexa53/base-files/etc/board.d/02_network
+++ b/target/linux/imx/cortexa53/base-files/etc/board.d/02_network
@@ -18,7 +18,7 @@ gw,imx8mm-gw7901)
 gateworks,imx8mp-gw74xx)
 	ucidef_set_network_device_path "eth0" "platform/soc at 0/30800000.bus/30bf0000.ethernet"
 	ucidef_set_network_device_path "eth1" "platform/soc at 0/30800000.bus/30be0000.ethernet"
-	ucidef_set_interfaces_lan_wan 'lan1 lan2 lan3 lan4' 'eth1'
+	ucidef_set_interfaces_lan_wan 'lan1 lan2 lan3 lan4' 'eth0'
 	;;
 esac
 




More information about the lede-commits mailing list