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/image/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'target/linux/ipq40xx/image') diff --git a/target/linux/ipq40xx/image/Makefile b/target/linux/ipq40xx/image/Makefile index 41f396b839..218a80afa7 100644 --- a/target/linux/ipq40xx/image/Makefile +++ b/target/linux/ipq40xx/image/Makefile @@ -44,15 +44,14 @@ endef TARGET_DEVICES += avm_fritzbox-4040 define Device/glinet_gl-b1300 + $(call Device/FitImage) DEVICE_TITLE := GL.iNet GL-B1300 BOARD_NAME := gl-b1300 - DEVICE_DTS := qcom-ipq4019-gl-b1300 - KERNEL_INSTALL := 1 + DEVICE_DTS := qcom-ipq4029-gl-b1300 KERNEL_SIZE := 4096k IMAGE_SIZE := 26624k - $(call Device/FitImage) IMAGES := sysupgrade.bin - IMAGE/sysupgrade.bin := append-kernel | pad-to $$$${KERNEL_SIZE} | append-rootfs | pad-rootfs | append-metadata + IMAGE/sysupgrade.bin := append-kernel |append-rootfs | pad-rootfs | append-metadata DEVICE_PACKAGES := ipq-wifi-glinet_gl-b1300 endef TARGET_DEVICES += glinet_gl-b1300 -- cgit v1.2.3