diff options
| author | Joel Low | 2024-08-10 04:08:56 +0000 |
|---|---|---|
| committer | Robert Marko | 2024-08-10 16:02:27 +0000 |
| commit | 824f7ea52d541eee8ecb669dc272a7d37f9f76b8 (patch) | |
| tree | ea4952f64f2d72796f27d3abce0608b334f8e2ee | |
| parent | 2b443497c2962d3cd973345e783de29315f49f37 (diff) | |
| download | openwrt-824f7ea52d541eee8ecb669dc272a7d37f9f76b8.tar.gz | |
uboot-envtools: add env settings for ubnt,unifi-6-lr-v3
Using the same configuration as my earlier Unifi 6-LRv2s:
```bash
$ cat /etc/fw_env.config
/dev/mtd3 0x0 0x1000 0x1000 1
$ fw_printenv
arch=arm
baudrate=115200
board=mt7622_evb
board_name=mt7622_evb
bootcmd=bootubnt
bootdelay=3
bootfile=uImage
cpu=armv7
device_model=U6-LR
ethact=mtk_eth
ethaddr=<redacted>
ipaddr=<redacted>
is_ble_stp=true
is_default=true
loadaddr=0x5007FF28
macaddr=<redacted>
serverip=<redacted>
soc=mt7622
stderr=serial
stdin=serial
stdout=serial
vendor=mediatek
```
Signed-off-by: Joel Low <joel@joelsplace.sg>
Link: https://github.com/openwrt/openwrt/pull/16127
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | package/boot/uboot-envtools/files/mediatek_mt7622 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/boot/uboot-envtools/files/mediatek_mt7622 b/package/boot/uboot-envtools/files/mediatek_mt7622 index ae173fad61..020c800e58 100644 --- a/package/boot/uboot-envtools/files/mediatek_mt7622 +++ b/package/boot/uboot-envtools/files/mediatek_mt7622 @@ -56,7 +56,8 @@ ubnt,unifi-6-lr-v2-ubootmod|\ ubnt,unifi-6-lr-v3-ubootmod) ubootenv_add_uci_config "/dev/mtd$(find_mtd_index "u-boot-env")" "0x0" "0x4000" "0x1000" ;; -ubnt,unifi-6-lr-v2) +ubnt,unifi-6-lr-v2|\ +ubnt,unifi-6-lr-v3) ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x1000" "0x1000" "1" ;; xiaomi,redmi-router-ax6s) |