Re: How WinCE bootloader is Jumping to SDRAM after copying itself to i



The bootloader uses boot.bib file to define its internal address mapping.

If you look at a function named "EverythingRelocate" or something like that
in the bootloader source code, you'll see it is using the datas from the bib
file through a specific structure to relocate itself in SDRAM.

--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------

"Peter" <peter> a écrit dans le message de news:
18CC7CF5-B455-47D1-9088-93DBD619C410@xxxxxxxxxxxxxxxx
> Hi,
>
> I have a thearotical questions. As such, my bootloader is working fine.
>
> Here my query is:
> The Eboot (Lubbock BSP for PXA250), copies itself from Flash to SDRAM.
> Then,
> it calculates the relative PC address of a lable it has to jump. Then,
> loads
> this address to the PC.
> Now, How the compiler knows that this part of the code goes to SDRAM while
> i
> am building a eboot for Flash Address ? Becoz, the compiler is generating
> the
> code for the Flash and the eboot.map file is as follows.
>
> Address Publics by Value Rva+Base Lib:Object
>
> 0001:00000000 StartUp a0001000 fwp2.obj
> 0001:00000020 Undefined_Handler a0001020 fwp2.obj
> 0001:00000024 SWI_Handler a0001024 fwp2.obj
>
> Please help me to understand.
>
> Thanks & Regards,
> Arockiarajesh Peter


.



Relevant Pages

  • Re: To test the Flash
    ... Where are your bootloader and OS stored? ... In the flash that you want to ... You realize that writing values to every location will destroy them, ... and run from SDRAM. ...
    (microsoft.public.windowsce.platbuilder)
  • 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)
  • Re: Nand Flash Data Lost
    ... While you mentioned not only registry but also the files are lost after reboot and the bootloader did not repartition your flash, it is believe the OS wipes the Flash. ... Have you tried to build a Image only mount the NAND as an ordinal external storage but not for storing Hive nor mounting as root file-system and to see if files still lost after rebooting? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Field Updates of Windows CE
    ... I'm facing the same update problem on a WinCE 6.0 based device. ... I've also seen mentioned the Image Update capability that is in Windows ... FATFS into the bootloader. ... and flash copy, which is a BIG job, to my way of thinking. ...
    (microsoft.public.windowsce.embedded)