[U-Boot] About mtest on boot

Érico Porto ericoporto2008 at gmail.com
Mon Jan 23 15:35:41 CET 2012


Ok, this makes sense, but I think you mean:

memory start at 0x00000000

mtest {
start address: right after (malloc area+global data + stack)
end address: relocaddr
}

memory end at 0x08000000

...

Érico V. Porto


On Mon, Jan 23, 2012 at 12:23 PM, Wolfgang Denk <wd at denx.de> wrote:

> Dear =?ISO-8859-1?Q?=C9rico_Porto?=,
>
> In message <
> CAG1KTJeGL3m69Knr9TOkHqgzrKsNRzZjqFCH9fnvM5G+6Wa7NA at mail.gmail.com> you
> wrote:
> >
> > isn't U-boot's address given by the relocadrr variable? If it is so, it
> is
> > already at the end of ram and I'm giving a smaller end address to the
> ram -
> > I'm getting relocaddr 0x07fcd000 and using this minus 0x01000 as ending
> > position...
>
> 0x01000 = 4 kB is way too small.  Consider that U-Boot will need space
> to reserver for it's malloc arena, for global data, and for the stack.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> People have one thing in common: they are all different.
>


More information about the U-Boot mailing list