Re: Debian kernel package for linkstation pro
* Martin Michlmayr <tbm@cyrius.com> [2008-08-09 13:36]:
> 2) flash-kernel support: flash-kernel (despite the name) now supports
> both flash and disk based devices. It has to make a bootable image on
> disk. I think the support we have for Kurobox should work out of the
> box. We just need to recognize the LS Pro. I'll send a patch soon.
Tim, can please install flash-kernel from unstable, attach the patch
below, run 'flash-kernel' and see if your machine still boots?
BTW, what about the Terastation Pro II/Live and Linkstation Pro Duo?
Do they boot in the same way? If so, we could add support for them
too.
Index: flash-kernel
===================================================================
--- flash-kernel (revision 54608)
+++ flash-kernel (working copy)
@@ -111,12 +111,20 @@
machine=$(grep "^Hardware" /proc/cpuinfo | sed 's/Hardware\s*:\s*//')
case "$machine" in
- "Buffalo/Revogear Kurobox Pro")
+ "Buffalo/Revogear Kurobox Pro" | "Buffalo Linkstation Pro/Live")
check_subarch "orion5x"
tmp=$(tempfile)
printf "Generating kernel u-boot image... " >&2
- # Set machine id 1509 (0x05e5)
- devio > $tmp 'wl 0xe3a01c05,4' 'wl 0xe38110e5,4'
+ case "$machine" in
+ "Buffalo/Revogear Kurobox Pro")
+ # Set machine id 1509 (0x05e5)
+ devio > $tmp 'wl 0xe3a01c05,4' 'wl 0xe38110e5,4'
+ ;;
+ "Buffalo Linkstation Pro/Live")
+ # Set machine id 1585 (0x0631)
+ devio > $tmp 'wl 0xe3a01c06,4' 'wl 0xe3811031,4'
+ ;;
+ esac
cat $kfile >> $tmp
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "$desc" -d $tmp $tmp.uboot >&2 1>/dev/null
echo "done." >&2
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: