Forum Discussion
Altera_Forum
Honored Contributor
19 years agocannot open root device
Hello All ! I built Kernel success on platform linux . but I got error when I load kernel to board . .... cannot open root device "NULL" or unknown-block(0,0) please append a correct "r...
Altera_Forum
Honored Contributor
19 years agoHi hippo !
I did : + make clean + rm -rf romfs + make vendor_hwselect SYSPTF=~/...../standard_1c12.ptf + make romfs + make menuconfig [*] Default all settings (lose changes) [ ] Customize Kernel Settings [ ] Customize Vendor/User Settings [ ] Update Default Vendor Settings Then <exit> <exit> <yes> + make + make linux image . then I load zImage to board and this is message I got : uClinux/Nios II Altera Nios II support © 2004 Microtronix Datacom Ltd. Built 1 zonelists Kernel command line: PID hash table entries: 128 (order: 7, 512 bytes) Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory available: 14872k/16384k RAM, 0k/0k ROM (1195k kernel code, 157k data) Mount-cache hash table entries: 512 NET: Registered protocol family 16 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered io scheduler noop registered io scheduler deadline registered (default) Serial: JTAG UART driver $Revision: 1.1 $ ttyJ0 at MMIO 0x80801080 (irq = 2) is a jtag_uart dm9000 Ethernet Driver TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 No filesystem could mount root, tried: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) thank very much !!!