-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
x230 FHD mod not supported #614
Comments
@n4ru: Would need a x230-fhd specific board, coreboot and probably a linux config? |
I got it to work by simply taking the vbt from the FHD patch in coreboot, and swapped it with the stock vbt file. A config with just that change should work. |
n4ru are you able to help we with some more detailed instructions? I have a x230 with the nitrocaster FHD mod and core boot running. But now I would like to switch to heads with a Nitrokey. |
@arl4223 @PatrickRudolph's #709 is still not mergeable. I can't wrap my head around it for the moment to upgrade all (coreboot still supported) boards to 4.12. Help welcome. |
I have back-ported (really they basically all work verbatim) the patches in the Coreboot merge and created heads-style patches, but they won't do much (anything?) without the VBT blob, and heads does not distribute such blobs. I did not need to use a newer coreboot in the process. In particular i forewent the external voltage source, bridged J1, and set up early power-on and so on to save a few joules. This all seems to work perfectly with heads, and i've been using it for some time. I would be happy to share these later when i return home, but again, it depends on the VBT blob. EDIT: Here they are, @arl4223 and @tlaurion.
and put the patched VBT in that location (and name it fhd-data.vbt). The other two patches are for matching the modified VBT and for using VCC3P respectively, To be clear, the modified VBT disconnects the internal LVDS interface which is useful for energy saving and sparing headaches later with OSs that are confused by both displays existing (especially for brightness control purposes). It also allows, as i understand it, ``bios'' graphics to function -- but this point is a little moot as heads boots Linux anyway. |
I am trying my best to follow these instructions, but I am having troubles building coreboot with the x230-FHD mod, Any chance one of you kind folks could upload the x230-FHD "VBT blob" ? (perhaps rapidshare, or something similar?) I had heads+qubes working on x230, with a clean qubes install, but after installing the nitrocaster mod, and 1080p lcd, I can no longer boot into OS. Some live distro's seem to boot ok, booting from usb, but I am having issues booting from HDD. Thankfully, I was only beginning to learn about qubes, and didn't have anything valuable there that was not backed up!! Any help for this n00b is greatly appreciated. |
@computer-user123 The VBT is available in the coreboot 230 FHD patch. Although from what I have been told, the VBT does not impact how operating systems display. I have a nitrocaster mod in my x230 but it runs coreboot, not Heads, and am using coreboot without the patch. Your issue could be related to video settings in the kernel params but I honestly have no idea. |
Thank you Thrilleratplay, I am now stuck at building heads. I can't remember what system I was using, I have tried fresh ubuntu 16.04 / 18.04 / 20.04 VM's without any success. I do remember building heads, and successfully flashing with a RPi3 and the chip clip. I built heads on the x230 machine with ubuntu 18.04 install on the HDD , IIRC. Here are the errors I am getting while attempting to "make BOARD=x230" Any help is GREATLY appreciated. I am now stuck with a machine that has display issues on every boot. :( edit: added: @Thrilleratplay , I re-read your last comment, and I do agree that the VBT doesn't impact how OS's display, but I don't know what boot commands/arguments to add to get it to boot correctly with the EDP display. Thanks again for you time! |
You are missing host build tools. From the logs, it seems that you do not have gnat? |
@tlaurion , Just installed gnat, it gives the exact same errors. tlaurion, maybe you could kindly recommend a distro (exact .iso, kernel/version) that you know will 100% work? Thank you guys, for the quick replies, and the help. |
Instructions for building are here, pointing to circleci recipe used to build boards with host dependencies, which builds with Debian-10 for each commit. http://osresearch.net/Building/ Yes. Documentation needs love. |
I have tried compiling heads (spec. x230-flash) and (x230) with the changes you mention, and I haven't been able to succeed. nothing I have tried will allow internal-edp to display. I can tell the bios is working, (with 2nd 8mb chip , ME_CLEANED , and 4mb x230-flash.bin flashed.) I have tried 20x to compile, using "virgin" heads directories, and then applying changes and trying to get a different .bin from the changes. Can you please go into more specifics? so far, have a "virgin" heads directory, lets say "~/heads/" , To the boards/x230-$variant/x230-$variant.config file add CONFIG_INTEL_GMA_ADD_VBT_DATA_FILE=y and put the patched VBT in that location. The other two patches are for matching the modified VBT and for using VCC3P respectively, I do this, and re-compile, with all needed software, and successfully generate a "heads-x230-flash-v0.2.0-1010-g22396fb-dirty-top.rom" in build/x230-flash , and heads-x230-v0.2.0-1010-g22396fb-dirty.rom in build/x230/ I have tried 10x++ calculating the sha256sum , and keep thinking that this time I compile, will be the one that works!!!! |
I am literate enough to follow directions, and provide needed logs/build files, but I have tried many times to replicate an x230-flash or x230.(full.bin) , through heads, that works with nitrocaster x230-FHD mod , meanwhile, I have a working x230-FHD nitrocaster setup, but with coreboot alone, not heads. |
worse case scenario, (obviously, this goes against the whole concept of heads) , can someone who has 230-flash (w/fhd) working , please DM me or PM me the top.bin file ? I have literally tried 20+ times in the last few weeks, and whatever i try, it will "work on the x230" , but the nitro-caster-enabled display is dead..... I have not tried 2ndary VGA output or anything, but the 1080p panel, just wont light up and work, after compiling 20 diff times. |
Thank you guys in advance, I know you're gods, and I'm meerely a peasant who wants x230-heads-fhd to work, so this meager peasant can verify his /boot, and know that "ME" isnt watching..... ! |
@Tonux599I remember that you have such kit right? What is missing here? |
Basically just upgrading coreboot version and applying op patch? |
So basically doing a coreboot 4.13 based board config whixh name is appended with fhd and we close this ticket? |
@tlaurion , I will do anything to get this working, thanks |
I'm happy to talk through this with you and try to understand what's not working. How would you like to do that? As far as i can tell, unless you're not building against coreboot-4.8.1, those patches should work without a problem. But even without any of these patches, heads is linux, and so any version of heads should power the eDP lines if the hardware is working. These patches are merely there to disconnect the LVDS in the `bios'. EDIT: Also x230-flash is not the correct target IIRC. That's the one used to flash the complete image from software. I have been building x230-hotp-verification because of my hardware token. Without that i think it's just x230. The output should be a single 12mb file. EDIT EDIT: Also something that maybe used to happen was that heads unpacked coreboot for each build, or at least re-copied over the source. So it might be overwriting
Think i found it: change |
exact steps followed. 1.start with a fresh (virgin) heads directory (has never been used to build anything)
It is my understanding, that heads for x230 utilizes 3 binaries. From what I understand, the bottom 8mb chip is first flashed with the clean-me-bottom.bin, then flash x230-flash.bin on top 4mb chip, I originally built heads x230 and x230-flash properly, around 1 year ago or more. I was successfull and it worked fine, Since I could no longer reliably use heads, I went back to just straight coreboot x230-fhd, and was successful. I am going to flash these files, just freshly built following the steps outlined in this post. I am confident that the system is actually booting, I am not getting error beeps, and the think-light and KB backlights work, I will report back, and hopefully she works this time! :) -- Did not work. 1080p screen on EDP lights up, but nothing is displayed. |
I just built again, I have tried this just now, and its not working. ^^^^ should all the other smaller files be copied from the tarbar to this directory? the sha256 of the files built are: I really appreciate all the help. Thank you guys. |
OP specifies that coreboot 4.9+ is required. There is a PR for the x230 over coreboot 4.13 for the x230-maximized board. That PR should be used as a base to integrate the changes specified here and tested with the mod. Then that having be proved successful, create a new board config for fhd, x230-maximized-fhd. The blobs cannot be hosted here, but can be downloaded from coreboot git repo from a static commit and hash verified upon download in an additional blob download script, which willbe needed to be called prior of building that board so the blob is in path. The parrot board PR had implemented such logic to download ME from coreboot blobs repo directly and be cleaned from that downloaded blob. I invite you to do the same to automate the process and make this board available to others. |
Let's see if I can help here... 4.13's PR #949. This issue points to #614 (comment) coreboot review. So instead of explaining, let's do it.
Discussion should continue under PR that will refer here as the result of the above. |
@n4ru @computer-user123 @tslilc : #967 was tested successfully by @Tonux599 #967 (comment) Please report back here your stories (you can click green checkmarks of latest commit of the PR to go to CircleCI's build, go to artifacts, and download top and bottom roms to externally reflash). The next commit will be to include this board (and other needed, linke the HOTP one, I guess) into normal CircleCI builds if reported as functional here. |
Seems the latest version of heads does not support the nitrocaster or KK FHD mod.
Wondering if there's a workaround? The "FHD patch" being reviewed over at coreboot IIRC only works on coreboot 4.9+, and heads is still on 4.8.1.
The text was updated successfully, but these errors were encountered: