Skip to content

Conversation

@filipleple
Copy link
Contributor

@filipleple filipleple commented Feb 18, 2025

So far we've confirmed this code boots on V54, including the recent Full HD revision. The coreboot-dasharo_commit_hash is due to change to a more recent one if we come up with a proper fix for Dasharo/dasharo-issues#1243 soon enough. Otherwise, we might want to publish a release based on the same coreboot revision as for V56 and include the patches in the next release.

@filipleple filipleple force-pushed the novacustom_v54x_mtl_heads_v0.9.0 branch from 9e221c4 to 0c5197a Compare February 18, 2025 14:33
@tlaurion
Copy link
Collaborator

tlaurion commented Feb 18, 2025

@filipleple board not present under .circleci/config.yml: please add so that CircleCI builds the board roms
EDIT: see Dasharo#13

@tlaurion tlaurion changed the title Add Novacustom V54 Add Novacustom V54 (v540tu) Feb 18, 2025
@tlaurion
Copy link
Collaborator

tlaurion commented Feb 18, 2025

So far we've confirmed this code boots on a V54. The coreboot-dasharo_commit_hash is due to change to a more recent one if we come up with a proper fix for Dasharo/dasharo-issues#1243 soon enough. Otherwise, we might want to publish a release based on the same coreboot revision as for V56 and include the patches in the next release.

Note that this will be affected by #1911 and Dasharo/dasharo-issues#1216 (comment) since same coreboot commit as for v560tu which suffers from those issues.

Is that what we want as a first release for v540tu? This won't pass QubesOS certification as noted under #1911

CC @macpijan @filipleple

@macpijan
Copy link
Collaborator

We do not want, we'll see what we will end up with.

@filipleple filipleple force-pushed the novacustom_v54x_mtl_heads_v0.9.0 branch from 0c5197a to f7f3b2f Compare February 19, 2025 09:31
@tlaurion
Copy link
Collaborator

tlaurion commented Feb 19, 2025

Testing trace:

user@heads-v540tu:~$ false; while [ $? != 0 ]; do sudo flashrom -p ft2232_spi:type=2232H,port=B,divisor=4 -r v540TU_14th_gen_backup.rom -c "GD25LB256F/GD25LR256F"; done
flashrom v1.5.0-devel (git:v1.4.0-76-gcbdb8534) on Linux 6.6.77-1.qubes.fc37.x86_64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Found GigaDevice flash chip "GD25LB256F/GD25LR256F" (32768 kB, SPI) on ft2232_spi.
Reading flash... done.
user@heads-v540tu:~$ false; while [ $? != 0 ]; do sudo flashrom -p ft2232_spi:type=2232H,port=B,divisor=4 -v v540TU_14th_gen_backup.rom -c "GD25LB256F/GD25LR256F"; done
flashrom v1.5.0-devel (git:v1.4.0-76-gcbdb8534) on Linux 6.6.77-1.qubes.fc37.x86_64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Found GigaDevice flash chip "GD25LB256F/GD25LR256F" (32768 kB, SPI) on ft2232_spi.
Verifying flash... VERIFIED.


user@heads-v540tu:~$ false; while [ $? != 0 ]; do sudo flashrom -p ft2232_spi:type=2232H,port=B,divisor=4 -w heads-novacustom-v540tu-v0.2.0-2608-gf7f3b2f.rom --ifd -i fd -i me -i bios -c "GD25LB256F/GD25LR256F"; done
flashrom v1.5.0-devel (git:v1.4.0-76-gcbdb8534) on Linux 6.6.77-1.qubes.fc37.x86_64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Found GigaDevice flash chip "GD25LB256F/GD25LR256F" (32768 kB, SPI) on ft2232_spi.
Reading ich descriptor... done.
Using regions: "bios", "me", "fd".
Reading old flash chip contents... done.
Updating flash chip contents... Erase/write done from 6000 to 88afff
Erase/write done from 88b000 to 1ffffff
Erase/write done from 0 to 3fff
Verifying flash... VERIFIED.

@tlaurion
Copy link
Collaborator

We do not want, we'll see what we will end up with.

Plan is to resolve performance issues fixed under Dasharo-UEFI for Dasharo-Heads (coreboot fork) later:
Dasharo/dasharo-issues#1216 (comment)

@macpijan
Copy link
Collaborator

macpijan commented Feb 24, 2025

@tlaurion Do you have other comments to be resolved prior merging it, so we can proceed with the release (assuming we do not have the fix for performance yet Dasharo/dasharo-issues#1249 )?

@tlaurion
Copy link
Collaborator

@tlaurion Do you have other comments to be resolved prior merging it, so we can proceed with the release (assuming we do not have the fix for performance yet Dasharo/dasharo-issues#1249 )?

Unfixed known issue also affecting nv41
Dasharo/dasharo-issues#985 (comment)

@macpijan
Copy link
Collaborator

macpijan commented Feb 24, 2025

It won't be fixed right now. As explained in the linked issue, there is no such FSP option for MTL right now to expose this. We will recheck again with future releases, with newer FSP versions.

How does NV41 affect this MTL release here?

Yes, per (heads) coreboot config, early DMA is disabled for NV41 board. Maybe there was a reason for it, I do not recall it immediately. We can go back to the original MR bringing these Alder Lake boards to heads, maybe we can get some answers there. If this is needed, we can discuss it with the next NV41 releases, not sure how it affects this MR.

@tlaurion
Copy link
Collaborator

It won't be fixed right now. As explained in the linked issue, there is no such FSP option for MTL right now to expose this. We will recheck again with future releases, with newer FSP versions.

How does NV41 affect this MTL release here?

Yes, per (heads) coreboot config, early DMA is disabled for NV41 board. Maybe there was a reason for it, I do not recall it immediately. We can go back to the original MR bringing these Alder Lake boards to heads, maybe we can get some answers there. If this is needed, we can discuss it with the next NV41 releases, not sure how it affects this MR.

As long as its in the known issues, and nv41 is marked affected in referred issue or duplicated for upstream tracking (coreboot side), I do not see this as a blocker to merge this PR @macpijan. Just need to point release notes PR and LGTM

@tlaurion tlaurion self-requested a review February 24, 2025 16:37
Copy link
Collaborator

@tlaurion tlaurion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tlaurion
Copy link
Collaborator

It won't be fixed right now. As explained in the linked issue, there is no such FSP option for MTL right now to expose this. We will recheck again with future releases, with newer FSP versions.
How does NV41 affect this MTL release here?
Yes, per (heads) coreboot config, early DMA is disabled for NV41 board. Maybe there was a reason for it, I do not recall it immediately. We can go back to the original MR bringing these Alder Lake boards to heads, maybe we can get some answers there. If this is needed, we can discuss it with the next NV41 releases, not sure how it affects this MR.

As long as its in the known issues, and nv41 is marked affected in referred issue or duplicated for upstream tracking (coreboot side), I do not see this as a blocker to merge this PR @macpijan. Just need to point release notes PR and LGTM

Yes, per (heads) coreboot config, early DMA is disabled for NV41 board.

@macpijan for clarity: even if enabled, Dasharo/dasharo-issues#985 (comment) shows early dma protection cannot be applied.

@tlaurion
Copy link
Collaborator

@macpijan so merge?

@macpijan
Copy link
Collaborator

@macpijan so merge?

Yes please

@tlaurion tlaurion merged commit a084cc7 into linuxboot:master Feb 25, 2025
49 checks passed
@macpijan macpijan deleted the novacustom_v54x_mtl_heads_v0.9.0 branch February 26, 2025 10:06
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

Successfully merging this pull request may close these issues.

3 participants