Skip to contentSkip to conversation

doc: ext4fs: update documentation for Ext4 Write configuration

PATCH In review Tony Dinh 2 participants 2 messages Sep 10, 2025

lore
Share & tools
lore

Tony Dinh

author
#0 lore raw

PATCH 1/1 doc: ext4fs: update documentation for Ext4 Write configuration

Update documentation for how to configure Ext4 Write when using large partitions.

---

 doc/README.ext4 | 11 +++++++++++
 1 file changed, 11 insertions(+)
doc/README.ext4 +11 -0
index 8ecd21eee3b..ca9f19953d2 100644
@@ -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:
Signature · 4 lines
2.47.3

base-commit: 80fe882d6c51c785e9a899a64b612187ebbdc788
branch: master
#1 lore raw
Quoted 8 lines · Tony Dinh

Update documentation for how to configure Ext4 Write when using large partitions.

---

 doc/README.ext4 | 11 +++++++++++
 1 file changed, 11 insertions(+)

This really needs to be converted to rST first. Maybe doc/usage/filesystems/ and the associated index files? Thanks.

Signature · 1 line
Tom