about summary refs log tree commit diff
path: root/mkimage.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@voidlinux.eu>2016-04-26 11:20:14 +0200
committerJuan RP <xtraeme@voidlinux.eu>2016-04-26 11:20:14 +0200
commitffe9572e3fc5bd1947932b061c11a39f9ac4f59b (patch)
tree4183cf0e255c744c9cf5b491e6c28ab8370c62a9 /mkimage.sh.in
parent8b06a299c97cd4cbda3f51418a10dddfc57cf3f0 (diff)
downloadhrmpf-ffe9572e3fc5bd1947932b061c11a39f9ac4f59b.tar.gz
hrmpf-ffe9572e3fc5bd1947932b061c11a39f9ac4f59b.tar.xz
hrmpf-ffe9572e3fc5bd1947932b061c11a39f9ac4f59b.zip
mkimage: added ci20 platform support (MIPS CI20 Creator).
Diffstat (limited to 'mkimage.sh.in')
-rw-r--r--mkimage.sh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkimage.sh.in b/mkimage.sh.in
index 26007dd..367c455 100644
--- a/mkimage.sh.in
+++ b/mkimage.sh.in
@@ -200,6 +200,10 @@ odroid-u2)
 usbarmory)
     dd if=${ROOTFSDIR}/boot/u-boot.imx of=${LOOPDEV} bs=512 seek=2 conv=fsync >/dev/null 2>&1
     ;;
+ci20)
+    dd if=${ROOTFSDIR}/boot/u-boot-spl.bin of=${LOOPDEV} obs=512 seek=1 >/dev/null 2>&1
+    dd if=${ROOTFSDIR}/boot/u-boot.img of=${LOOPDEV} obs=1K seek=14 >/dev/null 2>&1
+    ;;
 esac
 
 mountpoint -q ${ROOTFSDIR}/boot && umount ${ROOTFSDIR}/boot