summary refs log tree commit diff
path: root/mkimage.sh.in
diff options
context:
space:
mode:
authorGottox <g@s01.de>2014-01-28 14:31:08 +0100
committerGottox <g@s01.de>2014-01-28 14:31:08 +0100
commit24f3cd97c207d7b4dad1309519a7309d49d44570 (patch)
tree50263e8abcd402d9a43a45364cf28f4bc9381715 /mkimage.sh.in
parente20720b93b93f13807132cc210d8a8ecee6fb506 (diff)
downloadhrmpf-24f3cd97c207d7b4dad1309519a7309d49d44570.tar.gz
hrmpf-24f3cd97c207d7b4dad1309519a7309d49d44570.tar.xz
hrmpf-24f3cd97c207d7b4dad1309519a7309d49d44570.zip
install bootloader on udroid-u2
Diffstat (limited to 'mkimage.sh.in')
-rw-r--r--mkimage.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/mkimage.sh.in b/mkimage.sh.in
index a69e93e..246693c 100644
--- a/mkimage.sh.in
+++ b/mkimage.sh.in
@@ -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