[U-Boot] Most ARM CPU's have buggy clear_bss?
Darius Augulis
augulis.darius at gmail.com
Wed Oct 27 10:58:30 CEST 2010
On Wed, Oct 27, 2010 at 11:54 AM, Sughosh Ganu <urwithsughosh at gmail.com> wrote:
> hi,
>
> On Wed Oct 27, 2010 at 11:22:17AM +0300, Darius Augulis wrote:
>> Hi,
>>
>> On Wed, Oct 27, 2010 at 11:01 AM, Sughosh Ganu <urwithsughosh at gmail.com> wrote:
>
>> >
>> > Not sure which core are you referring to. I checked for arm926ejs,
>> > and we have conditional code inclusion based on the definition of
>> > CONFIG_SYS_ARM_WITHOUT_RELOC. So the start address in both the cases
>> > is determined based on whether relocation is enabled or not.
>>
>> The same is at least for arm926ejs, arm1136, arm1176.
>> As you probably know CONFIG_SYS_ARM_WITHOUT_RELOC support will be
>> removed soon and I'm talking about code which is under
>> #ifndef CONFIG_SYS_ARM_WITHOUT_RELOC.
>
> Umm. I am not sure i get you here. If CONFIG_SYS_ARM_WITHOUT_RELOC
> is not defined, it means we have enabled relocation, so all the
> address calculation should be w.r.t the relocation address.
No, there could be several different relocation methods - with and
without preloader etc.
There is another definition CONFIG_SKIP_RELOCATE_UBOOT which changes
boot sequence dramatically.
And it isn't CONFIG_SYS_ARM_WITHOUT_RELOC dependent.
Darius.
>
> -sughosh
>
More information about the U-Boot
mailing list