Commit Graph
59296 Commits
Author SHA1 Message Date
Maciej Pijanowski 32bb84b15e pre-commit: autoupdate hooks
Change-Id: Ia9233d626c13b4066488f8f2d15bf061733e1a93
Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2025-08-19 15:21:14 +02:00
Filip Lewiński b50b3c2932 configs/config.novacustom_nuc_box: bump up to rc4
Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
2025-08-19 15:04:17 +02:00
Filip Lewiński 66b416f235 3rdparty/dasharo-blobs: bump up revision
IntelGopDriver has been removed from the NUC BOX blobs, since it's no
longer needed.

Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
2025-08-19 15:04:16 +02:00
Filip Lewiński ea608c6285 mb/novacustom/nuc_box/devicetree.cb: disable IPU
The Image Processing Unit is only required for CSI/MIPI cameras, which
is not present on the platform.

Upstream-Status: Pending
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
2025-08-19 15:04:16 +02:00
Filip Gołaś 430504e10a config.novacustom_nuc_box: Add sleep mode selection option
Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2025-08-19 15:04:16 +02:00
Filip Lewiński 6ec24ee1fe mb/novacustom/nuc_box/bootblock.c: set the Power on AC option in Super IO as well
The Super IO also has its own registers determining the power failure
resume behavior. They need to be set accordingly to the option as well,
besides the SoC-wide PMC write.

Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
2025-08-19 15:04:16 +02:00
Filip Lewiński 473d3ebe2d configs/config.novacustom_nuc_box: disable WiFi+BT option
The option is not implemented on this platform yet, and it's unknown
whether such implementation is even possible.

Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
2025-08-19 15:04:16 +02:00
mkopec ad29334741 Update µcode 2025-08-11
Upstream-Status: Inappropriate [Dasharo downstream]
Change-Id: I4a732b79b1a24e2bd9a0db8c0957ea02e7fc46e5
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2025-08-19 15:01:42 +02:00
Sergii Dmytruk d5e6a6bed5 configs/config.novacustom_v5*: fix CONFIG_DRIVERS_EFI_MAIN_FW_VERSION
Change-Id: Ifb71b4ee4736c1808505cf8a985d73f311552b87
Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2025-08-18 16:37:57 +03:00
Sergii Dmytruk c4776fd585 security/tpm/tspi: initialize TPM log in tpm_extend_pcr()
That is the function which all code related to measurements ends up
calling.  For this reason it must be responsible for initializing the
log.

Without this change, vboot_extend_pcr() may invoke tpm_extend_pcr()
before the log is being initialized indirectly by a call to
tspi_cbfs_measurement() resulting in a failure to log VBOOT
measurements.

Change-Id: I98fdb4cdab72ae23ad895898eac11dd6c864a20e
Upstream-Status: Pending
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2025-08-14 01:10:34 +03:00
Sergii Dmytruk 31ce99dbd5 payloads/edk2/Kconfig.dasharo: bump EDK to fix /dev/efi_capsule_loader
Upstream-Status: Inappropriate [Dasharo downstream]
Change-Id: Ie1dc7406b5f1b5a6b6e96aad5e3d7810caadccf1
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2025-08-13 01:29:29 +03:00
Michał Kopeć c36beacbdc configs/config.novacustom_v5*: bump RC number to rc5
Change-Id: I96458f500fd6967c719b4e0e08029e28240f25f5
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
novacustom_v56x_mtl_dgpu_v1.0.0-rc5 novacustom_v56x_mtl_igpu_v1.0.0-rc5 novacustom_v54x_mtl_igpu_v1.0.0-rc5 novacustom_v54x_mtl_dgpu_v1.0.0-rc5
2025-08-08 13:29:20 +02:00
Sergii Dmytruk 4fb387de01 security/intel/txt/common.c: avoid clearing memory if SMX is absent
When CPU doesn't support SMX, a DRTM is not possible, yet any reboot
seems to be treated as DRTM reset.  Discard TXT error and secret bits as
irrelevant to avoid unnecessarily clearing DRAM on reboots as that makes
reboot significantly longer.

This applies to platforms which have CONFIG_INTEL_TXT for CBnT, have a
TXT-enabled chipset, but don't have a CPU with TXT support.

