Hi! I have extended flash-kernel so that it supports the KuroBox Pro NAS device.
Please review my patch. -- Per Index: flash-kernel =================================================================== --- flash-kernel (revision 53630) +++ flash-kernel (working copy) @@ -211,6 +211,28 @@ ) > $imtd || error "failed." echo "done." >&2 ;; + # KuroBox Pro + "MV-88fxx81") + check_subarch "orion5x" + check_mtd + kmtd=$(mtdblock uImage) + if [ -z "$kmtd" ]; then + error "Cannot find mtd partition 'uImage'" + fi + kmtdsize=$(mtdsize "uImage") + check_size "uImage" $(($kfilesize + 8 + 64)) $kmtdsize + printf "Generating kernel u-boot image... " >&2 + tmp=$(tempfile) + devio > $tmp 'wl 0xe3a01c05,4' 'wl 0xe38110e5,4' + 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 + printf "Flashing kernel... " >&2 + cat $tmp.uboot > $kmtd || error "failed." + echo "done." >&2 + rm -f $tmp.uboot $tmp + ;; "Thecus N2100") check_subarch "iop32x" check_mtd -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]