version 1.1.2.21, 2014/02/24 23:18:35
|
version 1.1.2.23, 2014/02/25 21:52:17
|
Line 11 CFG_NAND_SIZE=65536
|
Line 11 CFG_NAND_SIZE=65536
|
FRM_NAND_MAP="/dev/map/firmware" |
FRM_NAND_MAP="/dev/map/firmware" |
FRM_NAND_SIZE=7929856 |
FRM_NAND_SIZE=7929856 |
|
|
|
UPGRADE_GPIO_PINS="8 6 7" |
|
|
cd ${2:-/etc} |
cd ${2:-/etc} |
|
|
case "$1" in |
case "$1" in |
Line 61 case "$1" in
|
Line 63 case "$1" in
|
echo "ELWIX switch to upgrade mode. Starting TFTPd ..." |
echo "ELWIX switch to upgrade mode. Starting TFTPd ..." |
echo " You can upload now elwix_firmware.bin image to device with \"firmware\" name!!!" |
echo " You can upload now elwix_firmware.bin image to device with \"firmware\" name!!!" |
echo " Example: put elwix_firmware.bin firmware" |
echo " Example: put elwix_firmware.bin firmware" |
|
for i in ${UPGRADE_GPIO_PINS}; do |
|
gpioctl $i 1 >/dev/null 2>&1 |
|
done |
TFTPd -wR |
TFTPd -wR |
;; |
;; |
*) |
*) |
echo "Missing parameter - available options are (load | save | erase | backup | restore)" | echo "Missing parameter - available options are (load | save | erase | backup | restore | upgrade)" |
;; |
;; |
esac |
esac |
|
|