[PATCH 0/2] sandbox: provide /chosen/boot-hartid property

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Aug 28 11:42:07 CEST 2021


For booting via UEFI on RISC-V the devicetree must provide the
/chosen/boot-hartid property.

Fix /cpus node of the sandbox test devicetree to provide a matching cpu.

Heinrich Schuchardt (2):
  sandbox: correct cpu nodes
  sandbox: provide /chosen/boot-hartid property

 arch/sandbox/dts/test.dts    | 14 +++++++++++---
 arch/sandbox/lib/Makefile    |  2 +-
 arch/sandbox/lib/fdt_fixup.c | 25 +++++++++++++++++++++++++
 drivers/cpu/cpu_sandbox.c    |  2 +-
 test/dm/cpu.c                |  2 +-
 test/dm/timer.c              |  6 +++---
 6 files changed, 42 insertions(+), 9 deletions(-)
 create mode 100644 arch/sandbox/lib/fdt_fixup.c

--
2.30.2



More information about the U-Boot mailing list