Skip to content

pieeprom-2026-04-14: 2712: Update recovery.bin to support more SDRAM variants (latest)#821

Merged
timg236 merged 1 commit intoraspberrypi:masterfrom
timg236:pieeprom-2026-04-14-2712
Apr 14, 2026
Merged

pieeprom-2026-04-14: 2712: Update recovery.bin to support more SDRAM variants (latest)#821
timg236 merged 1 commit intoraspberrypi:masterfrom
timg236:pieeprom-2026-04-14-2712

Conversation

@timg236
Copy link
Copy Markdown
Collaborator

@timg236 timg236 commented Apr 14, 2026

  • Update the slow (non tuned) DDR init used by recovery.bin to support more SDRAM variants.
  • Add an error code for the bootloader memory test.
    The bootloader contains a simple memory test to validate that the DDR init firmware has completed successfully. If the DDR init firmware reports an error code then continue to display 8 short flashes. However, if the DDR init firmware is successful but the memory test fails then display 5 short flashes. This is very unlikely to fail in practise but is useful debug mechanism when stress testing boards e.g. different temperatures.
  • Automatically reboot after displaying a fatal error
    Change the fatal error handler to perform a hard reset after displaying the fatal error three times in a row instead of waiting forever. This change can mitigate intermittent hardware issues due e.g. power supplies, HATs or board temperature. Displaying the error pattern three times first rate limits reboots. If a faster reboot is required, then the BOOT_WATCHDOG setting should be used instead. To disable this feature, set REBOOT_ON_FATAL_ERROR=0 in the bootloader config.

…variants (latest)

* Update the slow (non tuned) DDR init used by recovery.bin to support
  more SDRAM variants.
* Add an error code for the bootloader memory test.
  The bootloader contains simple memory test to validate
  that the DDR init firmware has completed successfully.
  If the DDR init firmware reports an error code then continue to
  display 8 short flashes. However, if the DDR init firmware is
  successful but the memory test fails then display 5 short flashes.
  This is very unlikely to fail in practise but is useful debug
  mechanism when stress testing boards e.g. different temperatures.
* Automatically reboot after a displaying a fatal error
  Change the fatal error handler to perform a hard reset after
  displaying the fatal error three times in a row instead of waiting
  forever. This change can mitigate intermittent hardware issues due
  e.g. power supplies, HATs or board temperature.
  Displaying the error pattern three times first rate
  limits reboots. If a faster reboot is required then the
  BOOT_WATCHDOG setting should be used instead.
  To disable this feature set REBOOT_ON_FATAL_ERROR=0 in
  the bootloader config.
@timg236 timg236 merged commit 85c8346 into raspberrypi:master Apr 14, 2026
1 check passed
@timg236 timg236 deleted the pieeprom-2026-04-14-2712 branch April 14, 2026 21:27
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