Skip to content

Select U-Boot proper boot peripheral based on boot mode#16

Draft
pamolloy wants to merge 1 commit intoadi-u-boot-2025.07.yfrom
staging/philip/boot-mode-select-boot-peripheral
Draft

Select U-Boot proper boot peripheral based on boot mode#16
pamolloy wants to merge 1 commit intoadi-u-boot-2025.07.yfrom
staging/philip/boot-mode-select-boot-peripheral

Conversation

@pamolloy
Copy link
Copy Markdown
Collaborator

@pamolloy pamolloy commented Sep 2, 2025

A silicon issue means that booting from eMMC requires programming the OTP. Additionally booting from SPI flash is much faster than eMMC. However future DSP processors will fix these issues so we should be able to support both without requiring to reconfigure and rebuild U-Boot for each case.

Note this does not handle the case where the boot loaders are loaded from SPI flash and then the runtime OS is loaded from the SD card. This is done because the boot ROM can not load the first stage boot loader from a SD card.

Signed-off-by: Philip Molloy <philip.molloy@analog.com>
@pamolloy pamolloy added this to ADSP Sep 2, 2025
Comment thread board/adi/common-sc598-som/sc598-som.c
@pamolloy pamolloy self-assigned this Sep 4, 2025

sc5xx_enable_rgmii();

if (bmode == 2) {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
if (bmode == 2) {
if (bmode == 1) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants