[U-Boot] Most ARM CPU's have buggy clear_bss?

Albert ARIBAUD albert.aribaud at free.fr
Fri Oct 29 11:29:09 CEST 2010


Le 28/10/2010 13:38, Wolfgang Denk a écrit :

>>> CONFIG_RELOC_FIXUP_WORKS
>>
>> Not needed for ARM when ELF relocation is used. I don't know whether other
>> architectures still need it. Do NOT set it on ARM or you get in trouble by
>> some addresses being relocated twice.
>
> Sure?  My understanding is that it MUST be set since we have
> elf_reloc?

It is needed if code exists wich is conditioned on it, but such code 
should be cleaned up to keep only the "ifdef" part of it.

> My understanding is that CONFIG_SYS_ARM_WITHOUT_RELOC and
> CONFIG_SKIP_RELOCATE_UBOOT should not be set (and I don;t know what
> happens if you do), but CONFIG_RELOC_FIXUP_WORKS is automaticlly set
> for all ARM systems now.

I'd agree with this.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list