From: Wolfgang Denk Date: Tue, 05 Aug 2008 23:40:25 +0200 Subject: [U-Boot-Users] [PATCH v2] fdt: add fdtcmd env var to allow post processing of device tree before boot In-Reply-To: Your message of "Tue, 05 Aug 2008 11:50:33 CDT." Message-ID: <20080805214025.4A34F24851@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 you wrote: > Added the 'fdtcmd' environment variable as a way to provide 'fdt' commands > that the user can supply to manipulate the device tree after > ft_board_setup() and before the tree is handled to the kernel. > > The idea is that users may want to add or manipulate nodes w/changing the > u-boot binary. The current point in the code we do this we have yet to > determine the final size and have yet to do the final fixup of the initrd > information. > > If its desirable for the 'fdtcmd' support to have the proper initrd > information a bit of code reorder will be in order. The current state of the bootm implementation is bad enough, but adding such a callback opens just another few cans of worms. Sorry, but I do not want to see that in mainline. 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 The project was large enough and management communication poor enough to prompt many members of the team to see themselves as contestants making brownie points, rather than as builders making programming products. Each suboptimized his piece to meet his targets; few stopped to think about the total effect on the customer. - Fred Brooks, "The Mythical Man Month"