[PATCH] arm: mvebu: Fix the memory size on the Mirabox

Jason Cooper jason at lakedaemon.net
Sat Mar 30 16:12:24 EDT 2013


On Sat, Mar 30, 2013 at 12:40:33PM -0700, Ryan Press wrote:
> There really isn't streamlined support for appending a dtb to the
> kernel zImage.

$ cat my.dtb >>zImage
$ mkimage ...

which could be done in a pre-install hook in the deb, or as a kernel
post-install hook (eg running update-grub on a desktop).

> I have recently built and am testing a U-Boot that is working with
> devicetree, including the memory fixup.  If anyone wants to try it on
> their Mirabox, let me know.  So more work in the short term, but it
> eliminates the 'DOH! moments when I forget to install the special
> uImage and need to fart around in the bootloader.

mainline u-boot supports devicetree on ARM very well.  It might a better
use of time to add support for the Armada 370/XP to mainline
u-boot.

As an alternative, there is also barebox [1] which is more similar to
the kernel in layout, and has native Kconfig support.  It also needs
patches for Armada 370/XP, and kirkwood/dove/orion5x...

hth,

Jason.

[1] http://www.barebox.org



More information about the linux-arm-kernel mailing list