public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ladislav Michl <ladis@linux-mips.org>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: arm925t - allow any stack size
Date: Wed, 6 Apr 2005 23:39:57 +0200	[thread overview]
Message-ID: <20050406213957.GA8956@orphique> (raw)
In-Reply-To: <20050406211939.A0B94C108D@atlas.denx.de>

On Wed, Apr 06, 2005 at 11:19:34PM +0200, Wolfgang Denk wrote:
> My ARM experience is ... ummm... let's say limited.

Same here. Still learning and hoping future products will be MIPS based :)

> Well, I think that U-Boot should not rely  on  a  pre-configured  RAM
> size,  but  automatically  detect  how much RAM there is on a system,

That is a bit problem. I do not know about any way how to detect memory
configuration. You need to configure traffic controler to match your
setup.

> relocate itself to the very end of the RAM, and then set up a  memory
> map as described in the README:
> 
> [Top of RAM]:
> 	[optional: protected RAM]
> 	[optional: framebuffer]
> 	U-Boot bss
> 	U-Boot data
> 	U-Boot text
> 	Malloc Arena
> 	Board Info Data and permanent copy of global data
> 	U-Boot stack (growing downward)
> ...
> [Bottom of RAM]

That's probably doable and I'll try to implement it this way, except
that end of RAM address will have to be given in config file. Or does
anyone knows any trick how to detect it?

> > My patch only removes limitation for malloc pool size and stack size to
> > be directly loadable to register as a constant. Now it is probably time
> > to think about it a bit more...
> 
> About it - about what?

About initialization code on ARMs

Best regards,
	ladis

  reply	other threads:[~2005-04-06 21:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-05 17:50 [U-Boot-Users] [PATCH] Add board voiceblue Ladislav Michl
2005-04-05 23:01 ` Wolfgang Denk
2005-04-06 13:37 ` Wolfgang Denk
2005-04-06 17:04   ` [U-Boot-Users] " Ladislav Michl
2005-04-07 22:30     ` Wolfgang Denk
2005-04-06 20:20   ` [U-Boot-Users] arm925t - allow any stack size (was: Re: [PATCH] Add board voiceblue) Ladislav Michl
2005-04-06 20:31     ` Wolfgang Denk
2005-04-06 20:53       ` [U-Boot-Users] Re: arm925t - allow any stack size Ladislav Michl
2005-04-06 21:19         ` Wolfgang Denk
2005-04-06 21:39           ` Ladislav Michl [this message]
2005-04-07 22:43     ` [U-Boot-Users] arm925t - allow any stack size (was: Re: [PATCH] Add board voiceblue) Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050406213957.GA8956@orphique \
    --to=ladis@linux-mips.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox