Re: [PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-12-02 Thread David Gibson
Use embedded libfdt in the bootwrapper This patch incorporates libfdt (from the source embedded in an earlier patch) into the wrapper.a library used by the bootwrapper. This includes adding a libfdt_env.h file, which the libfdt sources need in order to integrate into the bootwrapper environment,

[PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-11-11 Thread David Gibson
This patch incorporates libfdt (from the source embedded in an earlier patch) into the wrapper.a library used by the bootwrapper. This includes adding a libfdt_env.h file, which the libfdt sources need in order to integrate into the bootwrapper environment, and a libfdt-wrapper.c which provides gl

Re: [PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-11-09 Thread Jerry Van Baren
Scott Wood wrote: > Jerry Van Baren wrote: >> My concern from the u-boot side is that u-boot has to know exactly >> *where* to put the expanded blob because it has to pass it to linux >> and keep it out of linux' way so it doesn't get "stepped on." Linux >> has an advantage in that it "owns" al

Re: [PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-11-09 Thread Scott Wood
Jerry Van Baren wrote: > My concern from the u-boot side is that u-boot has to know exactly > *where* to put the expanded blob because it has to pass it to linux and > keep it out of linux' way so it doesn't get "stepped on." Linux has an > advantage in that it "owns" all of memory and can allo

Re: [PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-11-08 Thread Jerry Van Baren
Scott Wood wrote: > David Gibson wrote: >>> How hard would it be to get libfdt to dynamically allocate any extra space >>> it needs? This is a regression from the current flat device tree code... >> Uh.. it already does. Or rather, the shims in libfdt-wrapper.c do so, >> when libfdt functions whi

Re: [PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-11-08 Thread David Gibson
On Thu, Nov 08, 2007 at 04:50:11PM -0600, Scott Wood wrote: > David Gibson wrote: > >> How hard would it be to get libfdt to dynamically allocate any extra space > >> it needs? This is a regression from the current flat device tree code... > > > > Uh.. it already does. Or rather, the shims in li

Re: [PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-11-08 Thread Scott Wood
David Gibson wrote: >> How hard would it be to get libfdt to dynamically allocate any extra space >> it needs? This is a regression from the current flat device tree code... > > Uh.. it already does. Or rather, the shims in libfdt-wrapper.c do so, > when libfdt functions which can expand the tre

Re: [PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-11-08 Thread David Gibson
On Thu, Nov 08, 2007 at 10:08:39AM -0600, Scott Wood wrote: > On Thu, Nov 08, 2007 at 02:36:03PM +1100, David Gibson wrote: > > This patch incorporates libfdt (from the source embedded in an earlier > > patch) into the wrapper.a library used by the bootwrapper. This > > includes adding a libfdt_en

Re: [PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-11-08 Thread Scott Wood
On Thu, Nov 08, 2007 at 02:36:03PM +1100, David Gibson wrote: > This patch incorporates libfdt (from the source embedded in an earlier > patch) into the wrapper.a library used by the bootwrapper. This > includes adding a libfdt_env.h file, which the libfdt sources need in > order to integrate into

[PATCH 3/4] Use embedded libfdt in the bootwrapper

2007-11-07 Thread David Gibson
This patch incorporates libfdt (from the source embedded in an earlier patch) into the wrapper.a library used by the bootwrapper. This includes adding a libfdt_env.h file, which the libfdt sources need in order to integrate into the bootwrapper environment, and a libfdt-wrapper.c which provides gl