Re: X-loader vs eboot - Question
- From: "Michel Verhagen (eMVP)" <michel@xxxxxxxxxx>
- Date: Wed, 11 Jun 2008 09:34:06 +1200
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
- Follow-Ups:
- Re: X-loader vs eboot - Question
- From: Mekas
- Re: X-loader vs eboot - Question
- Prev by Date: Re: Anyone who can help in GDI CETK (test cases fails)
- Next by Date: Re: Anyone who can help in GDI CETK (test cases fails)
- Previous by thread: Re: Anyone who can help in GDI CETK (test cases fails)
- Next by thread: Re: X-loader vs eboot - Question
- Index(es):
Relevant Pages
|
|