SECN User Guide
4. Flash the MP
Refer to the general instructions in
Upgrading Mesh Potato Firmware HowTo
on the Village Telco
Wiki. Following is a brief description of the flashing process.
•
Connect the MP directly to your PC with an Ethernet cable with the MP power
off
•
Execute potato-flash:
$ sudo potato-flash eth0 openwrt-atheros-root-rv278.squashfs openwrt-atheros-vmlinux-
rv278.lzma
•
Wait for the program to start looking for the MP device - a series of dots will appear on the
screen.
•
Switch the power
on
to the MP.
•
Wait for the flashing process to complete and for the MP to fully restart.
This will take several minutes.
This is a good time to have a coffee.
•
Wait for three minutes after the MP WiFi led starts to flash to ensure that flash is complete.
Sample MP Flash Session
$ sudo potato-flash eth0 openwrt-atheros-root-rv238.squashfs openwrt-atheros-vmlinux-
rv238.lzma
Reading rootfs file openwrt-atheros-root-rv238.squashfs with 3801088 bytes ...
Reading kernel file openwrt-atheros-vmlinux-rv238.lzma with 720896 bytes ...
Note: The device has to be connected directly (not via switch/hub)
Device detection in progress..........................................................
<<< Turn the power to the MP device ON at this point >>>
….....................device detection: non-arp packet received..
Peer MAC: 00:09:45:58:1c:e7
Peer IP : 192.168.1.184
Your MAC: 00:ba:be:ca:ff:ee
Your IP : 192.168.1.0
Connecting to Redboot bootloader
WARNING: UNPLUGGING POWER WHILE FLASHING MIGHT DAMAGE THE
BOOTLOADER
HOWEVER: IF YOU SEE NOTHING SHOWING UP BENEATH THIS LINE
FOR MORE THAN A MINUTE, START AGAIN...
A flash size of 8 MB was detected.
rootfs(0x006a0000) + kernel(0x00100000) + nvram(0x00000000) sums up to 0x007a0000 bytes
Setting IP address...
Initializing partitions...
Now uploading kernel...
Sending kernel, 1408 blocks...
Flashing kernel...
Loading rootfs...
Sending rootfs, 7424 blocks...
Flashing rootfs...
Flashing process completed...
Restarting device...
SECN_UserGuideV1d6b
9