Hi,
these are the scripts I've used to generate the DT.
user $ cat uImage-dt.sh
Code:
#!/bin/sh
ver=`cat include/generated/utsrelease.h | sed -r -e 's!.*"(.*)"!\1!g'`
k_image=arch/arm/boot/zImage
rm -f ikernel
devio > "ikernel" 'wl 0xe3a01cff,4' 'wl 0xe38110ff,4'
cat $k_image >> ikernel
cat arch/arm/boot/dts/imx51-genesi-efika-sb.dtb >> ikernel
mkimage -A arm -O linux -T kernel -C none -a 0x90008000 -e 0x90008000 -n "efikasb-$ver" -d ikernel uImage-dt-$ver
rm -f ikernel
user $ cat uImage.sh
Code:
#!/bin/sh
ver=`cat include/generated/utsrelease.h | sed -r -e 's!.*"(.*)"!\1!g'`
rm -f uImage.loco uImage.efika
#mkimage -A arm -O linux -T kernel -C none -n "efikasb-$ver" -a 0x70008000 -e 0x70008000 -d arch/arm/boot/zImage uImage.loco
mkimage -A arm -O linux -T kernel -C none -n "efikasb-$ver" -a 0x90008000 -e 0x90008000 -d arch/arm/boot/zImage uImage-$ver
I hope it helps.
Palica