[U-Boot] env: fix potential stack overflow in environment functions

Wolfgang Denk wd at denx.de
Sat Apr 6 09:06:21 CEST 2013


Dear Scott,

In message <1365203857.17535.16 at snotra> you wrote:
>
> > Scott, Andy:  I think I remember that some architectures really _need_
> > LMB - can you please shed a bit ligh on which these are, and why?  And
> > why it is enabled everywhere?
> > 
> > Also, any information about the underlying design, intended memory map
> > etc. would be highly welcome.
>
> CCing Kumar, who added a lot of the lmb stuff -- but it looks like  
> ramdisk copying predated lmb.

Indeed it does.  It even predates U-Boot.  The question is what the
actual design of LMB is, i. e. why it is implemented the way it is.

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
"I find this a nice feature but it is not according to  the  documen-
tation. Or is it a BUG?"   "Let's call it an accidental feature. :-)"
                       - Larry Wall in <6909 at jpl-devvax.JPL.NASA.GOV>


More information about the U-Boot mailing list