[U-Boot] [U-Boot,4/9] board: MCR3000: use new DM watchdog

Christophe LEROY christophe.leroy at c-s.fr
Tue Nov 20 16:14:14 UTC 2018



Le 20/11/2018 à 15:56, Tom Rini a écrit :
> On Tue, Nov 06, 2018 at 11:25:41AM +0000, Christophe Leroy wrote:
> 
>> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
>> ---
>>   arch/powerpc/dts/mcr3000.dts |  3 +++
>>   board/cssi/MCR3000/MCR3000.c | 16 ++++++++++++++++
>>   configs/MCR3000_defconfig    |  3 +++
>>   3 files changed, 22 insertions(+)
> 
> This fails to build for me in travis currently:
>     powerpc:  +   MCR3000
> +(MCR3000) u-boot.lds:12 cannot move location counter backwards (from 000000000400400c to 0000000004004000)
> +(MCR3000) make[1]: *** [u-boot] Error 1
> +(MCR3000) make: *** [sub-make] Error 2

This means your compiler generates bigger code than mine.

u-boot.lds needs to be adjusted manually for each version of compiler, 
so that the amount of text before env_offset is just enough but not too 
much.

Christophe


More information about the U-Boot mailing list