This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: redboot on STM3240G-EVAL board


On Thu, 9 Oct 2014, Oleg Uzenkov wrote:

> Thank you very much, Sergei!
>
> the way you described works just fine:
>
>   RedBoot> load -m x
>   RedBoot> fis create app
>   RedBoot> fis load app
>   RedBoot> go
>
> the app gets executed correctly! Huray!
>
> ELF files are quite large, what is the preferred format for an image
> to be passed to redboot?  what "load" and "fis create" command look
> like?

**Roughly** speaking, you save .text segment in FLASH (adjusted to flash
block erase size), you save not ELF image! So, do not mess with
binaries. Also `load' command does not carry whole ELF image into RAM,
but .text segment with a few other segments.

Sergei

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]