From be2251492f536bb5ae974c049c02ddb834bc0630 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 26 Apr 2016 11:45:37 +0200 Subject: mkimage: ci20 just needs a single partition and expects the kernel in /vmlinux.img. --- mkimage.sh.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mkimage.sh.in') diff --git a/mkimage.sh.in b/mkimage.sh.in index 367c455..86bf45e 100644 --- a/mkimage.sh.in +++ b/mkimage.sh.in @@ -142,7 +142,7 @@ if [ "$BOOT_FSTYPE" = "vfat" ]; then _args="-I -F16" fi case "$PLATFORM" in -cubieboard2|cubietruck) +cubieboard2|cubietruck|ci20*) parted $FILENAME mkpart primary ext2 2048s ${ROOT_FSSIZE} 100% parted $FILENAME toggle 1 boot LOOPDEV=$(losetup --show --find --partscan $FILENAME) @@ -201,6 +201,7 @@ usbarmory) dd if=${ROOTFSDIR}/boot/u-boot.imx of=${LOOPDEV} bs=512 seek=2 conv=fsync >/dev/null 2>&1 ;; ci20) + ln -sf /boot/uImage ${ROOTFSDIR}/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 ;; -- cgit 1.4.1