Forum Discussion
Altera_Forum
Honored Contributor
20 years agoAdd a debug line to init/initramfs.c
static char * __init unpack_to_rootfs(char *buf, unsigned len, int check_only) { int written; + printk("unpack_to_rootfs %x+%x check %d\n",(unsigned)buf,len,check_only); dry_run = check_only; You will see uClinux/Nios II Altera Nios II support © 2004 Microtronix Datacom Ltd. Built 1 zonelists Kernel command line: PID hash table entries: 512 (order: 9, 8192 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory available: 63232k/65536k RAM, 0k/0k ROM (1215k kernel code, 390k data) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) unpack_to_rootfs 14eaa4+36738 check 0 So it is trying to unzip the initramfs image, but the data is corrupted. That is confirmed by the warning in the kernel building.