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

Add NovaCustom V540TU and V560TU boards #1846

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

Conversation

mkopec
Copy link
Contributor

@mkopec mkopec commented Nov 14, 2024

Add NovaCustom V540TU board (14" V54 Series, Meteor Lake, Integrated graphics)

@macpijan
Copy link
Contributor

@mkopec Do we plan to add here the rest of the variants as well?

@mkopec
Copy link
Contributor Author

mkopec commented Nov 14, 2024

@macpijan sure, after one starts working I'll do the rest too

@tlaurion
Copy link
Collaborator

@macpijan @mkopec similar commit needed for #1835

@tlaurion
Copy link
Collaborator

@mkopec this comment might be helpful #1835 (comment)

@tlaurion
Copy link
Collaborator

@mkopec

mkc: seems like kernel 6.7+ is bare minimal for meteor lake, with efifb fixes having landed under 6.8+?

Also, if you pass serial to kernel boot options under coreboot config, you should get logs of the kernel?

At https://matrix.to/#/!pAlHOfxQNPXOgFGTmo:matrix.org/$bVtsV3M_sz0MroFsDkXRGQ3ow7OhumKqtAllchkAyKs?via=matrix.org&via=nitro.chat&via=envs.net

@mkopec
Copy link
Contributor Author

mkopec commented Nov 22, 2024

mkc: seems like kernel 6.7+ is bare minimal for meteor lake, with efifb fixes having landed under 6.8+?

possible, in Ubuntu and Fedora we found it best to have Linux 6.8 or newer (6.9 also has a fix for s0ix but that's irrelevant for Heads)

@tlaurion do you think you can help with updating the kernel?

@tlaurion
Copy link
Collaborator

tlaurion commented Nov 22, 2024

I read that 6.12 will be next Lts but that is only speculation.

edit: We choose 6.11.9 for all novacustom boards?
I can give it a shot, yes, and leave traces in commit, taking this PR state as a base.

@mkopec did serial console passed per coreboot config to kernel gave you more info?
With debug as well. See qemu coreboot config, non-prod.

@tlaurion
Copy link
Collaborator

tlaurion commented Nov 22, 2024

@mkopec there is a lot to tune under 6.11.9 kernel config which writes over shared linux config with other novacustom (config/linux-nitrokey-x.config, should probably renamed and all board configs point to new name as well).

See branch https://github.com/tlaurion/heads/tree/dasharo-add_novacustom_v540tu and feel free to steal adapt/change whatever. If you have questions, poke me where/if needed.

Note: compare config changes in commit 510bc6e to see all the new olddefconfig stuff applied silently when using defconfig. Ie, what happened with TRUST_CPU and so many other stuff to care about once you have something that boots.

See also that I changed your coreboot config to pass linux kernel options to be in debug, with probably wrong serial ttyS0, adapt accordingly and keep me posted. Small iterations in board porting has known good track history.

If you decided to tackle #1835 instead, I could help (if you guide me into how you get serial console output [even though this work wasn't planned nor in my plate up to now]).

@tlaurion
Copy link
Collaborator

tlaurion commented Nov 22, 2024

Edit:yep. Cannot bump Sandy to 6.11.9: as can be seen, all those do not have enough free spi space without another phase of #590 (not planned.)

@mkopec
Copy link
Contributor Author

mkopec commented Nov 27, 2024

Thanks for the patches @tlaurion , I'm testing them now, i'm not getting a serial console yet, I suspect the LPSS UART driver is missing, will try to fix

@tlaurion
Copy link
Collaborator

@mkopec #1865 merged, please rebase

@tlaurion
Copy link
Collaborator

tlaurion commented Nov 28, 2024

Thanks for the patches @tlaurion , I'm testing them now, i'm not getting a serial console yet, I suspect the LPSS UART driver is missing, will try to fix

@mkopec This needs updates, since reported off-channel to be all good :)

@mkopec mkopec force-pushed the add_novacustom_v540tu branch from aeb7fc7 to 005c519 Compare November 29, 2024 11:37
@mkopec
Copy link
Contributor Author

mkopec commented Nov 29, 2024

@tlaurion rebased

@mkopec mkopec force-pushed the add_novacustom_v540tu branch from 005c519 to 6964713 Compare November 29, 2024 12:15
@mkopec mkopec marked this pull request as ready for review November 29, 2024 12:16
@tlaurion
Copy link
Collaborator

tlaurion commented Nov 29, 2024

@mkopec awesome!!!


Trying to dodge politic issues from #1818 (comment) and going practical and specific.

@macpijan @mkopec : Can https://review.coreboot.org/c/coreboot/+/85278 be added to Dasharo fork (which nv41/ns50/v540TU/v560TU should build upon (modules/coreboot dasharo pointed commit), tested against #1818 so that we can merge #1818 (which changes configs for nv41) and here changes needed for PR0 for v540TU/V560TU?

Makes sense? Otherwise patches need do be under patches/coreboot-dasahro-unreleased, which I do not want to maintain since we talk of a new coreboot release.

Also, MSI(#1753 should build from same coreboot Dasharo fork commit pointed under modules/coreboot without breaking (otherwise multiple coreboot Dasahro forks will be built under Heads???? Is that the plan because multiple forks for different boards under Dasharo?)

cc @pietrushnic @macpijan

modules/coreboot Outdated
@@ -93,8 +93,7 @@ $(eval $(call coreboot_module,purism,24.02.01))

# MSI and Nitropad NV41 / NS50 boards are based on Dasharo coreboot port
coreboot-dasharo_repo := https://github.com/dasharo/coreboot
coreboot-dasharo_commit_hash := 3a9aa3a4692f3dd49732f5b4e3ec54be385f0969
coreboot-dasharo_patch_version := unreleased
coreboot-dasharo_commit_hash := db1d9cd59d0d7d5b708bbdf8670780914061410c
Copy link
Collaborator

@tlaurion tlaurion Nov 29, 2024

Choose a reason for hiding this comment

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

@mkopec this is shared between MSI/nv41/ns50/v540Tu/v560TU: tested for oldconfig expension/run time regression? #1818 related patch inclusion?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not regression tested yet, will report here with results

@@ -34,6 +34,9 @@ linux_hash := 40f014d53e81f204f6d2a364aae4201ae07970dd1b70dc602d7c66c1a140f558
else ifeq "$(CONFIG_LINUX_VERSION)" "6.1.8"
linux_version := 6.1.8
linux_hash := b60bb53ab8ba370a270454b11e93d41af29126fc72bd6ede517673e2e57b816d
else ifeq "$(CONFIG_LINUX_VERSION)" "6.11.9"
Copy link
Collaborator

@tlaurion tlaurion Nov 29, 2024

Choose a reason for hiding this comment

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

Was 6.11.9 verified needed for meteor lake as opposed to 6.1.8 which all other Heads boards depend on after serial console issue being fixed and ACPI related Kconfig addition under linux config added that was the cause of linux hang, maybe not efifb nor 6.1.8?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The cause of hang was X2APIC not being enabled in kernel config, now with that sorted I think I can try 6.1 again to check if we need 6.11 after all

Copy link
Collaborator

Choose a reason for hiding this comment

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

Some patches against linux were removed and not readded with adaptation as compared to 6.1.8. If 6.11.9 required for meteor lake, missing patches need to be brought back if still needed

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.

@mkopec Review dropped :)

modules/coreboot Outdated Show resolved Hide resolved
@tlaurion
Copy link
Collaborator

tlaurion commented Nov 29, 2024

@mkopec I decided to not do politics in words, but as code from now on. What is coreboot fork related will be coreboot fork related from now on.

#1818 was merged, if you rebase from/merge master in your PR, you will see that added PR0 patch under patches/coreboot-dasharo_unreleased don't apply as for nv4x_adl on master, where only ns50/n4x_adl were the only Heads master consumers of Dasharo forks, showing problem of having multiple forks for different platforms and delegating problem to whom it belongs, making sure patches/coreboot-dasharo_unreleased patches that were pending next downsteam fork release are picked up/adtapted in next downstream release, and for Heads to take for granted that coreboot base is working as expected for Heads to do its Heads stuff.

I will then participate/help adapting changes to coreboot configs/board configs if needed for Heads under #1868, which points to needed knowledge for Heads for PR0 to work as expected on skylake+, and will be used as base so coreboot upstream patch evolves to be useful for all and prevent OS persistent threat to be pushed to firmware (at least under Heads use case) leaving physical attack of tampering bootblock the only threat model to SPI flash for advanced users activating Heads Authenticated Heads, which I intend to push on next feature freeze (next downstream release).

@@ -91,7 +91,8 @@ coreboot-purism_repo := https://source.puri.sm/firmware/coreboot.git
coreboot-purism_commit_hash := bea9947a1279be7d4a72b38a601d0288d10d1cb8
$(eval $(call coreboot_module,purism,24.02.01))

# MSI and Nitropad NV41 / NS50 boards are based on Dasharo coreboot port
# MSI and NovaCustom NV4xPZ, NS5xPU, V540TU, V560TU boards are based on Dasharo
# coreboot fork, based on upstream coreboot version 24.02
Copy link
Collaborator

@tlaurion tlaurion Nov 29, 2024

Choose a reason for hiding this comment

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

Nice, which means we can reuse x230 24.02.01 buildstack (util/corssgcc built per coreboot fork base version, can be shared) as per prior lines, adapting:
$(eval $(call coreboot_module,dasahro,24.02.01))

(This means CI, passing cahce layers from prior build and persist workspaces, will reuse coreboot built buildstack, reducing precious build time. Note this is also why we love sharing same linux kernel versions where possible, not only to commpare configs between each other to guarantee some kind of baseline + needed platform requirements, but also have shared linux build dir, where module/(linux/coreboot) build artifacts is $BOARD_NAME. This permits to share build cache (somewhat equivalent of ccache) while having board specific modules for initrd and kernel bzimage outputed in board build dir.)

TLDR: those things save a lot of build time. This is more then desired, if not needed with forever added boards.
(If we do so, time is spent in downloading workpace caches (bandwidth doesn't count on credits) where compile time per board if modules/* hashes don't change is reused, resulting in build times of 10 minutes per board.

Copy link
Contributor Author

@mkopec mkopec Dec 10, 2024

Choose a reason for hiding this comment

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

Added $(eval $(call coreboot_module,dasahro,24.02.01)) to allow reusing environment in CI, in commit 0cdba41

@mkopec
Copy link
Contributor Author

mkopec commented Dec 11, 2024

alongside with HAP bit still not enabled in coreboot config

Currently coreboot sets it for us. Verified by checking Current Operation Mode field in ME device, it's currently 2 (Debug mode / HAP)

I'll check your changes and report back with results

@tlaurion
Copy link
Collaborator

tlaurion commented Dec 11, 2024

alongside with HAP bit still not enabled in coreboot config

Currently coreboot sets it for us. Verified by checking Current Operation Mode field in ME device, it's currently 2 (Debug mode / HAP)

I'll check your changes and report back with results

Ok so CONFIG_IFDTOOL_DISABLE_ME=y might be cause of my bootloop. Rebuilding locally tlaurion@44871a4

Edit: still no joy from boot.

tlaurion added a commit to tlaurion/heads that referenced this pull request Dec 11, 2024
@tlaurion
Copy link
Collaborator

tlaurion commented Dec 11, 2024

@mkopec
signal-2024-12-11-114832_002

@tlaurion maybe we have different hardware specs? I'm testing on a unit with Core 155H and 1920x1200 screen

Seems to be same here?

@tlaurion
Copy link
Collaborator

tlaurion commented Dec 11, 2024

@mkopec we are looping here, seems like we have communication issues. This PR still doesn't build under CI for v560tu, meaning we won't be able to use the same rom on both our machines to make sure we talk about the same thing, with same flashing technique /regions therefore SPI content. It would be nice if we optimized our collaboration so this is done before christmas.

Commit fixing CI is tlaurion@30951a7 (provided 19 hours ago)

I opened a thread under Matrix. Please poke me there. I suggested fixes that are still not picked up, nv4x_adl/ns50 config changes are not there alongside a bunch of already provided fixes in code. If changes suggested are not evaluted and some things are picked up while others are missed, we won't do it before christmas. Live communication is needed otherwise we are loosing both our precious time.

See you at https://matrix.to/#/!pAlHOfxQNPXOgFGTmo:matrix.org/$MQ_Wndi6lu_iqJB40BxZI2OnpJSu_IhAXQZ1mMVxRY8?via=matrix.org&via=nitro.chat&via=envs.net

@tlaurion
Copy link
Collaborator

tlaurion commented Dec 11, 2024

See #1876 which builds agreed changes so we can both test v560tu, while building for 540tu/nv4x/n50 as well @mkopec

I repeat, this PR builds only for v540tu, not v560tu which makes waiting for CI useless. See #1876

tlaurion and others added 8 commits December 18, 2024 14:10
Redoing diffs already proposed under linuxboot#1871 but not taken yet....

Signed-off-by: Thierry Laurion <[email protected]>
…linuxboot#1871 but not yet taken under linuxboot#1846

BOOTSPLASH section missing, as well as ME still enabled...

Signed-off-by: Thierry Laurion <[email protected]>
… region, document S3/S01x/Hibernation limitation which is lackking from linuxboot#1846

Signed-off-by: Thierry Laurion <[email protected]>
…e to reuse 24.02.01 coreboot buildstack, no point waiting for novacustom_nv4x_adl to be built. Gonna clear cache for next run and build clean

Signed-off-by: Thierry Laurion <[email protected]>
@tlaurion
Copy link
Collaborator

tlaurion commented Dec 18, 2024

@mkopec v560tu/v540tu fails per CI, log to error pointed to CI build log line at https://app.circleci.com/pipelines/github/Dasharo/heads/164/workflows/8b24a3e8-be7f-48e7-951e-5b55bd596d21/jobs/3553?invite=true#step-106-89158_135 :

python: can't open file '/root/heads/build/x86/coreboot-dasharo/3rdparty/fsp/Tools/SplitFspBin.py': [Errno 2] No such file or directory

the logic under of Heads is to use coreboot dependency resolving for submodules retrieval, as can be seen under modules/coreboot.

Initially reported at #1876 (comment)


EDIT: CircleCI cache system notes, if either global Makefile, modules/coreboot or patches/* modules hashes don't match what CircleCI has cache for, then that coreboot cache layer is not used and that subdir is rebuilded clean.
As can be seen in prep_env, the build didn't use any cache layer: it built clean from source without artifacts https://app.circleci.com/pipelines/github/Dasharo/heads/164/workflows/8b24a3e8-be7f-48e7-951e-5b55bd596d21/jobs/3535/parallel-runs/0/steps/0-107

@tlaurion
Copy link
Collaborator

As per log trace https://app.circleci.com/pipelines/github/Dasharo/heads/164/workflows/8b24a3e8-be7f-48e7-951e-5b55bd596d21/jobs/3553?invite=true#step-106-0_169

make -C "/root/heads/build/x86/coreboot-dasharo/novacustom-v540tu" -C /root/heads/build/x86/coreboot-dasharo obj=/root/heads/build/x86/coreboot-dasharo/novacustom-v540tu DOTCONFIG=/root/heads/build/x86/coreboot-dasharo/novacustom-v540tu/.config XGCCPATH=/root/heads/build/x86/coreboot-24.02.01/util/crossgcc/xgcc/bin/  BUILD_TIMELESS=1 -j36 --load-average=54 
make[1]: Entering directory '/root/heads/build/x86/coreboot-dasharo'
Updating git submodules.
Submodule '3rdparty/amd_blobs' (https://review.coreboot.org/amd_blobs) registered for path '3rdparty/amd_blobs'
Submodule 'arm-trusted-firmware' (https://review.coreboot.org/arm-trusted-firmware.git) registered for path '3rdparty/arm-trusted-firmware'
Submodule '3rdparty/blobs' (https://review.coreboot.org/blobs.git) registered for path '3rdparty/blobs'
Submodule '3rdparty/chromeec' (https://review.coreboot.org/chrome-ec.git) registered for path '3rdparty/chromeec'
Submodule '3rdparty/cmocka' (https://review.coreboot.org/cmocka.git) registered for path '3rdparty/cmocka'
Submodule '3rdparty/dasharo-blobs' (https://github.com/Dasharo/dasharo-blobs.git) registered for path '3rdparty/dasharo-blobs'
Submodule '3rdparty/ffs' (https://review.coreboot.org/ffs.git) registered for path '3rdparty/ffs'
Submodule '3rdparty/fsp' (https://review.coreboot.org/fsp.git) registered for path '3rdparty/fsp'
Submodule 'intel-microcode' (https://review.coreboot.org/intel-microcode.git) registered for path '3rdparty/intel-microcode'
Submodule '3rdparty/intel-sec-tools' (https://review.coreboot.org/9esec-security-tooling.git) registered for path '3rdparty/intel-sec-tools'
Submodule 'libgfxinit' (https://review.coreboot.org/libgfxinit.git) registered for path '3rdparty/libgfxinit'
Submodule 'libhwbase' (https://review.coreboot.org/libhwbase.git) registered for path '3rdparty/libhwbase'
Submodule 'opensbi' (https://review.coreboot.org/opensbi.git) registered for path '3rdparty/opensbi'
Submodule '3rdparty/qc_blobs' (https://review.coreboot.org/qc_blobs.git) registered for path '3rdparty/qc_blobs'
Submodule '3rdparty/stm' (https://review.coreboot.org/STM.git) registered for path '3rdparty/stm'
Submodule 'vboot' (https://review.coreboot.org/vboot.git) registered for path '3rdparty/vboot'
Submodule 'src/vendorcode/amd/opensil/genoa_poc/opensil' (https://review.coreboot.org/opensil_genoa_poc.git) registered for path 'src/vendorcode/amd/opensil/genoa_poc/opensil'
Submodule 'util/goswid' (https://review.coreboot.org/goswid) registered for path 'util/goswid'
Submodule 'util/nvidia-cbootimage' (https://review.coreboot.org/nvidia-cbootimage.git) registered for path 'util/nvidia/cbootimage'
Skipping submodule '3rdparty/amd_blobs'
Cloning into '/root/heads/build/x86/coreboot-dasharo/3rdparty/arm-trusted-firmware'...
Skipping submodule '3rdparty/blobs'
Cloning into '/root/heads/build/x86/coreboot-dasharo/3rdparty/chromeec'...
Skipping submodule '3rdparty/cmocka'
Cloning into '/root/heads/build/x86/coreboot-dasharo/3rdparty/dasharo-blobs'...
Cloning into '/root/heads/build/x86/coreboot-dasharo/3rdparty/ffs'...
Skipping submodule '3rdparty/fsp'
Skipping submodule '3rdparty/intel-microcode'
Cloning into '/root/heads/build/x86/coreboot-dasharo/3rdparty/intel-sec-tools'...
Cloning into '/root/heads/build/x86/coreboot-dasharo/3rdparty/libgfxinit'...
Cloning into '/root/heads/build/x86/coreboot-dasharo/3rdparty/libhwbase'...
Cloning into '/root/heads/build/x86/coreboot-dasharo/3rdparty/opensbi'...
Skipping submodule '3rdparty/qc_blobs'
Cloning into '/root/heads/build/x86/coreboot-dasharo/3rdparty/stm'...
Cloning into '/root/heads/build/x86/coreboot-dasharo/3rdparty/vboot'...
Cloning into '/root/heads/build/x86/coreboot-dasharo/src/vendorcode/amd/opensil/genoa_poc/opensil'...
Cloning into '/root/heads/build/x86/coreboot-dasharo/util/goswid'...
Cloning into '/root/heads/build/x86/coreboot-dasharo/util/nvidia/cbootimage'...
Cloning into '/root/heads/build/x86/coreboot-dasharo/3rdparty/cmocka'...
Cloning into '/root/heads/build/x86/coreboot-dasharo/3rdparty/blobs'...
Cloning into '/root/heads/build/x86/coreboot-dasharo/3rdparty/intel-microcode'...
printf "    MAKE       \n"
    MAKE       
FIRMWARE_ARCH=x86 CC="/root/heads/build/x86/coreboot-24.02.01/util/crossgcc/xgcc/bin/i386-elf-gcc" CFLAGS="-I/root/heads/build/x86/coreboot-dasharo/src -I/root/heads/build/x86/coreboot-dasharo/src/include -I/root/heads/build/x86/coreboot-dasharo/src/commonlib/include -I/root/heads/build/x86/coreboot-dasharo/src/commonlib/bsd/include -I/root/heads/build/x86/coreboot-dasharo/3rdparty/vboot/firmware/include -include /root/heads/build/x86/coreboot-dasharo/src/include/kconfig.h -include /root/heads/build/x86/coreboot-dasharo/src/include/rules.h -include /root/heads/build/x86/coreboot-dasharo/src/commonlib/bsd/include/commonlib/bsd/compiler.h -I/root/heads/build/x86/coreboot-dasharo/3rdparty -D__BUILD_DIR__=\"novacustom-v540tu\" -D__TIMELESS__ -I/root/heads/build/x86/coreboot-dasharo/src/ec/intel -I/root/heads/build/x86/coreboot-dasharo/src/soc/intel/meteorlake -I/root/heads/build/x86/coreboot-dasharo/src/soc/intel/meteorlake/include -I/root/heads/build/x86/coreboot-dasharo/src/vendorcode/intel/fsp/fsp2_0/iot/meteorlake -I/root/heads/build/x86/coreboot-dasharo/src/drivers/intel/fsp2_0/include -I/root/heads/build/x86/coreboot-dasharo/"3rdparty/dasharo-blobs/novacustom/v5x0tu/MeteorLakeFspBinPkg/Include/" -I/root/heads/build/x86/coreboot-dasharo/src/mainboard/clevo/mtl-h/include -I/root/heads/build/x86/coreboot-dasharo/src/soc/intel/common/basecode/include/ -I/root/heads/build/x86/coreboot-dasharo/src/soc/intel/common/block/include/ -I/root/heads/build/x86/coreboot-dasharo/src/soc/intel/common/pch/include/ -I/root/heads/build/x86/coreboot-dasharo/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include -I/root/heads/build/x86/coreboot-dasharo/src/vendorcode/intel/edk2/edk2-stable202302/IntelFsp2Pkg/Include -I/root/heads/build/x86/coreboot-dasharo/src/vendorcode/intel/edk2/edk2-stable202302/UefiCpuPkg/Include/ -I/root/heads/build/x86/coreboot-dasharo/src/vendorcode/dasharo/include/ -I/root/heads/build/x86/coreboot-dasharo/src/soc/intel/common/block/fast_spi -I/root/heads/build/x86/coreboot-dasharo/src/arch/x86/include -I/root/heads/build/x86/coreboot-dasharo/src/vendorcode/intel/edk2/edk2-stable202302/MdePkg/Include/Ia32 -D__ARCH_x86_32__ -pipe -g -nostdinc -std=gnu11 -nostdlib -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wno-trigraphs -Wimplicit-fallthrough -Wshadow -Wdate-time -Wtype-limits -Wvla -Wold-style-definition -Wdangling-else -Wmissing-include-dirs -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer -fstrict-aliasing -ffunction-sections -fdata-sections -fno-pie -Wold-style-declaration -Wno-packed-not-aligned -fconserve-stack -Wnull-dereference -Wlogical-op -Wduplicated-cond -Wno-array-compare -Werror -Os -fshort-wchar -Wno-address-of-packed-member --param=min-pagesize=1024  -m32  -fuse-ld=bfd -fno-stack-protector -Wl,--build-id=none -fno-delete-null-pointer-checks -Wlogical-op -march=i686 -mno-mmx -mno-sse -D__ROMSTAGE__ -I/root/heads/build/x86/coreboot-dasharo/novacustom-v540tu -Wno-missing-prototypes -DVBOOT_DEBUG" VBOOT2="y" EC_EFS="" X86_SHA_EXT="" VB2_X86_RSA_ACCELERATION="" ARMV8_CRYPTO_EXT="" make -C 3rdparty/vboot BUILD=/root/heads/build/x86/coreboot-dasharo/novacustom-v540tu/external/vboot_reference-romstage V=1 USE_FLASHROM=0 fwlib 

@tlaurion
Copy link
Collaborator

tlaurion commented Dec 18, 2024

Simple notes that this time, muslc-cross-make layer is used per last build cache https://app.circleci.com/pipelines/github/Dasharo/heads/165/workflows/5f87da24-b62a-4197-a13b-dd0f32c1066f/jobs/3583/parallel-runs/0/steps/0-107

Everything coreboot and other modules artifacts will be built from source, since modules/coreboot changed and therefore layer 2 cache cannot be reused (coreboot buildstack) nor layer 3 can be used (modules/* local artifacts).

This should be representative of a clean build, minus musl-cross make (which isn't touched here).

@tlaurion
Copy link
Collaborator

@mkopec same

repro local

user@heads-tests-deb12-nix-V560TU:~/heads$ sudo vim build/x86/coreboot-dasharo/.canary 
user@heads-tests-deb12-nix-V560TU:~/heads$ #modified coreboot commit hash so pull + patch + rebuild from there
user@heads-tests-deb12-nix-V560TU:~/heads$ ./docker_repro.sh make BOARD=novacustom-v560tu CPUS=1 # to with single thread so logs readable here
Using CircleCI Docker image: tlaurion/heads-dev-env:v0.2.4
----
Usage reminder: The minimal command is 'make BOARD=XYZ', where additional options, including 'V=1' or 'CPUS=N' are optional.
For more advanced QEMU testing options, refer to targets/qemu.md and boards/qemu-*/*.config.

Type exit within docker image to get back to host if launched interactively!
----

--->Launching container without access to host's USB buses (no USB devices was connected to host)...
----------------------------------------------------------------------
!!!!!! BUILD SYSTEM INFO !!!!!!
System CPUS: 12
System Available Memory: 16808 GB
System Load Average: 0.13
----------------------------------------------------------------------
Used **CPUS**: 1
Used **LOADAVG**: 1
Used **AVAILABLE_MEM_GB**: 16808 GB
----------------------------------------------------------------------
**MAKE_JOBS**: -j1 --load-average=1 

Variables available for override (use 'make VAR_NAME=value'):
**CPUS** (default: number of processors, e.g., 'make CPUS=4')
**LOADAVG** (default: 1.5 times CPUS, e.g., 'make LOADAVG=54')
**AVAILABLE_MEM_GB** (default: memory available on the system in GB, e.g., 'make AVAILABLE_MEM_GB=4')
**MEM_PER_JOB_GB** (default: 1GB per job, e.g., 'make MEM_PER_JOB_GB=2')
----------------------------------------------------------------------
!!!!!! Build starts !!!!!!
Makefile:270: warning: overriding recipe for target 'all'
Makefile:251: warning: ignoring old recipe for target 'all'
if [ ! -e "/home/user/heads/build/x86/coreboot-dasharo/.canary" ]; then git clone https://github.com/dasharo/coreboot "/home/user/heads/build/x86/coreboot-dasharo"; git -C "/home/user/heads/build/x86/coreboot-dasharo" reset --hard 3ae4d34963c55cb35e3db08ba4c1d255b0c9b4c0; echo -n 'https://github.com/dasharo/coreboot|3ae4d34963c55cb35e3db08ba4c1d255b0c9b4c0' > "/home/user/heads/build/x86/coreboot-dasharo/.canary"; elif [ "$(cat "/home/user/heads/build/x86/coreboot-dasharo/.canary")" != 'https://github.com/dasharo/coreboot|3ae4d34963c55cb35e3db08ba4c1d255b0c9b4c0' ]; then echo "Switching coreboot-dasharo to https://github.com/dasharo/coreboot at 3ae4d34963c55cb35e3db08ba4c1d255b0c9b4c0" && git -C "/home/user/heads/build/x86/coreboot-dasharo" reset --hard HEAD^ && echo "git fetch https://github.com/dasharo/coreboot 3ae4d34963c55cb35e3db08ba4c1d255b0c9b4c0 --recurse-submodules=no" && git -C "/home/user/heads/build/x86/coreboot-dasharo" fetch https://github.com/dasharo/coreboot 3ae4d34963c55cb35e3db08ba4c1d255b0c9b4c0 --recurse-submodules=no && echo "git reset --hard 3ae4d34963c55cb35e3db08ba4c1d255b0c9b4c0" && git -C "/home/user/heads/build/x86/coreboot-dasharo" reset --hard 3ae4d34963c55cb35e3db08ba4c1d255b0c9b4c0 && echo "git clean" && git -C "/home/user/heads/build/x86/coreboot-dasharo" clean -df && git -C "/home/user/heads/build/x86/coreboot-dasharo" clean -dffx payloads util/cbmem && echo "git submodule sync" && git -C "/home/user/heads/build/x86/coreboot-dasharo" submodule sync && echo "git submodule update" && git -C "/home/user/heads/build/x86/coreboot-dasharo" submodule update --init --checkout && echo -n 'https://github.com/dasharo/coreboot|3ae4d34963c55cb35e3db08ba4c1d255b0c9b4c0' > "/home/user/heads/build/x86/coreboot-dasharo/.canary"; fi
Switching coreboot-dasharo to https://github.com/dasharo/coreboot at 3ae4d34963c55cb35e3db08ba4c1d255b0c9b4c0
HEAD is now at b8507b5659 soc/intel/cmn/blk/cse/cse.c: skip me_enable while ME is in Debug mode
git fetch https://github.com/dasharo/coreboot 3ae4d34963c55cb35e3db08ba4c1d255b0c9b4c0 --recurse-submodules=no
From https://github.com/dasharo/coreboot
 * branch                  3ae4d34963c55cb35e3db08ba4c1d255b0c9b4c0 -> FETCH_HEAD
git reset --hard 3ae4d34963c55cb35e3db08ba4c1d255b0c9b4c0
HEAD is now at 3ae4d34963 soc/intel/meteorlake/Kconfig: select HAVE_INTEL_FSP_REPO
git clean
Removing .canary
Removing .patched
Removing novacustom-v560tu/.configured
Removing novacustom-v560tu/auto.conf
Removing novacustom-v560tu/auto.conf.cmd
Removing novacustom-v560tu/bootblock/acpi/
Removing novacustom-v560tu/bootblock/commonlib/
Removing novacustom-v560tu/bootblock/console/
Removing novacustom-v560tu/bootblock/cpu/intel/
Removing novacustom-v560tu/bootblock/cpu/x86/lapic/
Removing novacustom-v560tu/bootblock/cpu/x86/mtrr/
Removing novacustom-v560tu/bootblock/cpu/x86/name/
Removing novacustom-v560tu/bootblock/cpu/x86/pae/
Removing novacustom-v560tu/bootblock/cpu/x86/tsc/
Removing novacustom-v560tu/bootblock/device/
Removing novacustom-v560tu/bootblock/drivers/
Removing novacustom-v560tu/bootblock/ec/
Removing novacustom-v560tu/bootblock/external/
Removing novacustom-v560tu/bootblock/lib/
Removing novacustom-v560tu/bootblock/mainboard/
Removing novacustom-v560tu/bootblock/security/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/chip/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/fast_spi/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/gpio/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/gpmr/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/gspi/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/i2c/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/ioc/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/itss/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/lpc/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/lpss/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/p2sb/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/pcr/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/pmc/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/rtc/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/smbus/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/smm/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/spi/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/systemagent/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/timer/
Removing novacustom-v560tu/bootblock/soc/intel/common/block/uart/
Removing novacustom-v560tu/bootblock/soc/intel/meteorlake/
Removing novacustom-v560tu/bootblock/vendorcode/
Removing novacustom-v560tu/build.h
Removing novacustom-v560tu/cb-config.rustcfg
Removing novacustom-v560tu/cbfs/fallback/romstage.map
Removing novacustom-v560tu/config.h
Removing novacustom-v560tu/config/
Removing novacustom-v560tu/decompressor/
Removing novacustom-v560tu/external/vboot_reference-ramstage/cgpt/
Removing novacustom-v560tu/external/vboot_reference-ramstage/firmware/lib/tpm2_lite/
Removing novacustom-v560tu/external/vboot_reference-ramstage/firmware/lib/tpm_lite/
Removing novacustom-v560tu/external/vboot_reference-ramstage/firmware/stub/
Removing novacustom-v560tu/external/vboot_reference-ramstage/futility/
Removing novacustom-v560tu/external/vboot_reference-ramstage/host/
Removing novacustom-v560tu/external/vboot_reference-ramstage/tests/
Removing novacustom-v560tu/external/vboot_reference-ramstage/utility/
Removing novacustom-v560tu/external/vboot_reference-romstage/cgpt/
Removing novacustom-v560tu/external/vboot_reference-romstage/firmware/lib/tpm2_lite/
Removing novacustom-v560tu/external/vboot_reference-romstage/firmware/lib/tpm_lite/
Removing novacustom-v560tu/external/vboot_reference-romstage/firmware/stub/
Removing novacustom-v560tu/external/vboot_reference-romstage/futility/
Removing novacustom-v560tu/external/vboot_reference-romstage/host/
Removing novacustom-v560tu/external/vboot_reference-romstage/tests/
Removing novacustom-v560tu/external/vboot_reference-romstage/utility/
Removing novacustom-v560tu/fmap-template.fmd
Removing novacustom-v560tu/fmap.desc
Removing novacustom-v560tu/fmap.fmap
Removing novacustom-v560tu/fmap.fmd
Removing novacustom-v560tu/fmap_config.h
Removing novacustom-v560tu/libgnat-x86_32/
Removing novacustom-v560tu/mainboard/clevo/mtl-h/cbfs-file.5eiiOu
Removing novacustom-v560tu/mainboard/clevo/mtl-h/cbfs-file.GJgHUQ
Removing novacustom-v560tu/mainboard/clevo/mtl-h/cbfs-file.MivHNU
Removing novacustom-v560tu/mainboard/clevo/mtl-h/cbfs-file.WqL6gp
Removing novacustom-v560tu/mainboard/clevo/mtl-h/static.c
Removing novacustom-v560tu/option_table.h
Removing novacustom-v560tu/postcar/acpi/
Removing novacustom-v560tu/postcar/commonlib/
Removing novacustom-v560tu/postcar/console/
Removing novacustom-v560tu/postcar/cpu/
Removing novacustom-v560tu/postcar/device/
Removing novacustom-v560tu/postcar/drivers/
Removing novacustom-v560tu/postcar/ec/
Removing novacustom-v560tu/postcar/external/
Removing novacustom-v560tu/postcar/lib/
Removing novacustom-v560tu/postcar/mainboard/
Removing novacustom-v560tu/postcar/security/
Removing novacustom-v560tu/postcar/soc/
Removing novacustom-v560tu/postcar/vendorcode/
Removing novacustom-v560tu/ramstage/acpi/
Removing novacustom-v560tu/ramstage/commonlib/
Removing novacustom-v560tu/ramstage/console/
Removing novacustom-v560tu/ramstage/cpu/
Removing novacustom-v560tu/ramstage/device/
Removing novacustom-v560tu/ramstage/drivers/
Removing novacustom-v560tu/ramstage/ec/
Removing novacustom-v560tu/ramstage/external/
Removing novacustom-v560tu/ramstage/lib/
Removing novacustom-v560tu/ramstage/mainboard/
Removing novacustom-v560tu/ramstage/security/
Removing novacustom-v560tu/ramstage/soc/
Removing novacustom-v560tu/ramstage/southbridge/
Removing novacustom-v560tu/ramstage/superio/
Removing novacustom-v560tu/ramstage/vendorcode/
Removing novacustom-v560tu/rmodules_arm/
Removing novacustom-v560tu/rmodules_arm64/
Removing novacustom-v560tu/rmodules_ppc64/
Removing novacustom-v560tu/rmodules_riscv/
Removing novacustom-v560tu/rmodules_x86_32/arch/
Removing novacustom-v560tu/rmodules_x86_32/lib/
Removing novacustom-v560tu/rmodules_x86_64/
Removing novacustom-v560tu/romstage/acpi/acpi_pm.d
Removing novacustom-v560tu/romstage/arch/x86/assembly_entry.d
Removing novacustom-v560tu/romstage/arch/x86/boot.d
Removing novacustom-v560tu/romstage/arch/x86/breakpoint.d
Removing novacustom-v560tu/romstage/arch/x86/car.d
Removing novacustom-v560tu/romstage/arch/x86/car.ld
Removing novacustom-v560tu/romstage/arch/x86/cf9_reset.d
Removing novacustom-v560tu/romstage/arch/x86/cpu_common.d
Removing novacustom-v560tu/romstage/arch/x86/exception.d
Removing novacustom-v560tu/romstage/arch/x86/gdt_init.d
Removing novacustom-v560tu/romstage/arch/x86/idt.d
Removing novacustom-v560tu/romstage/arch/x86/memcpy.d
Removing novacustom-v560tu/romstage/arch/x86/memlayout.d
Removing novacustom-v560tu/romstage/arch/x86/memlayout.ld
Removing novacustom-v560tu/romstage/arch/x86/memmove_32.d
Removing novacustom-v560tu/romstage/arch/x86/memset.d
Removing novacustom-v560tu/romstage/arch/x86/null_breakpoint.d
Removing novacustom-v560tu/romstage/arch/x86/post.d
Removing novacustom-v560tu/romstage/arch/x86/postcar_loader.d
Removing novacustom-v560tu/romstage/arch/x86/romstage.d
Removing novacustom-v560tu/romstage/arch/x86/timestamp.d
Removing novacustom-v560tu/romstage/commonlib/bsd/cbfs_mcache.d
Removing novacustom-v560tu/romstage/commonlib/bsd/cbfs_private.d
Removing novacustom-v560tu/romstage/commonlib/bsd/elog.d
Removing novacustom-v560tu/romstage/commonlib/bsd/gcd.d
Removing novacustom-v560tu/romstage/commonlib/bsd/ipchksum.d
Removing novacustom-v560tu/romstage/commonlib/bsd/lz4_wrapper.d
Removing novacustom-v560tu/romstage/commonlib/iobuf.d
Removing novacustom-v560tu/romstage/commonlib/mem_pool.d
Removing novacustom-v560tu/romstage/commonlib/rational.d
Removing novacustom-v560tu/romstage/commonlib/region.d
Removing novacustom-v560tu/romstage/console/console.d
Removing novacustom-v560tu/romstage/console/die.d
Removing novacustom-v560tu/romstage/console/init.d
Removing novacustom-v560tu/romstage/console/post.d
Removing novacustom-v560tu/romstage/console/printk.d
Removing novacustom-v560tu/romstage/console/vsprintf.d
Removing novacustom-v560tu/romstage/console/vtxprintf.d
Removing novacustom-v560tu/romstage/cpu/intel/car/romstage.d
Removing novacustom-v560tu/romstage/cpu/intel/common/common_init.d
Removing novacustom-v560tu/romstage/cpu/intel/microcode/microcode.d
Removing novacustom-v560tu/romstage/cpu/x86/cache/cache.d
Removing novacustom-v560tu/romstage/cpu/x86/lapic/boot_cpu.d
Removing novacustom-v560tu/romstage/cpu/x86/lapic/lapic.d
Removing novacustom-v560tu/romstage/cpu/x86/mtrr/debug.d
Removing novacustom-v560tu/romstage/cpu/x86/mtrr/earlymtrr.d
Removing novacustom-v560tu/romstage/cpu/x86/name/name.d
Removing novacustom-v560tu/romstage/cpu/x86/pae/pgtbl.d
Removing novacustom-v560tu/romstage/cpu/x86/smm/tseg_region.d
Removing novacustom-v560tu/romstage/cpu/x86/tsc/delay_tsc.d
Removing novacustom-v560tu/romstage/device/device_const.d
Removing novacustom-v560tu/romstage/device/dram/ddr_common.d
Removing novacustom-v560tu/romstage/device/i2c.d
Removing novacustom-v560tu/romstage/device/mmio.d
Removing novacustom-v560tu/romstage/device/pci_early.d
Removing novacustom-v560tu/romstage/device/pci_ops.d
Removing novacustom-v560tu/romstage/drivers/i2c/designware/dw_i2c.d
Removing novacustom-v560tu/romstage/drivers/intel/fsp2_0/cbmem.d
Removing novacustom-v560tu/romstage/drivers/intel/fsp2_0/debug.d
Removing novacustom-v560tu/romstage/drivers/intel/fsp2_0/fsp_debug_event.d
Removing novacustom-v560tu/romstage/drivers/intel/fsp2_0/hand_off_block.d
Removing novacustom-v560tu/romstage/drivers/intel/fsp2_0/memory_init.d
Removing novacustom-v560tu/romstage/drivers/intel/fsp2_0/save_mrc_data.d
Removing novacustom-v560tu/romstage/drivers/intel/fsp2_0/util.d
Removing novacustom-v560tu/romstage/drivers/mrc_cache/mrc_cache.d
Removing novacustom-v560tu/romstage/drivers/pc80/pc/i8254.d
Removing novacustom-v560tu/romstage/drivers/pc80/rtc/mc146818rtc.d
Removing novacustom-v560tu/romstage/drivers/pc80/rtc/mc146818rtc_boot.d
Removing novacustom-v560tu/romstage/drivers/pc80/tpm/tis.d
Removing novacustom-v560tu/romstage/drivers/spi/bitbang.d
Removing novacustom-v560tu/romstage/drivers/spi/boot_device_rw_nommap.d
Removing novacustom-v560tu/romstage/drivers/spi/spi-generic.d
Removing novacustom-v560tu/romstage/drivers/spi/spi_flash.d
Removing novacustom-v560tu/romstage/drivers/uart/uart8250mem.d
Removing novacustom-v560tu/romstage/drivers/uart/util.d
Removing novacustom-v560tu/romstage/drivers/wifi/generic/generic.d
Removing novacustom-v560tu/romstage/ec/acpi/ec.d
Removing novacustom-v560tu/romstage/ec/intel/board_id.d
Removing novacustom-v560tu/romstage/ec/system76/ec/buttons.d
Removing novacustom-v560tu/romstage/ec/system76/ec/system76_ec.d
Removing novacustom-v560tu/romstage/lib/boot_device.d
Removing novacustom-v560tu/romstage/lib/bootmode.d
Removing novacustom-v560tu/romstage/lib/cbfs.d
Removing novacustom-v560tu/romstage/lib/cbmem_common.d
Removing novacustom-v560tu/romstage/lib/cbmem_console.d
Removing novacustom-v560tu/romstage/lib/crc_byte.d
Removing novacustom-v560tu/romstage/lib/delay.d
Removing novacustom-v560tu/romstage/lib/dimm_info_util.d
Removing novacustom-v560tu/romstage/lib/ext_stage_cache.d
Removing novacustom-v560tu/romstage/lib/fmap.d
Removing novacustom-v560tu/romstage/lib/gcc.d
Removing novacustom-v560tu/romstage/lib/gpio.d
Removing novacustom-v560tu/romstage/lib/halt.d
Removing novacustom-v560tu/romstage/lib/hexdump.d
Removing novacustom-v560tu/romstage/lib/identity.d
Removing novacustom-v560tu/romstage/lib/imd.d
Removing novacustom-v560tu/romstage/lib/imd_cbmem.d
Removing novacustom-v560tu/romstage/lib/libgcc.d
Removing novacustom-v560tu/romstage/lib/list.d
Removing novacustom-v560tu/romstage/lib/lzma.d
Removing novacustom-v560tu/romstage/lib/lzmadecode.d
Removing novacustom-v560tu/romstage/lib/memchr.d
Removing novacustom-v560tu/romstage/lib/memcmp.d
Removing novacustom-v560tu/romstage/lib/memrange.d
Removing novacustom-v560tu/romstage/lib/prog_loaders.d
Removing novacustom-v560tu/romstage/lib/prog_ops.d
Removing novacustom-v560tu/romstage/lib/program.d
Removing novacustom-v560tu/romstage/lib/program.ld
Removing novacustom-v560tu/romstage/lib/ramtest.d
Removing novacustom-v560tu/romstage/lib/region_file.d
Removing novacustom-v560tu/romstage/lib/reset.d
Removing novacustom-v560tu/romstage/lib/rmodule.d
Removing novacustom-v560tu/romstage/lib/romstage_handoff.d
Removing novacustom-v560tu/romstage/lib/rtc.d
Removing novacustom-v560tu/romstage/lib/selfboot.d
Removing novacustom-v560tu/romstage/lib/spd_bin.d
Removing novacustom-v560tu/romstage/lib/stack.d
Removing novacustom-v560tu/romstage/lib/string.d
Removing novacustom-v560tu/romstage/lib/timestamp.d
Removing novacustom-v560tu/romstage/lib/ux_locales.d
Removing novacustom-v560tu/romstage/lib/version.d
Removing novacustom-v560tu/romstage/lib/xxhash.d
Removing novacustom-v560tu/romstage/mainboard/clevo/mtl-h/romstage.d
Removing novacustom-v560tu/romstage/mainboard/clevo/mtl-h/static.d
Removing novacustom-v560tu/romstage/mainboard/clevo/mtl-h/variants/igpu/gpio.d
Removing novacustom-v560tu/romstage/security/memory/memory.d
Removing novacustom-v560tu/romstage/security/tpm/tspi/crtm.d
Removing novacustom-v560tu/romstage/security/tpm/tspi/log-tpm2.d
Removing novacustom-v560tu/romstage/security/tpm/tspi/tspi.d
Removing novacustom-v560tu/romstage/security/tpm/tss/tcg-2.0/tss.d
Removing novacustom-v560tu/romstage/security/tpm/tss/tcg-2.0/tss_marshaling.d
Removing novacustom-v560tu/romstage/security/tpm/tss/tss.d
Removing novacustom-v560tu/romstage/security/vboot/vboot_lib.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/chip/chip.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/cpu/cpulib.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/cse/cse.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/cse/telemetry.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/fast_spi/fast_spi.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/fast_spi/fast_spi_flash.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/fast_spi/mmap_boot.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/gpio/gpio.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/gpmr/gpmr.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/graphics/early_graphics.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/gspi/gspi.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/i2c/i2c.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/ioc/ioc.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/itss/itss.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/lpc/lpc_lib.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/lpss/lpss.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/memory/meminit.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/p2sb/ioe_p2sb.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/p2sb/p2sb.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/p2sb/p2sblib.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/pcie/pcie_helpers.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/pcr/pcr.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/pmc/pmclib.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/rtc/rtc.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/smbus/smbus_early.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/smbus/smbuslib.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/smbus/tco.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/smm/smm.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/spi/spi.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/systemagent/memmap.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/systemagent/systemagent_early.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/thermal/thermal_common.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/thermal/thermal_pmc.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/timer/timer.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/uart/uart.d
Removing novacustom-v560tu/romstage/soc/intel/common/block/vtd/vtd.d
Removing novacustom-v560tu/romstage/soc/intel/common/fsp_reset.d
Removing novacustom-v560tu/romstage/soc/intel/common/reset.d
Removing novacustom-v560tu/romstage/soc/intel/common/smbios.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/cse_telemetry.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/espi.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/gpio.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/gspi.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/i2c.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/meminit.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/pcie_rp.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/pmutil.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/reset.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/romstage/fsp_params.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/romstage/romstage.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/romstage/systemagent.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/soc_info.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/spi.d
Removing novacustom-v560tu/romstage/soc/intel/meteorlake/uart.d
Removing novacustom-v560tu/romstage/southbridge/intel/common/smbus.d
Removing novacustom-v560tu/romstage/vendorcode/dasharo/options.d
Removing novacustom-v560tu/smm/acpi/
Removing novacustom-v560tu/smm/commonlib/
Removing novacustom-v560tu/smm/console/
Removing novacustom-v560tu/smm/cpu/
Removing novacustom-v560tu/smm/device/
Removing novacustom-v560tu/smm/drivers/
Removing novacustom-v560tu/smm/ec/
Removing novacustom-v560tu/smm/lib/
Removing novacustom-v560tu/smm/mainboard/
Removing novacustom-v560tu/smm/soc/
Removing novacustom-v560tu/smm/vendorcode/
Removing novacustom-v560tu/static.h
Removing novacustom-v560tu/static_devices.h
Removing novacustom-v560tu/static_fw_config.h
Removing novacustom-v560tu/util/amdfwtool/
Removing novacustom-v560tu/util/cbfstool/fmaptool
Removing novacustom-v560tu/util/cbootimage/
Removing novacustom-v560tu/util/futility/
Removing novacustom-v560tu/util/ifdtool/ifdtool
Removing novacustom-v560tu/util/kconfig/Makefile.real
Removing novacustom-v560tu/util/kconfig/conf
Removing novacustom-v560tu/util/kconfig/lxdialog/
Removing novacustom-v560tu/util/kconfig/parser.tab.c
Removing novacustom-v560tu/util/kconfig/parser.tab.h
Removing novacustom-v560tu/util/nvidia/
Removing novacustom-v560tu/util/nvramtool/nvramtool
Removing novacustom-v560tu/util/options/
Removing novacustom-v560tu/util/sconfig/sconfig
Removing novacustom-v560tu/verstage/
Removing novacustom-v560tu/xcompile
Removing util/cbmem/.dependencies
Removing util/cbmem/cbmem
Removing util/cbmem/cbmem.o
git submodule sync
Synchronizing submodule url for '3rdparty/amd_blobs'
Synchronizing submodule url for '3rdparty/arm-trusted-firmware'
Synchronizing submodule url for '3rdparty/blobs'
Synchronizing submodule url for '3rdparty/chromeec'
Synchronizing submodule url for '3rdparty/cmocka'
Synchronizing submodule url for '3rdparty/dasharo-blobs'
Synchronizing submodule url for '3rdparty/ffs'
Synchronizing submodule url for '3rdparty/fsp'
Synchronizing submodule url for '3rdparty/intel-microcode'
Synchronizing submodule url for '3rdparty/intel-sec-tools'
Synchronizing submodule url for '3rdparty/libgfxinit'
Synchronizing submodule url for '3rdparty/libhwbase'
Synchronizing submodule url for '3rdparty/opensbi'
Synchronizing submodule url for '3rdparty/qc_blobs'
Synchronizing submodule url for '3rdparty/stm'
Synchronizing submodule url for '3rdparty/vboot'
Synchronizing submodule url for 'src/vendorcode/amd/opensil/genoa_poc/opensil'
Synchronizing submodule url for 'util/goswid'
Synchronizing submodule url for 'util/nvidia/cbootimage'
git submodule update
if [ ! -e "/home/user/heads/build/x86/coreboot-dasharo/.patched" ]; then if [ -r patches/coreboot-dasharo-unreleased.patch ]; then ( git apply --verbose --reject --binary --directory build/x86/coreboot-dasharo ) < patches/coreboot-dasharo-unreleased.patch || exit 1 ; fi && if [ -d patches/coreboot-dasharo-unreleased ] && [ -r patches/coreboot-dasharo-unreleased ] ; then for patch in patches/coreboot-dasharo-unreleased/*.patch ; do echo "Applying patch file : $patch " ; ( git apply --verbose --reject --binary --directory build/x86/coreboot-dasharo ) < $patch || exit 1 ; done ; fi && touch "/home/user/heads/build/x86/coreboot-dasharo/.patched"; fi
Applying patch file : patches/coreboot-dasharo-unreleased/0001-vc_wuffs-upgrade-to-Wuffs_0.4.0-alpha.8.patch 
Checking patch build/x86/coreboot-dasharo/src/vendorcode/wuffs/wuffs-v0.4.c...
Applied patch build/x86/coreboot-dasharo/src/vendorcode/wuffs/wuffs-v0.4.c cleanly.
Applying patch file : patches/coreboot-dasharo-unreleased/0002-lib_jpeg-avoidcalling-malloc-and-free.patch 
Checking patch build/x86/coreboot-dasharo/src/lib/jpeg.c...
Applied patch build/x86/coreboot-dasharo/src/lib/jpeg.c cleanly.
Applying patch file : patches/coreboot-dasharo-unreleased/0003-CONFIG_RESOURCE_ALLOCATION_TOP_DOWN-CONFIG_DOMAIN_RESOURCE_32BIT_LIMIT.patch 
Checking patch build/x86/coreboot-dasharo/src/northbridge/intel/gm45/Kconfig...
Hunk #1 succeeded at 30 (offset -1 lines).
Checking patch build/x86/coreboot-dasharo/src/northbridge/intel/haswell/Kconfig...
Checking patch build/x86/coreboot-dasharo/src/northbridge/intel/i945/Kconfig...
Hunk #1 succeeded at 40 (offset -1 lines).
Checking patch build/x86/coreboot-dasharo/src/northbridge/intel/ironlake/Kconfig...
Hunk #1 succeeded at 46 (offset -1 lines).
Checking patch build/x86/coreboot-dasharo/src/northbridge/intel/pineview/Kconfig...
Hunk #1 succeeded at 37 (offset -1 lines).
Checking patch build/x86/coreboot-dasharo/src/northbridge/intel/sandybridge/Kconfig...
Checking patch build/x86/coreboot-dasharo/src/northbridge/intel/x4x/Kconfig...
Hunk #1 succeeded at 27 (offset -1 lines).
Applied patch build/x86/coreboot-dasharo/src/northbridge/intel/gm45/Kconfig cleanly.
Applied patch build/x86/coreboot-dasharo/src/northbridge/intel/haswell/Kconfig cleanly.
Applied patch build/x86/coreboot-dasharo/src/northbridge/intel/i945/Kconfig cleanly.
Applied patch build/x86/coreboot-dasharo/src/northbridge/intel/ironlake/Kconfig cleanly.
Applied patch build/x86/coreboot-dasharo/src/northbridge/intel/pineview/Kconfig cleanly.
Applied patch build/x86/coreboot-dasharo/src/northbridge/intel/sandybridge/Kconfig cleanly.
Applied patch build/x86/coreboot-dasharo/src/northbridge/intel/x4x/Kconfig cleanly.
2024-12-18 18:05:49+00:00 CONFIG coreboot-dasharo
2024-12-18 18:05:49+00:00 INSTALL-MODULE drivers/hid/usbhid/usbhid.ko
2024-12-18 18:05:49+00:00 INSTALL-MODULE drivers/net/ethernet/intel/e1000/e1000.ko
2024-12-18 18:05:49+00:00 INSTALL-MODULE drivers/usb/host/ehci-hcd.ko
2024-12-18 18:05:49+00:00 INSTALL-MODULE drivers/usb/host/ehci-pci.ko
2024-12-18 18:05:49+00:00 INSTALL-MODULE drivers/usb/host/xhci-hcd.ko
2024-12-18 18:05:49+00:00 INSTALL-MODULE drivers/usb/host/xhci-pci.ko
2024-12-18 18:05:49+00:00 INSTALL-MODULE drivers/usb/storage/usb-storage.ko
2024-12-18 18:05:49+00:00 INSTALL-MODULE drivers/net/mii.ko
2024-12-18 18:05:49+00:00 INSTALL-MODULE drivers/net/usb/usbnet.ko
2024-12-18 18:05:49+00:00 INSTALL-MODULE drivers/net/usb/cdc_ether.ko
2024-12-18 18:05:49+00:00 INSTALL-MODULE drivers/net/usb/cdc_ncm.ko
2024-12-18 18:05:49+00:00 INSTALL-MODULE drivers/net/usb/cdc_eem.ko
2024-12-18 18:05:49+00:00 SYMLINK bin/busybox
2024-12-18 18:05:54+00:00 INSTALL-BIN build/x86/kexec-tools-2.0.26/build/sbin/kexec
2024-12-18 18:05:54+00:00 INSTALL-BIN build/x86/tpmtotp-4d63d21c8b7db2e92ddb393057f168aead147f47/totp
2024-12-18 18:05:54+00:00 INSTALL-BIN build/x86/tpmtotp-4d63d21c8b7db2e92ddb393057f168aead147f47/hotp
2024-12-18 18:05:54+00:00 INSTALL-BIN build/x86/tpmtotp-4d63d21c8b7db2e92ddb393057f168aead147f47/qrenc
2024-12-18 18:05:54+00:00 INSTALL-BIN build/x86/tpmtotp-4d63d21c8b7db2e92ddb393057f168aead147f47/util/tpm
2024-12-18 18:05:54+00:00 INSTALL-BIN build/x86/pciutils-3.5.4/lspci
2024-12-18 18:05:54+00:00 INSTALL-BIN build/x86/flashprog-eb2c04185f8f471c768b742d66e4c552effdd9cb/flashprog
2024-12-18 18:05:54+00:00 INSTALL-BIN build/x86/cryptsetup-2.6.1/.libs/cryptsetup
2024-12-18 18:05:54+00:00 INSTALL-BIN build/x86/cryptsetup-2.6.1/.libs/veritysetup
2024-12-18 18:05:54+00:00 INSTALL-BIN build/x86/gnupg-2.4.0/g10/gpg
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/gnupg-2.4.0/agent/gpg-agent
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/gnupg-2.4.0/scd/scdaemon
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/pinentry-1.1.0/tty/pinentry-tty
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/lvm2.2.03.23/./libdm/dm-tools/dmsetup
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/lvm2.2.03.23/tools/lvm
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/dropbear-2016.74/ssh
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/dropbear-2016.74/scp
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/dropbear-2016.74/dropbear
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/flashtools-d1e6f12568cb23387144a4b7a6535fe1bc1e79b1/flashtool
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/flashtools-d1e6f12568cb23387144a4b7a6535fe1bc1e79b1/peek
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/flashtools-d1e6f12568cb23387144a4b7a6535fe1bc1e79b1/poke
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/flashtools-d1e6f12568cb23387144a4b7a6535fe1bc1e79b1/cbfs
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/flashtools-d1e6f12568cb23387144a4b7a6535fe1bc1e79b1/uefi
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/fbwhiptail-1.3/fbwhiptail
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/fbwhiptail-1.3/whiptail
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/hotp-verification-e9050e0c914e7a8ffef5d1c82a014e0e2bf79346/hotp_verification
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/hotp-verification-e9050e0c914e7a8ffef5d1c82a014e0e2bf79346/hotp_initialize
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/tpm2-tools-5.6/tools/tpm2
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/bash-5.1.16/bash
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/io386-fc73fcf8e51a70638679c3e9b0ada10527f8a7c1/io386
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/zstd-1.5.5/programs/zstd-decompress
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/e2fsprogs-1.47.0/misc/mke2fs
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/exfatprogs-1.2.1/fsck/fsck.exfat
2024-12-18 18:05:55+00:00 INSTALL-BIN build/x86/exfatprogs-1.2.1/mkfs/mkfs.exfat
2024-12-18 18:05:55+00:00 MAKE cbmem
make[1]: Entering directory '/home/user/heads/build/x86/coreboot-dasharo/util/cbmem'
/home/user/heads/crossgcc/x86/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ --sysroot  /home/user/heads/install/x86 -isystem /home/user/heads/install/x86/include -L/home/user/heads/install/x86/lib  -O2 -Wall -Wextra -Wmissing-prototypes -Wshadow -Werror -I . -I /home/user/heads/build/x86/coreboot-dasharo/src/commonlib/include -I /home/user/heads/build/x86/coreboot-dasharo/src/commonlib/bsd/include -include /home/user/heads/build/x86/coreboot-dasharo/src/commonlib/bsd/include/commonlib/bsd/compiler.h  -c -o cbmem.o cbmem.c
/home/user/heads/crossgcc/x86/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ --sysroot  /home/user/heads/install/x86 -isystem /home/user/heads/install/x86/include -L/home/user/heads/install/x86/lib    cbmem.o /home/user/heads/build/x86/coreboot-dasharo/src/commonlib/bsd/ipchksum.o   -o cbmem
make[1]: Leaving directory '/home/user/heads/build/x86/coreboot-dasharo/util/cbmem'
2024-12-18 18:05:56+00:00 INSTALL-BIN build/x86/coreboot-dasharo/util/cbmem/cbmem
2024-12-18 18:05:56+00:00 INSTALL-DATA build/x86/ncurses-6.5/terminfo/l/linux
2024-12-18 18:05:56+00:00 INSTALL-LIB crossgcc/x86/x86_64-linux-musl/lib/libc.so
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/cairo-1.14.12/src/.libs/libcairo.so.2
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/cryptsetup-2.6.1/.libs/libcryptsetup.so.12
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/json-c-0.14/build/libjson-c.so.5
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/libaio-0.3.113/src/libaio.so.1
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/libassuan-2.5.5/src/.libs/libassuan.so.0
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/libgcrypt-1.10.1/src/.libs/libgcrypt.so.20
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/libgpg-error-1.46/src/.libs/libgpg-error.so.0
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/libksba-1.6.3/src/.libs/libksba.so.8
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/libpng-1.6.34/.libs/libpng16.so.16
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/libusb-1.0.21/libusb/.libs/libusb-1.0.so.0
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/lvm2.2.03.23/libdm/ioctl/libdevmapper.so.1.02
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/mbedtls-2.4.2/library/libmbedcrypto.so.0
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/npth-1.6/src/.libs/libnpth.so.0
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/openssl-3.0.8/libcrypto.so.3
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/pciutils-3.5.4/lib/libpci.so.3.5.4
2024-12-18 18:05:56+00:00 INSTALL-LIB install/x86/lib/libpci.so.3
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/pixman-0.34.0/pixman/.libs/libpixman-1.so.0
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/popt-1.19/src/.libs/libpopt.so.0
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/qrencode-3.4.4/.libs/libqrencode.so.3
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/tpm2-tss-3.2.2/src/tss2-rc/.libs/libtss2-rc.so.0
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/tpm2-tss-3.2.2/src/tss2-mu/.libs/libtss2-mu.so.0
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/tpm2-tss-3.2.2/src/tss2-sys/.libs/libtss2-sys.so.1
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/tpm2-tss-3.2.2/src/tss2-esys/.libs/libtss2-esys.so.0
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/tpm2-tss-3.2.2/src/tss2-tcti/.libs/libtss2-tctildr.so.0
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/tpm2-tss-3.2.2/src/tss2-tcti/.libs/libtss2-tcti-device.so.0
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/tpmtotp-4d63d21c8b7db2e92ddb393057f168aead147f47/libtpm/libtpm.so
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/util-linux-2.39/.libs/libuuid.so.1
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/util-linux-2.39/.libs/libblkid.so.1
2024-12-18 18:05:56+00:00 INSTALL-LIB build/x86/zlib-1.2.11/libz.so.1
2024-12-18 18:05:56+00:00 INSTALL boards/novacustom-v560tu/novacustom-v560tu.config
2024-12-18 18:05:56+00:00 HASH fc572e25b9423aa04b7a37b79076fd876e56ce55 clean novacustom-v560tu
Used **BINS**: /tmp/tmp.Nva2kuEKvm/bin/busybox /tmp/tmp.Nva2kuEKvm/bin/kexec /tmp/tmp.Nva2kuEKvm/bin/totp /tmp/tmp.Nva2kuEKvm/bin/hotp /tmp/tmp.Nva2kuEKvm/bin/qrenc /tmp/tmp.Nva2kuEKvm/bin/tpm /tmp/tmp.Nva2kuEKvm/bin/lspci /tmp/tmp.Nva2kuEKvm/bin/flashprog /tmp/tmp.Nva2kuEKvm/bin/cryptsetup /tmp/tmp.Nva2kuEKvm/bin/veritysetup /tmp/tmp.Nva2kuEKvm/bin/gpg /tmp/tmp.Nva2kuEKvm/bin/gpg-agent /tmp/tmp.Nva2kuEKvm/bin/scdaemon /tmp/tmp.Nva2kuEKvm/bin/pinentry-tty /tmp/tmp.Nva2kuEKvm/bin/dmsetup /tmp/tmp.Nva2kuEKvm/bin/lvm /tmp/tmp.Nva2kuEKvm/bin/ssh /tmp/tmp.Nva2kuEKvm/bin/scp /tmp/tmp.Nva2kuEKvm/bin/dropbear /tmp/tmp.Nva2kuEKvm/bin/flashtool /tmp/tmp.Nva2kuEKvm/bin/peek /tmp/tmp.Nva2kuEKvm/bin/poke /tmp/tmp.Nva2kuEKvm/bin/cbfs /tmp/tmp.Nva2kuEKvm/bin/uefi /tmp/tmp.Nva2kuEKvm/bin/fbwhiptail /tmp/tmp.Nva2kuEKvm/bin/whiptail /tmp/tmp.Nva2kuEKvm/bin/hotp_verification /tmp/tmp.Nva2kuEKvm/bin/hotp_initialize /tmp/tmp.Nva2kuEKvm/bin/tpm2 /tmp/tmp.Nva2kuEKvm/bin/bash /tmp/tmp.Nva2kuEKvm/bin/io386 /tmp/tmp.Nva2kuEKvm/bin/zstd-decompress /tmp/tmp.Nva2kuEKvm/bin/mke2fs /tmp/tmp.Nva2kuEKvm/bin/fsck.exfat /tmp/tmp.Nva2kuEKvm/bin/mkfs.exfat /tmp/tmp.Nva2kuEKvm/bin/cbmem
2024-12-18 18:05:56+00:00 CPIO      build/x86/novacustom-v560tu/tools.cpio
2024-12-18 18:05:56+00:00 UNCHANGED build/x86/novacustom-v560tu/tools.cpio
fc3ee1fbe2a7947f02805ed2d416b1c5517566ab54d735ba6feaa8b549ecd0e5  /home/user/heads/build/x86/novacustom-v560tu/tools.cpio
18946048:/home/user/heads/build/x86/novacustom-v560tu/tools.cpio
2024-12-18 18:05:57+00:00 HASHES    build/x86/novacustom-v560tu/tools.cpio
2024-12-18 18:05:57+00:00 SIZES     build/x86/novacustom-v560tu/tools.cpio
2024-12-18 18:05:57+00:00 CPIO      build/x86/novacustom-v560tu/heads.cpio
2024-12-18 18:05:57+00:00 UNCHANGED build/x86/novacustom-v560tu/heads.cpio
b7332c2fd37cd0a3f80bb6db349f9b69ec30f3b6dfceea6723437be0d916f30b  /home/user/heads/build/x86/novacustom-v560tu/heads.cpio
  405504:/home/user/heads/build/x86/novacustom-v560tu/heads.cpio
2024-12-18 18:05:57+00:00 HASHES    build/x86/novacustom-v560tu/heads.cpio
2024-12-18 18:05:57+00:00 SIZES     build/x86/novacustom-v560tu/heads.cpio
2024-12-18 18:05:57+00:00 MAKE coreboot-dasharo
tail /home/user/heads/build/x86/log/coreboot-dasharo.log
-----
dsdt.asl    860:  Name (IQDA, Package () {
Remark   2173 -           ^ Creation of named objects within a method is highly inefficient, use globals or method local variables instead (\_SB.PCI0.IRQM)

dsdt.asl    865:  Name (IQDP, Package () {
Remark   2173 -           ^ Creation of named objects within a method is highly inefficient, use globals or method local variables instead (\_SB.PCI0.IRQM)


Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20230628
Copyright (c) 2000 - 2023 Intel Corporation

coreboot toolchain v_
ASL Input:     dsdt.asl -   79492 bytes   4163 keywords      0 source lines
AML Output:    dsdt.aml -   21837 bytes   3436 opcodes     727 named objects

Compilation successful. 0 Errors, 0 Warnings, 24 Remarks, 4735 Optimizations, 2005 Constants Folded
    IASL       3150 warning types were ignored!
    IASL       novacustom-v560tu/dsdt.aml disassembled correctly.
make[1]: *** No rule to make target '3rdparty/fsp/MeteorLakeFspBinPkg/Fsp.fd', needed by 'novacustom-v560tu/Fsp_M.fd'.  Stop.
make[1]: Leaving directory '/home/user/heads/build/x86/coreboot-dasharo'
make: *** [Makefile:570: /home/user/heads/build/x86/coreboot-dasharo/novacustom-v560tu/.build] Error 1

@mkopec mkopec force-pushed the add_novacustom_v540tu branch from fc572e2 to 3f8a0df Compare December 19, 2024 12:09
@tlaurion
Copy link
Collaborator

tlaurion commented Dec 19, 2024

@mkopec 3f8a0df is booting into heads for me!!!!

Booting to Heads from power button press to Heads takes 35 seconds for you too mkopec?

Logs gathered, will try to see why powering up to load payload - > selfboot jump takes 33 seconds (and why kernel log (dmesg) says 3 seconds which is heads part before being finalizing loading usb controllers drivers...)

v650tu-cbmem_c_me-excerpt.txt
v650tu-dmesg.txt
v650tu-cbmem_1.txt
v650tu-cbmem_t.txt

Installing QubesOS.

@mkopec
Copy link
Contributor Author

mkopec commented Dec 19, 2024

it's not usually taking long for me, but sometimes I run into boot issues (long boot time) when a usb-c dock with monitors is connected. Seems to happen before the bootsplash is drawn, so I'm not sure if it's the same as your issue

@tlaurion
Copy link
Collaborator

tlaurion commented Dec 19, 2024

it's not usually taking long for me, but sometimes I run into boot issues (long boot time) when a usb-c dock with monitors is connected. Seems to happen before the bootsplash is drawn, so I'm not sure if it's the same as your issue

No all the 30 seconds happens when bootsplash is there, so pre raminit. Will dig logs. As if ram was always trained? Insight is that there is no MRC cache in config or something

@mkopec
Copy link
Contributor Author

mkopec commented Dec 19, 2024

Bootsplash is drawn after RAM is already up, training ends at returning from FspMemoryInit

As if ram was always trained?

This may happen if you don't have CMOS battery connected

@tlaurion
Copy link
Collaborator

tlaurion commented Dec 19, 2024

Bootsplash is drawn after RAM is already up, training ends at returning from FspMemoryInit

As if ram was always trained?

This may happen if you don't have CMOS battery connected

EDIT: well analysis from my side, cmos battery connected (time ok).

From v650tu-cbmem_t.txt

 950:calling FspMemoryInit                             1,479,960 (936,885)
 951:returning from FspMemoryInit                      60,735,186 (59,255,225)

This is memory init as you said?

  90:starting to load payload                          63,063,769 (2,024)
  99:selfboot jump                                     92,506,778 (29,443,008)

So on my side, most of wait is on memory init, then loading payload from SPI.
@mkc what are your numbers?

@tlaurion
Copy link
Collaborator

tlaurion commented Dec 19, 2024

@mkopec this is my cbmem -t after having set alt century bit =n (so that system clock = build time (#1854 related for unification after we figure out what's going on)

tlaurion@72b8a44

v650tu-cbmem_t_after_setting_time_and_mem_training_coldboot.txt

As can be seen here: user spends 30 seconds under bootsplash :(


@krystian-hebel said under matrix thread

It may also be something wrong with caching, caused e.g. by not enough MTRRs to cover all expected ranges. It is something that could change with different sizes of stages, which in turn may be caused by different toolchain

Which is why we should test latest commit 3f8a0df build artifacts at https://app.circleci.com/pipelines/github/Dasharo/heads/166/workflows/6c361516-8363-4773-a8b1-c2570648121c/jobs/3659/artifacts otherwise we compare apples and oranges!

@mkopec tlaurion@72b8a44 needed (and most probably to all other coreboot configs linked to dasharo fork, so nv4x/ns50/v540tu/v560tu so that CMOS reverts to build time and change time picks up and asks user/oem to set clock through GUI after initial flash (and disconnecting/reconnecting CMOS battery).

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.

4 participants