Showing posts with label uboot. Show all posts
Showing posts with label uboot. Show all posts

Thursday, December 29, 2011

GDB Debugging ARM U-Boot on QEMU

1 Introduction


QEMU is a generic and open source machine emulator and virtualizer. In this article, we will use it as a machine emulator and run the U-Boot on top of it. It will also be demonstrated about how to debug U-Boot with GDB.

Wednesday, August 20, 2008

Remove allow_branch_to_undefined from U-boot

Old U-boot (v1.1.3 in my example, too old hum?) needs a option -mips_allow_branch_to_undefined for ELDK AS to assemble. We have to modify cpu/mips/start.S so that AS of other toolchains could assemble it without an error - Error: can't resolve `_GLOBAL_OFFSET_TABLE_' {*UND* section} - `L16' {.text section}