Forum Discussion
Altera_Forum
Honored Contributor
20 years agounable 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 s...
Altera_Forum
Honored Contributor
20 years agohi scott
so much thanks.......infinite atleast ,now kernel is able to find which is fs is there. but still now i have problem now, i got massegs on terminal 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: 7040k/8192k RAM, 0k/0k ROM (800k kernel code, 235k 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 0x80221080 (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 UP3 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 altera development partition definition Creating 2 MTD partitions on "altera map": 0x00100000-0x00200000 : "romfs" 0x00000000-0x00100000 : "loader/kernel" VFS: Mounted root (cramfs filesystem) readonly. Freeing unused kernel memory: 48k freed (0x8e4000 - 0x8ef000) Warning: unable to open an initial console. Kernel panic - not syncing: No init found. Try passing init= option to kernel. if i think init is not there ,then it should be not worked when same fs is used as romfs.bin because i got kernel o/p ,when i used same fs without compress as romfs. please help me.