Re: Bootloader Placement



Tom Lucas <news@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

What I'd like to do is seperate the bootloader code from the
application code and have the boot loader pass control to the
application once it has done its checks and, if necessary,
reprogramming. However, I don't think I could have the application
as stand-alone code as well because it would then be re-initialising
the hardware and memory of what was initialised previously in the
bootloader.

As has been said, re-initialization shouldn't usually be problematic
--- at worst, it'll just be a small waste of time on startup. If in
your case the hardware really can't be initialized more than once, I
think you should consider splitting up your mental image of the job
into *three* parts: a bootloader, a flash-updater, and the main
application. The bootloader would treat both of the others as
optional. I.e. if they're present, they're executed. This requires
some management (how to test whether the code is present, how to avoid
memory space collisions between flasher and main app...). This would
allow to keep all initializations that can't be re-done in the
bootloader.


--
Hans-Bernhard Broeker (broeker@xxxxxxxxxxxxxxxxxxxxx)
Even if all the snow were burnt, ashes would remain.
.



Relevant Pages

  • Re: WINCE on ARM PB926:newbie question
    ... I will go ahead with the development of the bootloader. ... should i reference the hardware peripherals ... since MainstoneII is the closest BSP available to me, ... this project is make certain that the image generated using ARM ...
    (microsoft.public.windowsce.platbuilder)
  • Re: opensuse 10.3 und partition =?ISO-8859-1?Q?gr=F6=DFer_als_?= =?ISO-8859-1?Q?2tb?
    ... hab nicht umsonst den Hardware Raid ... einstelle installiert er den Bootloader auch nicht. ... noch Aufgabe des Mainboard-BIOS mit Hilfe dieser Routinen den MBR der ...
    (de.comp.os.unix.linux.misc)
  • Re: Can I overwrite hardware settings in OALStartup.s?
    ... Then "b OALStartup" is called to jump to ... That's why I think I can overwrite GPIO settings using my own and I can ... need to build the OS to make my changes inclueded in the bootloader, ... Can I overwrite hardware settings in OALStartup.s? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Bootloder
    ... BSP covers all the platform dependent part of windows CE that is required to ... be adapted when willing to run WinCE on a specific hardware platforms. ... Bootloader is an OS independent code that performs minimal task to set the ... Windows Embedded Manager ...
    (microsoft.public.windowsce.platbuilder)