Skip to contentSkip to conversation

u-boot-1.0 and clearing of BSS segment on ARM

U-Boot-Users Markus Pietrek 3 participants 3 messages Jan 9, 2004

lore
Share & tools
lore
#0 lore raw

Hi folks,

I wonder why there seems to be no BSS clearing function for the SMDK2410 and other ARM platforms like in i386/start.s:bss

Is it assumed that the memory is already cleared on reset?

Bye,

Signature · 3 lines
Markus Pietrek
FS Forth-Systeme GmbH
Phone: +49 (7667) 908 145,  FAX +49 (7667) 908 221
#1 lore raw

Markus Pietrek <[email protected]> schreibt:

Quoted 7 lines

Hi folks,

I wonder why there seems to be no BSS clearing function for the SMDK2410 and
other ARM platforms like in i386/start.s:bss

Is it assumed that the memory is already cleared on reset?

Hi,

hardware-reset does not clear the contents of RAM, so such function is certainly needed.

This morning I submitted a patch which - among other things - added BSS clearing to all ARMs, so there's hope that the problem will disappear soon :-)

Cheers
Anders

#2 lore raw
In reply to Markus Pietrek

Dear Markus,

Quoted 3 lines · in message <[email protected]> you wrote:

I wonder why there seems to be no BSS clearing function for the SMDK2410 and other ARM platforms like in i386/start.s:bss

We inherited this from the ARMboot port, and so far nobody fixed it - but see the recent patches by Anders larsen on this list.

Quoted 1 line

Is it assumed that the memory is already cleared on reset?

I don't know what the guys who implemented this assumed. The code as is is broken.

Best regards,

Wolfgang Denk

Signature · 5 lines
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Perfection is reached, not when there is no longer anything  to  add,
but when there is no longer anything to take away.
                                           - Antoine de Saint-Exupery