wlan-ap-Telecominfraproject/patches/0035-ipq40xx-add-ec420-ubi-images.patch
John Crispin 7ae17f821b ipq807x: update kernel patches and add new boards
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 08:03:29 +01:00

38 lines
1.2 KiB
Diff

From b6474f7c2813a821cac9a7ffd0f9ce6bac007846 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Thu, 22 Oct 2020 10:09:47 +0200
Subject: [PATCH 35/40] 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