mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-05-31 10:08:34 +08:00
mediatek: add 256MB u-boot mod version for Cudy TR3000 v2 support
This commit is contained in:
parent
e2600d9329
commit
89bb622a44
20
target/linux/mediatek/dts/mt7981b-cudy-tr3000-v2-mod.dts
Normal file
20
target/linux/mediatek/dts/mt7981b-cudy-tr3000-v2-mod.dts
Normal file
@ -0,0 +1,20 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
|
||||
/dts-v1/;
|
||||
#include "mt7981b-cudy-tr3000-v1.dts"
|
||||
|
||||
/ {
|
||||
model = "Cudy TR3000 v2 (U-Boot mod)";
|
||||
compatible = "cudy,tr3000-v2-mod", "mediatek,mt7981";
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
flash@0 {
|
||||
partitions {
|
||||
partition@5c0000 {
|
||||
label = "ubi";
|
||||
reg = <0x5c0000 0xe280000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
@ -363,21 +363,6 @@ define Device/cmcc_xr30-nand
|
||||
endef
|
||||
TARGET_DEVICES += cmcc_xr30-nand
|
||||
|
||||
define Device/cudy_tr3000-mod
|
||||
DEVICE_VENDOR := Cudy
|
||||
DEVICE_MODEL := TR3000
|
||||
DEVICE_VARIANT := (U-Boot mod)
|
||||
DEVICE_DTS := mt7981b-cudy-tr3000-mod
|
||||
DEVICE_DTS_DIR := ../dts
|
||||
UBINIZE_OPTS := -E 5
|
||||
BLOCKSIZE := 128k
|
||||
PAGESIZE := 2048
|
||||
KERNEL_IN_UBI := 1
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7981-firmware mt7981-wo-firmware
|
||||
endef
|
||||
TARGET_DEVICES += cudy_tr3000-mod
|
||||
|
||||
define Device/cudy_tr3000-v1
|
||||
DEVICE_VENDOR := Cudy
|
||||
DEVICE_MODEL := TR3000
|
||||
@ -395,6 +380,36 @@ define Device/cudy_tr3000-v1
|
||||
endef
|
||||
TARGET_DEVICES += cudy_tr3000-v1
|
||||
|
||||
define Device/cudy_tr3000-mod
|
||||
DEVICE_VENDOR := Cudy
|
||||
DEVICE_MODEL := TR3000
|
||||
DEVICE_VARIANT := v1 (U-Boot mod)
|
||||
DEVICE_DTS := mt7981b-cudy-tr3000-mod
|
||||
DEVICE_DTS_DIR := ../dts
|
||||
UBINIZE_OPTS := -E 5
|
||||
BLOCKSIZE := 128k
|
||||
PAGESIZE := 2048
|
||||
KERNEL_IN_UBI := 1
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7981-firmware mt7981-wo-firmware
|
||||
endef
|
||||
TARGET_DEVICES += cudy_tr3000-mod
|
||||
|
||||
define Device/cudy_tr3000-v2-mod
|
||||
DEVICE_VENDOR := Cudy
|
||||
DEVICE_MODEL := TR3000
|
||||
DEVICE_VARIANT := v2 256MB (U-Boot mod)
|
||||
DEVICE_DTS := mt7981b-cudy-tr3000-v2-mod
|
||||
DEVICE_DTS_DIR := ../dts
|
||||
UBINIZE_OPTS := -E 5
|
||||
BLOCKSIZE := 128k
|
||||
PAGESIZE := 2048
|
||||
KERNEL_IN_UBI := 1
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7981-firmware mt7981-wo-firmware
|
||||
endef
|
||||
TARGET_DEVICES += cudy_tr3000-v2-mod
|
||||
|
||||
define Device/fzs_5gcpe-p3
|
||||
DEVICE_VENDOR := FZS
|
||||
DEVICE_MODEL := 5GCPE P3
|
||||
|
Loading…
x
Reference in New Issue
Block a user