update: consolidated flat device tree code
On Wed, 2006-08-23 at 16:47 +1000, Paul Mackerras wrote: Hollis Blanchard writes: Still haven't looked to merge Matt's changes (because I'm busy, the current code works for me, and they haven't been accepted in u-boot yet). The other version that was posted had support for modifying an existing flat tree, which I need for the wrapper code for prep. Are those Matt's changes? Are you thinking of adding that capability to your version? You can do this now with the ft_set_prop() function, which is what I'm using for Xen. At the moment that function isn't able to modify the size of a property, but Mark is going to adapt his code (which supports that). -- Hollis Blanchard IBM Linux Technology Center
update: consolidated flat device tree code
On Thu, 2006-08-17 at 19:23 -0500, Hollis Blanchard wrote: Changes: - converted some ints to unsigned, since gcc was generating warnings and negative lengths don't make sense in the flat data structure. - added ft_set_prop(), which doesn't yet resize properties but will in the future. - added an explicit copyright statement. Still haven't looked to merge Matt's changes (because I'm busy, the current code works for me, and they haven't been accepted in u-boot yet). Current users: Xen Future users: Mark's Linux bootwrapper code Potential users: kexec, u-boot .. iSeries bootwrapper code? -- Michael Ellerman IBM OzLabs wwweb: http://michael.ellerman.id.au phone: +61 2 6212 1183 (tie line 70 21183) We do not inherit the earth from our ancestors, we borrow it from our children. - S.M.A.R.T Person -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060818/76332a90/attachment.pgp
update: consolidated flat device tree code
On Thu, 2006-08-17 at 19:23 -0500, Hollis Blanchard wrote: - added an explicit copyright statement. On this subject, it's just been asked that the Xen library containing this code be relicensed as LGPL (instead of GPL). Panto, you're the original author of that code. Since we are trying to make a library, I think LGPL makes sense. Is relicensing OK with you? (Matt, this would be relevant to your outstanding patches as well.) -- Hollis Blanchard IBM Linux Technology Center
update: consolidated flat device tree code
On 18 ??? 2006, at 7:51 ??, Hollis Blanchard wrote: On Thu, 2006-08-17 at 19:23 -0500, Hollis Blanchard wrote: - added an explicit copyright statement. On this subject, it's just been asked that the Xen library containing this code be relicensed as LGPL (instead of GPL). Panto, you're the original author of that code. Since we are trying to make a library, I think LGPL makes sense. Is relicensing OK with you? (Matt, this would be relevant to your outstanding patches as well.) -- Hollis Blanchard IBM Linux Technology Center Yes, this is fine. Please go ahead. Pantelis
update: consolidated flat device tree code
Changes: - converted some ints to unsigned, since gcc was generating warnings and negative lengths don't make sense in the flat data structure. - added ft_set_prop(), which doesn't yet resize properties but will in the future. - added an explicit copyright statement. Still haven't looked to merge Matt's changes (because I'm busy, the current code works for me, and they haven't been accepted in u-boot yet). Current users: Xen Future users: Mark's Linux bootwrapper code Potential users: kexec, u-boot -- Hollis Blanchard IBM Linux Technology Center -- next part -- A non-text attachment was scrubbed... Name: ft_build.c Type: text/x-csrc Size: 12119 bytes Desc: not available Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060817/62e3842d/attachment.c -- next part -- A non-text attachment was scrubbed... Name: ft_build.h Type: text/x-chdr Size: 4373 bytes Desc: not available Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060817/62e3842d/attachment.h
update: consolidated flat device tree code
On Thu, 2006-08-17 at 19:23 -0500, Hollis Blanchard wrote: Changes: - converted some ints to unsigned, since gcc was generating warnings and negative lengths don't make sense in the flat data structure. - added ft_set_prop(), which doesn't yet resize properties but will in the future. - added an explicit copyright statement. Still haven't looked to merge Matt's changes (because I'm busy, the current code works for me, and they haven't been accepted in u-boot yet). Current users: Xen Future users: Mark's Linux bootwrapper code Potential users: kexec, u-boot Forgot to add that dtc itself is a potential user of this code. -- Hollis Blanchard IBM Linux Technology Center