-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os-image partition too big #1
Comments
I ran into this a bunch too. I'm surprised you found the error because it used to be freaking silent. IIRC the config provided is not usable with the flash size of the ad7200, so you have to tweak it a bit to get it to fit. (I'm guessing the author may pivot root to USB.) There are a few standard options for saving big on openwrt builds, for instance to use squashfs + jffs2 instead of pure jffs2, but that's likely default here. Let me do a rebuild of my env (it's been a year now) to make sure I'm giving you a good copy as I'm unsure where I left off, but when it's done I'll upload my config (should be within an hour or so); compare it to yours and adjust. |
Here you go: https://skywww.net/t/ad7200.config |
Thanks for the config file. I will try it later by end of the day. Should increase kernel partition size by expanding os-image partition to 4 MB because the default image doesn't fit 2 MB for kernel. This should be done on "qcom-ipq8064-ad7200.dts" & "tplink-safeloader.c". This could be solve by increasing os-image partition size and reduce file-system partition size. |
Yeah, but then you're stuck with less of an already minimal file system size ;) The kernel fits using the config above, but it only fits because I disabled compiling in symbols and stripping away [semi] useful things. That said, the times I've needed symbols on an already ported openwrt router are next to none, so I doubt it would be worth the decrease in filesystem size by default, as that's something I hit much more often. I'm not the maintainer, so my words bear little salt, but it does seem like it could easily be configurable so the user can decide according to need, yeah? |
Hi, can you check if the 60 GHz WiFi is working properly? I created a version based on the latest openwrt master branch as well. Unfortunately, the 11ad connection appears quite unstable and often runs into silent issues when setting the interface up. |
Hi,
I tried to build for ad7200 and generated "lede-ipq806x-vmlinux.elf".
It stops @
os-image partition too big (more than 2097152 bytes): Success echo '{ "supported_devices":["ad7200"], "version": { "dist": "LEDE", "version": "17.01-SNAPSHOT", "revision": "r3946-b58ea02580", "board": "ipq806x" } }' | fwtool -I - /home/ubuntu/ad7200/build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/linux-ipq806x/tmp/lede-ipq806x-AD7200-squashfs-sysupgrade.bin Failed to open firmware file
The text was updated successfully, but these errors were encountered: