This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: small custom bootloader to start an app stored in flash
- From: Sergei Gavrikov <sergei dot gavrikov at gmail dot com>
- To: Oleg Uzenkov <o dot uzenkov at unicore dot co dot ua>
- Cc: eCos Discussion <ecos-discuss at sourceware dot org>
- Date: Fri, 24 Oct 2014 00:21:46 +0300 (FET)
- Subject: Re: small custom bootloader to start an app stored in flash
- Authentication-results: sourceware.org; auth=none
- References: <544618E5 dot 90101 at unicore dot co dot ua> <CAPrjMDAi=cqTSQ-d-c9FF53W-c6=v0j8rzSLQfuTcBQUY43Zpw at mail dot gmail dot com> <54479031 dot 9080106 at unicore dot co dot ua> <CAPrjMDCiZ0Lkwfgv=dfw8fhjmZXjeLAdgHSiiK9o6RZXLM-G=g at mail dot gmail dot com> <5447C1D0 dot 3070906 at unicore dot co dot ua> <CAPrjMDBeetQ+sEYswv7dF=bcFuqpjpqOhtjfNBC+oMFuXzT_8A at mail dot gmail dot com> <CAPrjMDCdT9ddPowRvQmaKh396tYwt7yWLzKNQB+83Asi0f71jw at mail dot gmail dot com> <544918B9 dot 7000601 at unicore dot co dot ua>
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