Hello, I'm trying to boot my system with a cramfs filesystem in NOR flash. I'm fairly certain I'm missing something in my kernel .config but I cant seem to figure it out. I had the board booting but updated the kernel and now there is a problem. Something odd: when I add "initrd=0x80900000,6M" to my boot args, the lines: RAMDISK: cramfs filesystem found at block 0 RAMDISK: Loading 1312KiB [1 disk] into ram disk... done. Change to: RAMDISK: Couldn't find valid RAM disk image starting at 0. My boot command and boot args are the following: bootcmd=cp.b 0x020C0000 0x80700000 0xb4910; cp.b 0x021C0000 0x80900000 0x148040; bootm 0x80700000 0x80900000 bootargs=mem=30M console=ttyS0,115200n8 root=/dev/ram0 ro initrd=0x80900000,6M init=/startup ip=off lpj=741376 The kernel shows the following output when booting: physmap flash device: 2000000 at 8000000 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-0x000c0000 : "sw_params" 0x000c0000-0x001c0000 : "kernel" 0x001c0000-0x02000000 : "filesystem" RAMDISK: cramfs filesystem found at block 0 RAMDISK: Loading 1312KiB [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 know that the file /dev/ram0 exists properly, I have booted with the same filesystem in place previously. Any idea what I could be missing in my kernel .config? Thanks, -Steve |
_______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source