diff mbox series

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

Message ID 20250205111211.1847450-6-c-shilwant@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series Upgrade TFA, OPTEE-OS & enable AM62L support | expand

Commit Message

Chirag Shilwant Feb. 5, 2025, 11:12 a.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 ff373238..fc348c9b 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 \
 "