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

R.Pi firmware BOOT_ORDER should be set to value that makes sense in our current environment. #761

Open
sarcasticadmin opened this issue Sep 3, 2024 · 4 comments
Labels

Comments

@sarcasticadmin
Copy link
Member

Description

Relates to: raspberrypi/firmware#1808

The rpi4 firmware should be set to boot from flash.

Currently, its set to boot from dhcpv6 and then after timeout it will boot

This should be done via the firmware setting the appropriate options

Acceptance Criteria

  • rpi4 boot ignores dhcpv6 until upstream rpi4 fix
@davidelang
Copy link
Collaborator

davidelang commented Sep 3, 2024 via email

@sarcasticadmin
Copy link
Member Author

no but its currently a firmware limitation with the pi

@davidelang
Copy link
Collaborator

davidelang commented Sep 3, 2024 via email

@owendelong
Copy link
Collaborator

The status as of last year was mostly confusion.

The status as of now is that if the tftp and DHCP servers are one and the same machine and both are on-link with the pi, it might be possible (further testing is needed).

But the PIs should NEVER (IMHO) be set to boot from USB. They should only be set to boot from SD card and NETBOOt. IMHO, we should swap the order to prefer SD and then IPv6 so that if there's an SD card present, it will boot from that and if not it will try IPv6. We should prefix the boot order variable with 0xf so that it will retry the entire list if the left most choice fails (the list is parsed right to left).

https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#BOOT_ORDER has a list of possible values.

Based on this list, my current recommendation would be 0xf21 as the SD card will fail very rapidly if not present, so the trivial wait for netboot won't matter, but the extensive wait for netboot won't pre-empt SD booting.

@owendelong owendelong changed the title rpi4 firmware should be set to boot via USB R.Pi firmware BOOT_ORDER should be set to value that makes sense in our current environment. Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants