[U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

Reinhard Meyer u-boot at emk-elektronik.de
Thu Nov 4 11:59:43 CET 2010


Dear Joakim Tjernlund schrieb:
> no, the nops has to be directly after _start:
> 	. = EXC_OFF_SYS_RESET
> 
> 	.globl	_start
> _start: /* time t 0 */
> 	nop
> 	nop
> 	nop
> 	nop
> 
> My theory is that e300c2(no FPU) CPUs configured for low
> boot vector, 0x100, really uses 0x110 instead.


How about a simple test:

_start:
	bra	case1
	org	_start+0x10
	bra	case2
...
case1:	"turn on red led"
	bra	case1

case2:	"turn on green led"
	bra	case2


You get the idea :)

Best Regards
Reinhard


More information about the U-Boot mailing list