Re: [U-Boot] Fw: FDT pointer value, passed by the PI firmware, is not set in u-boot

2016-09-22 Thread Simon Glass
Hi, On 19 September 2016 at 21:50, wrote: > > I modified the current u-boot code to store r2 in rpi.c board_init, but only > get a zero value from the register. > > It could be one of three issues: > 1. My use of the c asm statement to store r2 is wrong (I've never done this

[U-Boot] Fw: FDT pointer value, passed by the PI firmware, is not set in u-boot

2016-09-19 Thread dh
I modified the current u-boot code to store r2 in rpi.c board_init, but only get a zero value from the register. It could be one of three issues: 1. My use of the c asm statement  to store r2 is wrong (I've never done this before), assembler yes, c assembler no. 2. The compiler has consumed