I'm trying to build the LEDE project, and it fails with this:
WARNING: Image file /home/lev/git/library/software/scripts/lede_build/os_source/build_dir/target-mipsel_24kc_musl-1.1.16/linux-ramips_rt305x/tmp/openwrt-15.05.1-r3205-59508e3-ramips-rt305x-a5-v11-squashfs-factory.bin is too big
/home/lev/git/library/software/scripts/lede_build/os_source/staging_dir/host/bin/mkporayfw -B A5-V11 -F 4M -f /home/lev/git/library/software/scripts/lede_build/os_source/build_dir/target-mipsel_24kc_musl-1.1.16/linux-ramips_rt305x/tmp/openwrt-15.05.1-r3205-59508e3-ramips-rt305x-a5-v11-squashfs-factory.bin -o /home/lev/git/library/software/scripts/lede_build/os_source/build_dir/target-mipsel_24kc_musl-1.1.16/linux-ramips_rt305x/tmp/openwrt-15.05.1-r3205-59508e3-ramips-rt305x-a5-v11-squashfs-factory.bin.new
[mkporayfw] *** error: stat failed on /home/lev/git/library/software/scripts/lede_build/os_source/build_dir/target-mipsel_24kc_musl-1.1.16/linux-ramips_rt305x/tmp/openwrt-15.05.1-r3205-59508e3-ramips-rt305x-a5-v11-squashfs-factory.bin:No such file or directory
Makefile:254: recipe for target '/home/lev/git/library/software/scripts/lede_build/os_source/build_dir/target-mipsel_24kc_musl-1.1.16/linux-ramips_rt305x/tmp/openwrt-15.05.1-r3205-59508e3-ramips-rt305x-a5-v11-squashfs-factory.bin' failed
make: *** [/home/lev/git/library/software/scripts/lede_build/os_source/build_dir/target-mipsel_24kc_musl-1.1.16/linux-ramips_rt305x/tmp/openwrt-15.05.1-r3205-59508e3-ramips-rt305x-a5-v11-squashfs-factory.bin] Error 255
I'm checking out the git tag v17.01.0. This is on Debian testing. Any hints? Thank you.
Maybe you have too much selected packages. Marked with * in menuconfig and the final image is larger than 4M
Thanks. I'll try to remove some selections. And why is that magic 4MByte?
But wait. What it complains, is that
What is doing a binary OpenWRT image in my LEDE build?
Its strange. Wanted ask you too but you were faster.
4MB because your device has 4MB FLASH
But...but I am compiling to Omega2+, which has 32MB Flash.
Strange as the openwrt binary in lede build. Do you realy clone lede and do you run make in that dir?
Maybe he's trying to build 15.05 from the tree LEDE archived, that would explain some things...
Maybe he's trying to build 15.05 from the tree LEDE archived, that
would explain some things...
After cleaning my project tree, the build was successful.
Sorry for the noise.
That's good - but is my hypothesis correct? Keep in mind LEDE merely archived the OpenWrt release trees. They are not kept up to date on any easy whatsoever - no bug patches or security fixes.
That's good - but is my hypothesis correct? Keep in mind LEDE merely
archived the OpenWrt release trees. They are not kept up to date on
any easy whatsoever - no bug patches or security fixes.
Well, I THINK the problem was with my build system. I wrote a script that
checks out the OS (OpenWRT or LEDE) and sets the repository to a given
branch/tag. Then it applies patches, and other things. Right the beginning, it
cleans the source tree with
git clean -xfd
which removes everything. I bet the problem was that I didn't set the right
branch/tag name, or there was a leftover from previous OpenWRT build in the
tree, or the .config file was from an older OpenWRT.
By the way this whole issue was because I moved to Debian 9, and with gcc 6 I
couldn't compile OpenWRT 15.05.1, but LEDE was built fine. So pizza for the