XIP - Execute in Place (For Bootloader)



Hi,
I was trying to bypass Boot ROM and Branch to Bootloader's entry point
by some form of RESET configurations in OMAP. I did not get any
specific RESET mode/configurations for this. Further,
I find that it is not possible to bypass Boot ROM as it plays a very
important role . I find that if i design by bypassing the boot ROM,
then the bootloader will not get copied to the RAM from the Flash. The
Boot ROM has the basic OMAP intialisaton stuffs and is copying the
Bootloader from the Flash to RAM , then it invokes the bootloader in
RAM.
The Bootloader is copying my application from Flash to RAM and invokes
the application in RAM.

So, I think, I cannot bypass Boot ROM . (That is , I cannot Branch to
Bootloader Entry point directly after RESET).

But, I think, the following is possible - Making the Bootlaoder to
execute in Flash itself:
---------------------------------------------------------------------------------------------------------------------------------
I would like to execute the Bootloader from the Flash Memory itself
(Execute in Place - XIP ).
The bootloader CMD files (Linker command Files) have the RAM memory
mapping as it was designed to execute in RAM. So, the CMD files of the
Bootloader has to be changed .

But, How to make the Bootloader to Execute from the Flash Memory itself
?

Kindly let me know your ideas / suggestions.

Thx in Advans,
Karthik Balaguru

.



Relevant Pages

  • Re: Relocate from nor to ddr CE 5.0
    ... it depends on the bootloader implementation; ... programmed into flash. ... but the image info says it belongs to ram. ... blt CODEINRAM ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to update OS image(nk.bin) while the OS is running?
    ... flash to ram without any processing. ... For saving the image to flash, you'll need some sort of driver, yes. ... Exactly what support is needed also depends on what the bootloader ... and a new NK.bin both stored in USB disk, when the OS is running, I ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Relocate from nor to ddr CE 5.0
    ... bootloader and let it think it is a flash image. ... but the image info says it belongs to ram. ... blt CODEINRAM ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Relocate from nor to ddr CE 5.0
    ... That is the job of the bootloader; nothing special on the part of Platform ... targeted to flash, and if it is then the bootloader programs it. ... to run in RAM, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Relocate from nor to ddr CE 5.0
    ... programmed into flash. ... but the image info says it belongs to ram. ... Your bootloader needs to have code that recognizes if the image is ... blt CODEINRAM ...
    (microsoft.public.windowsce.platbuilder)