-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
WiP (NOT FUNCTIONAL): xx20 blobs extraction scripts fixes #877
Conversation
… output reduced ME under blob dir and modify both ME and BIOS regions accordingly to be able to accept CONFIG_CBFS_SIZE=0x750000 defined under coreboot configs (attempt to fix linuxboot#870)
@userongihu does this fixed the initial issue you had under #870? Per testers defined here : @SebastianMcMillan @techge @eganonoa @BlackMaria @shamen123 @Thrilleratplay @userongihu Can at least one x220 and one t420 owner/tester report working state so we can merge change? |
I do not have access to my T420 for testing until around the 25th of
November. However, if it works on the X220, I highly doubt that it'll not
work on the T420, since they use the same flash layout and they can use
identical blobs.
…On Sun, Nov 1, 2020, 15:21 tlaurion ***@***.***> wrote:
@userongihu <https://github.com/userongihu> does this fixed the initial
issue you had under #870 <#870>?
Per testers defined here <#692>
: @SebastianMcMillan <https://github.com/SebastianMcMillan> @techge
<https://github.com/techge> @eganonoa <https://github.com/eganonoa>
@shamen123 <https://github.com/shamen123> @Thrilleratplay
<https://github.com/Thrilleratplay> @userongihu
<https://github.com/userongihu>
Can at least one x220 and one t420 tester report working state so we can
merge change?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#877 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNTUNHLASFRY2G7XPFUVI3SNXGPPANCNFSM4TEF5V5A>
.
|
I currently have no access to my x220, but should get it end of the week. I'll try to test it until end of week. If somebody is faster, feel free to test it :) |
The x220 works now flawlessly.It boots into heads and then choosing Qubes |
I also tried to boot some other distros,that I put on an USBdrive along with the |
@userongihu : was that linked to the changes outlined here which tries to replicate the commands you typed manually? This is what is at stake here, trying to figure out if that changeset is mergeable upstream. |
@tlaurion,what did the trick for me was:
2)Using this command to disable ME and liberate the space to be reused by Heads and shrinking IFD also: I would like to suggest to emphasize in future install-documentation,having in mind inexperienced users like me,that an "OEM reset" makes Heads do all the setup-work,so that you end up with everything setup and working out-of-the-box.Because only after the "OEM reset" I could get the OS to boot. |
@userongihu @alexmaloteaux I need someone to test the extract scripts in this pull request, please. I do not have x220 nor t420 boards and we want boards requirements to be filled with the lesser friction for end user, so doing those steps manually is not really acceptable, so please test and report. I will add another commit now so that the t420 blobs dir extract.sh contains those changes. |
… space assigned to BIOS region from freed ME region. TODO: adapt linuxboot#830 consequently.
Testing build right now for the xx30 ME blob being downloaded from Lenovo: https://app.circleci.com/pipelines/github/tlaurion/heads/598/workflows/202ad9c3-7e06-45d2-ac7e-cd3292ea596b/jobs/646 Pertinent changes (not yet clean):
For the extraction script to operate on local backup: here is my take. Tested and working. @SebastianMcMillan @techge @eganonoa @BlackMaria @shamen123 @Thrilleratplay @userongihu : please take, adapt, and do a PR for xx20. I can't test for you guys. |
@SebastianMcMillan @techge @eganonoa @BlackMaria @shamen123 @Thrilleratplay @userongihu @MrChromebox : |
@SebastianMcMillan @techge @eganonoa @BlackMaria @shamen123 @Thrilleratplay @userongihu @MrChromebox : |
@tlaurion There is something odd about the ME file in xx20 series Lenovos verse the xx30. Given the name, I think EDIT: yeah, this is not a full ME file. ME_cleaner may need some modifications to strip down an ME update.
I'll do some more digging. |
This is informative:
I will go into making extract.sh script working with backups and will personally put aside |
I tested the 3 7.1 images available here (which are all UPD, so capsules, not full ME regions, which needs to be flashed with proprietary tool FWUPD) corna/me_cleaner#152 (comment) No joy! |
@tlaurion I am curious if there is enough information in the ME updates to piece together a functional shrunken ME partition. The ME_cleaner output suggested that the remaining partitions may not have data. That will take some time and testing. I want to get IFD generation working first and I'll attempt a "Frank-ME-nstein". |
@Thrilleratplay i'm not convinced generating ifd is really a priority. An alternative approach, would be to host ifd.bin and generated gbe.bin (as currently done under #703). #703 has two scripts, one to extract blobs from backup (gbe.bin, me.bin and ifd.bin) while generated gbe.bin and modified ifd.bin is already in PR. Another script from #703 permits the user to not loose his MAC from laptop (extract gbe.bin) and extract me.bin and ifd.bin to replace the ones provided in repo. From my perspective, right now, this is more then enough to dodge legal problems while permitting CI reproducibility. |
@tlaurion Ok, I'll see what I can do with ME on the xx20 series. |
@tlaurion ,haven't been on github couple of days.If you still need me to test something,just leytme know.The x220 works really great.Qubes is very RAM demanding,so I changed to Debian 10 ,signed the /boot files and the x220 runs like supposed. |
@tlaurion I have a proof of concept to automate the generation a cleaned minified I need to document what it does, break down of the partitions, sources, where I stole code from, etc. I'll eventually create a repo under my name with all of this information. The script itself is created only to be used with Heads so let me know if you want any changes to the script. The branch was modeled after #703 as that is still a work in progress, I just committed the basics. |
@Thrilleratplay awesome! |
Continues over #912 |
me_cleaner called to neuter, deactivate, trim ME and output reduced ME under blob dir, modify both ME and BIOS regions accordingly to be able to accept CONFIG_CBFS_SIZE=0x750000 defined under coreboot configs (attempt to fix #870)