On Wed, 26 Jun 2013, Rajendra Nayak wrote:

> Apart from confirming if you are manually enabling these options, can you 
> also give some
> details on how you append the dtb to the kernel image?
> 
> Most of us use an out-of-tree patch from Grant to do this, which I have 
> shared below [2]
> 
> Even without the patch with the below commands [1] to append the dtb, it 
> still works, so it
> would be good to know what steps you follow to append the dtb to the kernel 
> image.

Here's how I do it:

ARCH=arm CROSS_COMPILE=${TOOLCHAIN_PATH}/bin/${TOOLCHAIN_PREFIX} nice make 
-j$CORES zImage am335x-bone.dtb

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


- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to