The original sources as patched by silver are at
http://linkstationwiki.svn.sourceforge. ... universal/ if you want to try to stick to 2.5.20 kernels. I think I added patches e.g. regarding the Buffalo byte swap irrelevant to Kuro users.
The last kernel to support /dev/mtd*, thus making flashing possible, was a 2.6.28, IIRC.
Recent kernels have moved to a PATA driver that only knows /dev/sd?? (instead of /dev/hd??), which requires a change to /etc/fstab, breaking compatibility with previous kernels. They also require .dtb files you've got to produce.
Code:
dtc -b ppc -f -I dts -O dtb -o /boot/kuroboxHG.dtb -V 16 /usr/src/linux/arch/powerpc/boot/dts/kuroboxHG.dts
dtc -b ppc -f -I dts -O dtb -o /boot/kuroboxHD.dtb -V 16 /usr/src/linux/arch/powerpc/boot/dts/kuroboxHD.dts
ln -sf /boot/kuroboxHG.dtb /boot/kurobox.dtb # just in case
My own /etc/fstab (note, UUID entries never worked for me):
Code:
/dev/sda1 / ext3 defaults,noatime,nodiratime 1 1
/dev/sda2 swap swap sw,pri=1 0 0
/dev/sda3 /mnt ext3 defaults,noatime,nodiratime 0 2
proc /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=20 0 0
Personally, I've decided to stick with the 2.6.32.* vanilla kernel line for some time because it' has proven very stable even under heavy I/O traffic here. I could put a (way too fat) .config and the kernel on my server if you want, including CONFIG_USB_PEGASUS=m. Disclaimer: I haven't tested it with my own kernel loader since I'm on uboot; nor have I had the chance to test it on the Kuro Box. I can tell for sure the kernel works for my HG with uboot and no ext3 byte swap, the plain kernel is absolutely untested.
_________________
HG · Debian squeeze
Linux Kernel 2.6/PPC (and more!) for Linkstation/KuroBox/HG/HS/Terastation from
http://hvkls.dyndns.org