diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-04-04 17:16:42 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-04-09 16:04:51 +0100 |
commit | be41fd9489b6bf900b67d0eb8c9b9f95da35b75c (patch) | |
tree | cf8c1ac1f76576cc536233d21f61148082d59e68 /package/boot/uboot-envtools/files | |
parent | e9ad412049c3d4d2e5bbd6993e4cc9922a8a27a9 (diff) | |
download | upstream-be41fd9489b6bf900b67d0eb8c9b9f95da35b75c.tar.gz upstream-be41fd9489b6bf900b67d0eb8c9b9f95da35b75c.tar.bz2 upstream-be41fd9489b6bf900b67d0eb8c9b9f95da35b75c.zip |
uboot-envtools: add env settings for ubnt,unifi-6-lr-ubootmod
Add settings for fw_printenv/fw_setenv for the Ubiquiti UniFi 6 LR
when running OpenWrt's version of U-Boot. The settings should work
equally with the unmodified version, but that has not yet been
tested.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/uboot-envtools/files')
-rw-r--r-- | package/boot/uboot-envtools/files/mediatek | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/package/boot/uboot-envtools/files/mediatek b/package/boot/uboot-envtools/files/mediatek index 4db1c6ef4d..e206b7442b 100644 --- a/package/boot/uboot-envtools/files/mediatek +++ b/package/boot/uboot-envtools/files/mediatek @@ -13,11 +13,11 @@ touch /etc/config/ubootenv board=$(board_name) case "$board" in -"linksys,e8450-ubi") +linksys,e8450-ubi) ubootenv_add_uci_config "/dev/ubi0_0" "0x0" "0x1f000" "0x1f000" "1" ubootenv_add_uci_config "/dev/ubi0_1" "0x0" "0x1f000" "0x1f000" "1" ;; -"bananapi,bpi-r64") +bananapi,bpi-r64) . /lib/upgrade/platform.sh local rootdev=$(get_rootdev) local envdev=/dev/$(get_partition $rootdev ubootenv) @@ -27,6 +27,9 @@ case "$board" in buffalo,wsr-2533dhp2) ubootenv_add_uci_config "/dev/mtd3" "0x0" "0x1000" "0x20000" ;; +ubnt,unifi-6-lr-ubootmod) + ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x1000" "0x10000" + ;; esac config_load ubootenv |