mediatek: filogic: add HF-M7986R1 emmc sysupgrade support

This commit is contained in:
coolsnowwolf 2024-07-03 20:13:09 +08:00
parent ade3055089
commit b4fe0e2919
4 changed files with 4 additions and 3 deletions

View File

@ -323,7 +323,6 @@
hs400-ds-delay = <0x14014>;
max-frequency = <200000000>;
mmc-hs200-1_8v;
mmc-hs400-1_8v;
no-sd;
no-sdio;
non-removable;

View File

@ -35,7 +35,7 @@ mediatek_setup_interfaces()
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" wan
;;
hf,m7986r1*)
ucidef_set_interfaces_lan_wan "lan2 lan3 lan4" lan1
ucidef_set_interfaces_lan_wan "lan2 lan3 lan4" "lan1 usb0"
;;
glinet,gl-mt2500|\
glinet,gl-mt3000)

View File

@ -45,6 +45,7 @@ platform_do_upgrade() {
cmcc,rax3000m-emmc|\
glinet,gl-mt2500|\
glinet,gl-mt6000|\
hf,m7986r1-emmc|\
jdcloud,re-cs-05)
CI_KERNPART="kernel"
CI_ROOTPART="rootfs"
@ -97,6 +98,7 @@ platform_copy_config() {
cmcc,rax3000m-emmc|\
glinet,gl-mt2500|\
glinet,gl-mt6000|\
hf,m7986r1-emmc|\
jdcloud,re-cs-05)
emmc_copy_config
;;

View File

@ -503,7 +503,7 @@ define Device/hf_m7986r1-nand
PAGESIZE := 2048
IMAGE_SIZE := 116736k
KERNEL_IN_UBI := 1
DEVICE_PACKAGES := kmod-usb3 kmod-mt7921e kmod-usb-serial-option kmod-usb-net-rndis
DEVICE_PACKAGES := kmod-usb3 kmod-mt7921e kmod-usb-serial-option kmod-usb-net-rndis mmc-utils
SUPPORTED_DEVICES += HF-M7986R1
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
endef