[PATCHv3] ARM:boot:device tree: Allow the device tree binary to be appended to zImage

Tony Lindgren tony at atomide.com
Thu Apr 21 22:46:19 EST 2011


* Tony Lindgren <tony at atomide.com> [110421 11:00]:
> * Shawn Guo <shawn.guo at freescale.com> [110420 00:27]:
> > On Wed, Apr 20, 2011 at 01:47:47PM +0800, Shawn Guo wrote:
> > > I would like to confirm it fixes your setup before I send fixing
> > > patch to remove 'static' from global variables in all platform
> > > uncompress.h.
> > > 
> > Just saw Nico's patch, so ignore above lines ...
> 
> Thanks looks like removing static only changes things so now
> "Warning: Neither atags nor dtb found" error message printed out.

But also Nico's patch fixes the corruption of the DT data during
uncompress, so I'm getting much further now.

Now the problem is that the DT data is zeroed out by the time code
gets to setup_machine_fdt. I wonder if I'm missing some patch?

I'm using grant's devicetree/arm branch + DT append patch + Nico's
static fix + my relocate fix.

Oh well have to look at it again next week..

Tony


More information about the devicetree-discuss mailing list