[uClinux-dev] romfs help?
Brandon Fosdick
brandon at teslamotors.com
Thu Jan 18 12:45:51 EST 2007
So far I've tried using both initrd and MTD.
The problem with initrd seems to be that my external flash is mapped to
the part of the address space below DRAM_BASE. Consequently the load
fails because the kernel thinks the image is outside of physical memory.
I've figured out how to modify the code to force load it, but I'm hoping
for a better solution.
MTD doesn't have a problem with the image's address, but it doesn't seem
to be creating the necessary device nodes for the detected partitions.
However, if I disable CONFIG_MTD_CMDLINE_PARTS in favor of
CONFIG_MTD_UCLINUX, I can get it to boot a litte further (now its
complaining about opening the console). But then I don't have a
partition for the JFFS2 FS that's at the end of the flash.
pratik pujar wrote:
> And your kernel comand line should look like this
> "root=/dev/ram0 initrd=0x81030000,500K console=ttyS
>
> where initrd=<address where romFS is residing>,<size of romFS image>
I've tried a very similar command line. How close does the size on the
command line have to be to the real size of the romfs image?
> If you want to use mtd devices for romFS then the link will help you,
> http://www.ucdot.org/article.pl?sid=03/01/11/1049210&mode=thread
> <http://www.ucdot.org/article.pl?sid=03/01/11/1049210&mode=thread>
I had found that already. It was helpful but not quit enough. Thanks.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
More information about the uClinux-dev
mailing list