poplinux |
06-03-2013 01:31 AM |
initramfs fail on Marvell 88F6281 EVB
Dear Sir.
I have a quesion for initramfs
My ENV. see below.
Code:
SoC : Marvell 88F6281
kernel : Linux-2.6.31.8(Apply marvell patch)
rootfs : initramfs
bootloader : u-boot-1.1.4(apply marvell patch)
I'm already boot success. use nfs root.
But have a fail use initramfs.
First. I'm create rootfs use by cpio
[code]
find | cpio --quiet -o -H newc >../rootfs.cpio
[code]
Second.
My Kernel config. see below
Code:
64 CONFIG_BLK_DEV_INITRD=y
65 CONFIG_INITRAMFS_SOURCE="/home/poplinux/work/vf50/sdk_build/rootfs.cpio"
66 CONFIG_INITRAMFS_ROOT_UID=0
67 CONFIG_INITRAMFS_ROOT_GID=0
68 CONFIG_RD_GZIP=y
69 CONFIG_RD_BZIP2=y
70 CONFIG_RD_LZMA=y
71 # CONFIG_INITRAMFS_COMPRESSION_NONE is not set
72 # CONFIG_INITRAMFS_COMPRESSION_GZIP is not set
73 CONFIG_INITRAMFS_COMPRESSION_BZIP2=y
.
.
.
424 # Boot options
425 #
426 CONFIG_ZBOOT_ROM_TEXT=0x0
427 CONFIG_ZBOOT_ROM_BSS=0x0
428 CONFIG_CMDLINE="console=ttyS0,115200 init=/linuxrc root=/dev/ram0 rw"
429 # CONFIG_XIP_KERNEL is not set
430 # CONFIG_KEXEC is not set
And i'm use this command in u-boot
Code:
u-boot >> tftpboot 0x200000 test.img
u-boot >> tftpboot 0x200000
## Booting image at 02000000 ...
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux...................................................................................................................................
Linux version 2.6.31.8 (poplinux@HWserver) (gcc version 4.3.2 (sdk3.2rc1-ct-ng-1.4.1) ) #37 Mon Jun 3 15:27:36 KST 2013
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Feroceon-KW
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 65024
Kernel command line: console=ttyS0,115200 init=/linuxrc root=/dev/ram0 -o rw
.
.
.
.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
VFS: Cannot open root device "ram0" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c0095cf4>] (unwind_backtrace+0x0/0xdc) from [<c043a4f4>] (panic+0x40/0x108)
[<c043a4f4>] (panic+0x40/0x108) from [<c0008d48>] (mount_block_root+0x25c/0x2ac)
[<c0008d48>] (mount_block_root+0x25c/0x2ac) from [<c0008f2c>] (prepare_namespace+0x130/0x188)
[<c0008f2c>] (prepare_namespace+0x130/0x188) from [<c0008418>] (kernel_init+0xd4/0x108)
[<c0008418>] (kernel_init+0xd4/0x108) from [<c0090f58>] (kernel_thread_exit+0x0/0x8)
I don't understand. Why occured this problem to me.
Please help me.
Thank you.
|