Altera_Forum
Honored Contributor
16 years agoBoot failures when zImage size goes a little over 3MB?
Has anyone else seen an issue like this?
A zImage that's 3.0MB (4.6MB uncompressed), the kernel boots without fault. The vmlinux image, when stored as a u-boot uImage also boots. When I try to nios2-download a zImage that's 3.2MB (4.9MB uncompressed), the kernel fails to boot in random ways, depending on the size of the kernel. In one case, it was an assert(mm == &init_mm). Another case, it was infinitely looping in the initramfs decompression code. In other cases, the debugger can't generate a backtrace. The size difference is the difference between turning on/off in-kernel UBI support. The failure also happens when I try to boot the kernel as a u-boot uImage also. I've tried all of the different compression options for initramfs and uImage, with no change in functionality. My target system has 16MB of RAM and normally shows plenty of room free: /> free MemTotal: 13560 kB ... Thanks, --Steve