update this old boot files script for zimage

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 95869cdfcf
commit f75662e03d

@ -1257,7 +1257,7 @@ omapdrm kms video driver, at some point this will be packaged by default for new
script_readme
cat > ${TEMPDIR}/update_boot_files.sh <<update_boot_files
cat > ${TEMPDIR}/update_boot_files.sh <<-__EOF__
#!/bin/sh
cd /boot/uboot
@ -1270,23 +1270,27 @@ sudo update-initramfs -u -k \$(uname -r)
fi
if [ -f /boot/initrd.img-\$(uname -r) ] ; then
sudo mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d /boot/initrd.img-\$(uname -r) /boot/uboot/uInitrd
sudo cp -v /boot/initrd.img-\$(uname -r) /boot/uboot/initrd.img
fi
#legacy uImage support:
if [ -f /boot/uboot/uImage ] ; then
if [ -f /boot/initrd.img-\$(uname -r) ] ; then
sudo mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d /boot/initrd.img-\$(uname -r) /boot/uboot/uInitrd
fi
if [ -f /boot/uboot/boot.cmd ] ; then
sudo mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Boot Script" -d /boot/uboot/boot.cmd /boot/uboot/boot.scr
sudo cp /boot/uboot/boot.scr /boot/uboot/boot.ini
fi
if [ -f /boot/uboot/serial.cmd ] ; then
sudo mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Boot Script" -d /boot/uboot/serial.cmd /boot/uboot/boot.scr
fi
if [ -f /boot/uboot/user.cmd ] ; then
sudo mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Reset Nand" -d /boot/uboot/user.cmd /boot/uboot/user.scr
fi
fi
update_boot_files
__EOF__
cat > ${TEMPDIR}/minimal_xfce.sh <<basic_xfce
#!/bin/sh

Loading…
Cancel
Save