From dd25de37306accf1c3af5877657f46df0cb51ad9 Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Tue, 26 May 2020 15:17:00 +0800 Subject: [PATCH] ramips: add redmi ac2100 pb-boot factory ubi format support --- target/linux/ramips/image/mt7621.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index 13acc9e03..f40438911 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -915,10 +915,11 @@ define Device/xiaomi_redmi-router-ac2100 KERNEL_SIZE := 4096k IMAGE_SIZE := 124416k UBINIZE_OPTS := -E 5 - IMAGES += kernel1.bin rootfs0.bin + IMAGES += kernel1.bin rootfs0.bin factory.bin IMAGE/kernel1.bin := append-kernel IMAGE/rootfs0.bin := append-ubi | check-size $$$$(IMAGE_SIZE) IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata + IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | check-size $$$$(IMAGE_SIZE) DEVICE_VENDOR := Xiaomi DEVICE_MODEL := Redmi Router AC2100 DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e wpad-openssl uboot-envtools