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

Feature request : KGPE-D16 in workstation mode with Aspeed supported in FbWhiptail (second GPU HVM passthrough desired under QubesOS) and Pike support #712

Closed
ghost opened this issue May 3, 2020 · 134 comments

Comments

@ghost
Copy link

ghost commented May 3, 2020

Do i need replace W25Q16BVAIG to W25Q128FVSG for heads flash?

I have built 16MB rom heads firmware using make BOARD=kgpe-d16

user@builder-heads:~/heads/build/kgpe-d16$ ls -lh kgpe-d16.rom 
16M

but W25Q16BVAIGDIP8 detected by ch341a show only 2M

DSC_0114

PS. i got help on #coreboot irc

< hell__> suxx_: the KGPE-D16 has a socketed DIP-8 flash chip
< hell__> you can use a flat screwdriver to *carefully* lift the chip out 

This is spi chip where located it.
maybe someone else will come in handy, will be helpful

Windond 25Q16BVAIG datasheet

KGPE-D16

There is no problems with CH341a programmer

winbond111

suxx@lab:~/roms$ sudo flashrom -p ch341a_spi -r bios2.bin
flashrom v1.2 on Linux 5.4.0-28-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "W25Q16.V" (2048 kB, SPI) on ch341a_spi.
Reading flash... done.

Libreboot ,for example, works bad. Sometime boot, sometimes not. 9/10 powerups - it shows me black screen. I hope Heads will work better...

@ghost ghost changed the title any recommendations how to flash KGPE-D16 ? help with flashing heads on KGPE-D16 May 3, 2020
@ghost ghost changed the title help with flashing heads on KGPE-D16 KGPE-D16 question (Do i need replace W25Q16BVAIG to W25Q128FVSG for heads flash?) May 3, 2020
@ghost ghost changed the title KGPE-D16 question (Do i need replace W25Q16BVAIG to W25Q128FVSG for heads flash?) KGPE-D16 question May 3, 2020
@Tonux599
Copy link
Contributor

Tonux599 commented May 4, 2020

Hi @0rb677

Do you mean W25Q128FVIQ as opposed to W25Q128FVSG? The W25Q128FVIQ is what I use and is a DIP8 chip as opposed to W25Q128FVSG which is a surface mounted chip.

Also check here for good RAM modules to use which may be affecting your successful boots. Also you will be required to use more than a single memory modules if you intend on using more than one CPU (I notice two heat sinks but one stick of RAM). Each processor is allocated memory from RAM located above/below it.

@ghost
Copy link
Author

ghost commented May 6, 2020

@Tonux599 hi and thanks :)
W25Q128FVIQ dip-8 (W25Q128FV: 128M-bit / 16M-byte family) just it ordered on ebay and aliexpress. wait until the chip arrives
How is performance? Do i need to tweak config for acpid onboard graphics? Does the motherboard work well with heads? Can you recommend a memory that is 100% wound up?
I bought 4x16GB used ram but works only two modules (A2 and C2 slots)

So, for other people, this is BAD ram modules (2x6276 opteron 32 cores)
bad-ram

This is GOOD ram modules (2x6276 opteron 32 cores)
good-ram

@mikebdp2
Copy link

mikebdp2 commented May 8, 2020

@0rb677 1) Please consider adding this info to coreboot's wiki HCL - for other people to see. Otherwise, nobody - except the readers of this thread - could know about you experiences: the images you've uploaded (without retyping the text from them) aren't searchable in the Internet by a RAM model number. Also, have you ever discussed this RAM issue on coreboot's mailing lists or r/coreboot?

2) It could be that RAM has worked in the past and got broken in later coreboot versions. Have you checked the experiences of the other people with this RAM? There could've been a code regression.

3) RAM init code is a bit complicated, but it's the opensource - and you could read some of the RAM debug advices at the comments here https://www.reddit.com/r/coreboot/comments/gf9b1m/coreboot_on_an_amd_gseries_kabini_based_hp_thin/ . I've used this approach successfully to add the XMP / custom timings support for the coreboot AMD boards with opensource AGESA. These patches could be found on https://review.coreboot.org/ by searching for "AMD_XMP" or just applying the https://review.coreboot.org/c/coreboot/+/40495 . With this patch, you could enforce the custom timings on your RAM by substituting the SPD readings, and maybe that will help to get your RAM working.

@tlaurion
Copy link
Collaborator

tlaurion commented May 8, 2020

@0rb677 1) Please consider adding this info to coreboot's wiki HCL - for other people to see. Otherwise, nobody - except the readers of this thread - could know about you experiences: the images you've uploaded (without retyping the text from them) aren't searchable in the Internet by a RAM model number. Also, have you ever discussed this RAM issue on coreboot's mailing lists or r/coreboot?

2) It could be that RAM has worked in the past and got broken in later coreboot versions. Have you checked the experiences of the other people with this RAM? There could've been a code regression.

3) RAM init code is a bit complicated, but it's the opensource - and you could read some of the RAM debug advices at the comments here https://www.reddit.com/r/coreboot/comments/gf9b1m/coreboot_on_an_amd_gseries_kabini_based_hp_thin/ . I've used this approach successfully to add the XMP / custom timings support for the coreboot AMD boards with opensource AGESA. These patches could be found on https://review.coreboot.org/ by searching for "AMD_XMP" or just applying the https://review.coreboot.org/c/coreboot/+/40495 . With this patch, you could enforce the custom timings on your RAM by substituting the SPD readings, and maybe that will help to get your RAM working.

Some trace of scattered doc:
https://www.raptorengineering.com/coreboot/kgpe-d16-status.php
https://libreboot.org/docs/hardware/kgpe-d16.html
https://www.raptorengineering.com/coreboot/kgpe-d16-bmc-port-status.php

Memory chips known to work:
https://www.coreboot.org/Board:asus/kgpe-d16

@tlaurion
Copy link
Collaborator

tlaurion commented May 8, 2020

@mikebdp2 @0rb677
make BOARD=kgpe-d16 will produce headless board as it is now, other pull requests under heads have been made to split server and workstation configurations. Current situation takes for granted that you reprogrammed the BMC internally with provided Heads script. Let me know how it goes.

It is also possible to deactivate ASPEED onboard graphic card (shitty for workstation, really low resolution. Good for headless IMHO but guys out there preferred headless over hybrid so it is how it is now), while board's associated linux kernel config will need to be tweaked to support your chosen card. I owuld advise doing a PR when you are successful, in the form:
kgpe-d16-wks-graphic_card

Ping me in your progress, I can definitely give a hand and help you document things out in another https://github.com/osresearch/heads-wiki page

This project's documentation needs a lot of love, I know.

@ghost
Copy link
Author

ghost commented May 31, 2020

I dont understand.

Current situation takes for granted that you reprogrammed the BMC internally with provided Heads script.

@tlaurion @mikebdp2 What does it mean? I need to use Open On-Chip Debugger, also buy ARM-USB-TINY and FT2232HL spi programmator for BMC module?

The system boots without outputting console to the vga graphic card until the system setups it's own console (both coreboot, heads and password output are sent to serial console and KVM).

What passwords do you mean? I have clean HDD and replaced bios by heads (16mb spi chip). There is no video signal. I cant boot any system from usb flash.
Also there is no ASMB4 or ASMB5 KVM firmware module on this motherboard by default. Do i need to buy it?
Do i need to buy this https://www.asus.com/com/Commercial-Servers-Workstations/ASMB4iKVM/
Or it can be flashed by serial console inside heads?
Any chance to get GUI whiptail like on x220/x230 ?
My progress is here https://github.com/0rb677/KGPE-D16-HEADS
I have built bmc port and flashed new chip use master branch.
When i start PC, there is nothing on the screen. Can you help me more detail?

@alexmaloteaux
Copy link
Contributor

I dont understand.

Current situation takes for granted that you reprogrammed the BMC internally with provided Heads script.

check "Transfer Flash image to destination host" here : https://raptorengineering.com/coreboot/kgpe-d16-bmc-port-status.php

@tlaurion @mikebdp2 What does it mean? I need to use Open On-Chip Debugger, also buy ARM-USB-TINY and FT2232HL spi programmator for BMC module?

