Hello, I'm a new to LEDE and apology my bad english.
I've read the basic developer guide from the LEDE website
I tried to build the firmware of [TL-WR840N V2 En] in the "windows subsystem for Linux" environment, but there was a problem when the firmware was final generated.
When I first configured, I just added Luci module & language package (because the default is disable), and then removed the USB module, and the output error log was as follows:
dd if=/home/andyx/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/root.squashfs >> /home/andyx/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory.bin
6297+1 records in
6297+1 records out
3224122 bytes (3.2 MB, 3.1 MiB) copied, 0.239021 s, 13.5 MB/s
/home/andyx/lede/staging_dir/host/bin/mktplinkfw -H 0x08400002 -W 0x1 -F 4Mlzma -N OpenWrt -V r5616-67c1c14 -m 1 -k /home/andyx/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tl-wr840n-v2-kernel.bin -r /home/andyx/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory.bin -o /home/andyx/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory.bin.new -j -X 0x40000 -a 0x4 && mv /home/andyx/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory.bin.new /home/andyx/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory.bin || rm -f /home/andyx/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory.bin
**[mktplinkfw] rootfs offset aligned to 0x1421744**
**[mktplinkfw] *** error: images are too big by 975847 bytes**
cp /home/andyx/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory.bin /home/andyx/lede/bin/targets/ar71xx/generic/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory.bin
**cp: cannot stat '/home/andyx/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory.bin': No such file or directory**
Makefile:64: recipe for target '/home/andyx/lede/bin/targets/ar71xx/generic/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory.bin' **failed**
make[5]: [/home/andyx/lede/bin/targets/ar71xx/generic/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory.bin] **Error 1 (ignored)**
So next, I tried to wipe configuration to default(make sure deleted Luci), and just removed the USB module, and the output error was the ...... same:
dd if=/home/andyx/lede/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/root.squashfs >> /home/andyx/lede/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory-eu.bin
5846+1 records in
5846+1 records out
2993442 bytes (3.0 MB, 2.9 MiB) copied, 0.215815 s, 13.9 MB/s
/home/andyx/lede/lede/staging_dir/host/bin/mktplinkfw -H 0x08400002 -W 0x1 -F 4Mlzma -N OpenWrt -V r5616-67c1c14 -m 1 -k /home/andyx/lede/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tl-wr840n-v2-kernel.bin -r /home/andyx/lede/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory-eu.bin -o /home/andyx/lede/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory-eu.bin.new -j -X 0x40000 -a 0x4 -C EU && mv /home/andyx/lede/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory-eu.bin.new /home/andyx/lede/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory-eu.bin || rm -f /home/andyx/lede/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory-eu.bin
**[mktplinkfw] rootfs offset aligned to 0x1421744**
**[mktplinkfw] error: images are too big by 745167 bytes**
cp /home/andyx/lede/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory-eu.bin /home/andyx/lede/lede/bin/targets/ar71xx/generic/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory-eu.bin
**cp: cannot stat '/home/andyx/lede/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/tmp/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory-eu.bin': No such file or directory**
Makefile:64: recipe for target '/home/andyx/lede/lede/bin/targets/ar71xx/generic/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory-eu.bin' **failed**
make[5]: [/home/andyx/lede/lede/bin/targets/ar71xx/generic/openwrt-ar71xx-generic-tl-wr840n-v2-squashfs-factory-eu.bin] **Error 1 (ignored)**
All LEDE source code are placed under the "C:\Users****\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\home****"path, No permission issue.
Try to run "make defconfig" & "make download V=99" is fine.
Does this look just images to big? what's the reason cause of this? How should I solve it?
I need help