From a7b4e581093e537a5ce501526167c3731f822cb4 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Wed, 11 Apr 2012 19:05:57 -0500 Subject: [PATCH] on the last uImage target, theres not enough room to also include the new zimage when adding firmare Signed-off-by: Robert Nelson --- mk_mmc.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index fabfe52..4c3c3b7 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1200,10 +1200,11 @@ function populate_boot { echo "Using mkimage to create uImage" mkimage -A arm -O linux -T kernel -C none -a ${ZRELADD} -e ${ZRELADD} -n ${LINUX_VER} -d ${TEMPDIR}/kernel/boot/${VMLINUZ} ${TEMPDIR}/disk/${UIMAGE} echo "-----------------------------" + else + echo "Copying Kernel image:" + cp -v ${TEMPDIR}/kernel/boot/${VMLINUZ} ${TEMPDIR}/disk/zImage.net + echo "-----------------------------" fi - echo "Copying Kernel image:" - cp -v ${TEMPDIR}/kernel/boot/${VMLINUZ} ${TEMPDIR}/disk/zImage.net - echo "-----------------------------" fi INITRD="initrd.mod.gz" @@ -1213,10 +1214,11 @@ function populate_boot { echo "Using mkimage to create uInitrd" mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${TEMPDIR}/${INITRD} ${TEMPDIR}/disk/${UINITRD} echo "-----------------------------" + else + echo "Copying Kernel initrd:" + cp -v ${TEMPDIR}/${INITRD} ${TEMPDIR}/disk/initrd.net + echo "-----------------------------" fi - echo "Copying Kernel initrd:" - cp -v ${TEMPDIR}/${INITRD} ${TEMPDIR}/disk/initrd.net - echo "-----------------------------" fi echo "Copying uEnv.txt based boot scripts to Boot Partition"