Altera_Forum
Honored Contributor
20 years agolinux/cygwin build difference
Hi, guys,
I'm trying to build a new kernel for my Nios II Dev board with PCI support. I am using the patch from Microtronix and here comes the problem. I was able to compile a kernel with initramfs on Linux and loaded to the Nios board, but during booting, it gave these messages:uClinux/Nios II
Altera Nios II support (C) 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: 15080k/16384k RAM, 0k/0k ROM (678k kernel code, 432k data)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Linux NoNET1.0 for Linux 2.6
Linux version 2.6.11-uc0 (bdu@Ben) (gcc version 3.4.5)# 9 Tue Mar 14 14:01:38 MS
T 2006
uClinux/Nios II
Altera Nios II support (C) 2004 Microtronix Datacom Ltd.
Built 1 zonelists
Kernel command line:
PID hash table entries: 256 (order: 8, 4096 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 15052k/16384k RAM, 0k/0k ROM (678k kernel code, 432k data)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Kernel panic - not syncing: Can't create rootfs It seems like it booted twice and double the memory and got a kernel panic. The engineer from Microtronix claimed that it's working with their cygwin/IDE 5.1. So I tried and it and it looks working, but I cannot compile initramfs with it. Following this link (http://forum.niosforum.com/forum/index.php?showtopic=3461&hl=romfs) I see it's almost mission impossible. So I am wondering, what makes the difference between linux build and cygwin/IDE build? How can I fix my problem. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif Any help or suggestion will be appreciated.