diff -purN new/u-boot/cpu/arm720t/start.S u-boot/cpu/arm720t/start.S --- new/u-boot/cpu/arm720t/start.S Thu Jul 1 09:30:47 2004 +++ u-boot/cpu/arm720t/start.S Wed Jul 7 10:17:33 2004 @@ -129,6 +129,14 @@ relocate: /* relocate U-Boot to RAM cmp r0, r1 /* don't reloc during debug */ beq stack_setup + ldr r2, =0x0 /* Relocate the exception vectors */ + cmp r1, r2 /* and associated data to address */ + ldmneia r0!, {r3-r10} /* 0x0. Do nothing if TEXT_BASE is */ + stmneia r2!, {r3-r10} /* 0x0. Copy the first 15 words. */ + ldmneia r0, {r3-r9} + stmneia r2, {r3-r9} + adrne r0, _start /* restore r0 */ + ldr r2, _armboot_start ldr r3, _bss_start sub r2, r3, r2 /* r2 <- size of armboot */