Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit e47543ae authored by Charles Steinkuehler's avatar Charles Steinkuehler
Browse files

setup_sdcard.sh : Add versioned zImage and initrd.img files


Signed-off-by: default avatarCharles Steinkuehler <charles@steinkuehler.net>
parent e9e840be
No related merge requests found
...@@ -719,6 +719,7 @@ populate_boot () { ...@@ -719,6 +719,7 @@ populate_boot () {
else else
echo "Copying Kernel image:" echo "Copying Kernel image:"
cp -v "${DIR}/${VMLINUZ_FILE}" ${TEMPDIR}/disk/zImage cp -v "${DIR}/${VMLINUZ_FILE}" ${TEMPDIR}/disk/zImage
cp -v "${DIR}/${VMLINUZ_FILE}" ${TEMPDIR}/disk/zImage-${select_kernel}
echo "-----------------------------" echo "-----------------------------"
fi fi
fi fi
...@@ -728,6 +729,7 @@ populate_boot () { ...@@ -728,6 +729,7 @@ populate_boot () {
echo "Copying Kernel initrd/uInitrd:" echo "Copying Kernel initrd/uInitrd:"
if [ "${conf_uboot_CONFIG_SUPPORT_RAW_INITRD}" ] ; then if [ "${conf_uboot_CONFIG_SUPPORT_RAW_INITRD}" ] ; then
cp -v "${DIR}/${INITRD_FILE}" ${TEMPDIR}/disk/initrd.img cp -v "${DIR}/${INITRD_FILE}" ${TEMPDIR}/disk/initrd.img
cp -v "${DIR}/${INITRD_FILE}" ${TEMPDIR}/disk/initrd.img-${select_kernel}
else else
mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d "${DIR}/${INITRD_FILE}" ${TEMPDIR}/disk/uInitrd mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d "${DIR}/${INITRD_FILE}" ${TEMPDIR}/disk/uInitrd
fi fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment