Re: More about ROMOFFSET usage.

From: Dean Ramsier (ramsiernospam_at_nospam.com)
Date: 07/08/04


Date: Thu, 8 Jul 2004 09:50:22 -0400

Whoever is loading the image - the bootloader. It can't run until it's been
placed in (copied to) the location it needs to run from. Therefore, the
image itself can't be responsible for the copy.

Typically, ROMOFFSET is used as a convenience to allow the image to be
stored in flash. The bootloader then copies the the image in flash to RAM,
and jumps there.

-- 
Dean Ramsier - eMVP
"SnowMan" <SnowMan@discussions.microsoft.com> wrote in message
news:7F8626CE-788D-4E14-ABE1-3FC893A0B862@microsoft.com...
> Hi All,
>
> ROMOFFSET is supposed to be used to generate BIN file records for placing
the
> image in memory at an address different from where it will execute from.
Can anybody confirm who should take the responsibility to move the image
from where it is stored to where it will run from? Boot loader, image
itself, or OS loader?
>
> Thanks,
> SN


Relevant Pages

  • Re: Bootloader Placement
    ... The bootloader would treat both of the others as ... It's an interesting thought but the bulk of the boot loader is an MMC card ... together as the flash loading part is so much smaller. ... Prefetch Abort exceptions and don't intend to include a handler so I could ...
    (comp.arch.embedded)
  • Re: Bootloader Placement
    ... which, firstly copies all code and data from flash to RAM and then checks data on an MMC card to see whether an update of the flash is necessary and, if so, copies new program data into the flash. ... At the moment I have two projects - the bootloader as a stand-alone loader and the full application, which has the bootloader code as part of it. ... 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. ... My thoughts were to define the first flash sector as a seperate linker section and locate all the bootloader functions and data in there but as part of the application software. ...
    (comp.arch.embedded)
  • Re: More about ROMOFFSET usage.
    ... "Dean Ramsier" wrote: ... The bootloader then copies the the image in flash to RAM, ... >> ROMOFFSET is supposed to be used to generate BIN file records for placing ... Boot loader, image ...
    (microsoft.public.windowsce.embedded)
  • Re: Field Updates of Windows CE
    ... I'd say, if you have the space on the card, yes, 1) rename old nk.bin ... that Windows Mobile actually does nk.bin replacements via the bootloader, ... many, if not all, of the Windows CE integration companies have bootloaders ... and flash copy, which is a BIG job, to my way of thinking. ...
    (microsoft.public.windowsce.embedded)
  • Re: Field Updates of Windows CE
    ... because you need both the SD card driver and the FATFS support. ... Interesting recommendation on not using eboot, but a different bootloader ... many, if not all, of the Windows CE integration companies have bootloaders ... and flash copy, which is a BIG job, to my way of thinking. ...
    (microsoft.public.windowsce.embedded)

Loading