Hello,

I'm trying to boot my system with a cramfs filesystem in NOR flash. The kernel shows the following output when booting:

physmap flash device: 2000000 at 8000000
RedBoot partition parsing not available
davinciflash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0041
davinciflash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 5 MTD partitions on "davinciflash.0":
0x00000000-0x00020000 : "bootloader"
0x00020000-0x00040000 : "params"
0x00040000-0x00060000 : "sw_params"
0x00060000-0x005ec000 : "kernel"
mtd: partition "kernel" doesn't end on an erase block -- force read-only
0x005ec000-0x02000000 : "filesystem"
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 1304KiB [1 disk] into ram disk... done.
VFS: Mounted root (cramfs filesystem) readonly.
VFS: Cannot open root device "ram0" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


I've verified that the cramfs image contains /dev/ram0. My uboot commands are:

bootargs=mem=30M console=ttyS0,115200n8 root=/dev/ram0 ro init=/startup ip=off lpj=741376
bootcmd=cp.b 0x021a0000 0x80900000 0x146040; bootm 0x02060000 0x80900000

Any idea what I'm doing wrong? Thanks for any help.

-Steve

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to