[okl4-developer] about entry point
QUANLONG
snowgoddess at naver.com
Mon Nov 5 17:17:53 EST 2007
Hello , Okl4 developers.
I have questions about okl4 1.5.2
I have a board with pxa255 and I got image.boot and image.elf using
./tools/build.py machine=gumstix project=iguana wombat=true
I downloaded image.boot to Sdram with a Jtag debugger , and excueded it , but nothing happends. same with image.elf.
so I use
arm-linux-objcopy -O binary image.elf image.bin
and download the image.bin to 0xa0000000 and it works ,
here is my question
(1) what's difference between image.boot and image.elf , I think image.boot is an elf file , then why i can't just download image.boot and excute it? (of course I am using a boot program to initialize my sdram, serial and flahs etc....)
(2) how can i change the entry point of image.elf, or image.boot ?
I mean, I want to flash image.bin to my flash , then using the boot program to copy it to a certain sdram address such as 0xa1000000. shall I change the mahines.py file? I remember when I using nitica l4 1.2 there is an option elf_entry= 0xa1000000 , but it doesn't work with okl4_1.5.2 , is there another option?
any advice would be appreciated.
Best Regards.
전 룡
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20071105/3dab1c64/attachment.htm
More information about the Developer
mailing list