[PATCH v4 0/5] Populate kaslr seed with RNG
Tom Rini
trini at konsulko.com
Fri Nov 10 18:48:49 CET 2023
On Fri, Nov 03, 2023 at 11:38:39AM -0700, seanedmond at linux.microsoft.com wrote:
> From: Sean Edmond <seanedmond at microsoft.com>
>
> This patch series creates a common API (fdt_fixup_kaslr_seed()) for
> populating the kaslr seed in the DTB. Existing users (kaslrseed,
> and ARMv8 sec firmware) have been updated to use this common API.
>
> New functionality has been introduced to populate the kaslr using
> the RNG. This can be enabled with CONFIG_RNG_TPM_SEED.
Please run this series through CI:
https://docs.u-boot.org/en/latest/develop/ci_testing.html
With the whole series applied I get:
========================================== FAILURES ===========================================
_______________________________ test_ut[ut_bootstd_cedit_base] ________________________________
test/py/tests/test_ut.py:503: in test_ut
assert output.endswith('Failures: 0')
E assert False
E + where False = <built-in method endswith of str object at 0x7f8536092ef0>('Failures: 0')
E + where <built-in method endswith of str object at 0x7f8536092ef0> = 'Test: cedit_base: cedit.c\r\r\nCannot create oftree\r\r\ntest/boot/cedit.c:27, cedit_base(): 0 == run_command("cedit load hostfs - cedit.dtb", 0): Expected 0x0 (0), got 0x1 (1)\r\r\nTest cedit_base failed 1 times\r\r\nFailures: 1'.endswith
------------------------------------ Captured stdout call -------------------------------------
=> ut bootstd cedit_base
Test: cedit_base: cedit.c
Cannot create oftree
test/boot/cedit.c:27, cedit_base(): 0 == run_command("cedit load hostfs - cedit.dtb", 0): Expected 0x0 (0), got 0x1 (1)
Test cedit_base failed 1 times
Failures: 1
=>
=================================== short test summary info ===================================
FAILED test/py/tests/test_ut.py::test_ut[ut_bootstd_cedit_base] - assert False
And the problem is in one of these two commits (one does not build by
itself leading to this bisect outcome):
dm: core: Modify default for OFNODE_MULTI_TREE
fdt: Fix compile error for !OFNODE_MULTI_TREE
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231110/b1a2e48a/attachment.sig>
More information about the U-Boot
mailing list