Skip to content
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

Fix memory size detection for 1.5GB Orange Pi Zero 3 board on v2024.01 u-boot release #6556

Merged

Conversation

voapilro
Copy link
Contributor

@voapilro voapilro commented May 7, 2024

Description

This is to fix wrong DRAM size detection in Orange Pi Zero 3 board with 1.5GB DRAM. Currently they are not able to boot as they detect 2GB DRAM, so after applying this patch they will boot normally. Other boards with 1GB/2GB/4GB DRAM will continue working the same way with this patch.

This patch would only be applied to u-boot v2024.01 release. I will provide other patch for u-boot v2024.04 and newer. Well, we are not in rush, as I could see in configuracion files involved, config/sources/families/include/sunxi*_common.inc and config/sources/families/sun*.conf, no board is using an u-boot release newer than v2024.01.

How Has This Been Tested?

  • Build image for Orange Pi Zero 3 board, flash device with 1.5GB DRAM and power on with serial cable: logs will show the right memory size
  • Build image for Orange Pi Zero 3 board, flash device with 1.5GB DRAM and power on: board will boot normally

Well, it should be tested in all memory options (1GB/1.5GB/2GB/4GB), but I only have a spare 1.5GB one.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings

@github-actions github-actions bot added size/medium PR with more then 50 and less then 250 lines Hardware Hardware related - kernel, u-boot, patches labels May 7, 2024
@igorpecovnik igorpecovnik added Ready to merge Reviewed, tested and ready for merge 05 Milestone: Second quarter release labels May 8, 2024
@igorpecovnik igorpecovnik merged commit 3bb74af into armbian:main May 8, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
05 Milestone: Second quarter release Hardware Hardware related - kernel, u-boot, patches Ready to merge Reviewed, tested and ready for merge size/medium PR with more then 50 and less then 250 lines
Development

Successfully merging this pull request may close these issues.

None yet

2 participants