summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Dinh <[email protected]>2025-09-10 14:56:03 -0700
committerHeinrich Schuchardt <[email protected]>2025-09-27 09:03:50 +0200
commit6578475a9669ea74b9e9e3df2b275309862cb27f (patch)
treed64d793085fc8046a29959b60ddacd80aeaff912
parent14b784aaf2a96b0f597b4fc3c5a3b4cb70f18182 (diff)
doc: ext4fs: update documentation for Ext4 Write configuration
Update documentation for how to configure Ext4 Write when using large partitions. Signed-off-by: Tony Dinh <[email protected]>
-rw-r--r--doc/README.ext411
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/README.ext4 b/doc/README.ext4
index 8ecd21eee3b..ca9f19953d2 100644
--- a/doc/README.ext4
+++ b/doc/README.ext4
@@ -40,6 +40,17 @@ Also relevant are the generic filesystem commands, selected by:
This does not automatically enable EXT4 support for you, you still need
to do that yourself.
+Lastly, the current u-boot implementation for Ext4 write requires a lot
+of memory to run successfully. The following enable support for
+large Ext4 partitions:
+
+ CONFIG_EXT4_MAX_JOURNAL_ENTRIES
+ CONFIG_SYS_MALLOC_LEN
+
+The number of journal entries and dynamic memory allocation are proportional
+to the partition capacity. For example, an ext4 4TB HDD partition could
+require approximately 500 entries and more than 128 MB heap space.
+
Some sample commands to test ext4 support:
1. Check that the commands can be seen in the output of U-Boot help: