Re: small custom bootloader to start an app stored in flash
Sergei Gavrikov <[email protected]> Fri, 24 Oct 2014 00:21:46 +0300 (FET)
| Newsgroups | gmane.os.ecos.general |
|---|---|
| Message-ID | <alpine.DEB.2.00.1410232338250.7986@sg-laptop> |
On Thu, 23 Oct 2014, Oleg Uzenkov wrote:
> At last got some progress! :-)
Congrats!
[snip]
> HAL_PLF_ARCH_GETRESETVECTOR(exec, 0x08020000);
^^^^^
Oleg, you reserve 128K for "small custom bootloader", 128K is more than
enough to use RedBoot. If you can donate 128K for boot-loader then use
RedBoot. I am sure that RedBoot can run and your "ROMROM" applications.
If standard RedBoot lacks some behaviors, just provide new functionality
with custom RedBoot command(s) FYI: this code can be part platform HAL.
Paraphrasing Greenspun's Tenth Rule, Any custom boot-loader for eCos
will contain an ad hoc, informally-specified, bug-ridden, implementation
of half of RedBoot :-)
I assure you if you can donate 128K for your own bootstrap code then
using RedBoot will save your time and efforts.
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