Hi thanks for your answer.
In my case, when the linux image is loaded, the _startup procedure
copies the romfs image from the
rom to the ram (at _ebss). So I can use RAMdisk or MTD.
I have already tried with MTD, I create a partition but I have a
probleme with the function
mtd_blktrans_thread() which turns in endless loop.
So I going to try only with ramdisk. It seems to be the easiest way to
mount romfs.
I have seen that we can specifie a command line initrd option
'initrd=0xaddr,sizeK'.
Does 'addr' must be equal to _ebss?
If not what should I specify for this command line?
Thanks very much in advance!
Regards
Greg Ungerer a écrit :
Hi Stephane,
Stephane Lambert wrote:
I'm working on mounting romfs for kernel 2.6.19 on a new architecture
and I have a question:
It is possible to mount romfs without MTD support?
Where does the romfs sit?
If on a disk you would logically use IDE or SCSI block device.
It it sits on raw flash then MTD is the logical choice.
If its in RAM then either ramdisk or MTD would make sense.
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: [email protected]
SnapGear, a McAfee Company PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev