Add a new google OEM event ID

This change adds a new OEM event ID 2 for receiving crashdumps
through PLDM Google OEM event class 0xF6.

Also adds several print messages to help with debugging.

Tested:
- Tested that BMC can still receive crashdumps via file transfer
to maintain backcompatibility

Google-Bug-Id: 383179915
Change-Id: I8bc30ee517b53afdab7dbe6345b83ea7f3719b20
Signed-off-by: Kasun Athukorala <kasunath@google.com>
2 files changed
tree: ec22f0546b6f5cac39470c617945a785b0fb8a19
  1. src/
  2. subprojects/
  3. test/
  4. .clang-format
  5. .gitignore
  6. LICENSE
  7. meson.build
  8. meson_options.txt
  9. pldm-oem-google.h
  10. README.md
README.md

PLDM Google OEM specifications

This repo contains:

  1. the pldm-oem-google.h, which is the source of truth definitions of PLDM google oem elements.

  2. pldmd-oem-google static library, as extension of libpldm, contains the helper function to parser the PLDM google oem elements.

Google PLDM OEM events

Google defined PLDM OEM events will be sent as PLDM OEM event with event_class=0xF6, followed by 3 bytes of google IANA [00 D4 DE].

The specific google OEM event ID and associated oem event data format shall be defined in pldm-oem-google.h.