On MIPS Technologies boards 0x1fc00010 address is reserved for BoardID. The hardware or emulator intercepts accesses to this address and we can't use this address for storing code. Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- arch/mips/boards/qemu-malta/include/board/board_pbl_start.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/mips/boards/qemu-malta/include/board/board_pbl_start.h b/arch/mips/boards/qemu-malta/include/board/board_pbl_start.h index bcd9789..a5f29e5 100644 --- a/arch/mips/boards/qemu-malta/include/board/board_pbl_start.h +++ b/arch/mips/boards/qemu-malta/include/board/board_pbl_start.h @@ -24,6 +24,18 @@ .set push .set noreorder + b __start + nop + + /* + On MIPS Technologies boards + 0x1fc00010 address is reserved for BoardID + */ + .org 0x10 + .word 0xffffffff + .word 0xffffffff + +__start: mips_disable_interrupts /* cpu specific setup ... */ -- 1.8.4.rc3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox