Staging commits for v540tu/v560tu/ns50/n4x_adl: pr0 patch missing, ME HAP bit, s3, review + unify - #1871
Staging commits for v540tu/v560tu/ns50/n4x_adl: pr0 patch missing, ME HAP bit, s3, review + unify#1871tlaurion wants to merge 17 commits into
Conversation
Co-authored-by: Michał Kopeć <michal.kopec@3mdeb.com> Co-authored-by: Thierry Laurion <insurgo@riseup.net> Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com> Signed-off-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
…bug options Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
as a copy of V540TU Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
|
Once patch added, can help uniform coreboot configs against n4x_adl to prepare for pr0, and then board configs to add same tooling related changes to apply pr0 prior of kexec call. @mkopec see https://github.com/linuxboot/heads/compare/70bed5f659be985c31cd348793ae74b04620ddcb..0f339496a715db4a44629854b8d208b7b010ad12 |
|
@tlaurion here's the pr0 patch Dasharo/coreboot@3fcffce |
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
…ximized to reuse coreboot 24.02.01 utils/crossgcc buildstack build for x230-hotp-maximized to skip rebuilding buildstack for novacustom boards Signed-off-by: Thierry Laurion <insurgo@riseup.net>
… (might not show much more gain then if based on x230-hotp-maximized) Signed-off-by: Thierry Laurion <insurgo@riseup.net>
…pport for PRR/PR0 remove patches/coreboot-dasharo-unreleased/0002-pr0_chipset_locking-post_skylake.patch Note: modules/coreboot commented the patchdir, but left exisiting under Heads tree so state no patches added on that fork Signed-off-by: Thierry Laurion <insurgo@riseup.net>
93100fc to
ea22fae
Compare
…ig with helper, adding some missing PR0 settings
Repro
./docker_repro.sh make BOARD=novacustom-v560tu coreboot.save_in_oldconfig_format_in_place
./docker_repro.sh make BOARD=novacustom-v540tu coreboot.save_in_oldconfig_format_in_place
git status | grep modified | awk -F ":" {'print $2'}| xargs git add
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
…with helper Repro: ./docker_repro.sh make BOARD=novacustom-nv4x_adl coreboot.save_in_oldconfig_format_in_place ./docker_repro.sh make BOARD=nitropad-ns50 coreboot.save_in_oldconfig_format_in_place git add config/coreboot-novacustom-v540tu.config config/coreboot-novacustom-v560tu.config Important changes there to review @mkopec Signed-off-by: Thierry Laurion <insurgo@riseup.net>
…sabling ME, saved in oldconfig Signed-off-by: Thierry Laurion <insurgo@riseup.net>
ea22fae to
b78c174
Compare
|
@mkopec see https://github.com/linuxboot/heads/compare/93100fcade2e7de6c21119dc400b3a5709cc41fa..b78c1745f94f479dae262488f0bbc22f027b4ddb and their associated commit messages, most importantly b78c174: no bootsplash, ME Enabled, s3 wasn't preferred and LOCALVERSION fixed (not rebrandeable) |
This comment was marked as off-topic.
This comment was marked as off-topic.
| # General setup | ||
| # | ||
| CONFIG_COREBOOT_BUILD=y | ||
| CONFIG_LOCALVERSION="" |
There was a problem hiding this comment.
Rebranding related. Maybe Dasharo wants to fixate this so LOCALVERSION is defined across all branding, but otherwise branding related snippets to understand:
Heads branding if not defined:
Line 13 in 99157f2
Override by localsite
Lines 92 to 97 in 99157f2
And then if not defined, populated
Lines 115 to 119 in 99157f2
| CONFIG_TSEG_STAGE_CACHE=y | ||
| # CONFIG_UPDATE_IMAGE is not set | ||
| CONFIG_BOOTSPLASH_IMAGE=y | ||
| CONFIG_BOOTSPLASH_FILE="@BRAND_DIR@/bootsplash.jpg" |
There was a problem hiding this comment.
bootsplash related stuff missing
| CONFIG_DRIVERS_INTEL_WIFI=y | ||
| CONFIG_IFD_BIN_PATH="3rdparty/dasharo-blobs/novacustom/v5x0tu/descriptor.bin" | ||
| CONFIG_ME_BIN_PATH="3rdparty/dasharo-blobs/novacustom/v5x0tu/me.bin" | ||
| CONFIG_GBE_BIN_PATH="3rdparty/dasharo-blobs/novacustom/v5x0tu/gbe.bin" |
There was a problem hiding this comment.
mac address? DE:AD:C0:FF:EE?
There was a problem hiding this comment.
It's a clean NVM from Intel, the default MAC is 88:88:88:88:87:88. It's expected that this region is not flashed during regular firmware deployment or update.
If someone accidentally overwrites or wipes their GbE region, they can recover their mac using https://github.com/dasharo/dcu?tab=readme-ov-file#usage
| # | ||
| # Dasharo Configuration | ||
| # | ||
| CONFIG_DASHARO_PREFER_S3_SLEEP=y |
There was a problem hiding this comment.
No, there's no S3 support on Meteor Lake :(
There was a problem hiding this comment.
@mkopec updates on this? That would be the first Heads platform with ME enabled, that was not expected/planned #1801 (comment)
| # CONFIG_STITCH_ME_BIN is not set | ||
| # CONFIG_ME_REGION_ALLOW_CPU_READ_ACCESS is not set | ||
| CONFIG_HAVE_INTEL_ME_HAP=y | ||
| # CONFIG_INTEL_ME_DISABLED_HECI is not set |
There was a problem hiding this comment.
with ME disabled, S0ix will stop working correctly (CPU won't enter deepest sleepstates and fans will stay on), and there's no S3, so I think it has to stay enabled for now.
There was a problem hiding this comment.
@mkopec updates on this? That would be the first Heads platform with ME enabled, that was not expected/planned #1801 (comment)
There was a problem hiding this comment.
I'm not sure what happened here, summoning @macpijan for help
There was a problem hiding this comment.
Indeed, we have supported/tested S0ix only in UEFI firmware, which was the reference here. I think this is now clarified: #1871 (comment)
I hope this thread can be resolved once @mkopec changes these settings
- added only to tested boards: x230, t480, t480s, qemu - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - added only to tested boards: x230, t480, t480s - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - added only to tested boards: x230, t480, t480s - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - added only to tested boards: x230, t480, t480s - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - added only to tested boards: x230, t480, t480s - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - added only to tested boards: x230, t480, t480s - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- added only to tested boards: x230, t480, t480s, qemu - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- added only to tested boards: x230, t480, t480s, qemu - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - added only to tested boards: x230, t480, t480s - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - added only to tested boards: x230, t480, t480s - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - added only to tested boards: x230, t480, t480s - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - added only to tested boards: x230, t480, t480s - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - added only to tested boards: x230, t480, t480s - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - added only to tested boards: x230, t480, t480s - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - added only to tested boards: x230, t480, t480s - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) - t420 and x220, tools are set to no, does not fit in 7mb image (like dropbear) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) - t420 and x220, tools are set to no, does not fit in 7mb image (like dropbear) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) - t420 and x220, tools are set to no, does not fit in 7mb image (like dropbear) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) - t420 and x220, tools are set to no, does not fit in 7mb image (like dropbear) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) - t420 and x220, tools are set to no, does not fit in 7mb image (like dropbear) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) - t420 and x220, tools are set to no, does not fit in 7mb image (like dropbear) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) - t420 and x220, tools are set to no, does not fit in 7mb image (like dropbear) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) - t420 and x220, tools are set to no, does not fit in 7mb image (like dropbear) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) - t420 and x220, tools are set to no, does not fit in 7mb image (like dropbear) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) - t420 and x220, tools are set to no, does not fit in 7mb image (like dropbear) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) - t420 and x220, tools are set to no, does not fit in 7mb image (like dropbear) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) - t420 and x220, tools are set to no, does not fit in 7mb image (like dropbear) Signed-off-by: Rene <chaotic@disroot.org>
- add $CONFIG_NVMUTIL - add $CONFIG_IFDTOOL - change $CONFIG_FLASH_OPTIONS to "flashprog --progress --programmer internal --ifd -i bios -i me -i fd" for all boards have GBE packed in ROM - novacustom v54 and v56, tools are set to no, see linuxboot#1871 (comment) - t420 and x220, tools are set to no, does not fit in 7mb image (like dropbear) Signed-off-by: Rene <chaotic@disroot.org>
input for #1846
2024-12-04:
If builds and doesn't cause brick, should be base for testing after @mkopec corrections from b78c174 state
Old:
@mkopec :
This shows PR0 patch not applying, see last commit log. CI will fail for same reason building this PR.
Once all pending patches are gone under patches/coreboot-dasahro-unreleased, then modules/coreboot can have that patch dir removed and patches needed between dasahro coreboot release and upstream fixes will land in that directory until dasharo coreboot fork git hash is updated to contain content of patches under that directory.