summaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/image/mt7622.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-01-10 12:35:08 +0100
committerFelix Fietkau <nbd@nbd.name>2022-01-13 18:33:06 +0100
commit76b27f6bb92eec4a25001da8d8188d30440eafd9 (patch)
treefb58ac17728deb0a740633efa52d0c9b2fc12193 /target/linux/mediatek/image/mt7622.mk
parent7235c8d00ccf2d6d1bde3a2bec476d45d8c7c2ab (diff)
downloadopenwrt-76b27f6bb92eec4a25001da8d8188d30440eafd9.tar.gz
openwrt-76b27f6bb92eec4a25001da8d8188d30440eafd9.tar.bz2
openwrt-76b27f6bb92eec4a25001da8d8188d30440eafd9.zip
mediatek: rework and fix mt7622-rfb1-ubi support
Limit bmt remapping range to cover everything up to and including the kernel image, use the rest of the flash area for ubi. Fix partition table and sysupgrade support Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/mediatek/image/mt7622.mk')
-rw-r--r--target/linux/mediatek/image/mt7622.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/mediatek/image/mt7622.mk b/target/linux/mediatek/image/mt7622.mk
index 795bb3fc76..3b0afa98df 100644
--- a/target/linux/mediatek/image/mt7622.mk
+++ b/target/linux/mediatek/image/mt7622.mk
@@ -190,6 +190,7 @@ define Device/mediatek_mt7622-rfb1-ubi
DEVICE_DTS := mt7622-rfb1-ubi
DEVICE_DTS_DIR := ../dts
DEVICE_PACKAGES := kmod-ata-ahci-mtk kmod-btmtkuart kmod-usb3
+ BOARD_NAME := mediatek,mt7622-rfb1-ubi
UBINIZE_OPTS := -E 5
BLOCKSIZE := 128k
PAGESIZE := 2048