diff options
author | Juan RP <xtraeme@voidlinux.eu> | 2016-04-26 15:47:56 +0200 |
---|---|---|
committer | Juan RP <xtraeme@voidlinux.eu> | 2016-04-26 15:47:56 +0200 |
commit | 687cd4e53628d695da2969510f63e04104b93aa1 (patch) | |
tree | e37cc47fb670fc9a6b5c5fb7ac1c3cbd2837614d /mkimage.sh.in | |
parent | 6372530837387454c9837901c51748d0ae96cbeb (diff) | |
download | hrmpf-687cd4e53628d695da2969510f63e04104b93aa1.tar.gz hrmpf-687cd4e53628d695da2969510f63e04104b93aa1.tar.xz hrmpf-687cd4e53628d695da2969510f63e04104b93aa1.zip |
mkimage: match any platform (glibc and musl).
Diffstat (limited to 'mkimage.sh.in')
-rw-r--r-- | mkimage.sh.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mkimage.sh.in b/mkimage.sh.in index ef30c5f..2e76251 100644 --- a/mkimage.sh.in +++ b/mkimage.sh.in @@ -190,19 +190,19 @@ if [ -n "$BOOT_UUID" ]; then fi case "$PLATFORM" in -bananapi|cubieboard2|cubietruck) +bananapi*|cubieboard2*|cubietruck*) dd if=${ROOTFSDIR}/boot/u-boot-sunxi-with-spl.bin of=${LOOPDEV} bs=1024 seek=8 >/dev/null 2>&1 ;; -odroid-u2) +odroid-u2*) 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 ;; -usbarmory) +usbarmory*) dd if=${ROOTFSDIR}/boot/u-boot.imx of=${LOOPDEV} bs=512 seek=2 conv=fsync >/dev/null 2>&1 ;; -ci20) +ci20*) cp -f ${ROOTFSDIR}/boot/uImage ${ROOTFSDIR}/boot/vmlinux.img 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 |