|
Post by jusufs on Dec 21, 2011 4:25:31 GMT 7
Hi. What is necessary for firmware upgrade of ALL6600 to N5200 actual Firmware ? 1. I have N5200upgrade.1.00.07 file 2. I don't have n5200reset.zip file - please send me some link or the file www.bulldogdata.com/files/n5200reset.zipis dead 3. Usb stick should be formatted as fat32 -OK 4. Is the file factory_test.sh from the n5200reset.zip package ? Thanks for help
|
|
|
Post by jusufs on Dec 21, 2011 5:11:19 GMT 7
I found the file factory_test.sh 1. What should be adapted for upgrade to version N5200upgrade.1.00.07
2. What should be adapted to upgrade from 1.00.07 to newest version ?
#!/bin/sh mountpath="/mnt" script="usb_upgrade" satacount=`/img/bin/check_service.sh "satacount"` if [ "${satacount}" == "" ]; then satacount=5 fi
is_new_version=`cat /img/version | cut -c 1-4| awk '{ if (($0*100) > 200) print "yes"}'` if [ "${is_new_version}" == "yes" ];then #echo "newer version: > v2.01.00" talktolcm="/img/bin/model/talktolcm.sh" else #echo "older version" talktolcm="lcm" fi function lcm(){ echo $1 $2 $3 $4 >/tmp/avrpipe } function led(){ echo $1 $2 >/proc/thecus_io }
strExec="cat /proc/scsi/scsi|awk '/Thecus:/{FS=\" \";printf(\"%s:%s\n\",\$2,\$3)}'|awk -F: '{if (\$2>"${satacount}") {printf(\"%s\n\",\$4)}}'" normal=`eval ${strExec}` for i in $normal ; do strExec="cat /proc/partitions|awk '/${i}/{FS=\" \";print \$4}'" mount_usbs=`eval ${strExec}` for mount_usb in $mount_usbs ; do #create folder strexec="mount|awk '/\/dev\/${mount_usb}/&&/\/mnt/'" chkmount=`eval ${strexec}` if [ "${chkmount}" == "" ]; then mount "/dev/${mount_usb}" "${mountpath}" #/bin/mount -t vfat -o iocharset=utf8,umask=0,fmask=001,uid=99,gid=99 "/dev/${mount_usb}" "${mountpath}" if [ $? = 0 ]; then if [ -f ${mountpath}/${script} ]; then cp ${mountpath}/${script} /tmp fi fi else if [ -f ${mountpath}/${script} ]; then cp ${mountpath}/${script} /tmp fi fi sync umount ${mountpath} done done
if [ -e "/tmp/${script}" ]; then /tmp/${script} exit 0 else ${talktolcm} agent2 0 BTMSG "No script" sleep 10 exit 1 fi
|
|
|
Post by jusufs on Dec 21, 2011 5:19:43 GMT 7
Is the CPU on ALL6600 in a socket, or it is soldered ?
|
|