Skip to content

Releases: brunompena/zsun-resources

OpenWrt 22.03.0-rc4 (main firmware)

16 Jan 19:55
Compare
Choose a tag to compare

Compatibility

This release is only compatible with devices that have been updated using these instructions.

If you attempt to use it without having previously updated your device with the above instructions, then you'll most likely brick it!

Upgrade

The upgrade to 22.03.0-rc4 can be performed from either the main firmware or the recovery firmware.

Doing it from the main firmware gives you more flexibility:

  • You can upgrade using the CLI or LuCI
  • You can easily preserve your changes

While from the recovery firmware:

  • You can only use the CLI
  • You must manually backup and restore your changes

Upgrading from the Main Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
sysupgrade -o /tmp/openwrt-22.03.0-rc4-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin
  • To upgrade without preserving your changes:
sysupgrade -n /tmp/openwrt-22.03.0-rc4-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin

Upgrading from the Recovery Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
    • Create a backup file with all your changes
      mount-firmware
      tar czvf /tmp/backup.tar.gz -C /firmware/overlay/upper .
      umount-firmware
      
    • Flash the new main firmware
      mtd write /tmp/openwrt-22.03.0-rc4-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware
      
    • Restore the backup file with all your changes
      mount-firmware
      tar xzvf /tmp/backup.tar.gz -C /firmware/overlay/upper
      umount-firmware
      
    • Reboot to the main firmware
      reboot
      
  • To upgrade without preserving your changes:
mtd -r write /tmp/openwrt-22.03.0-rc4-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware

OpenWrt 22.03.0-rc3 (main firmware)

16 Jan 19:53
Compare
Choose a tag to compare

Compatibility

This release is only compatible with devices that have been updated using these instructions.

If you attempt to use it without having previously updated your device with the above instructions, then you'll most likely brick it!

Upgrade

The upgrade to 22.03.0-rc3 can be performed from either the main firmware or the recovery firmware.

Doing it from the main firmware gives you more flexibility:

  • You can upgrade using the CLI or LuCI
  • You can easily preserve your changes

While from the recovery firmware:

  • You can only use the CLI
  • You must manually backup and restore your changes

Upgrading from the Main Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
sysupgrade -o /tmp/openwrt-22.03.0-rc3-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin
  • To upgrade without preserving your changes:
sysupgrade -n /tmp/openwrt-22.03.0-rc3-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin

Upgrading from the Recovery Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
    • Create a backup file with all your changes
      mount-firmware
      tar czvf /tmp/backup.tar.gz -C /firmware/overlay/upper .
      umount-firmware
      
    • Flash the new main firmware
      mtd write /tmp/openwrt-22.03.0-rc3-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware
      
    • Restore the backup file with all your changes
      mount-firmware
      tar xzvf /tmp/backup.tar.gz -C /firmware/overlay/upper
      umount-firmware
      
    • Reboot to the main firmware
      reboot
      
  • To upgrade without preserving your changes:
mtd -r write /tmp/openwrt-22.03.0-rc3-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware

OpenWrt 22.03.0-rc2 (main firmware)

16 Jan 19:51
Compare
Choose a tag to compare

Compatibility

This release is only compatible with devices that have been updated using these instructions.

If you attempt to use it without having previously updated your device with the above instructions, then you'll most likely brick it!

Upgrade

The upgrade to 22.03.0-rc2 can be performed from either the main firmware or the recovery firmware.

Doing it from the main firmware gives you more flexibility:

  • You can upgrade using the CLI or LuCI
  • You can easily preserve your changes

While from the recovery firmware:

  • You can only use the CLI
  • You must manually backup and restore your changes

Upgrading from the Main Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
sysupgrade -o /tmp/openwrt-22.03.0-rc2-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin
  • To upgrade without preserving your changes:
sysupgrade -n /tmp/openwrt-22.03.0-rc2-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin

Upgrading from the Recovery Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
    • Create a backup file with all your changes
      mount-firmware
      tar czvf /tmp/backup.tar.gz -C /firmware/overlay/upper .
      umount-firmware
      
    • Flash the new main firmware
      mtd write /tmp/openwrt-22.03.0-rc2-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware
      
    • Restore the backup file with all your changes
      mount-firmware
      tar xzvf /tmp/backup.tar.gz -C /firmware/overlay/upper
      umount-firmware
      
    • Reboot to the main firmware
      reboot
      
  • To upgrade without preserving your changes:
mtd -r write /tmp/openwrt-22.03.0-rc2-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware

OpenWrt 22.03.0-rc1 (main firmware)

16 Jan 19:50
Compare
Choose a tag to compare

Compatibility

This release is only compatible with devices that have been updated using these instructions.

If you attempt to use it without having previously updated your device with the above instructions, then you'll most likely brick it!

Upgrade

The upgrade to 22.03.0-rc1 can be performed from either the main firmware or the recovery firmware.

Doing it from the main firmware gives you more flexibility:

  • You can upgrade using the CLI or LuCI
  • You can easily preserve your changes

While from the recovery firmware:

  • You can only use the CLI
  • You must manually backup and restore your changes

Upgrading from the Main Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
sysupgrade -o /tmp/openwrt-22.03.0-rc1-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin
  • To upgrade without preserving your changes:
sysupgrade -n /tmp/openwrt-22.03.0-rc1-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin

Upgrading from the Recovery Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
    • Create a backup file with all your changes
      mount-firmware
      tar czvf /tmp/backup.tar.gz -C /firmware/overlay/upper .
      umount-firmware
      
    • Flash the new main firmware
      mtd write /tmp/openwrt-22.03.0-rc1-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware
      
    • Restore the backup file with all your changes
      mount-firmware
      tar xzvf /tmp/backup.tar.gz -C /firmware/overlay/upper
      umount-firmware
      
    • Reboot to the main firmware
      reboot
      
  • To upgrade without preserving your changes:
mtd -r write /tmp/openwrt-22.03.0-rc1-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware

OpenWrt 21.02.5 (main firmware)

15 Jan 10:45
Compare
Choose a tag to compare

Compatibility

This release is only compatible with devices that have been updated using these instructions.

If you attempt to use it without having previously updated your device with the above instructions, then you'll most likely brick it!

Upgrade

The upgrade to 21.02.5 can be performed from either the main firmware or the recovery firmware.

Doing it from the main firmware gives you more flexibility:

  • You can upgrade using the CLI or LuCI
  • You can easily preserve your changes

While from the recovery firmware:

  • You can only use the CLI
  • You must manually backup and restore your changes

Upgrading from the Main Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
sysupgrade -o /tmp/openwrt-21.02.5-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin
  • To upgrade without preserving your changes:
sysupgrade -n /tmp/openwrt-21.02.5-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin

Upgrading from the Recovery Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
    • Create a backup file with all your changes
      mount-firmware
      tar czvf /tmp/backup.tar.gz -C /firmware/overlay/upper .
      umount-firmware
      
    • Flash the new main firmware
      mtd write /tmp/openwrt-21.02.5-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware
      
    • Restore the backup file with all your changes
      mount-firmware
      tar xzvf /tmp/backup.tar.gz -C /firmware/overlay/upper
      umount-firmware
      
    • Reboot to the main firmware
      reboot
      
  • To upgrade without preserving your changes:
mtd -r write /tmp/openwrt-21.02.5-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware

OpenWrt 21.02.4 (main firmware)

15 Jan 10:44
Compare
Choose a tag to compare

Compatibility

This release is only compatible with devices that have been updated using these instructions.

If you attempt to use it without having previously updated your device with the above instructions, then you'll most likely brick it!

Upgrade

The upgrade to 21.02.4 can be performed from either the main firmware or the recovery firmware.

Doing it from the main firmware gives you more flexibility:

  • You can upgrade using the CLI or LuCI
  • You can easily preserve your changes

While from the recovery firmware:

  • You can only use the CLI
  • You must manually backup and restore your changes

Upgrading from the Main Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
sysupgrade -o /tmp/openwrt-21.02.4-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin
  • To upgrade without preserving your changes:
sysupgrade -n /tmp/openwrt-21.02.4-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin

Upgrading from the Recovery Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
    • Create a backup file with all your changes
      mount-firmware
      tar czvf /tmp/backup.tar.gz -C /firmware/overlay/upper .
      umount-firmware
      
    • Flash the new main firmware
      mtd write /tmp/openwrt-21.02.4-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware
      
    • Restore the backup file with all your changes
      mount-firmware
      tar xzvf /tmp/backup.tar.gz -C /firmware/overlay/upper
      umount-firmware
      
    • Reboot to the main firmware
      reboot
      
  • To upgrade without preserving your changes:
mtd -r write /tmp/openwrt-21.02.4-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware

OpenWrt 21.02.3 (main firmware)

15 Jan 10:42
Compare
Choose a tag to compare

Compatibility

This release is only compatible with devices that have been updated using these instructions.

If you attempt to use it without having previously updated your device with the above instructions, then you'll most likely brick it!

Upgrade

The upgrade to 21.02.3 can be performed from either the main firmware or the recovery firmware.

Doing it from the main firmware gives you more flexibility:

  • You can upgrade using the CLI or LuCI
  • You can easily preserve your changes

While from the recovery firmware:

  • You can only use the CLI
  • You must manually backup and restore your changes

Upgrading from the Main Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
sysupgrade -o /tmp/openwrt-21.02.3-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin
  • To upgrade without preserving your changes:
sysupgrade -n /tmp/openwrt-21.02.3-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin

Upgrading from the Recovery Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
    • Create a backup file with all your changes
      mount-firmware
      tar czvf /tmp/backup.tar.gz -C /firmware/overlay/upper .
      umount-firmware
      
    • Flash the new main firmware
      mtd write /tmp/openwrt-21.02.3-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware
      
    • Restore the backup file with all your changes
      mount-firmware
      tar xzvf /tmp/backup.tar.gz -C /firmware/overlay/upper
      umount-firmware
      
    • Reboot to the main firmware
      reboot
      
  • To upgrade without preserving your changes:
mtd -r write /tmp/openwrt-21.02.3-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware

OpenWrt 21.02.2 (main firmware)

15 Jan 10:41
Compare
Choose a tag to compare

Compatibility

This release is only compatible with devices that have been updated using these instructions.

If you attempt to use it without having previously updated your device with the above instructions, then you'll most likely brick it!

Upgrade

The upgrade to 21.02.2 can be performed from either the main firmware or the recovery firmware.

Doing it from the main firmware gives you more flexibility:

  • You can upgrade using the CLI or LuCI
  • You can easily preserve your changes

While from the recovery firmware:

  • You can only use the CLI
  • You must manually backup and restore your changes

Upgrading from the Main Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
sysupgrade -o /tmp/openwrt-21.02.2-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin
  • To upgrade without preserving your changes:
sysupgrade -n /tmp/openwrt-21.02.2-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin

Upgrading from the Recovery Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
    • Create a backup file with all your changes
      mount-firmware
      tar czvf /tmp/backup.tar.gz -C /firmware/overlay/upper .
      umount-firmware
      
    • Flash the new main firmware
      mtd write /tmp/openwrt-21.02.2-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware
      
    • Restore the backup file with all your changes
      mount-firmware
      tar xzvf /tmp/backup.tar.gz -C /firmware/overlay/upper
      umount-firmware
      
    • Reboot to the main firmware
      reboot
      
  • To upgrade without preserving your changes:
mtd -r write /tmp/openwrt-21.02.2-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware

OpenWrt 21.02.1 (main firmware)

15 Jan 10:38
Compare
Choose a tag to compare

Compatibility

This release is only compatible with devices that have been updated using these instructions.

If you attempt to use it without having previously updated your device with the above instructions, then you'll most likely brick it!

Upgrade

The upgrade to 21.02.1 can be performed from either the main firmware or the recovery firmware.

Doing it from the main firmware gives you more flexibility:

  • You can upgrade using the CLI or LuCI
  • You can easily preserve your changes

While from the recovery firmware:

  • You can only use the CLI
  • You must manually backup and restore your changes

Upgrading from the Main Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
sysupgrade -o /tmp/openwrt-21.02.1-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin
  • To upgrade without preserving your changes:
sysupgrade -n /tmp/openwrt-21.02.1-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin

Upgrading from the Recovery Firmware (CLI)

Start by copying the new firmware to the /tmp folder, check its md5sum and then follow the instructions below.

  • To upgrade and preserve your changes:
    • Create a backup file with all your changes
      mount-firmware
      tar czvf /tmp/backup.tar.gz -C /firmware/overlay/upper .
      umount-firmware
      
    • Flash the new main firmware
      mtd write /tmp/openwrt-21.02.1-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware
      
    • Restore the backup file with all your changes
      mount-firmware
      tar xzvf /tmp/backup.tar.gz -C /firmware/overlay/upper
      umount-firmware
      
    • Reboot to the main firmware
      reboot
      
  • To upgrade without preserving your changes:
mtd -r write /tmp/openwrt-21.02.1-ath79-generic-zsun_sd100-squashfs-sysupgrade.bin firmware

OpenWrt 19.07.8 (recovery firmware)

15 Sep 22:00
Compare
Choose a tag to compare

Compatibility

This release is only compatible with devices that have been updated using these instructions.

If you attempt to use it without having previously updated your device with the above instructions, then you'll most likely brick it!

Changes

The new recovery firmware includes several significant changes and improvements over the previous version:

  • Based on the new ath79 architecture
  • Supports the official OpenWrt kernel modules
  • Changes to the recovery partition can now be made persistent (use with caution!)
  • The recovery scripts have been rewritten to be more efficient and easier to use

Removed features

Due to the limited size of the recovery partition some features had to be removed from the base build:

  • LuCI web interface (packages: cgi-io, lib*-lua, liblua*, libluci*, lua, luci*, rpcd*, uhttpd)
  • PPP modules (packages: ppp, ppp-mod-pppoe)
  • Switch configuration (package: swconfig)

Extra packages

The following additional packages are included as they are required for the recovery scripts to work properly:

  • kmod-block2mtd: Block device MTD emulation
  • kmod-loop: Loopback device support
  • kmod-mtd-rw: Change MTD access restrictions
  • losetup: Manage loopback devices
  • snapshot-tool: RootFS snapshoot tool

Recovery scripts

The recovery scripts included with this release are:

  • mount-firmware: Mount the main firmware in /firmware
  • umount-firmware: Unmount the main firmware from /firmware
  • reset-firmware: Remove all changes/customizations made to the main firmware
  • recovery-config <save|reset>: Save or reset the changes done to the recovery firmware
  • mtd-rw <lock|unlock|locked|unlocked>: Manage MTD permissions (unlock: read-write, lock: read-only)

Save recovery changes

Even though the recovery firmware is stored on a read-only partition, it is now possible to persist all changes done to it.
This can be done using the recovery-config script which will execute the following actions:

  1. Create an archive with all changes (configuration files, packages, etc.)
  2. Unlock the MTD partitions so the recovery is set to read-write
  3. Save the archive to the available blocks at the end of the recovery partition
  4. Lock the MTD partitions so everything is set back to read-only

You can use this feature to customize your recovery by adding a password to the wireless network, add an SSH key, etc...

Please be aware the amount of space available for storing changes is very limited!

I strongly suggest you keep changes to a minimum to avoid locking yourself out of the recovery firmware - please be cautious!

Upgrade

The upgrade to 19.07.8 can be performed from either the main firmware or the recovery firmware.

Doing it from the main firmware requires you to install the mtd-rw kernel module:

opkg install kmod-mtd-rw

While from the recovery firmware you don't have to install anything as the package is already installed.

Execute the upgrade

Start by copying the new firmware to the /tmp folder and then follow the instructions below:

insmod $(find /lib/modules/ -name mtd-rw.ko) i_want_a_brick=1
mtd write /tmp/openwrt-19.07.8-ath79-generic-zsun_sd100-recovery.bin recovery

Check recovery image integrity

Check the integrity of the recovery image by running and comparing the output of the following command:

md5sum /dev/$(cat /proc/mtd | grep recovery | cut -d: -f1)
MTD Partition md5sum
/dev/mtdX a5e9ee6d2534a75901205d2c479bc067

If your md5sum doesn't match the one you see above then your image is corrupted and you must flash it again.