[OpenWrt-Devel] [PATCH RFC 10/10] ipq806x: wrap ubi in itb

Jonas Gorski jogo at openwrt.org
Fri Aug 21 07:17:39 EDT 2015


The stock QSDK expects the ubi to be wrapped in an itb image, so
provide one for easy sysupgrade from QSDK.

FIXME: currently does not work? Seems to flash fine, but ubi cannot
be mounted by OpenWrt and needs to be flashed a second time.

Signed-off-by: Jonas Gorski <jogo at openwrt.org>
---
 target/linux/ipq806x/image/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ipq806x/image/Makefile b/target/linux/ipq806x/image/Makefile
index ac0fc84..2fdaab5 100644
--- a/target/linux/ipq806x/image/Makefile
+++ b/target/linux/ipq806x/image/Makefile
@@ -53,8 +53,8 @@ endef
 
 define Device/UbiFit
 	KERNEL_IN_UBI := 1
-	IMAGES := nand-factory.ubi nand-sysupgrade.tar
-	IMAGE/nand-factory.ubi := append-ubi
+	IMAGES := nand-factory.itb nand-sysupgrade.tar
+	IMAGE/nand-factory.itb := append-ubi | ubi-fit
 	IMAGE/nand-sysupgrade.tar := sysupgrade-nand
 endef
 
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list