Created
November 15, 2011 17:20
-
-
Save kylemanna/1367672 to your computer and use it in GitHub Desktop.
Relocate ELF binary file for use with JTAG debugging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Following command will relocate the linux kernel elf file from | |
# 0xc000_0000 to 0x8000_0000 which coincides with the actual load | |
# address on TI OMAP3 platforms. | |
# This should also work for debugging the second stage of u-boot | |
# after it has been relocated | |
arm-none-linux-gnueabi-objcopy --change-addresses -0x40000000 vmlinux vmlinux.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment