Champs,
Is there a way that you can download eboot image through CCS4 and debug?
I am not sure what is the image format generated by wince tools and is there a tool that converts to elf?
I have used CCS for debugging uboot in elf format and looking for a similar mechanism for eboot.
Thanks and regards,
Tony Francis
Hi,
You may upload eboot.nb0 directly to the memory and manualy set the PC to the start address. I did debug the eboot in that way.
Regards,
Vitaly
Thanks Vitaly. That was useful.
As I understand nb0 stands for Raw image format
bin is as described here: http://msdn.microsoft.com/en-us/library/ee478913(v=winembedded.60).aspx
With this method, debug symbols will not be there and I cannot see the symbol information (assembly debugging will be tough)
I saw a tool called Cvrtbin which converts to srecord.
But CCS doesnt understand srecord right? Any other way?
regards,
Tony
Tony,
As I know SREC format also doesn't have symbol information. I don't know the way of source level debugging the eboot with CCS. I used an eboot.map and corresponding source.cod files for debugging. Of caurse that wasn't very convenient, but worked anyway.
Vitaly,
It worked and thanks for your help.
As a side note: Loading eboot to external RAM and then setting the PC did not work as I feel eboot is not stand alone.
I executed the MLO/XLDR (x-loder) and then loaded and executed eboot both through CCS and then I was able to get the eboot prompt.
On linux side, uboot is independent of x-loder and I wish wince is also that way.
I could download through pserial as well, but looks like pserial flash to NAND and but i dont know if there is a way to only download and execute through RAM procedure. Any one knows?
The MLO has small size and is loaded to the internal RAM. It does all necessary initialization (SDRAM, pinmux and so on) and after that loads eboot or u-boot to the intialized SDRAM. Some SoC have internal RAM big enough for entire eboot or u-boot. I think you are talking about u-boot for that type of SoC. In the case of one step boot loade the u-boot or eboot are responcible for the SDRAM, pinmux and other intialization.
Any way, if you want to download the eboot to SDRAM through CCS w/o MLO intialization, you have to use a CCS gel file which does all of the intialization.