This section covers a few methods to flash firmware onto your Carambola 2.
Connect to your Carambola's web interface and navigate to (System → Backup / Flash Firmware),
then select your firmware image and press Flash image, on the next page click Proceed to begin flashing.
Connect into Carambola and download the binary image to RAM under /tmp.
(Alter your username, IP and path to match your binary image location)
scp ubuntu@192.168.1.254:/home/ubuntu/carambola2/bin/ar71xx/openwrt-8devices-v2.10-ar71xx-generic-carambola2-squashfs-sysupgrade.bin /tmp
Perform upgrade procedure with configuration reset:
sysupgrade -v -n /tmp/openwrt-8devices-v2.10-ar71xx-generic-carambola2-squashfs-sysupgrade.bin
Perform upgrade procedure without configuration reset:
sysupgrade -v -c /tmp/openwrt-8devices-v2.10-ar71xx-generic-carambola2-squashfs-sysupgrade.bin
This is an alternative firmware upgrade method that also begins by copying the firmware image into RAM.
scp ubuntu@192.168.1.254:/home/ubuntu/carambola2/bin/ar71xx/openwrt-8devices-v2.10-ar71xx-generic-carambola2-squashfs-sysupgrade.bin /tmp
Afterwards, execute the following:
mtd -r write /tmp/openwrt-8devices-v2.10-ar71xx-generic-carambola2-squashfs-sysupgrade.bin firmware