Forum Discussion
Altera_Forum
Honored Contributor
21 years agoSome probem in starting up kernel from U-Boot
Hi all: With Scott's great help,i have succeed in building the U-Boot for my UP3 board. Use the new CFI code in the latest u-boot code__http://www.psyent.com/download But the fla...
Altera_Forum
Honored Contributor
21 years agoHi Justin,
Please see: http://www.niosforum.com/forum/index.php?a...=st&f=18&t=2383 (http://www.niosforum.com/forum/index.php?act=st&f=18&t=2383) <div class='quotetop'>QUOTE </div> --- Quote Start --- Freeing unused kernel memory: 60k freed (0x1188000 - 0x1196000) Warning: unable to open an initial console. Kernel panic - not syncing: no init found. Try passing init= option to kernel.[/b] --- Quote End --- This is due to the bugs in the 1.4 fs/cramfs/inode.c. Basically, the code doesn't correctly access the offset and namelen bit fields in the cramfs_inode struct (as well as some others). Soooo ... it can't even create a good offset to the root directory inode from the superblock -- which is why the kernel can't even find the /dev/console. Anyway, see the URL above ... the fix is pretty simple. Regards, --Scott