12 Commits

Author SHA1 Message Date
Scott Murray
d1d23b0c5c libhoth: update to latest
Update libhoth SRCREV to its latest commit, and add patches to fix
gcc 15 and build dependency issues.  Since the last update was
so long ago, the changelog is longer than seems reasonable to
include here, please refer to:

https://github.com/google/libhoth/commits/main/?since=2024-01-16&until=2025-07-03

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2025-07-04 12:41:20 -04:00
Scott Murray
0272225ccd Adapt to S/UNPACKDIR changes
Remove or update S definitions as required to work with oe-core
S/UNPACKDIR changes.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2025-07-04 12:41:20 -04:00
Armin Kuster
11c031554b pcr-extend: fix config error
Skip configure step to fix this error:
pcr-extend-0.1+git-r0 do_configure: no configure script found at ../git/configure

There is no configure for this package.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2025-04-13 14:07:57 -04:00
Armin Kuster
52c381af17 tpm-tools: fix QA and compile errors.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-07-31 21:10:13 -04:00
Wang Mingyu
6880ab150e trousers: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-07-29 20:07:01 -04:00
Yushi Sun
79b5f135a8 meta-security: libhoth: SRCREV bump e520f8f...e482716
Nicholas Nooney (1):
      Update error messages in htool_exec_hostcmd (#43)

Royce (1):
      Add ability to process raw host commands (#41)

Yoan Andreev (1):
      Payload getstatus (#40)

daimeng (1):
      htool: Allow console snapshot on proxy channels (#42)

Signed-off-by: Yushi Sun <yushis@google.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-01-28 12:13:54 -05:00
Dawid Dabrowski
7ee7b8903d libhoth recipe update
Changelog:
    Dawid Dabrowski
        Add support for payload update protocol for generic Titan images.
    Nick Nooney
        Add BUILD rules to support using libhoth with external tools.
    Yoan Andreev
        Add spi passthrough enable and disable commands.
	Add arm_coordinated_reset.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-12-29 09:09:30 -05:00
John Broadbent
4f79979c54 libhoth: Update
Changelog:
    Royce Rajan
        0e3eec6 Claim + Release USB connection when running `htool console`
        b36ebfc bazel: Stamp Git commit as version
        fd90feb meson: Stamp Git commit as version
        ba1403d Add get/clear panic record commands (#30)
    Chris Evans
        e34e9bd Update README.md for recently-added commands.
    Daimeng Wang
        611381e htool: Implement authz_record read/erase/build/set
        aaed60f htool: Add authz_record command API
        ad68019 libhoth: MTD allows zero byte read
    Pai Peng
        101f711 Add the 'statistics' command

Signed-off-by: John Broadbent <jebr@google.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-09-25 09:45:58 -04:00
Martin Jansa
ea97a23986 *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

0 (0%)  	meta-parsec
N/A (0%)        meta-hardening
1 (100%)        meta-integrity
15 (68%)        meta-tpm
27 (61%)        meta-security

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-25 15:05:28 -04:00
John Edward Broadbent
5c2379f4bc libhoth_git.bb:SRCREV bump 1622e8a04..d769296220d
Updating libhoth to match version in openbmc
https://gerrit.openbmc.org/c/openbmc/openbmc/+/63424

libhoth detailed changes:

Willy Tu
    Expose header files expose USB APIs

aranikam
    Add flash_spi_info command
    Add address mode flag for spi update/read

Chris Evans
    Rename ec_ commands; permit old command names as an alias.
    Apply clang-format, and enable it as a check action. (#24)

Sui Chen
    Add payload status
    Add console snapshot

Daimeng Wang
    libhoth: automated mtd mailbox discovery
    libhoth: implement MTD transport
    libhoth: add MTD backend boilerplate API

Yoan Andreev
    Dont check for non-snapshot console params
    Extern c wrap (#22)
    Build improvements (#18)
    Add basic abstraction to libhoth and SPIDEV support (#17)

Vidya Satyamsetti
    Add extern

Kor Nielsen
    htool console: Don't leave O_NONBLOCK set on stdin
    [fix] In legacy mailbox protocol, look at response size.
    [fix] Support legacy response buffers larger than 62 bytes.
    [feat] htool: Support Hoth-B devices.
    Add --baud_rate flag to "htool console".
    Setup github workflow to build project.
    Rename "htool console -l" to "htool console -n".
    Add --onlcr flag to "htool console".
    Make example visibility public.
    Fix BUILD file formatting.
    Remove out-of-date :enumerate and :ec_hello.
    Add libusb to bazel WORKSPACE.
    Fix undefined behavior in htool command handling.

Signed-off-by: John Edward Broadbent <jebr@google.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-22 09:49:16 -04:00
Armin Kuster
617f0af2dc recipes-tpm: use this for common tpm recipes
a bit of re-org

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-06 07:54:09 -04:00
Armin Kuster
250b67fc6f meta-tpm: rename recipes-tpm to recipes-tpm1
a bit of re-org.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-06 07:54:09 -04:00