[Skyeye-developer] Patch for load address of elf file
kang shuo
blackfin.kang at gmail.com
Fri Dec 29 01:32:42 CST 2006
Problem description:
we can not directly execute linux elf image that run on platform with
MMU on SkyEye and we need to modify linux source file to fit its
virtual address.. For the entry point of these elf image is always set
to a virtual address such as 0xc000xxxxx. In fact probabely they need
to be loaded to 0xa000xxxx.
Solvement:
Now I add an option "l" in skyeye. We can load elf file to another
address not the entry point of this elf file by this option. Thus some
kernel of elf format can run on SkyEye correctly without any
modification of linux source.
Now we can run pxa testcase by the following command :
binary/skyeye -e vmlinux -l 0xa0000000,0x0fffffff
The patch is in the attachment. If no any issues on it, I will commit it soon.
- Thanks
- Michael.Kang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: load_addr.diff
Type: text/x-patch
Size: 2621 bytes
Desc: not available
Url : http://lists.gro.clinux.org/pipermail/skyeye-developer/attachments/20061228/3d3963d8/load_addr.bin
More information about the Skyeye-developer
mailing list