update: consolidated flat device tree code

7 messages, 4 authors, 2006-08-23 · open the first message on its own page

update: consolidated flat device tree code

From: Hollis Blanchard <hidden>
Date: 2006-08-18 00:23:45

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

Re: update: consolidated flat device tree code

From: Hollis Blanchard <hidden>
Date: 2006-08-18 00:29:21

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

Re: update: consolidated flat device tree code

From: Michael Ellerman <hidden>
Date: 2006-08-18 00:34:20

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

Re: update: consolidated flat device tree code

From: Hollis Blanchard <hidden>
Date: 2006-08-18 16:51:48

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

Re: update: consolidated flat device tree code

From: Pantelis Antoniou <hidden>
Date: 2006-08-18 17:20:22

On 18 =CE=91=CF=85=CE=B3 2006, at 7:51 =CE=9C=CE=9C, Hollis Blanchard =
wrote:
On Thu, 2006-08-17 at 19:23 -0500, Hollis Blanchard wrote:
quoted
- 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.)

--=20
Hollis Blanchard
IBM Linux Technology Center
Yes, this is fine.

Please go ahead.

Pantelis

Re: update: consolidated flat device tree code

From: Paul Mackerras <hidden>
Date: 2006-08-23 06:47:39

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?

Paul.

Re: update: consolidated flat device tree code

From: Hollis Blanchard <hidden>
Date: 2006-08-23 14:42:58

On Wed, 2006-08-23 at 16:47 +1000, Paul Mackerras wrote:
Hollis Blanchard writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help