[U-Boot] Device tree on ppc board
Scott Wood
scottwood at freescale.com
Tue Jun 23 23:15:24 CEST 2009
Olivier DAVID wrote:
> I work on a custom board, MPC8248 based (my reference BSP was MPC8260ADS),
> with uboot 1.1.4 and linux 2.6.11, and works perfectly.
>
> We have to pass to linux 2.6.27, and it is just the version from which ppc
> and powerpc has been merged,
It was merged quite a bit earlier, that's just when the old fork was
finally discarded.
> and device tree the unique way to pass
> 'bdinfo'. The uboot version can't be more than 1.1.6,
Why not?
> the linux must be 2.6.27,
Why 2.6.27 and not, say, 2.6.30? You may have problems with PCI DMA in
2.6.27, for example. In general, it's best to go with the latest unless
you have a specific reason otherwise.
> and I can't find the information if it's compatible.
You can boot using cuImage if you must stay with an old u-boot. Add
cuImage entries for your board in arch/powerpc/boot/Makefile and
arch/powerpc/boot/wrapper, then make zImage.
> Can anybody affirm me if it's possible, and how to do it in linux 1.1.4 ?
>
> How do we change the bdinfo structure header to device tree, is there any
> board which uses this feature ?
mpc8272ads is probably the closest board to yours; you could use its
device tree as an example.
-Scott
More information about the U-Boot
mailing list