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

vf2-header rewrote #1

Closed
jonirrings opened this issue Mar 26, 2023 · 2 comments
Closed

vf2-header rewrote #1

jonirrings opened this issue Mar 26, 2023 · 2 comments

Comments

@jonirrings
Copy link

thanks for your great work: adapting oreboot for vf2.
I've done the easy part: spl_tool rewrote in Rust
https://github.com/jonirrings/vf2-header

can I transfer it to you, along with vf2-loader.

@orangecms
Copy link
Owner

Oh hi, I am so sorry, I hadn't noticed this issue... 😅

We have another implementation of writing that header within oreboot, though we couldn't figure out which CRC variant to use, so we have a full implementation. I'll adapt your findings, thanks you a lot!

And it happens that I spent the last days figuring out what else goes into the header for secure boot:
starfive-tech/Tools#8

That is now so much already, it makes sense to create a library crate. Would you like to help with that? :)

I have the structs etc here:
https://github.com/orangecms/oreboot/blob/vf2-xtask/xtask/src/starfive/visionfive2_hdr.rs

@jonirrings
Copy link
Author

nice work
I'll try

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

No branches or pull requests

2 participants