-
Notifications
You must be signed in to change notification settings - Fork 1
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
Talos 2 Heads fixes #79
Talos 2 Heads fixes #79
Conversation
@krystian-hebel @IgorBagnucki Please review |
Dropped ppc64le commit as unnecessary and merged two commits related to |
@krystian-hebel Any more comments? If no, I would merge that. |
Does it even work without manually putting keys in /tmp/keys? |
@krystian-hebel I didn't do anything special like this and coreboot with these patches built and ran fine (loaded skiboot which then hanged on CPU initialization). I think this copies the keys. |
@krystian-hebel Any more comments here? @SergiiDmytruk We could use a rebase. Now once we got coreboot boot into Linux, we should be able to push more for merging the heads changes upstream. |
@macpijan what unblocked petitboot payload boot achievement and what are the actual blockers? |
There were many fixes required, mostly around PCIe and RNG initialization, but the final issue was different implementation of "memory" nodes in Device Tree. Specification actually gives two valid options to do this, but Skiboot expects one while coreboot provided the other:
https://github.com/devicetree-org/devicetree-specification/releases/tag/v0.3, section 3.4 Multiple memory nodes give the ability to specify associativity for NUMA systems which is likely the reason why Skiboot requires this format. Right now kexec syscall from petitboot fails with "function not implemented". We haven't got to debugging it yet, first we want to un-hardcode DT so it can actually be used by people with different configuration than ours. |
@krystian-hebel Any more comments here? It would be nice if we could pick that into Dasharo. We could get rid of this patch in heads then: https://github.com/osresearch/heads/pull/1002/files?authenticity_token=1L0sPgTDozsvXSxy1qkX5YfgGWhYRToowOL1pDpv3mDCfFDqfc9kPj5GFfJWCZU5x%2Br3UD%2FJZImDZMOe%2Brzerw%3D%3D&file-filters%5B%5D=.config&file-filters%5B%5D=.patch&file-filters%5B%5D=No+extension#diff-42854acc0ba21acf791d948fc74be685766bbb2df43923daa5e8f4aa09507e1aR1 |
Indeed it does. I would rather change that line to |
The variable pointed to a directory, which might have its timestamp newer for reasons unrelated to the build. This led to signing failure due to the tools not being built. Depend on a particular build artifact instead to fix the issue. Change-Id: Ic0d47709eb447fd8d29cb41242280e336740ea52 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Currently building with `powerpc64-linux-musl-` fails because of this. Change-Id: Idb64a34c83c5f9dc9bc1d7143997b16decabc219 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Absence of output makes it hard to understand errors. Change-Id: Ic72e78d79aa8fda26ec7250b675421ff6583cba1 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
@macpijan Should I send an equivalent PR to dasharo/coreboot for merging now that it's approved? |
@SergiiDmytruk Yes you can. We shall use dasharo repo only from now on. |
Not sure if this is the right branch to send this, but it's the one used to build Heads.
The
Makefile.inc
change seems uncontroversial (might want a separate variable to reduce duplication, but not sure how to call it).skiboot
change might need adjustments if there were reasons for hard-coding the value.