Merge pull request #6 from Gottox/master

install bootloader on -p udroid-u2
This commit is contained in:
Juan RP 2014-01-28 07:12:10 -08:00
commit 1d5a5195a8

View File

@ -163,6 +163,11 @@ fi
# For cubieboard we need to flash u-boot to the image.
if [ "$PLATFORM" = "cubieboard2" ]; then
dd if=${ROOTFSDIR}/boot/u-boot-sunxi-with-spl.bin of=${LOOPDEV} bs=1024 seek=8 >/dev/null 2>&1
elif [ "$PLATFORM" = "odroid-u2" ]; then
dd if=${ROOTFSDIR}/boot/E4412_S.bl1.HardKernel.bin of=${LOOPDEV} seek=1 >/dev/null 2>&1
dd if=${ROOTFSDIR}/boot/bl2.signed.bin of=${LOOPDEV} seek=31 >/dev/null 2>&1
dd if=${ROOTFSDIR}/boot/u-boot.bin of=${LOOPDEV} seek=63 >/dev/null 2>&1
dd if=${ROOTFSDIR}/boot/E4412_S.tzsw.signed.bin of=${LOOPDEV} seek=2111 >/dev/null 2>&1
fi
umount ${ROOTFSDIR}/boot