Re: OMAP baseline test results for v3.7-rc3

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

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux