From 249a9b35e0937150e7557931bcdca8b95a6e274d Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sat, 17 Feb 2018 09:07:54 +0100 Subject: ipq40xx: fix GL.iNet GL-B1300 support Rename the dts file to match the used SoC type and drop the unnecessary KERNEL_INSTALL from the image build code. Remove the fixed rootfs and kernel partitions and create an image with rootfs appended after kernel. Setup a switch portmap matching the hardware and a default network/switch configuration to make make the second lan port working. Use eth0 as lan to have it consistent accross the target. Use the power LED to indicate the boot status. Sort the SoC entries within the dts by address and use dtc labels whenever possible. Signed-off-by: Mathias Kresin Signed-off-by: Piotr Dymacz --- target/linux/ipq40xx/base-files/etc/board.d/02_network | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'target/linux/ipq40xx/base-files/etc') diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index 37f81a398a..7c83e2e754 100755 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -17,7 +17,11 @@ avm,fritzbox-4040) ucidef_add_switch "switch0" \ "0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan" ;; -glinet,gl-b1300 |\ +glinet,gl-b1300) + ucidef_set_interfaces_lan_wan "eth0" "eth1" + ucidef_add_switch "switch0" \ + "0u@eth0" "3:lan" "4:lan" + ;; openmesh,a42) ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; -- cgit v1.2.3