Skip to main content

Firmware Upgrade Procedure

Root password

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.

  1. Connect Popoto to the Ethernet connection.

  2. Determine or Set the IP Address

    From pshell, issue getIP:

    Popoto-> getIP
    IPv4 Address: eth0 Link encap:Ethernet HWaddr 2E:A4:4D:D2:40:82
    inet addr:10.0.0.232 Bcast:10.255.255.255 Mask:255.0.0.0
    inet6 addr: 2603:3005:82a:8000:2ca4:4dff:fed2:4082%71/64 Scope:Global
    inet6 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:33

    In this example, the IP address is 10.0.0.232.

    To change the Popoto IP address, issue the setIP command from pshell.

  3. Confirm Network Connection.

    From your local computer's command window, confirm the connection with ping:

    ping 10.0.0.232
    PING 10.0.0.232 (10.0.0.232): 56 data bytes
    64 bytes from 10.0.0.232: icmp_seq=0 ttl=64 time=0.853 ms 64 bytes from...
  4. 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:/
  5. Connect with SSH.

    Shell into Popoto with an SSH utility:

    ssh root@10.0.0.232

    You should receive a prompt like:

    root@popoto:~#
  6. 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.tar

    This creates or overwrites the following files:

    • Update.sh
    • Update.tgz
  7. Run the Update Script.

    Execute the update shell command to install the new version:

    root@popoto:/# ./Update.sh

    This generates output similar to:

    Update.sh
    Version.txt
    boot/
    boot/dolphin.dtb
    home/
    home/root/
    home/root/popoto.py
    home/root/pshell
    home/root/popoto_app
    lib/
    lib/firmware/
    lib/firmware/platform.out
    pshell.init
    version.txt
    Connection 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 Naturally
    Popoto-> {"Info ":"Popoto Modem Version <New Version Number and informational tag> "}