Edgecore EAP102 to Open-WiFi TIP 2.xx firmware

I have a regular Edgecore EAP102 but want to install the latest 2.x firmware in it. Can you please let me know the steps for that and anything else to look out for? Thanks!

Hello, @TIPnewbee

Summer’s coming and how’s your holiday?

There are three different ways to flash an Edgecore EAP102 firmware to TIP OpenWRT EAP102 firmware.

Here comes the first one.
It is following the TIP Confluence’s instruction.

Prepare a TFTP server and a console cable, and access to U-boot to flash it.

  1. Download the image file https://telecominfraproject.atlassian.net/wiki/spaces/WIFI/pages/1316454459/EAP102+Factory+Flash+Instructions

### NOTE: In many TIP testbeds, you can use the following.
### ipaddr 172.16.0.99
### serverip 172.16.0.1
### End Notes ###

# setenv ethaddr <Base MAC Address of the AP>
# setenv ipaddr <deviceIPonyourNet> && setenv serverip <yourTFTPServerIP> && ping <yourTFTPServerIP>
# tftpboot 0x44000000 eap102-spf110-norplusnand-ipq807x-single_0311.img
# sf probe
# imgaddr=0x44000000 && source $imgaddr:script
# reset
### Interrupt boot, enter boot loader
# sf probe
# sf erase 0x480000 0x10000
# reset
  1. Load Factory Firmware. You can upgrade to 2.4.0 uCentral bin file directly from from Jfrog ( the entire TAR.GZ package)
# setenv ipaddr <deviceIPonyourNet> && setenv serverip <yourTFTPServerIP> && ping <yourTFTPServerIP>
# tftpboot 0x44000000 openwrt-ipq807x-edgecore_eap102-squashfs-nand-factory.bin
# sf probe
# imxtract 0x44000000 ubi
# nand device 0 && nand erase 0x0 0x3400000
# nand write $fileaddr 0x00000000 $filesize 
  1. Disable dual boot

/# setenv bootcount 0
/# setenv active 1
/# setenv upgrade_available 0
/# saveenv
/# reset

After that, You’ll have the TIP OpenWRT EAP102.

Related articles.

Another method is from the Edgecore Factory Production Line. It is similar as the TIP Confluence.

  1. Flash Edgecore uboot image (u-boot)

/# setenv ipaddr && setenv serverip && tftpboot eap102-spf111-norplusnand-ipq807x-single-0603.img
/# imgaddr=$fileaddr && source $imgaddr:script
/# sf probe
/# sf erase 0x480000 0x10000
/# reset

  1. Flash TIP image (u-boot)

/# setenv active 1
/# setenv upgrade_available 0
/# setenv bootcount 1
/# setenv SN A123456789 //set SN
/# saveenv

/# setenv ipaddr && setenv serverip
/# tftpboot openwrt-ipq807x-edgecore_eap102-squashfs-nand-factory.bin && imgaddr=$fileaddr
/# imxtract $imgaddr ubi && nand device 0
/# nand erase 0x00000000 0x03400000
/# nand write $fileaddr 0x00000000 $filesize
/# nand erase 0x3c00000 0x3400000
/# nand write $fileaddr 0x3c00000 $filesize
/# reset

  1. Check TIP image version (Linux)

/# cat /etc/openwrt_release //DISTRIB_TIP=‘c3e1435’

Please refer to the post for the 3rd method, which is my favorite and easiest way to upgrade.

If you are using EAP101/EAP102 Edgecore Standard firmware and you want to upgrade to TIP firmware. Please make sure that you have the right dual bootbank settings and the AP is running at the correct partition 1.

EAP101/EAP102 Edgecore standard firmware supports dual bootbank, but TIP image does not support dual boot. We have to make sure that the Edgecore EAP101 is running in partition 1, or the firmware upgrade will not be successful. We also need to disable dual boot feature for TIP.

image

There are two options to upgrade the Edgecore standard firmware to TIP firmware.

  • Or, you can SSH into the EAP101/EAP102 and follow the instructions below.
  1. Check Edgecore EAP102 is running at which boot bank

admin@rdg-eap102:~# fw_printenv | grep active
active=1
image

→If the result is “active=1”, please skip the step 1.b

→If the result is “active=2”, please upgrade Edgecore EAP101 (with the same firmware image) again, to make it use “active=1” bootbank.

  1. Make sure it is “active=1”, then disable dual boot.

fw_setenv upgrade_available 0

  1. SCP “upgrade.bin” of TIP image into the AP and sysupgrade command to upgrade the device.

sysupgrade 20211217-edgecore_eap101-v2.4.0-02c0af4-upgrade.bin

  1. Then it will be a TIP image.

To sum up, upgrading Edgecore WiFi6 APs from standard firmware to TIP firmware with SSH terminal is straight ahead. You need to confirm the firmware is running in Partition 1 & Disable the dual boot, then you can use sysupgrade command to upgrade the TIP firmware.