Re: X-loader vs eboot - Question



You can even do without eboot.bin and start nk.bin directly but it of course depends on how the processor is setup and how the flash is mapped. Some boards have a very small boot rom that doesn't fit eboot.bin, so they use a 3 stage loading mechanism just like your OMAP. If you know your board will fit eboot then yes, you can skip the x-loader part and run eboot only. Of course you have to move all board initialization code into eboot. First few lines of eboot (that run from bootrom) would initialize RAM, then load itself into RAM and execute from RAM (so you can update eboot if needed), then load NK.BIN from NAND into RAM and jump to the start of NK.

To change all this you definitely need JTAG, because playing with bootroms will never work the first time... ;)

Then if you have JTAG going you already have all necessary initialization code for your board, so you can move that into eboot.

Having the x-loader source will definitely help with setting up JTAG, but asking if somebody can send you the code sounds like a breach of license. Have you tried getting the source code via the official way, so asking/buying from TI?



Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

Mekas wrote:
Hi,

I'm working on OMAP2420 SDP board from TI. It uses NAND flash for booting. So it is having X-loader, Eboot and OS image. First x-loader is copied to PSRAM which will copy the eboot to RAM.

I've a question that why we require x-loader? If it is just for board initialization and copying the eboot to RAM, why cant we skip this x-loader and make our eboot ( which includes the initialization assembly code for the bode) to load into PSRAM first which can initialize the board and copy the OS image from NAND flash to RAM and give control to OS. Since omap2420 has 4MB of PSRAM, it is sufficient for execution of EBOOT ( for its RAMIMAGE, RAM, STACK ).

I didnt get the x-loader source code for OMAP2420 H4 sample BSP with Windows CE 6.0 from MS. Any body is having the source code please send to mekas AT cooltoad DOT com.

Kindly comment.

Regards,
kumar
.



Relevant Pages

  • Re: X-loader vs eboot - Question
    ... If you know your board will fit eboot then yes, ... bootrom) would initialize RAM, then load itself into RAM and execute ... initialization code for your board, so you can move that into eboot. ... Having the x-loader source will definitely help with setting up JTAG, ...
    (microsoft.public.windowsce.embedded)
  • Re: Need some clues
    ... The first difference that comes to mind is MMU initialization. ... initialize by EBOOT. ... Are you comparing a decompress from RAM versus from flash? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Need some clues
    ... All CPU register and memory initialization are done by EBOOT. ... Are you comparing a decompress from RAM versus from flash? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: lots of easy questions about eboot/nk startup
    ... >space when copying NK in RAM or if it can be overwritten. ... not when loading from flash ... maintain eboot space ... >6/ MAybe you should maintain a download support in eboot ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Problem with loading OS
    ... IF IMGFLASH! ... USBDMA 8BE00000 00200000 RAM ... 256KB area is reserved for EBoot ... message to the serial debug port. ...
    (microsoft.public.windowsce.platbuilder)