Hi, 2011/3/4 Martin Michlmayr <t...@cyrius.com>: > 14:59 < bwh> tbm: Are you going to put those hooks back in flash-kernel > some time soon? > 15:02 < tbm> bwh: I asked joeyh and Sledge for help but nobody suggested > a solution. If someone sends a patch, I'd be happy to upload. > 15:06 < bwh> tbm: The solution to what? > 15:12 < tbm> bwh: see #550584
Jimdigriz proposes in his website [0] Let me know if this proposal is good enough to test and work out on other devices. ========8<==================== # cat <<'EOF' > /etc/kernel/postinst.d/local-kirkwood #!/bin/sh -e version="$1" bootopt="" # passing the kernel version is required [ -z "${version}" ] && exit 0 # avoid running multiple times if [ -n "$DEB_MAINT_PARAMS" ]; then eval set -- "$DEB_MAINT_PARAMS" if [ -z "$1" ] || [ "$1" != "configure" ]; then exit 0 fi fi [ -x /usr/bin/mkimage ] || ( echo "missing mkimage" > /dev/stderr; exit 1 ) [ -x /usr/sbin/flash_eraseall ] || ( echo "missing flase_eraseall" > /dev/stderr; exit 1 ) [ -x /usr/sbin/nandwrite ] || ( echo "missing nandwrite" > /dev/stderr; exit 1 ) /usr/bin/mkimage -A arm -O linux -T kernel -C none -n uImage -a 0x00008000 -e 0x00008000 -d /boot/vmlinuz-${version} /tmp/uImage /usr/sbin/flash_eraseall /dev/mtd1 /usr/sbin/nandwrite -p /dev/mtd1 /tmp/uImage rm /tmp/uImage EOF # chown root:root /etc/kernel/postinst.d/local-kirkwood # chmod 755 /etc/kernel/postinst.d/local-kirkwood ========8<==================== [0] http://www.digriz.org.uk/kirkwood -- Héctor Orón "Our Sun unleashes tremendous flares expelling hot gas into the Solar System, which one day will disconnect us." -- Day DVB-T stop working nicely Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktimgpzfp5npzn_eufdrzka3te77spulwqtdbz...@mail.gmail.com