Skip to content

Fix u-boot to support NVMe devices on Raspberry Pi 5 - #6118

Merged
rene merged 2 commits into
lf-edge:masterfrom
rene:fix-nvme-rpi5
Jul 9, 2026
Merged

Fix u-boot to support NVMe devices on Raspberry Pi 5#6118
rene merged 2 commits into
lf-edge:masterfrom
rene:fix-nvme-rpi5

Conversation

@rene

@rene rene commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Description

This PR provides the fixes for u-boot to support install + boot EVE-OS on/from NVMe device on Raspberry Pi 5.

PR dependencies

How to test and validate this PR

Since USB is not supported on u-boot for Raspberry Pi 5, the installation should be performed from an SD Card:

Note

A Raspberry Pi with NVMe HAT (and an NVMe installed) is required.

  1. Make sure to enable dtparam=pciex1 in your config.txt
  2. Flash the EVE installer RAW image to an SD Card
  3. Boot from the SD Card and let the installation process finish
  4. Remove the SD Card

EVE should boot from the NVMe device.

Changelog notes

Support NVMe on u-boot on Raspberry Pi 5 devices.

PR Backports

  • 17.0 (Include in 17.0 branch)

Checklist

  • I've provided a proper description
  • I've added the proper documentation
  • I've tested my PR on amd64 device
  • I've tested my PR on arm64 device
  • I've written the test verification instructions
  • I've set the proper labels to this PR
  • I've checked the boxes above, or I've provided a good reason why I didn't
    check them.

@rene
rene requested a review from rucoder July 2, 2026 17:20
@rene
rene requested a review from eriknordmark as a code owner July 2, 2026 17:20
rene added 2 commits July 2, 2026 19:23
This commit adds two patches required to fully enable the PCIe controller
on Raspberry Pi 5 for u-boot, allowing to boot EVE from NVMe devices.

Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
Add instructions on how to install EVE-OS on an NVMe on Raspberry Pi 5
devices.

Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
@rene
rene force-pushed the fix-nvme-rpi5 branch from 0c49c08 to 595c0d6 Compare July 2, 2026 17:23
@codecov

codecov Bot commented Jul 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 22.72%. Comparing base (b072d37) to head (595c0d6).
⚠️ Report is 42 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6118      +/-   ##
==========================================
+ Coverage   22.34%   22.72%   +0.38%     
==========================================
  Files         491      501      +10     
  Lines       91853    93551    +1698     
==========================================
+ Hits        20523    21261     +738     
- Misses      69657    70437     +780     
- Partials     1673     1853     +180     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread README.md

@eriknordmark eriknordmark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rene
rene merged commit 1e8863d into lf-edge:master Jul 9, 2026
57 checks passed
@rene rene mentioned this pull request Jul 10, 2026
7 tasks
@rene
rene deleted the fix-nvme-rpi5 branch July 24, 2026 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants