Managing Embedded Linux |
226 Transfer complete. ftp> get
local:
150Opening data connection for
226Transfer complete.
13167772 bytes received in 2.17 secs (5925.8 kB/s) ftp>
3.Next, use the upfirm command to upgrade the kernel and root file system:
#upfirm
192.168.3.127 – PuTTY
root@Moxa:/mnt/ramdisk# upfirm
To check source firmware file context. The source firmware file conext is OK. This step will destroy all your firmware. Do you want to continue it ? (Y/N) : Y Now upgrade the file [redboot].
Format MTD device [/dev/mtd0] . . .
MTD device [/dev/mtd0] erase 128 Kibyte @ 60000 – 100% complete. Wait to write file . . .
Compleleted 100%
Now upgrade the file [kernel]. Format MTD device [/dev/mtd1] . . .
MTD device [/dev/mtd1] erase 128 Kibyte @ 100000 – 100% complete. Wait to write file . . .
Compleleted 100%
Now upgrade the file
MTD device [/dev/mtd2] erase 128 Kibyte @ 400000 – 100% complete. Wait to write file . . .
Compleleted 100%
Now upgrade the file
MTD device [/dev/mtd3] erase 128 Kibyte @ 1a00000 – 100% complete. Wait to write file . . .
Compleleted 100%
Now upgrade the file [directory]. Format MTD device [/dev/mtd6] . . .
MTD device [/dev/mtd6] erase 128 Kibyte @ 20000 – 100% complete. Wait to write file . . .
Compleleted 100%
Now upgrade the new configuration file. Upgrade the firmware is OK.
Please press any key to reboot system.
Loading Factory Defaults
The easiest way to load factory defaults is to update the firmware (follow the instructions in the previous section to upgrade the firmware).
Note that if your user file is not working properly, the system will mount the Mini File System. In this case, you will need to load factory defaults to resume normal operation.