Attention is currently required from: Kapil Porwal.

Kapil Porwal uploaded patch set #2 to this change.

View Change

The following approvals got outdated and were removed: Verified-1 by build bot (Jenkins)

drivers/self_test: coreboot self test

Add a self test infrastructure with below features -
- Modularity: New tests can be added easily as a module.
- Flexibility: Where tests can be executed at any stage.
- Where results can be dumped during payload or the OS.

BUG=b:233012780
TEST=Print self test result in the OS

Run the below command in the OS to get the self test logs:
$ cbmem -r 53545354 | hexdump -C

Sample output:
00000000 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
00001000

Change-Id: I8d7813d972167592b8dc9e9e7e9b0eb1f50c3da6
Signed-off-by: Kapil Porwal <kapilporwal@google.com>
---
M src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h
A src/drivers/self_test/Kconfig
A src/drivers/self_test/Makefile.mk
A src/drivers/self_test/modules/.gitignore
A src/drivers/self_test/self_test.c
A src/include/self_test.h
A src/include/self_test_id.h
7 files changed, 278 insertions(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/82045/2

To view, visit change 82045. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I8d7813d972167592b8dc9e9e7e9b0eb1f50c3da6
Gerrit-Change-Number: 82045
Gerrit-PatchSet: 2
Gerrit-Owner: Kapil Porwal <kapilporwal@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Kapil Porwal <kapilporwal@google.com>
Gerrit-MessageType: newpatchset