Some things you could check:
john oliver wrote:
My kernel .config includes ..
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=1
CONFIG_BLK_DEV_RAM_SIZE=32768
In boot args you have 6M, so try to set 6144 here as well.
My boot args line is
bootargs=console=ttyS0,115200n8 root=/dev/ram0 rw
initrd=0x85000000,6M load_ramdisk=1
Try to omit the "load_ramdisk=1".
I followed the instructions in NOR-FLASH - /SPRAAH2.pdf/ (building
small embedded linux kernel example.pdf).
Except I couldn't find the ramdisk.gz in my distribution/mv devkit so I
built my own using the wizard in devrocket. Just a simple one containing
the network/init scripts, busybox
and tinyhttp.
I then noticed that devrocket wasn't saving /dev/ram0 or /dev/init in my
Your /dev/ram0 should be
brw-rw---- 1 root disk 1, 0 ...
I don't think /dev/init is necessary for inital mounting.
image so I mknod'ed and chmod'ed them manually to my .build directory,
and rebuilt ramdisk.gz using find . | cpio --quiet -c -o | gzip -9 -n >
ramdisk.gz
Does the uncompressed ramdisk is 6M?
Hopefully anything of this helps,
Dirk
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source