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

John Crispin blogic at openwrt.org
Fri Aug 21 07:24:55 EDT 2015



On 21/08/2015 13:17, Jonas Gorski wrote:
> 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.

how do you flash it the second time ? using the same process ?

> 
> 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
>  
> 
_______________________________________________
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