[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] initial ramdisk
Hi Brettschneider,
Many thanks for your help, at this moment I have tried what is explained in that mail, but when I add MTD support and uclinux mapping a similar error appears in a different device: 1f:00
kmod: failed to exec /sbin/modprobe -s -k block-major-31, errno = 2
VFS: tried fs_name = <ext2> err = -6
VFS: Cannot open root device "ram0" or 1f:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 1f:00
I suppose that the kernel is expecting the file system in a MTD partition. It is neccessary MTD support to use a ramdisk??
Another doubt I have about uclinux in microblaze is if it is possible to use an initial ramdisk. I have seen the code of other processors and ,in them ,some variables such as 'initrd_start' and 'initrd_end' are used and initialized in 'setup.c',
but this doesn't happen in microblaze.
However, I suppose that using the command line parameter 'initrd' (address where initrd file system is located) it should work properly (I have used 'root=/dev/ram0 initrd=0x21000000').
Other parameters I have tried have been:
'root=/dev/ram0 ramdisk_start=10240 load_ramdisk=1'
'ramdisk_start' is the offset from start address of the kernel. In this case my kernel starts in 0x21000000 and the file system in 0x21a00000 then the offset (0x00a00000) in kbytes is 10240.
But I don't know really if it should work properly, the same error happens.
In any case, many thanks for your response and if you or somebody else have some suggestions to these questions I'd be very grateful to hear them.
Regards
Adrian
Brettschneider
Falk <fbrettschneider@xxxxxxxxxxxxxxxxx> escribió:
Adrián Pérez wrote:
> Kernel panic: VFS: Unable to mount root fs on 01:00
...
> Regards
>
> Adrian
Hi, maybe this helps:
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2004/11/msg00
149.html
CU, F@lk
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com