[U-Boot-Users] u-boot-1.0 and clearing of BSS segment on ARM

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,

Markus Pietrek mpietrek@fsforth.de schreibt:
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

Dear Markus,
in message 200401091408.44458.mpietrek@fsforth.de 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.
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
participants (3)
-
Anders Larsen
-
Markus Pietrek
-
Wolfgang Denk