Difference between revisions of "Motherboard Upgrade Firmware"

From Wiki for Dragino Project
Jump to: navigation, search
(Created page with "There are several methods to flash the firmware of a Dragino MS12. =Upgrade firmware via Redboot= *Copy openwrt-atheros-vmlinux.lzma and openwrt-atheros-root.squashfs to your t...")
 
(Upgrade firmware via Redboot)
Line 6: Line 6:
 
*run below commands to flash  
 
*run below commands to flash  
 
  RedBoot> fis init
 
  RedBoot> fis init
 +
About to initialize [format] FLASH image system - continue (y/n)? y
 +
*** Initialize FLASH Image System
 +
... Erase from 0xa87d0000-0xa87e0000: .
 +
... Program from 0x80ff0000-0x81000000 at 0xa87d0000: .
 
  RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma
 
  RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma
 +
Using default protocol (TFTP)
 +
Raw file loaded 0x8003e000-0x800edfff, assumed entry at 0x8003e000
 
  RedBoot> fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
 
  RedBoot> fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
 +
... Erase from 0xa8030000-0xa80e0000: ...........
 +
... Program from 0x8003e000-0x800ee000 at 0xa8030000: ...........
 +
... Erase from 0xa87d0000-0xa87e0000: .
 +
... Program from 0x80ff0000-0x81000000 at 0xa87d0000: .
 
  RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-root.squashfs
 
  RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-root.squashfs
 +
Using default protocol (TFTP)
 +
Raw file loaded 0x8003e000-0x8045dfff, assumed entry at 0x8003e000
 
  RedBoot> fis create rootfs
 
  RedBoot> fis create rootfs
 +
... Erase from 0xa80e0000-0xa8500000: ..................................................................
 +
... Program from 0x8003e000-0x8045e000 at 0xa80e0000: ..................................................................
 +
... Erase from 0xa87d0000-0xa87e0000: .
 +
... Program from 0x80ff0000-0x81000000 at 0xa87d0000: .
 
  RedBoot> reset
 
  RedBoot> reset

Revision as of 02:24, 23 March 2011

There are several methods to flash the firmware of a Dragino MS12.

Upgrade firmware via Redboot

  • Copy openwrt-atheros-vmlinux.lzma and openwrt-atheros-root.squashfs to your tftp server
  • [Motherboard_Redboot|Access Redboot via Telnet]
  • run below commands to flash
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Erase from 0xa87d0000-0xa87e0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87d0000: .
RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma
Using default protocol (TFTP)
Raw file loaded 0x8003e000-0x800edfff, assumed entry at 0x8003e000
RedBoot> fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
... Erase from 0xa8030000-0xa80e0000: ...........
... Program from 0x8003e000-0x800ee000 at 0xa8030000: ...........
... Erase from 0xa87d0000-0xa87e0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87d0000: .
RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-root.squashfs
Using default protocol (TFTP)
Raw file loaded 0x8003e000-0x8045dfff, assumed entry at 0x8003e000
RedBoot> fis create rootfs
... Erase from 0xa80e0000-0xa8500000: ..................................................................
... Program from 0x8003e000-0x8045e000 at 0xa80e0000: ..................................................................
... Erase from 0xa87d0000-0xa87e0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87d0000: .
RedBoot> reset