123456789101112131415161718192021222324252627282930313233343536 |
- --- a/target/linux/mediatek/dts/mt7981b-h3c-magic-nx30-pro.dts
- +++ b/target/linux/mediatek/dts/mt7981b-h3c-magic-nx30-pro.dts
- @@ -107,6 +107,10 @@
- spi-tx-buswidth = <4>;
- spi-rx-buswidth = <4>;
-
- + mediatek,nmbm;
- + mediatek,bmt-max-ratio = <1>;
- + mediatek,bmt-max-reserved-blocks = <64>;
- +
- partitions {
- compatible = "fixed-partitions";
- #address-cells = <1>;
- --- a/target/linux/mediatek/image/filogic.mk
- +++ b/target/linux/mediatek/image/filogic.mk
- @@ -208,19 +208,9 @@ define Device/h3c_magic-nx30-pro
- BLOCKSIZE := 128k
- PAGESIZE := 2048
- KERNEL_IN_UBI := 1
- - UBOOTENV_IN_UBI := 1
- IMAGE_SIZE := 65536k
- - IMAGES := sysupgrade.itb
- - KERNEL_INITRAMFS_SUFFIX := -recovery.itb
- - KERNEL := kernel-bin | gzip
- - KERNEL_INITRAMFS := kernel-bin | lzma | \
- - fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb with-initrd | pad-to 64k
- - IMAGE/sysupgrade.itb := append-kernel | \
- - fit gzip $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb external-static-with-rootfs | append-metadata
- + IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
- DEVICE_PACKAGES := kmod-mt7981-firmware mt7981-wo-firmware
- - ARTIFACTS := preloader.bin bl31-uboot.fip
- - ARTIFACT/preloader.bin := mt7981-bl2 spim-nand-ddr3
- - ARTIFACT/bl31-uboot.fip := mt7981-bl31-uboot h3c_magic-nx30-pro
- endef
- TARGET_DEVICES += h3c_magic-nx30-pro
|