version 1.1.2.3, 2014/02/24 23:57:10
|
version 1.2, 2014/09/15 19:06:44
|
Line 5
|
Line 5
|
# $Id$ |
# $Id$ |
|
|
CFG_NAND_LIST="/etc/cfg.map" |
CFG_NAND_LIST="/etc/cfg.map" |
CFG_NAND_MAP="/dev/map/cfg" | CFG_NAND_MAP="/dev/ada0g" |
CFG_NAND_SIZE=65536 | CFG_NAND_SIZE=262144 |
|
|
FRM_NAND_MAP="/dev/map/firmware" |
|
FRM_NAND_SIZE=7929856 |
|
|
|
UPGRADE_GPIO_PINS="" |
UPGRADE_GPIO_PINS="" |
|
|
cd ${2:-/etc} |
cd ${2:-/etc} |
Line 69 case "$1" in
|
Line 66 case "$1" in
|
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 |
|
|