No, OpenOcd and a 20 pin jtag debugger is if you want to debug/improve OpenBmc Booting process

There is no video signal. I cant boot any system from usb flash.

By default heads does not input anything until you input /configure through the uart port from within OpenBMC. Actually in my case there is a HEAD logo...
Your system is not booting because i thing you have flashed OpenBMC that is 16Mb too on the Bios Chip and not the IPMI module

Also there is no ASMB4 or ASMB5 KVM firmware module on this motherboard by default. Do i need to buy it?

Yes

Do i need to buy this https://www.asus.com/com/Commercial-Servers-Workstations/ASMB4iKVM/

I have ASMB5 and it works perfectly

Or it can be flashed by serial console inside heads?

no you have to flash the module from a linux system running on the board with the raptor flashrom fork

Any chance to get GUI whiptail like on x220/x230 ?

dont know

My progress is here https://github.com/0rb677/KGPE-D16-HEADS
I have built bmc port and flashed new chip use master branch.
When i start PC, there is nothing on the screen. Can you help me more detail?

I think because you flashed OpenBmc on the Bios chip and not on the ipmi module, reflash head in that case on the Bios

@ghost
Copy link
Author

ghost commented May 31, 2020

@alexmaloteaux big thanks for help. i will try again. How do you build heads? make BOARD=kgpe-d16 without any blobs added? thats all?

I think because you flashed OpenBmc on the Bios chip

No. I flashed https://github.com/0rb677/KGPE-D16-HEADS/blob/master/kgpe-d16.rom on the 16 mb spi Winbond chip. Like it usually do (use ch341a programmator)

DSC_0147

@alexmaloteaux
Copy link
Contributor

@alexmaloteaux big thanks for help. i will try again. How do you build heads? make BOARD=kgpe-d16 without any blobs added? thats all?

