v2.1.4 fixes Wi-Fi on country RU, lets the NAND error correction follow the flash chip, and fills the package repository with every kernel module. Same base as v2.1.3 (kuncy7's c3po-tag-8021q at c36db6321c).
- Countries
RU,BYandUAkeep Wi-Fi 6 (#57). With one of these countries and an HE mode, the default, both radios stayed off withFailed to set beacon parameters: the Wi-Fi firmware still carries a mark that forbids 802.11ax there, which Qualcomm's own database dropped in 2021. ath11k now ignores that mark for these three countries, and hostapd starts an AP without HE, with a warning, wherever a regulatory rule does forbid it. The firmware's channels and power limits are unchanged. Details. - The NAND error correction follows the chip (xiaomi-openwrt-install#7). Some units carry a flash chip with a 128-byte spare area, which stock runs with 8-bit error correction. Our device tree forced 4-bit on every unit, so on such a unit the RAM installer could not read the flash and stopped before writing. The strength is now chosen from the chip, by the rule of the stock bootloader. Units with a 64-byte spare area, all the ones tested so far, are configured exactly as before. No 128-byte unit has run this release yet: whether its bootloader reads what OpenWrt writes with 8-bit correction is not known, and a failed install there needs Xiaomi's TFTP recovery or a UART adapter. xiaomi-openwrt-install therefore refuses such a unit unless it is told to go ahead with
--allow-untested-8bit-nand. - Every kernel module package is in the repository, about 1250 instead of the ones requested one by one: a module can only be added together with a release. This includes
kmod-nf-conntrack-netlink, whichdnsmasq-fullneeds. The NSS driver and ECM in the image are built as before, without IPsec, MAP-T and 6rd offload, so those modules work on the CPU. The cost is about 1 MB of free memory at idle. One side effect in the image: the Wi-Fi 7 driver modules switch on 802.11be and OCV support inwpad, the Wi-Fi daemon, which is otherwise the same version. Packages. - OpenWrt's
dnsmasq-fullinstalls and starts (apk del dnsmasq, thenapk add dnsmasq-full): a one-line procd fix lets its sandbox start. On v2.0.0 to v2.1.3, don't install the snapshot'sdnsmasq-fullordnsmasq: since November they fail to start there and leave the router without DNS.
Updating: from v2.1.3, a plain sysupgrade -v /tmp/new.bin from the installed system, settings kept. From v2.0.0 to v2.1.2, those releases still refuse an in-place sysupgrade: check the image's sha256 against sha256sums.txt and that sysupgrade -T /tmp/new.bin shows only the refusal, then sysupgrade -F -v /tmp/new.bin with this board's sysupgrade image. From v1.x, use the RAM installer (upgrading from v1.x). From stock firmware, python3 install.py from xiaomi-openwrt-install. Added packages are not kept by a sysupgrade: add them again afterwards.
Tested on the bench, installed on NAND in place over the unit's only cable, keeping its configuration (the NAND run):
- v2.1.3 -> v2.1.4, a reboot, and v2.1.4 onto itself: the configuration unchanged, the boot chain intact, all 20 flash partitions read with no error-correction events, both radios' APs up, NSS offload on.
RU,BYandUAwith HE on both radios: up, where v2.1.3 on the same unit stays off onRU.- A phone on each band of the release's image: 5 GHz at 80 MHz with 195 MB up and 278 MB down in 30 s, 2.4 GHz with about 50 MB each way.
- A RAM installer built from these sources booted and read the whole boot chain without an error-correction event; the release was then installed from it with the saved configuration.
- Wired routing through NSS at 931 / 932 Mbit/s;
dnsmasq-fullfrom OpenWrt's feed running, filling an nftables set. - Not tested: a unit with a 128-byte spare area; a Wi-Fi 6 client on this release (the phone is Wi-Fi 5), on any country; of the new kernel modules, only two were loaded on a router; IPsec next to NSS offload. Full Wi-Fi throughput runs, a station (uplink) interface and crash recovery were not re-run.
Known issues: all. Each release has its own package repository: after updating, apk installs kernel modules from the v2.1.4 one, which the image lists.
Checksums are in sha256sums.txt; packages are signed with this port's v2 key, which the image trusts.