wlan-ap-Telecominfraproject/patches/0036-ipq40xx-add-ec420-ubi-images.patch
John Crispin 6ae6a1ac3e ipq40xx: add ec420 ubi images
Add code to generate ubi images for tplink ec420

Signed-off-by: John Crispin <john@phrozen.org>
2020-10-22 10:16:56 +02:00

38 lines
1.2 KiB
Diff

From 5ad54edddba89594274cbe8e397b8726c435dee1 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Thu, 22 Oct 2020 10:09:47 +0200
Subject: [PATCH] ipq40xx: add ec420 ubi images
Add code to generate ubi images for tplink ec420
Signed-off-by: John Crispin <john@phrozen.org>
---
target/linux/ipq40xx/image/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/target/linux/ipq40xx/image/Makefile b/target/linux/ipq40xx/image/Makefile
index 765222c974..70f4876e6c 100644
--- a/target/linux/ipq40xx/image/Makefile
+++ b/target/linux/ipq40xx/image/Makefile
@@ -427,14 +427,15 @@ TARGET_DEVICES += tp-link_ap2220
define Device/tp-link_ec420_g1
$(call Device/FitImage)
+ $(call Device/UbiFit)
DEVICE_TITLE := tp-link EC420 G1
BOARD_NAME := ec420_g1
DEVICE_DTS := qcom-ipq4019-tp-link-ec420-g1
KERNEL_SIZE := 4096k
IMAGE_SIZE := 26624k
- IMAGES := sysupgrade.bin
+ BLOCKSIZE := 128k
+ PAGESIZE := 2048
SUPPORTED_DEVICES := tp-link,ec420-g1
- IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
DEVICE_PACKAGES := ath10k-firmware-qca9984-ct ipq-wifi-tp-link_ec420-g1
endef
TARGET_DEVICES += tp-link_ec420_g1
--
2.25.1