]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
doc: ext4fs: update documentation for Ext4 Write configuration
authorTony Dinh <mibodhi@gmail.com>
Wed, 10 Sep 2025 21:56:03 +0000 (14:56 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 27 Sep 2025 07:03:50 +0000 (09:03 +0200)
Update documentation for how to configure Ext4 Write when using large
partitions.

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
doc/README.ext4

index 8ecd21eee3bc951508bfbec35807592dc9796fe8..ca9f19953d215dfb35b822c123987606999e76b4 100644 (file)
@@ -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: