Firmware Upgrade Procedure
By default, the Popoto boardset is shipped without a root password. The examples below show remote operations occurring without password entry. If you have added a root password to your system, enter it when prompted by the SSH and SCP utilities.
-
Connect Popoto to the Ethernet connection.
-
Determine or Set the IP Address
From pshell, issue
getIP:Popoto-> getIPIPv4 Address: eth0 Link encap:Ethernet HWaddr 2E:A4:4D:D2:40:82inet addr:10.0.0.232 Bcast:10.255.255.255 Mask:255.0.0.0inet6 addr: 2603:3005:82a:8000:2ca4:4dff:fed2:4082%71/64 Scope:Globalinet6 addr: fe80::2ca4:4dff:fed2:4082%71/64 Scope:Link UP ...RX packets:639 errors:0 dropped:0 overruns:0 frame:0 TX packets:15...RX bytes:57888 (56.5 KiB) TX bytes:26702 (26.0 KiB) Interrupt:33In this example, the IP address is
10.0.0.232.To change the Popoto IP address, issue the
setIPcommand from pshell. -
Confirm Network Connection.
From your local computer's command window, confirm the connection with
ping:ping 10.0.0.232PING 10.0.0.232 (10.0.0.232): 56 data bytes64 bytes from 10.0.0.232: icmp_seq=0 ttl=64 time=0.853 ms 64 bytes from... -
Copy the Update File.
Using a secure copy utility such as OpenSSH
scp, copy the update file from your local computer to the Popoto root directory:scp Update_2.7.0.tar root@10.0.0.232:/ -
Connect with SSH.
Shell into Popoto with an SSH utility:
ssh root@10.0.0.232You should receive a prompt like:
root@popoto:~# -
Extract the Update File.
From the
root@popoto:prompt, change directories to the root directory and untar the uploaded update file:root@popoto:~# cd /root@popoto:/# tar xvf Update_2.6.0.tarThis creates or overwrites the following files:
Update.shUpdate.tgz
-
Run the Update Script.
Execute the update shell command to install the new version:
root@popoto:/# ./Update.shThis generates output similar to:
Update.shVersion.txtboot/boot/dolphin.dtbhome/home/root/home/root/popoto.pyhome/root/pshellhome/root/popoto_applib/lib/firmware/lib/firmware/platform.outpshell.initversion.txtConnection to 10.0.0.232 closed by remote host. Connection to 10.0.0.232 closed.At this point, the Popoto unit reboots and comes up with the new firmware version installed.
In the pshell window over RS-422, you should end up at a prompt like:
Welcome to the Popoto Modem Shell! Communicating NaturallyPopoto-> {"Info ":"Popoto Modem Version <New Version Number and informational tag> "}