[U-Boot] [PATCH 12/19] powerpc: ppc4xx: Use CONFIG_OF_CONTROL for canyonlands boards

Stefan Roese sr at denx.de
Mon Jan 26 14:17:17 CET 2015


On 15.12.2014 15:19, Simon Glass wrote:
> Enable CONFIG_OF_CONTROL so that U-Boot on these three boards uses a device
> tree for its configuration.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>

This need further work on the ppc4xx platforms to get it booting from 
flash. As now the dtb is appended to the "normal" U-Boot image. And this 
image is fine-tuned to fit into currently 512KiB. With the last word 
(reset vector of the ppc4xx) located at 0xffff.fffc. So we need to 
include this dtb into the image this way:

0xfff8.0000	U-Boot code / text etc
...
		dtb
0xffff.fffc	reset vector

Looking for the current options shows that perhaps CONFIG_OF_EMBED seems 
to be exactly what we are need. I'll got it working on Canyonlands after 
a bit of debugging. I'll post the necessary small patches soon...

Thanks,
Stefan



More information about the U-Boot mailing list