eCos ROM startup from RedBoot

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

eCos ROM startup from RedBoot

Pierre-Jean COUDERT-2
Hello,

I have RedBoot running from flash with a ROM startup on a memory
constrained platform ( ARM Cortex-M Kinetis K60).

I would like to be able to launch an eCos application stored in Flash
from RedBoot.
So, my hardware will be first initialized by RedBoot.

I already have build a corresponding modified memory mapping (.ldi files)
I think, I'll need a "mixed" startup type (between ROM and RAM) :
quite like a RAM startup concerning the vectors initialization but
with a .data section RAM initialization as in a ROM startup.

Does this kind of startup already exists on other platforms ?
Do I need to create a new startup type ?

Thanks in advance for your response.

Yours,

Pierre-Jean Coudert

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply | Threaded
Open this post in threaded view
|

Re: eCos ROM startup from RedBoot

Ilija Kocho [Илија Кочо]
Hello Pierre-Jean

Sorry for delayed response but it took some time.

It seem that it works.
The startup type could be something like this:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001623

You may also need a Flash driver, it's on a way:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001561

Note: Flashing is critical operation, it may lock your Kinetis flash for
good, no protection yet. Usage is on your own responsibility.

Regards

Ilija


On 18.06.2012 15:59, Pierre-Jean COUDERT wrote:

> Hello,
>
> I have RedBoot running from flash with a ROM startup on a memory
> constrained platform ( ARM Cortex-M Kinetis K60).
>
> I would like to be able to launch an eCos application stored in Flash
> from RedBoot.
> So, my hardware will be first initialized by RedBoot.
>
> I already have build a corresponding modified memory mapping (.ldi files)
> I think, I'll need a "mixed" startup type (between ROM and RAM) :
> quite like a RAM startup concerning the vectors initialization but
> with a .data section RAM initialization as in a ROM startup.
>
> Does this kind of startup already exists on other platforms ?
> Do I need to create a new startup type ?
>
> Thanks in advance for your response.
>
> Yours,
>
> Pierre-Jean Coudert
>


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss