Skip to content

Releases: openlumi/openwrt

23.05.2 2023-12-09

09 Dec 13:02
Compare
Choose a tag to compare

Sysupgrade can be used to upgrade a device from 22.03 to 23.05, and configuration will be preserved in most cases.
Sysupgrade from 21.02 to 23.05 is not officially supported.

To upgrade from 19.07 use commands from 21.02.0 release notes.

Use an image with feeds included to avoid kernel panic on inserting some incompatible kernel modules:

Xiaomi DGNWG05LM and Aqara ZHWG11LM (choose the image for your device):

https://openlumi.github.io/releases/23.05.2/targets/imx/cortexa7/

22.03.3 2023-01-30

30 Jan 05:29
Compare
Choose a tag to compare

Only an upgrade from 21.02 and later is supported.
To upgrade from 19.07 use commands from 21.02.0 release notes.

Use an image with feeds included to avoid kernel panic on inserting some incompatible kernel modules:

Xiaomi DGNWG05LM and Aqara ZHWG11LM (choose the image for your device):

https://openlumi.github.io/releases/22.03.3/targets/imx/cortexa7/

v19.07.10 2022-08-04

04 Aug 15:20
Compare
Choose a tag to compare

v21.02.3 2022-05-18

18 May 15:42
Compare
Choose a tag to compare

Only an upgrade from 21.02 is supported.
To upgrade from 19.07 use commands from 21.02.0 release notes.

Use an image with feeds included to avoid kernel panic on inserting some incompatible kernel modules:

Xiaomi DGNWG05LM and Aqara ZHWG11LM (choose the image for your device):

https://openlumi.github.io/releases/21.02.3/targets/imx6/generic/

v21.02.2 2022-02-18

20 Feb 09:37
Compare
Choose a tag to compare

Only upgrade from 21.02 is supported.
To upgrade from 19.07 use commands from 21.02.0 release notes.

Use an image with feeds included to avoid kernel panic on inserting some incompatible kernel modules:

Xiaomi DGNWG05LM and Aqara ZHWG11LM (choose the image for your device):

https://openlumi.github.io/releases/21.02.2/targets/imx6/generic/

v21.02.1 2021-10-02

02 Nov 08:22
Compare
Choose a tag to compare

Release of OpenWrt 21.02.1 for Xiaomi DGNWG05LM and Aqara ZHWG11LM

Only upgrade from 21.02.0 supported.
To upgrade from 19.07 use commands from 21.02.0 release notes.

Use an image with feeds included to avoid kernel panic on inserting some incompatible kernel modules:

Xiaomi DGNWG05LM and Aqara ZHWG11LM (choose the image for your device):

https://openlumi.github.io/releases/21.02.1/targets/imx6/generic/

v21.02.0 2021-09-02

02 Sep 08:16
Compare
Choose a tag to compare

Release of OpenWrt 21.02.0 for Xiaomi DGNWG05LM and Aqara ZHWG11LM

YOU CANNOT UPGRADE FROM 19.07 IN A USUAL WAY !!!

Use individual DTBs and sysupgrade images for your device.

Backup your configuration manually, all data will be erased

Fresh install from stock is not supported.
To upgrade from 19.07:

0. Copy uboot, dtb, and sysupgrade files to the gateway

1. Replace model marks to allow upgrade with new files

Xiaomi:

sed -i 's/gw5/xiaomi,dgnwg05lm/' /lib/upgrade/platform.sh
sed -i 's/Wandboard i.MX6 Dual Lite Board/Xiaomi Gateway DGNWG05LM/' /lib/imx6.sh
sed -i 's/name="wandboard"/name="xiaomi,dgnwg05lm"/' /lib/imx6.sh

echo 'xiaomi,dgnwg05lm' > /tmp/sysinfo/board_name
echo 'Xiaomi Gateway DGNWG05LM' > /tmp/sysinfo/model
sed -i 's/"id": "[-a-z\.,]*"/"id": "xiaomi,dgnwg05lm"/' /tmp/board.json

sed -i 's/board_name="$1"/board_name="${1\/,\/_}"/' /lib/upgrade/nand.sh

Aqara:

sed -i 's/gw5/aqara,zhwg11lm/' /lib/upgrade/platform.sh
sed -i 's/Wandboard i.MX6 Dual Lite Board/Aqara Gateway ZHWG11LM/' /lib/imx6.sh
sed -i 's/name="wandboard"/name="aqara,zhwg11lm"/' /lib/imx6.sh

echo 'aqara,zhwg11lm' > /tmp/sysinfo/board_name
echo 'Aqara Gateway ZHWG11LM' > /tmp/sysinfo/model
sed -i 's/"id": "[-a-z\.,]*"/"id": "aqara,zhwg11lm"/' /tmp/board.json

sed -i 's/board_name="$1"/board_name="${1\/,\/_}"/' /lib/upgrade/nand.sh

2. Write new uboot:

opkg update && opkg install kobs-ng
[ -f u-boot.imx ] && kobs-ng init -x -v --chip_0_device_path=/dev/mtd0 u-boot.imx

