Skip to content

Conversation

@starnight
Copy link
Contributor

Make EOS boots from u-boot's bootefi to support EFI variable filesystem for PAYG. Although, current EOS builds u-boot with the config option EFI_VARIABLE_FILE_STORE for RPi and the EFI variables are only readable, that is the least requirement of EOS PAYG provisioning tool 1 now.

https://app.asana.com/1/1203676861188277/project/1211949321657103/task/1212154493079356 https://app.asana.com/1/1203676861188277/project/1211949321657103/task/1212154493079355

Make EOS boots from u-boot's bootefi to support EFI variable filesystem
for PAYG. Although, current EOS builds u-boot with the config option
EFI_VARIABLE_FILE_STORE for RPi and the EFI variables are only readable,
that is the least requirement of EOS PAYG provisioning tool [1] now.

[1]: https://github.com/endlessm/eos-payg-nonfree/blob/Release_6.0.8/eos-payg-angaza-provision/provision.c#L1026

https://app.asana.com/1/1203676861188277/project/1211949321657103/task/1212154493079356
https://app.asana.com/1/1203676861188277/project/1211949321657103/task/1212154493079355
@starnight starnight marked this pull request as draft December 2, 2025 04:26
@starnight starnight marked this pull request as ready for review December 2, 2025 04:36
@starnight starnight requested a review from dsd December 2, 2025 04:36
@starnight starnight marked this pull request as draft December 2, 2025 06:24
@starnight starnight marked this pull request as ready for review December 2, 2025 07:03
@dsd
Copy link
Member

dsd commented Dec 2, 2025

This doesn't make total sense to me because we are going to have to force the payg/provisioning setup to not do anything with EFI (because u-boot doesn't support runtime writable variables).

However I think this increases consistency with the way that other RPi OSes boot, so let's do it anyway...

@dsd dsd merged commit c6abe9f into master Dec 2, 2025
2 checks passed
@dsd dsd deleted the bootefi-rpi branch December 2, 2025 07:40
@starnight
Copy link
Contributor Author

Thanks! And, cherry picked these 2 commits to eos6.0 branch, too.

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.

3 participants