From 1e41de2f48e284c9d6658f9403365651178f6826 Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Tue, 29 Jan 2019 23:52:27 +0100 Subject: mpc85xx: convert TL-WDR4900 v1 to simpleImage Converts the TP-Link WDR4900 v1 to use the simpleImage in the hopes of prolonging the life of the device. While at it, the patch makes the fdt.bin an ARTIFACT and sets the KERNEL_SIZE to 2684 KiB as a precaution since the stock u-boot is using a fixed kernel size. Note: Give the image some time, it will take much longer to extract and boot. [tested for 4.14/4.19] Signed-off-by: Christian Lamparter Co-authored-by: Pawel Dembicki Signed-off-by: Pawel Dembicki --- target/linux/mpc85xx/image/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'target/linux/mpc85xx/image') diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile index f95e38d5c6..4bd4efc747 100644 --- a/target/linux/mpc85xx/image/Makefile +++ b/target/linux/mpc85xx/image/Makefile @@ -52,11 +52,15 @@ define Device/tl-wdr4900-v1 TPLINK_HWREV := 1 TPLINK_FLASHLAYOUT := 16Mppc KERNEL_SIZE := 2684k - KERNEL_NAME := cuImage.tl-wdr4900-v1 + KERNEL_NAME := simpleImage.tl-wdr4900-v1 KERNEL_INITRAMFS := + KERNEL := kernel-bin | uImage none + KERNEL_ENTRY := 0x1000000 + KERNEL_LOADADDR := 0x1000000 SUPPORTED_DEVICES:=tl-wdr4900-v1 tplink,tl-wdr4900-v1 + ARTIFACTS := fdt.bin + ARTIFACT/fdt.bin := append-dtb IMAGES := fdt.bin factory.bin sysupgrade.bin - IMAGE/fdt.bin := append-dtb IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade | append-metadata IMAGE/factory.bin := append-rootfs | mktplinkfw factory endef -- cgit v1.2.3