Skip to content

pieeprom-2026-01-16: 2712: Assume eMMC for CM4/CM5 (latest)#795

Merged
timg236 merged 1 commit intoraspberrypi:masterfrom
timg236:pieeprom-2026-01-16-2712
Jan 16, 2026
Merged

pieeprom-2026-01-16: 2712: Assume eMMC for CM4/CM5 (latest)#795
timg236 merged 1 commit intoraspberrypi:masterfrom
timg236:pieeprom-2026-01-16-2712

Conversation

@timg236
Copy link
Copy Markdown
Collaborator

@timg236 timg236 commented Jan 16, 2026

  • Assume eMMC for CM4/CM5 non-lite
    Attempt the fast path by skipping the SD interface condition command timeout on CM4/CM5 (non-lite) modules and enable eMMC mode directly. This saves ~250ms of the boot time.
  • Don't stomp on RTC alarm state
    Preserve the RTC's alarm state so that it can be queried by the rpi-rtc driver. See: Raspberry Pi 5: RTC wakealarm works fine but /proc/driver/rtc shows alrm_pending: no firmware#2011
  • arm_loader: Apply rpifwcrypto lock permissions GET/SET USER OTP
    Previously, the GET/SET user OTP mailboxes would provide access to the device unique private key. Update the mailbox API to fail if the key has been locked via lock_device_private_key=1 in config.txt or the associated mailbox call. GET/SET user OTP fails by setting the result tag to the standard error code (0x80000000). The dedicate GET/SET private key continue to fail the entire mailbox operation to force vcmailbox to exit with a non-zero error code.
  • cm5: Add support for 8-bit bus width eMMC

* Assume eMMC for CM4/CM5 non-lite
  Attempt the fast path by skipping the SD interface condition command timeout on CM4/CM5 (non-lite) modules and enable eMMC mode directly. This saves ~250ms of the boot time.
* Don't stomp on RTC alarm state
  Preserve the RTC's alarm state so that it can be queried by the rpi-rtc
  driver.
  See: raspberrypi/firmware#2011
* arm_loader: Apply rpifwcrypto lock permissions GET/SET USER OTP
  Previously, the GET/SET user OTP mailboxes would provide access to the
  device unique private key. Update the mailbox API to fail if the
  key has been locked via lock_device_private_key=1 in config.txt or
  the associated mailbox call.
  GET/SET user OTP fails by setting the result tag to the standard
  error code (0x80000000). The dedicate GET/SET private key continue
  to fail the entire mailbox operation to force vcmailbox to exit
  with a non-zero error code.
* cm5: Add support for 8-bit bus width eMMC
@timg236 timg236 merged commit da9d8c3 into raspberrypi:master Jan 16, 2026
1 check passed
@timg236 timg236 deleted the pieeprom-2026-01-16-2712 branch January 16, 2026 18:06
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.

1 participant