From 747bca8000389f35ae771e848233793dd024ff84da524f3790bfc72b7517c0a4 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 22 Dec 2024 13:56:09 +0000 Subject: [PATCH] - Update to version 24.08 * https://coreboot.org/releases/coreboot-24.08-relnotes.txt - Update to version 24.05 * https://coreboot.org/releases/coreboot-24.05-relnotes.txt - Update to version 24.02.01 * https://coreboot.org/releases/coreboot-24.02.01-relnotes.txt OBS-URL: https://build.opensuse.org/package/show/hardware/coreboot-utils?expand=0&rev=43 --- .gitattributes | 23 ++ .gitignore | 1 + coreboot-24.08.tar.xz | 3 + coreboot-24.08.tar.xz.sig | 32 +++ coreboot-4.22.01.tar.xz | 3 + coreboot-4.22.01.tar.xz.sig | 16 ++ coreboot-utils.changes | 413 ++++++++++++++++++++++++++++++++++ coreboot-utils.keyring | 51 +++++ coreboot-utils.spec | 117 ++++++++++ do-explicit-fallthrough.patch | 12 + no-pie.patch | 15 ++ 11 files changed, 686 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 coreboot-24.08.tar.xz create mode 100644 coreboot-24.08.tar.xz.sig create mode 100644 coreboot-4.22.01.tar.xz create mode 100644 coreboot-4.22.01.tar.xz.sig create mode 100644 coreboot-utils.changes create mode 100644 coreboot-utils.keyring create mode 100644 coreboot-utils.spec create mode 100644 do-explicit-fallthrough.patch create mode 100644 no-pie.patch diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/coreboot-24.08.tar.xz b/coreboot-24.08.tar.xz new file mode 100644 index 0000000..316b402 --- /dev/null +++ b/coreboot-24.08.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fc9a997d497539f915dc6498e4aca4bf049955d4db9a17a85454ad6b342710c +size 63820448 diff --git a/coreboot-24.08.tar.xz.sig b/coreboot-24.08.tar.xz.sig new file mode 100644 index 0000000..9dec789 --- /dev/null +++ b/coreboot-24.08.tar.xz.sig @@ -0,0 +1,32 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCQAdFiEEV0zm9oVc/et9No6dGXlsKz5PffcFAmbVjTEACgkQGXlsKz5P +ffepOQ/9HEWUvZcw8DxmmzQqMGVHkkv9kOF5xfH4Yz2bFEfYgmCK0LiLTrsjcNlo +9DzaVC198ydiObFmsKBtdobJSvZh84TWobg5uUgY2mAvTunvBfMnv9hM4GQEzvVi +WeRjpVTsS/boViK5ztQ6gyQKf0sUXIkxmVbFl366wFUq7rfGtcFcnamPbt7FhvCC +QpsUBCqdtksUekNbDEttzpKJ/io1ekuml/rmzR/3wMiEihK+tsPgOWH6SkDb1U1q +9kyPjRaVHLTd87BC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7wtGGbKKhne+8HiBQSgu61NCrVH0fZI1Hyo6wmMYNvHhCG8r2X1HHWY1sSP +P1qhVZ1+XxFmLorJy6uz+fN6V0nGTAvfW2fNkNEuJpAsRBdKDtd3aLYJABld0fOu +JWGY3rFK6MGKp/L7YGrKGodUnKFeEwL14JdEv7Ea4aeByXFzS6s= +=TEAW +-----END PGP SIGNATURE----- \ No newline at end of file diff --git a/coreboot-4.22.01.tar.xz b/coreboot-4.22.01.tar.xz new file mode 100644 index 0000000..61eb274 --- /dev/null +++ b/coreboot-4.22.01.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d1a36dfb2a654133c7f36cf4da436f0d79f535644069adfe7cdcad962532c3f +size 60113964 diff --git a/coreboot-4.22.01.tar.xz.sig b/coreboot-4.22.01.tar.xz.sig new file mode 100644 index 0000000..9b95d3b --- /dev/null +++ b/coreboot-4.22.01.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCQAdFiEEV0zm9oVc/et9No6dGXlsKz5PffcFAmVgJBoACgkQGXlsKz5P +ffeQKw//ZaexlwvKbVlo1HhX/R7onU67TED7Zo8V7mOJmHA87LtX7vsvAhGubDmh +LPGoJgB2WD1uXjHle6iLKfJpjiXzq1mi/uHudUQOn/yMRXWNU/wDENOM8LAtVkSa +mgnMd30bTasljlJv2O+dF7MT5U8YDfgobGaT95TyW+Yt1A1zjrwRjIPNQ2mRufAQ +bJWJi7wa7I58zUAQviQfPg1nxMw/f7CjEpIasQjZBivBBUn2cdy9RmTRE+FxhCNi +D0lB5sasvcpAN+RS41tTB8iY927puNbACMroozi7NREaP3NgFPxGkXZtlmIKtq5c +C08c7CEWnCcCPDD6bFqzgMGTlA9yjIgW+C4zsskQ9C/hRmbTSCoPi4EKKaJvGLYD +Vsw1mYADlFPGocYyMGhAFn7aKKzS1y0vX2Bci06uHuWYzj9uolx7T3RlIjZAn18e +DsTwmcPyR8BPFlV3UPnBx3pZcgCGsT2U0hpLDkEh8SvetkvfMnfonfM3MJcWwgk1 +TKN+CUxtBKpw2Cvkw7w98FNPrw9OiNanlNomrSzy1M3IG8Sog/JzjftLjyqdptof +G8dfI5WEjjTxagm2FMHyzTTqdw3WbZIWJEe4xcTp8JxBPpAMJmkybhedmv6PIp4t +SEBXy/ZeOXqB2GFkzZCeRC28qcr2zALPentAZucVpxVzoCk4GPo= +=U/el +-----END PGP SIGNATURE----- diff --git a/coreboot-utils.changes b/coreboot-utils.changes new file mode 100644 index 0000000..8a758f1 --- /dev/null +++ b/coreboot-utils.changes @@ -0,0 +1,413 @@ +------------------------------------------------------------------- +Sun Dec 22 13:22:14 UTC 2024 - Martin Hauke + +- Update to version 24.08 + * https://coreboot.org/releases/coreboot-24.08-relnotes.txt +- Update to version 24.05 + * https://coreboot.org/releases/coreboot-24.05-relnotes.txt +- Update to version 24.02.01 + * https://coreboot.org/releases/coreboot-24.02.01-relnotes.txt + +------------------------------------------------------------------- +Mon Feb 26 11:35:58 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + PatchN. + +------------------------------------------------------------------- +Wed Nov 29 15:19:49 UTC 2023 - Martin Hauke + +- Update to version 4.22.01 + Bugfix release + * fixed an uninitialized variable error on the + sandybridge/ivybridge platforms. + +------------------------------------------------------------------- +Fri Nov 24 20:10:48 UTC 2023 - Martin Hauke + +- Update to version 4.22 + * Full changelog: + https://coreboot.org/releases/coreboot-4.22-relnotes.txt + +------------------------------------------------------------------- +Tue Aug 29 12:46:52 UTC 2023 - Martin Hauke + +- Update to version 4.21 + * Full changelog: + https://coreboot.org/releases/coreboot-4.21-relnotes.txt + https://coreboot.org/releases/coreboot-4.20-relnotes.txt + +------------------------------------------------------------------- +Sat Feb 4 17:45:00 UTC 2023 - Martin Hauke + +- Update to version 4.19 + * Full changelog: + https://coreboot.org/releases/coreboot-4.19-relnotes.txt + +------------------------------------------------------------------- +Sat Oct 22 13:23:24 UTC 2022 - Martin Hauke + +- Update to version 4.18 + Changes since 4.10 + * https://coreboot.org/releases/coreboot-4.18-relnotes.txt + * https://coreboot.org/releases/coreboot-4.17-relnotes.txt + * https://coreboot.org/releases/coreboot-4.16-relnotes.txt + * https://coreboot.org/releases/coreboot-4.15-relnotes.txt + * https://coreboot.org/releases/coreboot-4.14-relnotes.txt + * https://coreboot.org/releases/coreboot-4.13-relnotes.txt + * https://coreboot.org/releases/coreboot-4.12-relnotes.txt + * https://coreboot.org/releases/coreboot-4.11-relnotes.txt +- Upstream removed some tools: + * util/k8resdump + * util/romcc + * util/viatool +- Drop not longer needed patches: + * k8resdump.diff + * msrtool-fix-build-with-gcc-10.patch +- Update coreboot-utils.keyring + -> 574CE6F6855CFDEB7D368E9D19796C2B3E4F7DF7 + Martin Roth (coreboot developer) + +------------------------------------------------------------------- +Mon Jan 18 13:06:52 UTC 2021 - Michal Suchanek + +- Fix build with GCC 10 + * msrtool-fix-build-with-gcc-10.patch + +------------------------------------------------------------------- +Sat Sep 21 20:44:50 UTC 2019 - Martin Hauke + +- Update to 4.10 + * Full changelog: + https://coreboot.org/releases/coreboot-4.10-relnotes.txt +- Update coreboot-utils.keyring + Old key 0x269C04E1 got superseeded by 0xAA103F48728F5291 + +------------------------------------------------------------------- +Fri Dec 21 14:40:01 UTC 2018 - mardnh@gmx.de + +- Update to 4.9 + * Full changelog: + https://coreboot.org/releases/coreboot-4.9-relnotes.txt +- Rebase patches: + * no-pie.patch +- Update coreboot-utils.keyring + Old key 0x19796C2B3E4F7DF7 got superseeded by 0x269C04E1 + +------------------------------------------------------------------- +Thu May 17 11:42:27 UTC 2018 - mardnh@gmx.de + +- Update to 4.8.1 + * Full changelog: + https://www.coreboot.org/releases/coreboot-4.8.1-relnotes.txt +- Rebase patches: + * no-pie.patch + +------------------------------------------------------------------- +Mon Jan 15 18:45:33 UTC 2018 - mardnh@gmx.de + +- Update to 4.7 + * Full changelog: + https://coreboot.org/releases/coreboot-4.7-relnotes.txt +- Rebase patches: + * k8resdump.diff + * no-pie.patch + * do-explicit-fallthrough.patch +- Adjust CFLAGS for util/ifdtool + +------------------------------------------------------------------- +Wed Jan 3 19:56:38 UTC 2018 - mardnh@gmx.de + +- verify source signature + +------------------------------------------------------------------- +Fri Dec 29 20:37:20 UTC 2017 - mardnh@gmx.de + +- Update to 4.6 + * Full changelog: + https://www.coreboot.org/releases/coreboot-4.6-relnotes.txt +- Fix URL +- Build with intelmetool + +------------------------------------------------------------------- +Fri Jun 16 12:00:39 UTC 2017 - alarrosa@suse.com + +- Add do-explicit-fallthrough.patch to fix a build failure with gcc7 + with an implicit fallthrough over switch cases (only on TW) +- Add -fPIC to no-pie.patch and remove -fno-pic to build with gcc7 + +------------------------------------------------------------------- +Fri Mar 31 21:22:59 UTC 2017 - meissner@suse.com + +- no-pie.patch: build msrtool without PIE/PIC + +------------------------------------------------------------------- +Sat Feb 25 21:03:17 UTC 2017 - shshyukriev@suse.com + +- Update to 4.5: +Areas with significant updates: + Toolchain (29 commits) + Updated mpfr version from 3.1.3 to 3.1.4 + Updated gcc version from 5.2.0 to 5.3.0 + Updated binutils version from 2.25 to 2.26.1 & Fix aarch64 build problem + Updated gdb version from 7.9.1 to 7.11 + Updated iasl version from 20160318 to 20160831 + Updated python version from 3.4.3 to 3.5.1 + Updated expat version from 2.1.0 to 2.1.1 + Updated llvm / clang version from 3.7.1 to 3.8.0 + Updated make version from 4.1 to 4.2.1 + + Build system (32 commits) + Updates for cbfstool / fmap changes + Order per-region files to optimize placement success + Add support for the ADA language and toolchain. + + Utilities (103 commits) + Lint – Update checkpatch.pl, add tools to find non-ascii & unprintable chars and to verify a single newline at the end of files + cbfstool – Update for Linux payloads, Honor FSP modules addresses, fix elf parsing + Sconfig – Add 10 bit addressing mode for i2c devices, add generic device type, support strings, pass in devicetree filename + + General code cleanup (197 commits) + Cleaning up code formatting and whitespace + Fix spelling & capitalization + Removing commented out code + Transition away from device_t + + TPM (55 commits) + Add support for Trusted Platform Module 2.0 + SPI & refactored I2C TPM driver + + Drivers (54 commits) + Add ACPI support in several drivers + coreboot_tables – Extend serial port description + Elog – refactor, add debug info + I2C – add generic driver, + SPI – Add new chip support, major refactoring, don’t assume SPI flash boot device + + Lib (33 commits) + Add real-time-clock functions + Add RW boot device construct + reg_script updates: add to bootblock, add xor support, add display support + Timestamp fixes & updates + + Vendorcode + AMD (14 commits) – Cleanup, add libagesa.a builds, remove unused code. + Google (22 commits) – VBoot2 updates and cleanup + Intel (86 commits) – Add Intel FSP 2.0, update Broadwell DE support + + Payloads (37 commits) + Subpayload support got extend and is enabled by default. + nvramcui: refactor, update build + SeaBIOS: Update stable version to 1.9.3, add bootorder file + iPXE: Update stable version to the last commit of July 2016 + Fix broken linux boot sequence + +Mainboard changes +Added 13 mainboards, plus a few mainboard variants not included here: + + ADI RCC-DFF networking board (adi/rcc-dff) – intel/rangeley SoC + AMD Evaluation Board DB-FT3B-LC (amd/db-ft3b-lc) – amd/00730F01 (Family 16h Models 30h-3Fh (Mullins)) CPU + AMD f2950 / TONK 1201/2 Board (amd/f2950) – amd/geode_lx CPU + Apple iMAC 5.2 (apple/imac52) – intel/i945 CPU + Unibap Development Kit ODE E21XX – amd/00730F01 (Family 16h Models 30h-3Fh (Mullins)) CPU + elmex/pcm205400 – amd/Family_14 CPU + elmex/pcm205401 – amd/Family_14 CPU + Lenovo N21 chromebook (google/enguarde) – intel/baytrail SoC + google/gale – Qualcomm IPQ40XX SoC + AOpen Chromebox (google/ninja) – intel/baytrail SoC + google/reef – intel/apollolake SoC + Acer Chromebox CXI2 (google/rikku) – intel/Broadwell SoC + google/rotor – marvell/MVMAP2315 SoC + +Removed 5 mainboards: + +These were all development boards not available to the public. + + google/bolt – intel/haswell – removed in commit 139314b + google/rush – nvidia/tegra132 – removed in commit e67cd9e + google/rush_ryu – nvidia/tegra132 – removed in commit 0c63415 + google/slippy – intel/haswell – removed in commit bc24b85 + intel/amenia – intel/apollolake – removed in commit c2586db + +Existing boards with significant updates + + asus/kgpe-d16 – amd/socket_G34 – Add TPM support, enable secondary serial port + emulation/spike-riscv: RISC-V -clean up, use generic bootblock, look for CBFS in RAM, reimplement SBI + google/gru – rockchip/RK3399 SoC (76 commits) – Board bringup + google/oak – mediatek/mt8173 SoC- Add Elm variant, update memory, configure display, initialize touchscreen gpio + intel/galilleo- intel/quark SoC (14 commits) – Board bringup, add galileo gen1 support, switch to FSP2.0 + intel/minnowmax – intel/fsp_baytrail SoC – Enable all PCIe ports, Program GPIO for power LED + lenovo/x60 – intel/socket_mPGA478 – init GPIOs before dock check, add hda verb table + siemens/mc_bdx1 – intel/fsp_broadwell_de SoC – Add external RTC, Set up MAC addresses, Update IRQs + siemens/mc_tcu3 – intel/fsp_baytrail SoC – cleanup & LCD panel updates + +Changes in chips +Moved 3 northbridge/southbridge pairs to soc: + + dmp/vortex86ex + intel/sch + rdc/r8610 + +Added 2 socs: + + marvell/mvmap2315 (12 commits) + qualcomm/ipq40xx (22 commits) + +Removed 1 soc: + + nvidia/tegra132 – removed in commit 9ba0699 + +Added 2 sios: + + nuvoton/nct6776 + nuvoton/nct6791d + +Existing chip areas with many changes + + ARM (34 commits) + Add armv7-r configuration + rockchip/rk3399 (73 commits) – Bringup, memory updates + + RISC-V (40 commits) + Improve and refactor trap handling + + X86 (225 commits) + ACPI (40 commits) Add support for writing various entries and descriptor types, Add common definitions, Use ‘GOOG’ id for coreboot table + amd/mct_ddr3 northbridge: Support non-ECC DIMMs, Update SMBIOS, various fixes + arch/x86: many postcar stage updates, add common ACPI definitions, Support “weak” BIST and timestamp save routines + intel/apollolake SoC (211 commits) – Chip bringup, Update bootblock + intel/common: ACPI updates, Add smihandler, LPSS I2C driver, and IGD OpRegion support + intel/fsp_broadwell_de: IRQ fixes, SPI message fixes, Add DMAR table to ACPI + intel/gm45 northbridge: Fix text mode init, enable vesa framebuffer, use VGA if connected + intel/i945 northbridge: add native VGA init, Update divisor calculations + intel/quark SoC (62 commits) – Chip bringup, add Fsp2.0 support, updates for serial console + intel/skylake CPU (61 commits) – Finished Skylake bringup, start updating for Kabylake FSP + intel/x4x northbridge (13 commits) – Memory & Graphics updates + +------------------------------------------------------------------- +Sun Feb 7 08:59:31 UTC 2016 - mpluskal@suse.com + +- Update to 4.3 + * cleanups and improvements to many of the utilities + * cbfstool: Many fixes and extensions to integrate with FMAP + * Add amdfwtool to combine AMD firmware blobs instead of using + shell scripts. + +------------------------------------------------------------------- +Sun Dec 6 16:14:56 UTC 2015 - p.drouand@gmail.com + +- Use upstream tarball instead of svn revisions + version 4.2 +- Remove obsolete patches + * nvramtool-revision.diff + * superiotool-revision.diff +- Remove update-snapshots.sh +- Use download Url as source + +------------------------------------------------------------------- +Wed Mar 13 12:04:46 UTC 2013 - cfarrell@suse.com + +- license update: GPL-2.0 + No indication of aggregation + +------------------------------------------------------------------- +Mon Feb 4 14:32:09 UTC 2013 - coolo@suse.com + +- update license to new format + +------------------------------------------------------------------- +Sat Sep 17 23:52:47 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile +- Use %_smp_mflags for parallel build + +------------------------------------------------------------------- +Thu Dec 9 22:11:02 CET 2010 - stepan@coresystems.de + +- update to r6158 +- add coreboot utilities: + * inteltool + * superiotool + * ectool + * msrtool + * k8resdump et al + * cbfstool +- split off flashrom into separate package + +------------------------------------------------------------------- +Wed Sep 2 20:04:06 CEST 2009 - kernel01@hailfinger.org + +- Update flashrom to from 0.9.1-rc1 to 0.9.1 + * Bug fixes and documentation fixes only +- Update nvramtool to r4625 + * Fix HIGH_TABLES + * Install manpage in section 8 instead of section 1 + +------------------------------------------------------------------- +Mon Aug 24 13:26:37 CEST 2009 - kernel01@hailfinger.org + +- Update flashrom description +- Add nvramtool description +- Use RPM_OPT_FLAGS, drop custom CFLAGS/LDFLAGS +- Install nvramtool in sbin because it's only usable as root + +------------------------------------------------------------------- +Tue Aug 18 20:32:39 CEST 2009 - kernel01@hailfinger.org + +- Update flashrom to version 0.9.1-rc1 +* Support for more external flashers +* Universal external flasher protocol +* Automatic write/erase verification +* Dozens of added flash chips, chipsets, mainboards +* No root privileges needed for most external flashers +* Improved more verbose user interface +* Speedups: Fast bus type dependent probing, 100x faster write for + some chips +* Reliability fixes for buggy hardware, corner case spec + conformance + +------------------------------------------------------------------- +Mon Jun 22 21:48:15 CEST 2009 - trenn@suse.de + +- Update coreboot-utils to version 0.9.0 + +------------------------------------------------------------------- +Thu Jan 8 17:37:43 CET 2009 - bbrunner@suse.de + +- update nvramtool to svn release r3852 +- update flashrom to svn release r3852 + +------------------------------------------------------------------- +Wed Oct 15 20:58:16 CEST 2008 - bwalle@suse.de + +- update nvramtool to svn release r3613 +- update flashrom to svn release r3659 + +------------------------------------------------------------------- +Wed Aug 13 18:11:40 CEST 2008 - ro@suse.de + +- add ExclusiveArch + +------------------------------------------------------------------- +Mon Mar 17 17:14:59 CET 2008 - bwalle@suse.de + +- rename lxbios to nvramtool +- update nvramtool to svn release r3124 +- update flashrom to svn release r3153 + +------------------------------------------------------------------- +Sun Jan 20 00:02:19 CET 2008 - bwalle@suse.de + +- update to svn release r3061 + o Support SPI flash chips bigger than 512 kByte sitting behind + IT8716F Super I/O performing LPC-to-SPI flash translation. + o Enable MX25L8005 support in flashrom. + o Minor changes. +- add lxbios utility + +------------------------------------------------------------------- +Thu Jan 10 11:41:16 CET 2008 - bwalle@suse.de + +- initial package + +------------------------------------------------------------------- diff --git a/coreboot-utils.keyring b/coreboot-utils.keyring new file mode 100644 index 0000000..9098ee1 --- /dev/null +++ b/coreboot-utils.keyring @@ -0,0 +1,51 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFf7BTIBEAC1qr3AjGeuob577RsPe2UawIJCOfDKA17lYtLDoPbklPSbOkS3 +EdJdr1xhaI7ohAvIttyppyeYuEVA6lM+h7dCCml9vfNn/EVRdg0FJ2ROLtMGq3E7 +7gdx4v8CBgpIKa8GtnCqz8kAI8ZbpXkcBaasLZ1LKsmXjHvfH3GBQK6HjnZ7yCvr ++44m/7XX2rJYsAx1/b07f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/s3OWuw3zGbLYKtCYGm+VYqFXJEoLIGXvwXJe +dSb2vMhG1ME38234l/8c8sGCiVqLk+g31p+091gPpe25RbtJBwo4r5wmWkc69CTS +ij8s1Q1STefAbvMxQxDnTG5hZvyr/bL5aawuHXrIAwCinuA4CFNn6eUPudvUAFz3 +1tUfRhuS/Wt/+LYdW1eGAjDZ4lvzyRKWqkKj55wCxrh4RkR8GWR76Y4pAz1Mk3SH +4NnFgFGDsJtYd5yLP8T5vz4ouRxh+BFNBUJuInp3Dul4wR9I4WiQYGDiWuSfuyvn +nOT3KrnE6kpulqdgCRtPTnRKwvsuhrOID10xMwVQnTNFrv8s4uVa9lCWBSfj9NFu +ne6v4mZ3oEWIKmdDaPDbzYn+S9HEY57tXPqMIBDpok/JPOPlUtk5y1zTdvvBb+DD +QL8GL6ZAAUWxFwl+VK5wbDEBrZstvSZPGhfwkLEI7qeOnFbyBWMKm0PhwpvXznDg +UCpCBQ4e+6rL+k5SdhQu25UFKqcSqqMSDri0JT9AxgX5xvioRP1JHyMJIcoo5oBJ +/6xDPGZcAjnkV9YtD51dQviBMcZQ11GXTFcYo0MDqUJNgOis6SUxI1hGsqPOYa89 +mUS5nvF0saAZHIiapVND0eIkb3uCNQ== +=ZArY +-----END PGP PUBLIC KEY BLOCK----- diff --git a/coreboot-utils.spec b/coreboot-utils.spec new file mode 100644 index 0000000..d9136ec --- /dev/null +++ b/coreboot-utils.spec @@ -0,0 +1,117 @@ +# +# spec file for package coreboot-utils +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: coreboot-utils +Version: 24.08 +Release: 0 +Summary: A universal flash programming utility +License: GPL-2.0-only +Group: Development/Tools/Other +URL: https://coreboot.org/ +Source0: https://www.coreboot.org/releases/coreboot-%{version}.tar.xz +Source1: https://www.coreboot.org/releases/coreboot-%{version}.tar.xz.sig +Source3: %{name}.keyring +Patch1: no-pie.patch +Patch3: do-explicit-fallthrough.patch +BuildRequires: gcc-c++ +BuildRequires: libopenssl-devel +BuildRequires: pciutils-devel +BuildRequires: xz +BuildRequires: zlib-devel +ExclusiveArch: %ix86 x86_64 + +%description +coreboot is a Free Software project aimed at replacing the proprietary BIOS +(firmware) found in most computers. This package contains various utilities +used to develop and configure systems with coreboot. + +%prep +%autosetup -p1 -n coreboot-%{version} + +%build +make %{?_smp_mflags} CFLAGS="%{optflags}" -C util/ectool +make %{?_smp_mflags} CC="cc %{optflags}" -C util/superiotool +make %{?_smp_mflags} CFLAGS="%{optflags} -DCMOS_HAL=1 -I." -C util/nvramtool +make %{?_smp_mflags} CFLAGS="%{optflags}" -C util/cbmem +make %{?_smp_mflags} CFLAGS="%{optflags} -I../../src/commonlib/include" -C util/ifdtool +%ifarch x86_64 +make %{?_smp_mflags} -C util/cbfstool +%endif +%ifarch %{ix86} x86_64 +CXXFLAGS="$CXXFLAGS -fPIC" +CFLAGS="$CFLAGS -fPIC" +make %{?_smp_mflags} CFLAGS="%{optflags}" -C util/inteltool +%ifarch x86_64 +make %{?_smp_mflags} -C util/cbfstool +make %{?_smp_mflags} HOSTCC="cc %{optflags}" -C util/amdfwtool +%endif +(cd util/msrtool && %configure && make %{?_smp_mflags} ) +%endif + +%install +install -d %{buildroot}%{_sbindir} +install -d %{buildroot}%{_bindir} +install -d %{buildroot}%{_datadir} +install -d %{buildroot}%{_mandir}/man1 + +make %{?_smp_mflags} PREFIX=%{buildroot}/%{_prefix} -C util/ectool install +make %{?_smp_mflags} DESTDIR=%{buildroot} PREFIX=%{_prefix} -C util/superiotool install +make %{?_smp_mflags} DESTDIR=%{buildroot} PREFIX=%{_prefix} -C util/nvramtool install +make %{?_smp_mflags} DESTDIR=%{buildroot} PREFIX=%{_prefix} -C util/intelmetool install + +install util/ifdtool/ifdtool %{buildroot}%{_bindir} +install util/cbmem/cbmem %{buildroot}%{_bindir} +%ifarch %{ix86} x86_64 +make %{?_smp_mflags} DESTDIR=%{buildroot} PREFIX=%{_prefix} -C util/inteltool install +make -C util/msrtool DESTDIR=%{buildroot} PREFIX=%{_prefix} install +%ifarch x86_64 +install util/amdfwtool/amdfwtool %{buildroot}%{_sbindir} +install util/cbfstool/cbfstool %{buildroot}%{_bindir} +%endif +%endif + +install -pm644 util/superiotool/README README.superiotool +install -pm644 util/superiotool/COPYING COPYING.superiotool +install -pm644 util/nvramtool/README README.nvramtool +install -pm644 util/nvramtool/COPYING COPYING.nvramtool +install -pm644 util/nvramtool/DISCLAIMER DISCLAIMER.nvramtool +%ifarch %{ix86} x86_64 +install -pm644 util/msrtool/COPYING COPYING.msrtool +%endif + +%files +%defattr(-,root,root) +%license COPYING.superiotool +%doc README.superiotool +%license COPYING.nvramtool +%doc README.nvramtool DISCLAIMER.nvramtool +%ifarch x86_64 +%{_bindir}/cbfstool +%{_sbindir}/amdfwtool +%endif +%{_bindir}/cbmem +%{_bindir}/ifdtool +%{_sbindir}/ectool +%{_sbindir}/inteltool +%{_sbindir}/intelmetool +%{_sbindir}/msrtool +%{_sbindir}/nvramtool +%{_sbindir}/superiotool +%{_mandir}/man8/* + +%changelog diff --git a/do-explicit-fallthrough.patch b/do-explicit-fallthrough.patch new file mode 100644 index 0000000..a77c770 --- /dev/null +++ b/do-explicit-fallthrough.patch @@ -0,0 +1,12 @@ +diff --git a/util/cbfstool/lz4/lib/lz4frame.c b/util/cbfstool/lz4/lib/lz4frame.c +index f984b27..1505875 100644 +--- a/util/cbfstool/lz4/lib/lz4frame.c ++++ b/util/cbfstool/lz4/lib/lz4frame.c +@@ -1092,6 +1092,7 @@ size_t LZ4F_decompress(LZ4F_decompressionContext_t decompressionContext, + dctxPtr->dStage = dstage_storeHeader; + } + /* Falls through. */ ++ __attribute__ ((fallthrough)); + case dstage_storeHeader: + { + size_t sizeToCopy = dctxPtr->tmpInTarget - dctxPtr->tmpInSize; diff --git a/no-pie.patch b/no-pie.patch new file mode 100644 index 0000000..446de80 --- /dev/null +++ b/no-pie.patch @@ -0,0 +1,15 @@ +diff --git a/util/msrtool/Makefile.in b/util/msrtool/Makefile.in +index f50adc2..15552bb 100644 +--- a/util/msrtool/Makefile.in ++++ b/util/msrtool/Makefile.in +@@ -19,8 +19,8 @@ PROGRAM = msrtool + CC = @CC@ + INSTALL = @INSTALL@ + PREFIX = @PREFIX@ +-CFLAGS = @CFLAGS@ +-LDFLAGS = @LDFLAGS@ ++CFLAGS = @CFLAGS@ -fPIC -fno-PIE ++LDFLAGS = @LDFLAGS@ -fPIC -no-pie + + TARGETS = geodegx2.o geodelx.o cs5536.o k8.o via_c7.o intel_pentium3_early.o intel_pentium3.o intel_pentium4_early.o intel_pentium4_later.o intel_pentium_d.o intel_core1.o intel_core2_early.o intel_core2_later.o intel_nehalem.o intel_atom.o + SYSTEMS = linux.o darwin.o freebsd.o