about summary refs log tree commit diff
path: root/mkimage.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-01-28 07:12:10 -0800
committerJuan RP <xtraeme@gmail.com>2014-01-28 07:12:10 -0800
commit1d5a5195a83a1c9553dcaff25dd45bb8dc51ddcc (patch)
tree50263e8abcd402d9a43a45364cf28f4bc9381715 /mkimage.sh.in
parente20720b93b93f13807132cc210d8a8ecee6fb506 (diff)
parent24f3cd97c207d7b4dad1309519a7309d49d44570 (diff)
downloadhrmpf-1d5a5195a83a1c9553dcaff25dd45bb8dc51ddcc.tar.gz
hrmpf-1d5a5195a83a1c9553dcaff25dd45bb8dc51ddcc.tar.xz
hrmpf-1d5a5195a83a1c9553dcaff25dd45bb8dc51ddcc.zip
Merge pull request #6 from Gottox/master
install bootloader on -p 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