heads
heads copied to clipboard
Add t430-dgpu support
apologies for previous closed requests. learning how to git, closed previous requests due to extraneous commits on my master
Changes: -Initial t430-dgpu configs from @eganonoa -patched to match the new build directory structure -patched vbios script for dependencies, sudo calls, error reporting -updated README_vbios
replaces PR #1218 (which replaced PR #1177 (which replaced PR #1175 ))
vscode somehow stripped execute permissions from vbios_t430.sh !! frustrating, but I can do another fresh PR if needed to make this a cleaner pull. let me know.
You confirm flashing of https://output.circle-artifacts.com/output/job/3351acf7-9f84-4a3c-b39e-63f245b0ce0d/artifacts/0/build/x86/t430-dgpu-hotp-maximized/heads-t430-dgpu-hotp-maximized-v0.2.0-1268-g626731e.rom https://output.circle-artifacts.com/output/job/3351acf7-9f84-4a3c-b39e-63f245b0ce0d/artifacts/0/build/x86/t430-dgpu-hotp-maximized/heads-t430-dgpu-hotp-maximized-v0.2.0-1268-g626731e-top.rom https://output.circle-artifacts.com/output/job/3351acf7-9f84-4a3c-b39e-63f245b0ce0d/artifacts/0/build/x86/t430-dgpu-hotp-maximized/heads-t430-dgpu-hotp-maximized-v0.2.0-1268-g626731e-bottom.rom
And
https://output.circle-artifacts.com/output/job/9ae1d821-6db5-437a-8029-41062cdcd46f/artifacts/0/build/x86/t430-dgpu-maximized/heads-t430-dgpu-maximized-v0.2.0-1268-g626731e-bottom.rom https://output.circle-artifacts.com/output/job/9ae1d821-6db5-437a-8029-41062cdcd46f/artifacts/0/build/x86/t430-dgpu-maximized/heads-t430-dgpu-maximized-v0.2.0-1268-g626731e-top.rom https://output.circle-artifacts.com/output/job/9ae1d821-6db5-437a-8029-41062cdcd46f/artifacts/0/build/x86/t430-dgpu-maximized/heads-t430-dgpu-maximized-v0.2.0-1268-g626731e.rom
Worked for you @weyounsix ?
tested only dirty builds from a local repo, but they worked as expected. I will test the circleci artifacts tonight and report back
NOTE: the artifacts will likely not work unless nvramtool is used to set "Dual Graphics" hybrid mode, as specified in README_vbios. my previous experience with the t430-dgpu on the initial builds from @eganonoa's dgpu-t430 branch was that it wouldn't boot at all unless this step was done. the keyboard lights would flash with a steady beep from the speakers. i can confirm this as well.
@weyounsix
NOTE: the artifacts will likely not work unless nvramtool is used to set "Dual Graphics" hybrid mode, as specified in README_vbios. my previous experience with the t430-dgpu on the initial builds from @eganonoa's dgpu-t430 branch was that it wouldn't boot at all unless this step was done. the keyboard lights would flash with a steady beep from the speakers. i can confirm this as well.
That goes into actual debate for all dgpu boards: should cmos.layout be changed to enable dual graphics here? (requiring to call nvramutil from the board configuration file, so that the rom itself is enabled for dual graphics? And then STATIC_OPTION being removed from coreboot config, so that a user can disable it from within Heads through command line/GUI option?
Your report here seems to state that t430-dgpu board is different then w530. You seem to report that t430-dgpu MUST have dual graphics enabled in CMOS/cmos.layout, otherwise causing a brick.
I would consequently advise against merging this PR until this is figured out and that board configuration produces the right thing by default. No time to deal with bricking from the masses not reading documentation nor a default behavior that is not desirable at all, causing a brick (think upgrading firmware internally forgetting to apply nvramutil to enable dual graphics for most people not having an external programmer and relaying on a friend/contact for initial external flashing.)
@weyounsix Please check https://github.com/weyounsix/heads/pull/3
By compiling nvramtool locally, and adding an entree in Makefile for DGPU ROM name, we make sure in board files to copy to original rom into DGPU ROM, apply nvramtool to apply Dual Graphics on DGPU Rom, and then split the firmware into top and bottom roms.
Please test and review and modify as you please. You are the only T430 DGPU board owner. Own this code, change so it is clear to you and modify the present PR with what you find more clear and adapt documentation entree accordingly.
great news: the circleci artifacts all booted and functioned as expected, even without setting Dual Graphics mode so that is clearly no longer an issue.
when i initially built heads for this board, the t430-maximized rom also wouldn't boot, and that was why i initially went down the path to find a build that included dgpu blobs. i can test this too next time to see if that is also no longer an issue.
i still would love to make the dual graphics cmos layout automated! awesome work on that. i will see what i can do with your work as a starting point. perhaps i could also automate the vbios script so that the entire build process is no different from a standard maximized board, then in the docs we could advise board owners how to change the default cmos layout (at their own risk).
NOTE: the artifacts will likely not work unless nvramtool is used to set "Dual Graphics" hybrid mode, as specified in README_vbios. my previous experience with the t430-dgpu on the initial builds from @eganonoa's dgpu-t430 branch was that it wouldn't boot at all unless this step was done. the keyboard lights would flash with a steady beep from the speakers. i can confirm this as well.
So that assumption was false: t430 non-dgpu ROMs can boot t430 dGPU boards but without dGPU enabled. Basically like the others.
@weyounsix Can you answer the above unanswered questions?
moved as unmaintained under #1604 and put this PR as draft.