[OpenWrt-Devel] [PATCH 1/3] ar71xx/image: fix imagesize of template tplink-8mlzma

John Crispin blogic at openwrt.org
Tue Apr 14 14:17:09 EDT 2015


with these patches applied none of the 4MB image build ?!

/openwrt/trunk/staging_dir/host/bin/mktplinkfw -H 0x00100101 -W 0x1 -F
4Mlzma -N OpenWrt -V r45435 -k
/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/vmlinux-initramfs
-r
/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/openwrt-ar71xx-generic-tl-mr10u-v1-initramfs-kernel.bin
-o
/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/openwrt-ar71xx-generic-tl-mr10u-v1-initramfs-kernel.bin.new
-a 0x4   -s -c
[mktplinkfw] *** error: kernel image is too big


On 14/04/2015 00:00, Alexander Couzens wrote:
> The new image size is verified by a running tplink device and checked
> against mktplinkfw source code.
> 
> Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
> ---
>  target/linux/ar71xx/image/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
> index 8766756..a4ebccb 100644
> --- a/target/linux/ar71xx/image/Makefile
> +++ b/target/linux/ar71xx/image/Makefile
> @@ -153,7 +153,7 @@ endef
>  define Device/tplink-8mlzma
>  $(Device/tplink)
>    TPLINK_FLASHLAYOUT := 8Mlzma
> -  IMAGE_SIZE := 8000k
> +  IMAGE_SIZE := 7936k
>  endef
>  
>  define Device/tl-wdr4300-v1
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list