Yes but i have myself an issue with the TPM being recognized by coreboot but not by tpm-tools (tag issue ...) :( so I use coreboot without screen purely over OpenBmc console until i have more time to debug

@alexmaloteaux
Copy link
Contributor

Ram, : 2x Micron 16GB server memory Dimm 2Rx4 Ram DDR3 MT36KSF2G72PZ-1G6E1FE PC3L-12800R
CPU : 2x Opteron 6378
Asus Pike is coming , im using IBM m1015 atm un hba it Mode.

I dont reset CMOS

Im using coreboot/seabios atm over OpenBmc, and trying to fix an issue with head TPM

@ghost
Copy link
Author

ghost commented May 31, 2020

@alexmaloteaux thanks a lot!!!

@tlaurion
Copy link
Collaborator

tlaurion commented May 31, 2020 via email

@ghost
Copy link
Author

ghost commented Jun 1, 2020

@tlaurion
Without ASMB5 KVM and BMC reflashed? I don’t know for sure, but I remember that Libreboot started with this motherboard one of out ten times (1/10).
Image from here https://www.mirrorservice.org/sites/libreboot.org/release/stable/20160907/rom/grub/libreboot_r20160907_grub_kgpe-d16.tar.xz
Stock bios works good.

You should at least be seeing ASPEED message on screen at boot.

I’ll try to test it again this week

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 1, 2020

@0rb677 @alexmaloteaux I've updated #472 so that it is rebased on master. It makes two boards: a server (which is the equivalent of master, and takes into account that the OpenBMC KVM chip was reflashed and outputs serial output to it, and a workstation board, which outputs everything to tty0 (instead of server board over ttyS1)

Let me know if you have any question.
As far as I know, coreboot 4.8.1 was not able to deal correctly with TPM and was left behind with a noTPM option using the libremKey as a less advantageous root of trust. VBOOT+measured boot was never tested by me and the KGPE-D16 board stayed at the stage of PoC.

Which is why #719

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 1, 2020

@0rb677 @alexmaloteaux

Note that the workstation board could use gui-init instead of generic-init if ASPEED (AST) support was added on workstation kernel config (to not depend on shared linux-kgpe-d16.config as those two boards are doing currently).

If you need more help in that direction, let me know.

A discussion is happening under #721 on how we could still support the kgpe-d16 and duplicate coreboot config to 4.11 and make it supported into Heads with proper TPM support.

Your involvement would be important, since supporting the kgpe-d16 in its current state without #719 is unfortunately not a priority on me and should be a community sideproject for someone that wants it more supported in its 4.11 status.

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 1, 2020

I dont understand.

Current situation takes for granted that you reprogrammed the BMC internally with provided Heads script.

@tlaurion @mikebdp2 What does it mean? I need to use Open On-Chip Debugger, also buy ARM-USB-TINY and FT2232HL spi programmator for BMC module?

The system boots without outputting console to the vga graphic card until the system setups it's own console (both coreboot, heads and password output are sent to serial console and KVM).

What passwords do you mean? I have clean HDD and replaced bios by heads (16mb spi chip). There is no video signal. I cant boot any system from usb flash.
Also there is no ASMB4 or ASMB5 KVM firmware module on this motherboard by default. Do i need to buy it?
Do i need to buy this https://www.asus.com/com/Commercial-Servers-Workstations/ASMB4iKVM/
Or it can be flashed by serial console inside heads?
Any chance to get GUI whiptail like on x220/x230 ?
My progress is here https://github.com/0rb677/KGPE-D16-HEADS
I have built bmc port and flashed new chip use master branch.
When i start PC, there is nothing on the screen. Can you help me more detail?

Missed that. You can reprogram from Heads the ASMB4iKVM with that script https://github.com/osresearch/heads/blob/master/initrd/bin/flashrom-kgpe-d16-openbmc.sh

You have to follow https://www.raptorengineering.com/coreboot/kgpe-d16-bmc-port-status.php

@Tonux599
Copy link
Contributor

Tonux599 commented Jun 1, 2020

As I mentioned in #719 but will reiterate here, Asus 90-C1B0AU-00XBN0VZ is a TPM1.2 module that is compatible with this board and heads. In concerns to usability of this board, with that TPM module and a YubiKey this branch provides almost identical functionality that heads does on my thinkpads. I'll be maintaining it until more concert decisions are made on the future of this board.

@alexmaloteaux
Copy link
Contributor

Missed that. You can reprogram from Heads the ASMB4iKVM with that script https://github.com/osresearch/heads/blob/master/initrd/bin/flashrom-kgpe-d16-openbmc.sh

Thats nice :)

Any idea where i can buy a Asus 90-C1B0AU-00XBN0VZ, all major suppliers are out of stock

@Tonux599
Copy link
Contributor

Tonux599 commented Jun 2, 2020

Any idea where i can buy a Asus 90-C1B0AU-00XBN0VZ, all major suppliers are out of stock

@alexmaloteaux that's the problem, I took a gamble on a ebay listing titled "Asus TPM" which picture was 20pin but looked slightly different than my Asus TPM2 module. For future reference to anyone looking for this module note that the TPM1.2 module has a capacitor to the left of the chip whereas the TPM2 module does not.

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 3, 2020

Will buy too

@ghost
Copy link
Author

ghost commented Jun 3, 2020

@tlaurion are you here? trying your branch and another spi chip. (i have two)
I still can’t understand what the problem is and why I didn’t have a video signal without any KVM and BMC.
Also I still need to pick up the console from work and buy ASMB5
Can you help me to build correctly branch for a workstation with whiptal like in x220? Is it possible? External video cards will be GTX 1060. still look RAM settings in the config , what if it starts up all? I have all hope for you guys.
I’ll check the jumpers now.

suxx@lab:~/Build$ git clone https://github.com/tlaurion/heads
Cloning into 'heads'...
remote: Enumerating objects: 170, done.
remote: Counting objects: 100% (170/170), done.
remote: Compressing objects: 100% (101/101), done.
remote: Total 9895 (delta 95), reused 121 (delta 58), pack-reused 9725
Receiving objects: 100% (9895/9895), 4.39 MiB | 6.78 MiB/s, done.
Resolving deltas: 100% (6745/6745), done.
suxx@lab:~/Build$ cd heads/ && git checkout -b kgpe-d16_current_working
Switched to a new branch 'kgpe-d16_current_working'
suxx@lab:~/Build/heads$ make BOARD=kgpe-d16

(which is the equivalent of master, and takes into account that the OpenBMC KVM chip was reflashed and outputs serial output to it, and a workstation board, which outputs everything to tty0 (instead of server board over ttyS1)

Is it possible to start heads normally? With shitty resolution and use ASPEED default VGA output?

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 3, 2020

rm -rf heads
git clone https://github.com/tlaurion/heads
cd heads
git checkout kgpe-d16_current_working
make BOARD=kgpe-d16_workstation

but then you will hit #733

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 3, 2020

@tlaurion are you here? trying your branch and another spi chip. (i have two)
I still can’t understand what the problem is and why I didn’t have a video signal without any KVM and BMC.

Simply because the master branch takes into account that all output goes to BMC and was subject to debates on past tickets. Main branch didnt seperate boards into workstation (without BMC) and server (headless) and my PoC stayed there without receiving much love since I do use it headless and since #719, I have lost a bit of interest and do not have much time to invest into this board support anymore.

Also I still need to pick up the console from work and buy ASMB5
Can you help me to build correctly branch for a workstation with whiptal like in x220? Is it possible? External video cards will be GTX 1060. still look RAM settings in the config , what if it starts up all? I have all hope for you guys.

It would, but AST support should be activated in linux config. You can try that path for the workstation linux config, and modify the workstation board configuration to use gui-init instead of generic-init.

For linux config change:

cp config/linux-kgpe-d16_workstation build/linux-4XXXX/.config
cd  build/linux-4XXXX/
make menuconfig

Activate AST graphic for server board. Review jumper on motherboard.
then

make savedefconfig
cp defconfig ../../config/linux-kgpe-d16_workstation.config
make BOARD=kgpe-d16_workstation

If I recall well, it worked before.
If you do, please do a PR.

I’ll check the jumpers now.

suxx@lab:~/Build$ git clone https://github.com/tlaurion/heads
Cloning into 'heads'...
remote: Enumerating objects: 170, done.
remote: Counting objects: 100% (170/170), done.
remote: Compressing objects: 100% (101/101), done.
remote: Total 9895 (delta 95), reused 121 (delta 58), pack-reused 9725
Receiving objects: 100% (9895/9895), 4.39 MiB | 6.78 MiB/s, done.
Resolving deltas: 100% (6745/6745), done.
suxx@lab:~/Build$ cd heads/ && git checkout -b kgpe-d16_current_working
Switched to a new branch 'kgpe-d16_current_working'
suxx@lab:~/Build/heads$ make BOARD=kgpe-d16

(which is the equivalent of master, and takes into account that the OpenBMC KVM chip was reflashed and outputs serial output to it, and a workstation board, which outputs everything to tty0 (instead of server board over ttyS1)

Is it possible to start heads normally? With shitty resolution and use ASPEED default VGA output?

If terminal output goes to /dev/tty0 and not serial terminal (/dev/ttyS*) your should have output if ASPEED shows to your screen (which has to be caused by jumper setting, or as someone else stated before, if you flashed wrong image to the 16Mb flash chip.)

@0rb677 Let me know how it goes.

@ghost
Copy link
Author

ghost commented Jun 3, 2020

@tlaurion thank you very much for detailed answer and spending your free time :) I haven’t received so much information about this board anywhere else.

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 3, 2020

#733 is fixed. Retrying CIs builds.

@ghost
Copy link
Author

ghost commented Jun 3, 2020

i am too and i see your new issue #735

make[1]: Leaving directory '/home/suxx/Build/heads/build/linux-4.14.62'
2020-06-03 23:22:49+03:00 MAKE musl-cross

@ghost
Copy link
Author

ghost commented Jun 3, 2020

this is a VGA jumper
vga-jumper

@Tonux599
Copy link
Contributor

Tonux599 commented Jun 9, 2020

@0rb677 Blue slots are not Pike related, if I understood correctly the documentation you sent (red ones are) from Asus manual.

Use red ports when using a 4-port PIKE card and optionally use the blue ones when using a 8-port PIKE card.

@0rb677 both myself and @tlaurion are in the u-root slack channel where it may be more appropriate to chat with us as this issue is getting rather messy.

@ghost
Copy link
Author

ghost commented Jun 9, 2020

@tlaurion @Tonux599

This is Nvidia drivers both cards

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] [10de:1c02] (rev a1)
	Subsystem: Gigabyte Technology Co., Ltd GP106 [GeForce GTX 1060 3GB] [1458:373a]
	Kernel driver in use: nvidia
	Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
