|
U-Boot relocation and Debug The relocation on arm is working, before u-boot-2010.09,there are two define CONFIG_SKIP_RELOCATE_UBOOT and CONFIG_SKIP_LOWLEVEL_INIT, when they are defined in your board configuration header file (in my case ,it is \include\configss\am9263ek.h),you can use GDB init command to do some low level initializations (like setting up CLOCK and SDRAM),and just load u-boot, and you can debug all the source code in Eclipse CDT. After u-boot-2011.03, the relocation on arm are change,The CONFIG_SKIP_RELOCATE_UBOOT does not exist. This PDF document describe two methods to debug U-Boot code before and after relocation. Before read this document < U-Boot relocation and Debug>,read my another document <Building and Debuging U-Boot in Eclipse Helios On Window XP> at first.
| Attachments: |
File comment: This PDF document describe two methods to debug U-Boot code before and after relocation.
U-Boot relocation and Debug.zip [412.36 KiB]
Downloaded 985 times
|
|