Change-Id: If937419d4186c7421c3eb52daf0cc299993b5068
Upstream-Status: Pending
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2025-08-07 17:20:25 +03:00
Sergii Dmytruk 1e0659e4f6 .github/workflows/build.yml: build and upload capsules for Hardkernel Odroid H4+
Change-Id: I051b42ff89fd7de94d8c5a5e064fde05b29c6f13
Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2025-08-07 17:20:25 +03:00
Mateusz Maciejewski d90056abd1 config.hardkernel_odroid_h4*: enable capsule updates
Change-Id: I802f77bdc75c8a966f03d0d58c9f3b35c896204c
Upstream-Status: Inappropriate [custom configs]
Signed-off-by: Mateusz Maciejewski <mateusz.maciejewski@3mdeb.com>
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
hardkernel_odroid_h4_v0.9.1-rc2
2025-08-07 17:20:25 +03:00
Sergii Dmytruk 5bb7b66a07 security/memory/memory_clear.c: step over capsules' data
It was incorrectly assumed that capsules' memory will be reserved in
clear_memory() without any additional changes to the function.  As a
result, platforms for which memory clearing conditions were met during a
capsule update reset cleared the capsules.

Make efi_parse_capsules() return start and size of the range occupied by
capsules via output parameters and exclude the range in clear_memory().

Also print memory range instead of merely where it starts in
efi_parse_capsules(), this was helpful in determining the cause of this
issue.

Upstream-Status: Pending
Change-Id: Ibf62012cec0216daee4ee754085604dd11acaf74
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2025-08-07 17:20:24 +03:00
Michał Żygowski 37c9db6afe payloads/external/iPXE: Update revision to 2025.03
Update iPXE revision so that coreboot can be built with newer
toolchains.

Upstream-Status: Inappropriate [custom configs]
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2025-08-07 17:20:24 +03:00
Michał Żygowski d63194f355 mb/hardkernel/odroid-h4/gpio.c: Fix GPP_A8 macro
Change-Id: Id66590bbb4aba3f19d448ebcb08aa544f25b975c
Upstream-Status: Pending
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2025-08-07 17:20:24 +03:00
Michał Żygowski 7ef9a9be9f configs/config.hardkernel_odroid_h4*: Bump to v0.9.1-rc1
Change-Id: I7b695dc1e334bea77480e58a6e1695f440eed0a5
Upstream-Status: Inappropriate [custom configs]
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2025-08-07 17:20:24 +03:00
Michał Żygowski 7cf332ecf1 .github/workflows/build.yml: Build netcard variant of ODROID
Add build checks for new ODROID build variant.

Change-Id: Icf2f3645e295b721356252e996900fd14f278b3b
Upstream-Status: Inappropriate [CI configuration]
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2025-08-07 17:20:24 +03:00
Michał Żygowski 3f601dbe96 configs/config.hardkernel_odroid_h4*: Enable FW performance measurement
FW performance measurement is required to measure difference in boot
time with fast boot.

Change-Id: I28071058985f16e4cc1cee936c7a380862e5be64
Upstream-Status: Inappropriate [custom configs]
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2025-08-07 17:20:24 +03:00
Michał Żygowski 504e761f05 payloads/external/edk2: Update revision for new memory menu PCDs
Paylaod revision has to be updated with introduction of new PCD.
New PCD controls the visibility of XMP profile selection so that
it is independent of IBECC option.

Upstream-Status: Inappropriate [custom configs]
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2025-08-07 17:20:24 +03:00
Michał Żygowski daeb49897e payloads/external/edk2: Add IBECC option support
Add code to enable In-band ECC feature option in setup menu.

Change-Id: I1acdf89ccf5e390d058e6d2a3893c1545282f5fc
Upstream-Status: Inappropriate [custom feature]
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2025-08-07 17:20:24 +03:00
Michał Żygowski 4f73b35c95 mainboard/hardkernel/odroid-h4: Add IBECC configuration
Add In-band ECC configuration in devicetree necessary to fill
FSP UPDs to enable IBECC.

Upstream-Status: Inappropriate [custom feature]
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2025-08-07 17:20:24 +03:00
Michał Żygowski e04ef4bc16 vendorcode/dasharo,soc/intel: Add IBECC option
Add code to support new menu option for In-band ECC feature
control.

Upstream-Status: Inappropriate [custom feature]
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2025-08-07 17:20:24 +03:00