-
Notifications
You must be signed in to change notification settings - Fork 1.7k
config.txt: „total_mem“ in [piX] should not affect non-piX devices #716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
config.txt is actually parsed by both bootcode.bin and start.elf. Most config.txt options are start.elf options. Let me look into parsing the processor type. If it can be done in a small amount of code, I'll add it. (pi1 is easy to identify, but Pi2/Pi3 distinction involves parsing the revision field from otp, so is a little more involved). Note: some filters, like EDID based sections will be impossible from bootcode.bin (but fortunately you are unlikely to want to change the memory size based on monitor attached). |
Could you test https://drive.google.com/uc?id=0B-6zmEDJwxZEVGtIVHg0dmotZ2s&export=download |
kernel: BCM270X_DT: Add pi3-disable-wifi overlay kernel: Add driver_name properties to JustBoom drivers See: raspberrypi/linux#1787 kernel: bcm2835-i2s: Changes for allowing asymmetric sample formats See: raspberrypi/linux#1783 firmware: bootcode: Don't let total_mem exceed sdram size See: #717 firmware: bootcode: Enhance parsing to handle processor sections See: #716
kernel: BCM270X_DT: Add pi3-disable-wifi overlay kernel: Add driver_name properties to JustBoom drivers See: raspberrypi/linux#1787 kernel: bcm2835-i2s: Changes for allowing asymmetric sample formats See: raspberrypi/linux#1783 firmware: bootcode: Don't let total_mem exceed sdram size See: raspberrypi/firmware#717 firmware: bootcode: Enhance parsing to handle processor sections See: raspberrypi/firmware#716
Great job! Both issues are fixed (Pi1 256M and Pi1 512M) and "total_mem" works fine now Thanks a lot |
bootloader configuration config.txt
[pi1]
total_mem=512
This option should only affect Pi1 board but not Pi2 and Pi3 board.
But it will force the Pi2 and Pi3 to use 512MB.
The text was updated successfully, but these errors were encountered: