Hello!
I'm trying to make my own image (v19.07.2) for TP-LINK TL-WR841N on Ubuntu 20.04 LTS. The commands:
git clone https://git.openwrt.org/openwrt/openwrt.git
cd openwrt
git checkout v19.07.2
./scripts/feeds update -a
./scripts/feeds install -a
make prereq
were successfully done.
Than I opened make menuconfig
and set
- Target System
- Subtarget
- Target Profile
- luCI -> Collections -> luci
Nothing more! Then I run make
and finally got this:
...
Creating 4.0 filesystem on /home/ksc/wrt/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/root.squashfs, block size 1048576.
Creating 4.0 filesystem on /home/ksc/wrt/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/root.squashfs, block size 1048576.
make[5]: *** [/home/ksc/wrt/openwrt/include/image.mk:332: /home/ksc/wrt/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/root.squashfs] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory '/home/ksc/wrt/openwrt/target/linux/ar71xx/image'
make[4]: *** [Makefile:24: install] Error 2
make[4]: Leaving directory '/home/ksc/wrt/openwrt/target/linux/ar71xx'
make[3]: *** [Makefile:13: install] Error 2
make[3]: Leaving directory '/home/ksc/wrt/openwrt/target/linux'
time: target/linux/install#11.42#19.03#18.33
make[2]: *** [target/Makefile:25: target/linux/install] Error 2
make[2]: Leaving directory '/home/ksc/wrt/openwrt'
make[1]: *** [target/Makefile:19: /home/ksc/wrt/openwrt/staging_dir/target-mips_24kc_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/ksc/wrt/openwrt'
make: *** [/home/ksc/wrt/openwrt/include/toplevel.mk:227: world] Error 2
Errors with -V=99
:
mkimage -A mips -O linux -T kernel -a 0x80060000 -C lzma -e 0x80060000 -n 'MIPS OpenWrt Linux-4.14.171' -d /home/ksc/wrt/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/vmlinux.bin.lzma /home/ksc/wrt/openwrt/bin/targets/ar71xx/tiny/openwrt-ar71xx-tiny-uImage-lzma.bin
Image Name: MIPS OpenWrt Linux-4.14.171
Created: Thu Feb 27 21:05:12 2020
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1242941 Bytes = 1213.81 KiB = 1.19 MiB
Load Address: 80060000
Entry Point: 80060000
cp /home/ksc/wrt/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/loader-generic.elf /home/ksc/wrt/openwrt/bin/targets/ar71xx/tiny/openwrt-ar71xx-tiny-vmlinux-lzma.elf
mkdir -p /home/ksc/wrt/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/tmp
/home/ksc/wrt/openwrt/staging_dir/host/bin/mksquashfs4 /home/ksc/wrt/openwrt/build_dir/target-mips_24kc_musl/root-ar71xx /home/ksc/wrt/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/root.squashfs -nopad -noappend -root-owned -comp xz -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2 -b 1024k -p '/dev d 755 0 0' -p '/dev/console c 600 0 0 5 1' -processors 1
FATAL ERROR:nanosleep failed in progress thread
Parallel mksquashfs: Using 1 processor
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /home/ksc/wrt/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/root.squashfs, block size 1048576.
make[5]: *** [/home/ksc/wrt/openwrt/include/image.mk:332: /home/ksc/wrt/openwrt/build_dir/target-mips_24kc_musl/linux-ar71xx_tiny/root.squashfs] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory '/home/ksc/wrt/openwrt/target/linux/ar71xx/image'
make[4]: *** [Makefile:24: install] Error 2
make[4]: Leaving directory '/home/ksc/wrt/openwrt/target/linux/ar71xx'
make[3]: *** [Makefile:13: install] Error 2
make[3]: Leaving directory '/home/ksc/wrt/openwrt/target/linux'
time: target/linux/install#12.34#22.20#20.96
make[2]: *** [target/Makefile:25: target/linux/install] Error 2
make[2]: Leaving directory '/home/ksc/wrt/openwrt'
make[1]: *** [target/Makefile:19: /home/ksc/wrt/openwrt/staging_dir/target-mips_24kc_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/ksc/wrt/openwrt'
make: *** [/home/ksc/wrt/openwrt/include/toplevel.mk:227: world] Error 2
What's the problem?..
Thank you!