- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi all:
Why I run nios2 linux kernel fail When I use "nios2-download -g zImage" or "nios2-download -g vmlinux"? Who can give me some advice?Thanks a lot The follow is some of the fail informations: vmlinux: (error) Altera Nios II support © 2004 Microtronix Datacom Ltd. Built 1 zonelists Kernel command line: PID hash table entries: 128 (order: 7, 2048 bytes) Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory available: 14928k/16384k RAM, 0k/0k ROM (739k kernel code, 547k data) Mount-cache hash table entries: 512 Kernel panic - not syncing: crc error Altera Nios II support © 2004 Microtronix Datacom Ltd. Built 1 zonelists Kernel command line: PID hash table entries: 128 (order: 7, 2048 bytes) Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory available: 14928k/16384k RAM, 0k/0k ROM (739k kernel code, 547k data) Mount-cache hash table entries: 512 Kernel panic - not syncing: broken padding zImage:(error)# Uncompressing Linux... ERROR crc error -- System halted uClinux/Nios II Altera Nios II support © 2004 Microtronix Datacom Ltd. Built 1 zonelists Kernel command line: PID hash table entries: 128 (order: 7, 2048 bytes) Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory available: 14928k/16384k RAM, 0k/0k ROM (739k kernel code, 547k data) Mount-cache hash table entries: 512 Kernel panic - not syncing: junk in compressed archiveLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check kernel usr/initramfs_list,
Try remove old rootfs and rebuild kernel.rm -rf ~/rootfs
cp -a ~/buildroot/build_nios2/root ~/rootfs
cd ~/rootfs# remove include and lib to save space# the dev nodes are generated via ~/download/rootfs_list
rm -rf dev usr/include usr/lib# you may use this instead of the one from buildroot
cp ~/download/inittab etc# check rootfs size
du ~/rootfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do it follow hippo's advice.
It seems resultful. But I will still test more.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page