On 2016-08-23 07:31, Daniel Golle wrote:
even this do not currently work. there is no UBI support of any kind for
mt7621 and adding it was what I was asking about.
There are already devices using UBI on MT7621, just no method to flash
UBI using the 'factory'/stock method due to lacking UBI support in
the vendor-supplied U-Boot. UBI support is enabled on targets by
setting the 'nand' feature, see target/linux/ramips/mt7621/target.mk
You may also have a look at
So I did a fresh clone. configured for mt7621. added this patch to be
able to select ubi image generation.
diff --git a/target/linux/ramips/Makefile b/target/linux/ramips/Makefile
index b4ccaf6..a5e67b8 100644
--- a/target/linux/ramips/Makefile
+++ b/target/linux/ramips/Makefile
@@ -10,7 +10,7 @@ ARCH:=mipsel
BOARD:=ramips
BOARDNAME:=MediaTek Ralink MIPS
SUBTARGETS:=rt305x mt7620 mt7621 mt7628 mt7688 rt3883 rt288x
-FEATURES:=squashfs gpio mips16
+FEATURES:=squashfs gpio mips16 ubifs
MAINTAINER:=John Crispin <j...@phrozen.org>
KERNEL_PATCHVER:=4.4
then I build and I fail on this.
/home/kenjo/proj/inteno/lede/staging_dir/host/bin/mkfs.ubifs
--space-fixup --force-compr=zlib --squash-uids -o
/home/kenjo/proj/inteno/lede/build_dir/target-mipsel_1004kc_musl-1.1.15/linux-ramips_mt7621/root.ubifs
-d
/home/kenjo/proj/inteno/lede/build_dir/target-mipsel_1004kc_musl-1.1.15/root-ramips
Error: min. I/O unit was not specified (use -h for help)
/home/kenjo/proj/inteno/lede/include/image.mk:312: recipe for target
'/home/kenjo/proj/inteno/lede/build_dir/target-mipsel_1004kc_musl-1.1.15/linux-ramips_mt7621/root.ubifs'
failed
so its not building. there is no ubi option string anywhere in
target/linux/ramips/ so it looks like its some type of default setting.
_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev