Releases: openlumi/openwrt
23.05.2 2023-12-09
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
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
Upgrade OpenWRT to 19.07.10
Images are located at: https://openlumi.github.io/releases/19.07.10/targets/imx6/generic/
v21.02.3 2022-05-18
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
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
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
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
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
Upgrade to OpenWrt 19.07.8
v19.07.7 2021-02-24
19.07.7
Changelog:
- Bump version to 19.07.7