diff --git a/TODO b/TODO new file mode 100644 index 0000000..96cd811 --- /dev/null +++ b/TODO @@ -0,0 +1,9 @@ +Easy: +* use LATEST STABLE/TESTING kernel from rcn-ee.net instead of hard coding it +* cleanup firmware mess, just copy needed firmware from the mainline git tree + +More Effort: +* imx support +* ext2 boot instead of vfat (latest u-boot) +* random http link to *.deb package + diff --git a/mk_mmc.sh b/mk_mmc.sh index b37de2b..321206b 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -30,7 +30,7 @@ unset BETA_KERNEL unset USB_ROOTFS unset PRINTK -SCRIPT_VERSION="1.01" +SCRIPT_VERSION="1.02" IN_VALID_UBOOT=1 MIRROR="http://rcn-ee.net/deb/" @@ -202,8 +202,6 @@ fi wget -c --directory-prefix=${DIR}/dl/${DIST} ${MIRROR}${DIST}/v${KERNEL}/linux-image-${KERNEL}_1.0${DIST}_armel.deb - wget -c --directory-prefix=${DIR}/dl/${DIST} ${MIRROR}${DIST}/v${KERNEL}/initrd.img-${KERNEL} - if [ "${FIRMWARE}" ] ; then echo "" @@ -491,8 +489,6 @@ sudo cp -v ${TEMPDIR}/dl/${UBOOT} ${TEMPDIR}/disk/u-boot.bin echo "uInitrd Installer" sudo mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${TEMPDIR}/initrd.mod.gz ${TEMPDIR}/disk/uInitrd.net -echo "uInitrd Normal Boot" -sudo mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ${DIR}/dl/${DIST}/initrd.img-${KERNEL} ${TEMPDIR}/disk/uInitrd.end echo "uImage" sudo mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n ${KERNEL} -d ${TEMPDIR}/kernel/boot/vmlinuz-* ${TEMPDIR}/disk/uImage.net diff --git a/scripts/maverick-tweaks.diff b/scripts/maverick-tweaks.diff index 0754feb..bbb6587 100644 --- a/scripts/maverick-tweaks.diff +++ b/scripts/maverick-tweaks.diff @@ -3,7 +3,7 @@ new file mode 100755 index 0000000..6d06fc7 --- /dev/null +++ b/usr/lib/finish-install.d/08rcn-omap -@@ -0,0 +1,35 @@ +@@ -0,0 +1,37 @@ +#!/bin/sh -e +cp /etc/flash-kernel.conf /target/etc/flash-kernel.conf +cp /etc/ttyO2.conf /target/etc/init/ttyO2.conf @@ -21,9 +21,11 @@ index 0000000..6d06fc7 + rm -f /tmp/mmc/uImage || true + rm -f /tmp/mmc/uImage.bak || true + -+ mv /tmp/mmc/uInitrd.end /tmp/mmc/uInitrd + mv /tmp/mmc/uImage.net /tmp/mmc/uImage + LD_LIBRARY_PATH=/target/lib /target/usr/bin/dpkg-deb -x /tmp/mmc/linux-image-*_1.0*_armel.deb /target/ ++ chroot /target update-initramfs -c -k `uname -r` ++ chroot /target mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d /boot/initrd.img-`uname -r` /boot/uInitrd ++ cp /target/boot/uInitrd /tmp/mmc/uInitrd + rm -f /tmp/mmc/linux-image-*_1.0*_armel.deb || true + sync + umount /tmp/mmc @@ -34,7 +36,7 @@ index 0000000..6d06fc7 + #smsc95xx kevent workaround/hack + echo "vm.min_free_kbytes = 8192" >> /target/etc/sysctl.conf + -+ cp -ru /lib/firmware/ /target/lib/ ++ cp -r /lib/firmware/ /target/lib/ + + rm -f /etc/rcn.conf +fi diff --git a/scripts/natty-tweaks.diff b/scripts/natty-tweaks.diff index 0754feb..bbb6587 100644 --- a/scripts/natty-tweaks.diff +++ b/scripts/natty-tweaks.diff @@ -3,7 +3,7 @@ new file mode 100755 index 0000000..6d06fc7 --- /dev/null +++ b/usr/lib/finish-install.d/08rcn-omap -@@ -0,0 +1,35 @@ +@@ -0,0 +1,37 @@ +#!/bin/sh -e +cp /etc/flash-kernel.conf /target/etc/flash-kernel.conf +cp /etc/ttyO2.conf /target/etc/init/ttyO2.conf @@ -21,9 +21,11 @@ index 0000000..6d06fc7 + rm -f /tmp/mmc/uImage || true + rm -f /tmp/mmc/uImage.bak || true + -+ mv /tmp/mmc/uInitrd.end /tmp/mmc/uInitrd + mv /tmp/mmc/uImage.net /tmp/mmc/uImage + LD_LIBRARY_PATH=/target/lib /target/usr/bin/dpkg-deb -x /tmp/mmc/linux-image-*_1.0*_armel.deb /target/ ++ chroot /target update-initramfs -c -k `uname -r` ++ chroot /target mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d /boot/initrd.img-`uname -r` /boot/uInitrd ++ cp /target/boot/uInitrd /tmp/mmc/uInitrd + rm -f /tmp/mmc/linux-image-*_1.0*_armel.deb || true + sync + umount /tmp/mmc @@ -34,7 +36,7 @@ index 0000000..6d06fc7 + #smsc95xx kevent workaround/hack + echo "vm.min_free_kbytes = 8192" >> /target/etc/sysctl.conf + -+ cp -ru /lib/firmware/ /target/lib/ ++ cp -r /lib/firmware/ /target/lib/ + + rm -f /etc/rcn.conf +fi diff --git a/scripts/squeeze-tweaks.diff b/scripts/squeeze-tweaks.diff index 975da98..b5d0a54 100644 --- a/scripts/squeeze-tweaks.diff +++ b/scripts/squeeze-tweaks.diff @@ -3,7 +3,7 @@ new file mode 100755 index 0000000..6d06fc7 --- /dev/null +++ b/usr/lib/finish-install.d/08rcn-omap -@@ -0,0 +1,31 @@ +@@ -0,0 +1,34 @@ +#!/bin/sh -e +cp /etc/e2fsck.conf /target/etc/e2fsck.conf + @@ -13,9 +13,12 @@ index 0000000..6d06fc7 + rm -f /tmp/mmc/boot.scr || true + mv /tmp/mmc/user.scr /tmp/mmc/boot.scr + rm -f /tmp/mmc/uInitrd.net || true -+ mv /tmp/mmc/uInitrd.end /tmp/mmc/uInitrd ++ + mv /tmp/mmc/uImage.net /tmp/mmc/uImage + LD_LIBRARY_PATH=/target/lib /target/usr/bin/dpkg-deb -x /tmp/mmc/linux-image-*_1.0*_armel.deb /target/ ++ chroot /target update-initramfs -c -k `uname -r` ++ chroot /target mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d /boot/initrd.img-`uname -r` /boot/uInitrd ++ cp /target/boot/uInitrd /tmp/mmc/uInitrd + rm -f /tmp/mmc/linux-image-*_1.0*_armel.deb || true + sync + umount /tmp/mmc @@ -30,7 +33,7 @@ index 0000000..6d06fc7 + cat /target/etc/inittab | grep ttyO2 || echo "S:2345:respawn:/sbin/getty 115200 ttyO2" >> /target/etc/inittab + fi + -+ cp -ru /lib/firmware/ /target/lib/ ++ cp -r /lib/firmware/ /target/lib/ + + rm -f /etc/rcn.conf +fi