Provide the data that the UBI tools need to create filesystems for
the zcu102 board.

(Note that the QSPI drivers for the Zynq and the ZynqMP do not work
properly when in parallel mode, so the resulting filesystem cannot
actually be mounted yet.)

Signed-off-by: Mike Looijmans <[email protected]>
---
 conf/machine/zcu102-zynqmp.conf | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/conf/machine/zcu102-zynqmp.conf b/conf/machine/zcu102-zynqmp.conf
index b2bb9dc..c0f8196 100644
--- a/conf/machine/zcu102-zynqmp.conf
+++ b/conf/machine/zcu102-zynqmp.conf
@@ -24,3 +24,9 @@ EXTRA_IMAGEDEPENDS += "\
 
 # The xczu9eg has a MALI GPU
 MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-module-mali"
+
+# Use QSPI flash with 128k sector size
+MKUBIFS_ARGS = "-m 1 -e 131200 -c 952"
+UBINIZE_ARGS = "-m 1 -p 128KiB"
+UBI_VOLNAME = "qspi-rootfs"
+
-- 
1.9.1

-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to