diff mbox series

[meta-ti,master/scarthgap,3/3] conf: machine: am62lxx-evm: Add logic to generate UBI filesystem images

Message ID 20250204134925.968150-4-c-shilwant@ti.com
State Rejected
Delegated to: Ryan Eatmon
Headers show
Series Add support for AM62L | expand

Commit Message

Chirag Shilwant Feb. 4, 2025, 1:49 p.m. UTC
Add logic to generate UBI filesystem images which can be used to directly
flash into the NAND’s file-system partition.

Signed-off-by: Chirag Shilwant <c-shilwant@ti.com>
---
 meta-ti-bsp/conf/machine/am62lxx-evm.conf | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/meta-ti-bsp/conf/machine/am62lxx-evm.conf b/meta-ti-bsp/conf/machine/am62lxx-evm.conf
index 93ad0089..d7ea059f 100644
--- a/meta-ti-bsp/conf/machine/am62lxx-evm.conf
+++ b/meta-ti-bsp/conf/machine/am62lxx-evm.conf
@@ -4,6 +4,12 @@ 
 
 require conf/machine/include/am62lxx.inc
 
+IMAGE_FSTYPES += "ubifs ubi"
+
+MKUBIFS_ARGS ?= "-F -m 4096 -e 258048 -c 8000"
+
+UBINIZE_ARGS ?= "-m 4096 -p 256KiB -s 1024 -O 1024"
+
 KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-am62l \
 "