3. Write new DTB:

Xiaomi:

[ -f openwrt-imx6-imx6ull-xiaomi-dgnwg05lm.dtb ] && flash_erase /dev/mtd2 0 0 && nandwrite -p /dev/mtd2 -p openwrt-imx6-imx6ull-xiaomi-dgnwg05lm.dtb

Aqara:

[ -f openwrt-imx6-imx6ull-aqara-zhwg11lm.dtb ] && flash_erase /dev/mtd2 0 0 && nandwrite -p /dev/mtd2 -p openwrt-imx6-imx6ull-aqara-zhwg11lm.dtb

4. Run sysupgrade in console:

Xiaomi:

[ -f openwrt-imx6-xiaomi_dgnwg05lm-squashfs-sysupgrade.bin ] && sysupgrade -v -n openwrt-imx6-xiaomi_dgnwg05lm-squashfs-sysupgrade.bin

Aqara:

[ -f openwrt-imx6-aqara_zhwg11lm-squashfs-sysupgrade.bin ] && sysupgrade -v -n openwrt-imx6-aqara_zhwg11lm-squashfs-sysupgrade.bin

v21.02-rc4-lumi

02 Sep 08:14
Compare
Choose a tag to compare

Pre-release of OpenWrt 21.02-rc4 for Xiaomi DGNWG05LM and Aqara ZHWG11LM

YOU CANNOT UPGRADE FROM 19.07 IN A USUAL WAY !!!

Use individual DTBs and sysupgrade images for your device.

Backup your configuration manually, all data will be erased

Fresh install from stock is not supported.
To upgrade from 19.07:

0. Copy uboot, dtb, and sysupgrade files to the gateway

1. Replace model marks to allow upgrade with new files

Xiaomi:

sed -i 's/gw5/xiaomi,dgnwg05lm/' /lib/upgrade/platform.sh
sed -i 's/Wandboard i.MX6 Dual Lite Board/Xiaomi Gateway DGNWG05LM/' /lib/imx6.sh
sed -i 's/name="wandboard"/name="xiaomi,dgnwg05lm"/' /lib/imx6.sh

echo 'xiaomi,dgnwg05lm' > /tmp/sysinfo/board_name
echo 'Xiaomi Gateway DGNWG05LM' > /tmp/sysinfo/model
sed -i 's/"id": "[-a-z\.,]*"/"id": "xiaomi,dgnwg05lm"/' /tmp/board.json

sed -i 's/board_name="$1"/board_name="${1\/,\/_}"/' /lib/upgrade/nand.sh

Aqara:

sed -i 's/gw5/aqara,zhwg11lm/' /lib/upgrade/platform.sh
sed -i 's/Wandboard i.MX6 Dual Lite Board/Aqara Gateway ZHWG11LM/' /lib/imx6.sh
sed -i 's/name="wandboard"/name="aqara,zhwg11lm"/' /lib/imx6.sh

echo 'aqara,zhwg11lm' > /tmp/sysinfo/board_name
echo 'Aqara Gateway ZHWG11LM' > /tmp/sysinfo/model
sed -i 's/"id": "[-a-z\.,]*"/"id": "aqara,zhwg11lm"/' /tmp/board.json

sed -i 's/board_name="$1"/board_name="${1\/,\/_}"/' /lib/upgrade/nand.sh

2. Write new uboot:

opkg update && opkg install kobs-ng
[ -f u-boot.imx ] && kobs-ng init -x -v --chip_0_device_path=/dev/mtd0 u-boot.imx

3. Write new DTB:

Xiaomi:

[ -f openwrt-imx6-imx6ull-xiaomi-dgnwg05lm.dtb ] && flash_erase /dev/mtd2 0 0 && nandwrite -p /dev/mtd2 -p openwrt-imx6-imx6ull-xiaomi-dgnwg05lm.dtb

Aqara:

[ -f openwrt-imx6-imx6ull-aqara-zhwg11lm.dtb ] && flash_erase /dev/mtd2 0 0 && nandwrite -p /dev/mtd2 -p openwrt-imx6-imx6ull-aqara-zhwg11lm.dtb

4. Run sysupgrade in console:

Xiaomi:

[ -f openwrt-imx6-xiaomi_dgnwg05lm-squashfs-sysupgrade.bin ] && sysupgrade -v -n openwrt-imx6-xiaomi_dgnwg05lm-squashfs-sysupgrade.bin

Aqara:

[ -f openwrt-imx6-aqara_zhwg11lm-squashfs-sysupgrade.bin ] && sysupgrade -v -n openwrt-imx6-aqara_zhwg11lm-squashfs-sysupgrade.bin

v19.07.8 2021-08-29

29 Aug 13:50
Compare
Choose a tag to compare

Upgrade to OpenWrt 19.07.8

v19.07.7 2021-02-24

23 Feb 22:11
Compare
Choose a tag to compare

19.07.7

Changelog:

  • Bump version to 19.07.7