On Wed, 27 Apr 2011, Tony Lindgren wrote: > * Tony Lindgren <[email protected]> [110421 05:44]: > > * Tony Lindgren <[email protected]> [110421 11:00]: > > > * Shawn Guo <[email protected]> [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.
In head.S (the final kernel image one) there is a 1MB mapping established when r2 contains a valid ATAG/DTB pointer. See commit 4d901c42 (you even ACK'd it). Nicolas _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
