From: riptidewave93 Date: Fri, 2 Sep 2016 11:17:24 +0000 (-0500) Subject: apm821xx: Fix initramfs image for the Meraki MR24 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=bc36678bdb0223774cf0d088b80b2f0c1e6737db;p=openwrt%2Fstaging%2Fwigyori.git apm821xx: Fix initramfs image for the Meraki MR24 When gzip is used, our kernel is too large and this causes the ramdisk to be at the wrong offset. Fix by moving to lzma. Signed-off-by: Chris Blake --- diff --git a/target/linux/apm821xx/image/Makefile b/target/linux/apm821xx/image/Makefile index 100db560d4..8edd5780f0 100644 --- a/target/linux/apm821xx/image/Makefile +++ b/target/linux/apm821xx/image/Makefile @@ -75,7 +75,7 @@ define Device/mr24 KERNEL_SIZE := 2048k IMAGE_SIZE := 8191k KERNEL := kernel-bin | lzma | uImage lzma | MerakiAdd-dtb | MerakiNAND - KERNEL_INITRAMFS := copy-file $(KDIR)/vmlinux | gzip | uImage gzip | MerakiAdd-dtb | pad-to 2047k | MerakiAdd-initramfs | MerakiNAND + KERNEL_INITRAMFS := copy-file $(KDIR)/vmlinux | lzma | uImage lzma | MerakiAdd-dtb | pad-to 2047k | MerakiAdd-initramfs | MerakiNAND IMAGE/sysupgrade.tar := sysupgrade-tar endef TARGET_DEVICES += mr24