Hello,

It works !!

Thanks you very much !!

Best regards,
Mickael.


PS :
I just change a line
   .long    __bss_start            @ r6
by
   .long    _edata                     @ r6

if fact, like in 2.4.x kernel with CONFIG_RAM_ATTACHED_ROMFS switch.




2007/4/19, Lance Spaulding <[EMAIL PROTECTED]>:

Mickael Sergent wrote:
> Hello,
>
> I'm trying to port uclinux 2.6.x on dev. board based on ARM946-E-S. (I
> use uClinux-dist 20070130)
>
> I would like to have kernel and ROMfs entirely in RAM but it seems to
> be impossible on ARM architecture.
>
> On uclinux 2.4 version a switch (CONFIG_RAM_ATTACHED_ROMFS) can be
> used to do this.
>
> Does an equivalent exist in 2.6 version ?
>
>
> I tried to use CONFIG_MTD_UCLINUX_EBSS (after having defined _ebss
> symbol in the end of kernel) but it doesn't solve problem (because RAM
> where is stored ROMfs is used by uclinux), so a patch is needed to
> reserve ROMfs memory
>
> Do you know another solution to put ROMfs at the end of kernel ?
>
> Thanks a lot !
>
> Best regards,
>
> Mickael.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
Hi Mickael,

We use a ram based rom filesystem on our ARM products (including ones
using an arm946).  I've attached a small patch of the changes I made to
get this to work.  Note that we use little-endian exclusively so if you
are using big-endian you will need to change the code slightly.

Thanks,
Lance

_______________________________________________
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

Reply via email to