john oliver wrote:
    I changed /dev/ram0 to read   brw-rw----  1 root disk 1, 0 ...
    The uncompressed ramdisk is way under 6M - it's 2.8M

Not sure, but to be on the safe side, your uncompressed ramdisk should be really 6M.

    I changed CONFIG_BLK_DEV_RAM_SIZE to 6144
    I removed load_ramdisk=1  from bootargs

But I'm still getting ' Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)'

To see if its your kernel config or your ramdisk, can you try the ramdisk in attachment? You have to change config to 8M for this (i.e. CONFIG_BLK_DEV_RAM_SIZE = 8192 and initrd=...,8M)

Its an empty 8M ramdisk. The only thing in it is /dev/ram0, so kernel should mount it and then complain that it can't find init. Thats okay, as there is no init ;)

With this, I get

-- cut --
...
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 8192K
...
RAMDISK driver initialized: 1 RAM disks of 8192K size 1024 blocksize
...
RAMDISK: Compressed image found at block 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
...
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kern.
-- cut --

Dirk

Attachment: ramdisk.gz
Description: application/gunzip

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

Reply via email to