From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Wed, 08 Apr 2009 12:10:44 -0400 Subject: [U-Boot] dtb merge In-Reply-To: <49DCC565.6030409@matrix-vision.de> References: <49DCC565.6030409@matrix-vision.de> Message-ID: <49DCCC84.8060400@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Andre, Andre Schwarz wrote: > Any ideas on how to merge device tree binaries from slave devices ? > > Having a PowerPC based board with various extension boards on e.g. the > local bus with each board having some kind of PROM device (I2C, SPI > etc.) containing a dtb ... is it possible to merge this into the > existing boards dtb into the local bus node ? Yes. > Is it already working - have I missed it ? No - no. > If not - is someone thinking/working on it ? We have thought about it, nobody is working on it that I am aware of. > Any suggestions on how to do it ? See limited thoughts in 4. Proposed additional fdt commands * merge - merge two trees. Need a conflict resolution: source tree #1 has priority? o David Gibson has talked about creating a "graft" function for libfdt. Link to David's "graft" function thoughts: > Regards, > > Andre Best regards, gvb