[U-Boot-Users] bootm as a script -- requires HUSH?

Wolfgang Denk wd at denx.de
Thu Aug 7 22:47:40 CEST 2008


In message <45CA6EEB-4A74-46FC-A544-B71C0E922753 at kernel.crashing.org> you wrote:
> 
> On Aug 7, 2008, at 2:34 PM, Wolfgang Denk wrote:
> 
> > In any case, I expoect the total numbers of lines of code in U-Boot to
> > go down by quite an amount - for example, if we manage to get rid of
> > all the code duplication we have now across architectures.
> 
> I doubt this is really going to happen because the majority of code is  
> specific to the mechanism used to boot a kernel that is arch specific.
> 
> (ie, the ePAPR style interface on PPC, the TAGs support on ARM, etc.)
> 
> I dont see how we reduce code in that area (since it seems  
> fundamentally arch specific).

There is a lot of common code - verify and uncompress the Linux kernel
image; check for existence of, then verify and load the ramdisk, etc.

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
In general, if you think something isn't in Perl, try it out, because
it usually is :-) - Larry Wall in <1991Jul31.174523.9447 at netlabs.com>




More information about the U-Boot mailing list