All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] u-boot-1.0 and clearing of BSS segment on ARM
@ 2004-01-09 13:08 Markus Pietrek
  2004-01-09 13:21 ` Anders Larsen
  2004-01-09 13:22 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Pietrek @ 2004-01-09 13:08 UTC (permalink / raw)
  To: u-boot

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
FS Forth-Systeme GmbH
Phone: +49 (7667) 908 145,  FAX +49 (7667) 908 221

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] u-boot-1.0 and clearing of BSS segment on ARM
  2004-01-09 13:08 [U-Boot-Users] u-boot-1.0 and clearing of BSS segment on ARM Markus Pietrek
@ 2004-01-09 13:21 ` Anders Larsen
  2004-01-09 13:22 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Anders Larsen @ 2004-01-09 13:21 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] u-boot-1.0 and clearing of BSS segment on ARM
  2004-01-09 13:08 [U-Boot-Users] u-boot-1.0 and clearing of BSS segment on ARM Markus Pietrek
  2004-01-09 13:21 ` Anders Larsen
@ 2004-01-09 13:22 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2004-01-09 13:22 UTC (permalink / raw)
  To: u-boot

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

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-09 13:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-09 13:08 [U-Boot-Users] u-boot-1.0 and clearing of BSS segment on ARM Markus Pietrek
2004-01-09 13:21 ` Anders Larsen
2004-01-09 13:22 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.