OMAP baseline test results for v3.7-rc3

Paul Walmsley paul at pwsan.com
Tue Nov 13 10:35:07 EST 2012


On Tue, 13 Nov 2012, Mark Jackson wrote:

> On 06/11/12 09:47, Mark Jackson wrote:
>
> > That works ... great !!
> > 
> > But now I'm confused, since I thought the DTB was appended to the uImage file.

The DTB is appended to the zImage file.  You then need to convert the 
product of the concatenation to uImage format.

So ...

> > I have the following in my .config:-
> > 
> > ARM_ATAG_DTB_COMPAT=y
> > ARM_APPENDED_DTB=y
> > ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y
> > 
> > And then I create my uImage file using:-
> > 
> > $ make -j 8 ARCH=arm CROSS_COMPILE=arm-linux- uImage
> > $ make -j 8 ARCH=arm CROSS_COMPILE=arm-linux- am335x-bone.dtb

instead of this:

> > $ cat arch/arm/boot/uImage arch/arm/boot/am335x-bone.dtb > arch/arm/boot/uImage-dtb.am335x-bone
> > $ cp arch/arm/boot/uImage-dtb.am335x-bone /media/boot/uImage

something like this is what you need to do instead:

$ cat arch/arm/boot/zImage arch/arm/boot/am335x-bone.dtb > arch/arm/boot/zImage-dtb.am335x-bone
$ scripts/mkuboot.sh -A arm -O linux -C none  -T kernel -a 0x80008000 -e 0x80008000 -n 'Linux' -d arch/arm/boot/zImage-dtb.am335x-bone arch/arm/boot/uImage-dtb.am335x-bone

> > Do you now have to load the DTB as a separate file ?
> > 
> > Or should the appended DTB still work ?

Appended DTBs work fine on the testbed here.


- Paul



More information about the linux-arm-kernel mailing list