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

Tony Lindgren tony at atomide.com
Wed Apr 27 10:23:06 EDT 2011


* Tony Lindgren <tony at atomide.com> [110421 05:44]:
> * 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..

I guess the issue is that when setup_machine_fdt gets called we only
have minimal MMU mapping done.

So I guess there's some other patch related to it?

Tony



More information about the linux-arm-kernel mailing list