01:00.1 Audio device [0403]: NVIDIA Corporation GP106 High Definition Audio Controller [10de:10f1] (rev a1)
	Subsystem: Gigabyte Technology Co., Ltd GP106 High Definition Audio Controller [1458:373a]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

05:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] [10de:1c03] (rev a1)
	Subsystem: ASUSTeK Computer Inc. GP106 [GeForce GTX 1060 6GB] [1043:85ab]
	Kernel driver in use: nvidia
	Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
05:00.1 Audio device [0403]: NVIDIA Corporation GP106 High Definition Audio Controller [10de:10f1] (rev a1)
	Subsystem: ASUSTeK Computer Inc. GP106 High Definition Audio Controller [1043:85ab]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 9, 2020

@Tonux599 @0rb677 :
I like issues to be documented in tickets instead of amnesic discussions over chat. That helps other ports to happen in the future and can be used to self-document a community project.

The idea to respect here is to stay put on issues, search other issues, closed/open, and tag the right people who are supposed to maintain their code or ask for help to other developers.

@ghost
Copy link
Author

ghost commented Jun 9, 2020

@tlaurion @Tonux599 ok. re-plug to RED slot.
Trying to find how to check in linux shell if disk attached to Pike.
Because there is no ctrl +s when POST boot.
I cant register in Slack because i havent google.com mail. (i know only Gmail)

@Tonux599
Copy link
Contributor

Tonux599 commented Jun 9, 2020

@tlaurion @Tonux599 ok. re-plug to RED slot.
Trying to find how to check in linux shell if disk attached to Pike.
Because there is no ctrl +s when POST boot.
I cant register in Slack because i havent google.com mail. (i know only Gmail)

You may register using any email here.

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 9, 2020

@Tonux599 @0rb677 Come back here with your findings to document the port.

@ghost
Copy link
Author

ghost commented Jun 9, 2020

@tlaurion @Tonux599 ok. re-plug to RED slot.
Trying to find how to check in linux shell if disk attached to Pike.
Because there is no ctrl +s when POST boot.
I cant register in Slack because i havent google.com mail. (i know only Gmail)

You may register using any email here.

Only http works, Thanks :)

@ghost
Copy link
Author

ghost commented Jun 9, 2020

Can i flood in #general ?

@ghost
Copy link
Author

ghost commented Jun 9, 2020

@tlaurion @Tonux599

#745

@ghost
Copy link
Author

ghost commented Jun 9, 2020

@tlaurion can we do PR (re-set jumper disable AST, add NVIDIA to kernel, attach HDMI to NVIDIA, boot heads with NVIDIA, run Ubuntu with NVIDIA and second card will be use for gpu passthrouth experiments). What do you think ? its not today...

@ghost
Copy link
Author

ghost commented Jun 9, 2020

@tlaurion Then we can Run Qubes with better resolution. Only need to build Nvidia on dom0.

@Tonux599
Copy link
Contributor

Tonux599 commented Jun 9, 2020

@tlaurion can we do PR (re-set jumper disable AST, add NVIDIA to kernel, attach HDMI to NVIDIA, boot heads with NVIDIA, run Ubuntu with NVIDIA and second card will be use for gpu passthrouth experiments). What do you think ? its not today...

Doing that here. Will clean up and PR soon-ish.

@ghost
Copy link
Author

ghost commented Jun 9, 2020

@Tonux599 thank you :)

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 9, 2020

@Tonux599 : we could merge all those gpus under an external_gpu board :
kgpe-d16_workstation*-external-gpu
where * is now usb_keyboard and others. Please check #472

