12345678910111213141516171819202122232425262728293031323334353637383940 |
- --- a/target/linux/mediatek/image/filogic.mk
- +++ b/target/linux/mediatek/image/filogic.mk
- @@ -381,19 +381,12 @@ define Device/jcg_q30-pro
- UBINIZE_OPTS := -E 5
- BLOCKSIZE := 128k
- PAGESIZE := 2048
- + IMAGE_SIZE := 114816k
- KERNEL_IN_UBI := 1
- - UBOOTENV_IN_UBI := 1
- - 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
- 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 jcg_q30-pro
- + IMAGES += factory.bin
- + IMAGE/factory.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
- + IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
- endef
- TARGET_DEVICES += jcg_q30-pro
-
- --- a/target/linux/mediatek/dts/mt7981b-jcg-q30-pro.dts
- +++ b/target/linux/mediatek/dts/mt7981b-jcg-q30-pro.dts
- @@ -98,6 +98,10 @@
- spi-tx-bus-width = <4>;
- spi-rx-bus-width = <4>;
-
- + mediatek,nmbm;
- + mediatek,bmt-max-ratio = <1>;
- + mediatek,bmt-max-reserved-blocks = <64>;
- +
- partitions {
- compatible = "fixed-partitions";
- #address-cells = <1>;
|