Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

unable to load cramfs

hello friends

i am using cramfs .i have compressed kernel .

i have stored u-boot at 0x0 ,cramfs at 0x00100000 and kernel image at 0x00020000.

my flash is 2MB(0x00000000 to 0x00200000).and sdram is 8Mb(0x00800000 to 0x00f00000).

but when give command " bootm 0x0002000" on hyperterminel then i get o/p on console like:

uClinux/Nios II

Altera Nios II support © 2004 Microtronix Datacom Ltd.

Built 1 zonelists

Kernel command line: root=/dev/mtdblock0 ro

PID hash table entries: 64 (order: 6, 1024 bytes)

Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)

Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)

Memory available: 6948k/8192k RAM, 0k/0k ROM (883k kernel code, 241k data)

Mount-cache hash table entries: 512 (order: 0, 4096 bytes)

Linux NoNET1.0 for Linux 2.6

Serial: JTAG UART driver $Revision: 1.4 $

ttyJ0 at MMIO 0x80220820 (irq = 1) is a jtag_uart

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

ALTERA map: Found 1 x16 devices at 0x0 in 16-bit bank

Amd/Fujitsu Extended Query Table at 0x0040

number of CFI chips: 1

cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.

cmdlinepart partition parsing not available

RedBoot partition parsing not available

Using up3 development partition definition

Creating 2 MTD partitions on "ALTERA":

0x00100000-0x00200000 : "romfs"

0x00000000-0x00100000 : "loader/kernel"

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)

12 Replies