diff options
author | Gottox <g@s01.de> | 2014-01-28 14:31:08 +0100 |
---|---|---|
committer | Gottox <g@s01.de> | 2014-01-28 14:31:08 +0100 |
commit | 24f3cd97c207d7b4dad1309519a7309d49d44570 (patch) | |
tree | 50263e8abcd402d9a43a45364cf28f4bc9381715 /mkimage.sh.in | |
parent | e20720b93b93f13807132cc210d8a8ecee6fb506 (diff) | |
download | hrmpf-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.in | 5 |
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 |