where the board header would explain what is supported under specialized coreboot and additional linux config for that board. What you think?

I would advise pushing only additioanl GPUs you can test, to not create unmet expectations. So that we have template for other community members to add to that board with personal experiments.

@Tonux599
Copy link
Contributor

Tonux599 commented Jun 9, 2020

@Tonux599 : we could merge all those gpus under an external_gpu board :
kgpe-d16_workstation*-external-gpu
where * is now usb_keyboard and others. Please check #472

where the board header would explain what is supported under specialized coreboot and additional linux config for that board. What you think?

Initially it was the case that all GPU drivers were included in a single config, however for those wanting to GPU pass through will use a kernel with only the drivers for the primary GPU.

I would advise pushing only additioanl GPUs you can test, to not create unmet expectations. So that we have template for other community members to add to that board with personal experiments.

No problem, however I don't consider that branch suitable for PR until #740 is fixed.

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 9, 2020

@Tonux599 Any other proposition welcome. So your PR structure is good enough condireing the gpiu passthrough being board specific to pass kernel options to main OS kernel, while the coreboot config passes heads' kernel specifics.

You can

git remote add tlaurion github.com/tlaurion/heads
git fetch tlaurion
git difftool tlaurion/kgpe-d16_current_working:remote_path_to_file local_path_to_file

Ordered the TPM 1.2 module off of ebay and should receive it prior of end of June. Will get back at #740 once received, but haven't seen any coreboot changes in the config there for infineon support? Maybe I missed it.

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 9, 2020

@tlaurion Then we can Run Qubes with better resolution. Only need to build Nvidia on dom0.

@0rb677 @Tonux599 That would be in another issue to support external GPUs.

@0rb677: I think you confuse things here. If you want dom0 to have greater resolution, you want dom0+heads to support your external GPU and not Aspeed turning onboard ASpeed off trough jumper. Open another ticket :)

If you want a simple pass-through of your external GPU to HVM through QubesOS with Aspeed in Heads+dom0, it would also be another ticket and board configurations would be extension of the preset boards confirmed to be working.

@ghost
Copy link
Author

ghost commented Jun 9, 2020

@tlaurion is TPM on stock? will try to search again it

@ghost
Copy link
Author

ghost commented Jun 9, 2020

@tlaurion

If you want dom0 to have greater resolution, you want dom0+heads to support your external GPU and not Aspeed. Open another ticket :)

It will do @Tonux599 i hope..

Doing that here. Will clean up and PR soon-ish.

@ghost
Copy link
Author

ghost commented Jun 9, 2020

@tlaurion thank you for share your knowledge about this board. I couldn’t do it myself or do it too long :)

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 9, 2020

@tlaurion is TPM on stock? will try to search again it

@0rb677 : Replied in other ticket, where relevant

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 9, 2020

@0rb677 artifacts available here to test oem factory reset without TPM
https://app.circleci.com/pipelines/github/tlaurion/heads/241/workflows/04c5497a-1a53-4a76-a01e-78ca8cbb77ae/jobs/263/artifacts

@tlaurion
Copy link
Collaborator

@0rb677 works?

@ghost
Copy link
Author

ghost commented Jun 11, 2020

@tlaurion re-flashing

@ghost
Copy link
Author

ghost commented Jun 11, 2020

@tlaurion

DSC_0200

@ghost
Copy link
Author

ghost commented Jun 11, 2020

@tlaurion OEM FACTORY RESET can't reset gpg-key, on x220 it works.

@ghost
Copy link
Author

ghost commented Jun 11, 2020

@tlaurion i think now its complete.

It works with Pike
It works without TPM
It works with gpg-card
It works with onboard AST graphics.
SSD works with Pike in red sas slots

Thanks you 👍

@tlaurion
Copy link
Collaborator

tlaurion commented Sep 24, 2020

@tlaurion can we port ASPEED drivers to Qubes and check fan speed?

@0rb677 if "we" means "you" opening ticket and taking the ball, upstream, I see no problem and will follow through helping as I can, being tagged when needed.

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

5 participants