From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 07 Aug 2008 22:47:40 +0200 Subject: [U-Boot-Users] bootm as a script -- requires HUSH? In-Reply-To: Your message of "Thu, 07 Aug 2008 15:25:38 CDT." <45CA6EEB-4A74-46FC-A544-B71C0E922753@kernel.crashing.org> Message-ID: <20080807204740.9FF0724848@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <45CA6EEB-4A74-46FC-A544-B71C0E922753@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@netlabs.com>