Re: Booting PPC Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 01, 2012 at 07:41:35PM +0000, Renaud Barbier wrote:
> I have a uImage + dtb that use to boot on a MPC8544-like system
> a few months ago.
> 
> After rebasing my code, it did not work.
> 
> I notice that in arch/ppc/lib/ppclinux.c the kernel is now called
> with the device tree as a parameter.
> 
> After investigation, I copied the device tree to within 8MB of the
> kernel entry point (0x0). It booted.
> 
> Is the DTB relocation a missing step?

Yes, it seems so. barebox holds the device tree in malloced space. This
is likely outside 8MB of the kernel entry point. I was not aware of that
restriction.

Sascha



-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux