aboutsummaryrefslogtreecommitdiff
path: root/package/boot/uboot-envtools
diff options
context:
space:
mode:
authorTianling Shen <cnsztl@gmail.com>2024-03-07 14:19:08 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2024-03-31 20:20:59 +0200
commitcc6c3a6ee83ce4498b983dddb1766b6f056212d3 (patch)
treea0a60774ab65ff4ce33bfbcfb8c2658a57b2f6a9 /package/boot/uboot-envtools
parent5aca47bca1ad4dd8dfcd7d17608739498ba6b7c6 (diff)
mediatek: add support for OpenEmbed SOM7981
Hardware specification: SoC: MediaTek MT7981B 2x A53 Flash: 256 MiB SPI-NAND, 32 GB eMMC optional RAM: 0.5/1 GB DDR4 Ethernet: 1x 1GbE, 1x 2.5GbE (RTL8221B) WiFi: MediaTek MT7976C USB: 1x USB 3.0 GPIO: 26-Pin header UART: 6 GND, 8 TX, 10 RX (in Pin header) Button: Reset, WPS Power: Type-C PD Installation: The board comes with a third-party custom OpenWrt image, you can upload sysupgrade image via LuCI directly WITHOUT keeping configurations. Or power on the board with pressing reset button for 5 second, then visit http://192.168.1.1 and upload -factory.bin firmware. Signed-off-by: Tianling Shen <cnsztl@gmail.com>
Diffstat (limited to 'package/boot/uboot-envtools')
-rw-r--r--package/boot/uboot-envtools/files/mediatek_filogic4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/mediatek_filogic b/package/boot/uboot-envtools/files/mediatek_filogic
index 64c9d045d8..753c8ca064 100644
--- a/package/boot/uboot-envtools/files/mediatek_filogic
+++ b/package/boot/uboot-envtools/files/mediatek_filogic
@@ -107,6 +107,10 @@ routerich,ax3000)
local envdev=/dev/mtd$(find_mtd_index "u-boot-env")
ubootenv_add_uci_config "$envdev" "0x0" "0x20000" "0x20000" "1"
;;
+openembed,som7981)
+ ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x80000" "0x80000"
+ ubootenv_add_uci_sys_config "/dev/mtd3" "0x0" "0x100000" "0x100000"
+ ;;
ubnt,unifi-6-plus)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x80000" "0x10000"
;;