Building image bigger than default target rom

Hello,

I am trying to build an image for TP-link WR741NDv4 including all packs and configuration I need.

Due the fact default flash if only 4Mb I have upgraded it to 16Mb as all the stuff I need will require 10Mb.

But I am facing issue with some security control from builder tool.

[mktplinkfw] rootfs offset aligned to 0x1366224
[mktplinkfw] *** error: images are too big by 7610 bytes
cp: cannot stat '/home/ubuntu/openwrt-imagebuilder-18.06.8-ar71xx-tiny.Linux-x86_64/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp/openwrt-18.06.8-ar71xx-tiny-tl-wr741nd-v4-squashfs-sysupgrade.bin': No such file or directory

After some dig, seems to be hardcoded in this binary --> /staging_dir/host/bin/.mktplinkfw.bin

Any one can tell me how to by-pass this security check?

You have to edits the following line:

to use this common image predefinition:

1 Like

Thanks,

It worked fine!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.