[PATCH] doc: ext4fs: update documentation for Ext4 Write configuration

Tony Dinh mibodhi at gmail.com
Wed Sep 10 23:56:03 CEST 2025


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

Signed-off-by: Tony Dinh <mibodhi at gmail.com>
---

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

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:
-- 
2.47.3

base-commit: 80fe882d6c51c785e9a899a64b612187ebbdc788
branch: master


More information about the U-Boot mailing list