config.txt: Update documented max ramdisk size - #4321
Open
brooswajne wants to merge 1 commit into
Open
Conversation
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
Contributor
|
@brooswajne Thank you for your contribution. We'll work on getting this change published if appropriate. @timg236 Can you advise on this one? Cheers! |
Contributor
|
I think the limit on Pi5 is 180MB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Raspberry Pi 4 firmware release notes state that this limit was bumped to 128MB in 2022:
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:
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.