From 4c284e76ad4f7e416645c49583787e885712641e Mon Sep 17 00:00:00 2001 From: Willem Garnier Date: Tue, 4 Aug 2026 19:14:48 +0200 Subject: [PATCH] config.txt: Update documented max ramdisk size The Raspberry Pi 4 firmware release notes state that this limit [was bumped to 128MB in 2022][1]: > Increase the max ramdisk size to 128MB Note that it might be more appropriate to remove this bulletpoint entirely, I couldn't find whether this limit actually applies to Raspberry Pi 5... but from testing I was able to boot a 160MB ramdisk file without issues: ``` 9.15 Loading boot.img ... 16.41 Read boot.img bytes 167772160 hnd 0x6070 16.75 MBR: 0x00000000, 328608 type: 0x0c 16.75 MBR: 0x00000000, 0 type: 0x00 16.76 MBR: 0x00000000, 0 type: 0x00 16.76 MBR: 0x00000000, 0 type: 0x00 16.69 Trying partition: 0 16.71 type: 32 lba: 0 'MTOO4049' ' bootfs ' clusters 81825 (4) 16.77 rsc 32 fat-sectors 638 root dir cluster 2 sectors 0 entries 0 ... ``` So it's possible this limit has been entirely removed? Would be nice to have this confirmed if so. But in the absence of official confirmation, documenting a 128MB limit seems more accurate either way. [1]: https://github.com/raspberrypi/rpi-eeprom/blob/master/firmware-2711/release-notes.md#2022-03-10---promote-the-2022-03-10-beta-release-to-lateststable --- documentation/asciidoc/computers/config_txt/boot.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/asciidoc/computers/config_txt/boot.adoc b/documentation/asciidoc/computers/config_txt/boot.adoc index 1c333342e..b2274022b 100644 --- a/documentation/asciidoc/computers/config_txt/boot.adoc +++ b/documentation/asciidoc/computers/config_txt/boot.adoc @@ -141,7 +141,7 @@ If this property is set to `1` then the bootloader will attempt load a ramdisk f The primary purpose of `boot_ramdisk` is to support `secure-boot`, however, unsigned `boot.img` files can also be useful to Network Boot or `RPIBOOT` configurations. -* The maximum size for a ramdisk file is 96 MB. +* The maximum size for a ramdisk file is 128 MB. * `boot.img` files are raw disk `.img` files. The recommended format is a plain FAT32 partition with no MBR. * The memory for the ramdisk filesystem is released before the operating system is started. * If xref:raspberry-pi.adoc#fail-safe-os-updates-tryboot[TRYBOOT] is selected then the bootloader will search for `tryboot.img` instead of `boot.img`.