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

x330 support #1204

Open
toothlesslizard opened this issue Aug 24, 2022 · 8 comments
Open

x330 support #1204

toothlesslizard opened this issue Aug 24, 2022 · 8 comments

Comments

@toothlesslizard
Copy link

Hi. First impressions.

3612Q - detected
FHD/2k - poor performance HiDPI on Q 4.1.1 latest kernel ( xfce 4.14 )
Also no support in Heads.
AX210 - bad support (fedora/debian), too new for linux
NVME M2 2230 mod doesn’t work out of box need enable in coreboot config.
New motherboard - new spi chip (not listed in Heads, so can’t trust /boot with new gpg key)

@tlaurion
Copy link
Collaborator

@toothlesslizard
Copy link
Author

@tlaurion yes, based on tianocore. I'll try to fix it myself at night

@tlaurion
Copy link
Collaborator

tlaurion commented Aug 24, 2022

@toothlesslizard : If I understand upstream work correctly (interesting mod, but haven't read everything of it), coreboot support for this board is basically a x230+edp, where the vbt there should (but to be verified by adventurous board owner):
https://github.com/xy-tech/x330-bios/blob/main/coreboot/dotconfig#L101
https://github.com/xy-tech/x330-bios/blob/main/coreboot/dotconfig#L125

So basically, it seems you could use #967 as a base. You should bindiff provided x330 vbt against what is found when building heads there (which requires you to run the blobs/xx30/download_extract script), basically replicating what the CI does.

PR welcome, as usual!

@tlaurion
Copy link
Collaborator

Not sure why they include the vgabios (maybe tianocore)
https://github.com/xy-tech/x330-bios/blob/main/coreboot/dotconfig#L150

@tlaurion
Copy link
Collaborator

tlaurion commented Aug 24, 2022

Yep, confirm that they seem to use upstream patch applied to #967 :)
https://github.com/xy-tech/x330-bios/blob/main/coreboot/dotconfig#L191

https://review.coreboot.org/c/coreboot/+/28950

@toothlesslizard
Copy link
Author

spi

-c "MX25L3205D/MX25L3208D" - 4MB
-c "MX25L6405D" - 8MB

@tlaurion
Copy link
Collaborator

tlaurion commented Aug 24, 2022

-c "MX25L3208D"
https://osresearch.net/x230-maximized-flashing/
Normal.

-c "MX25L3205D/MX25L3208D" - 4MB
Not sure why it was changed, interesting.

All of those should be supported externally from latest flashrom version available from your OS (linux) repositories.
It would be to verify to know if opaque (combined flash internal flashing) will be possible when inside of Heads though, from currently used flashrom version compiled to be part of heads binaries at commit https://github.com/osresearch/heads/blob/master/modules/flashrom#L5

@tlaurion
Copy link
Collaborator

-c "MX25L3205D/MX25L3208D" - 4MB

Seems supported since 8 years ago: https://github.com/flashrom/flashrom/blame/d4091395546fe9d2452f74cd1a9c4c9e0fc7fb4d/flashchips.h#L507

You'll have to test and see.

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

2 participants