summaryrefslogtreecommitdiff
path: root/test/py/spawn.py
diff options
context:
space:
mode:
authorSam Edwards <cfsworks@gmail.com>2025-03-15 15:18:12 -0700
committerTom Rini <trini@konsulko.com>2025-04-02 14:33:50 -0600
commit17d830cb4b6cdbac56d41938d455820fd7a96a89 (patch)
tree8edfc4eaf7943d7551b8785f0e2b1443008240e0 /test/py/spawn.py
parent9ca475a6b5da06908a70d1eceb439d480137d69b (diff)
spl: riscv: opensbi: Error on misaligned FDT
libfdt 1.6.1+ requires the FDT to be 8-byte aligned and returns an error if not. OpenSBI 1.0+ includes this version of libfdt and will also reject misaligned FDTs. However, OpenSBI cannot indicate the error to the user: since it cannot access the serial console, it can only silently hang. This proved very difficult to diagnose without proper debugging facilities. Therefore, give the U-Boot SPL, which *can* print error messages, an additional check for proper FDT alignment. Hopefully this saves a lot of development cycles if another developer encounters alignment problems. Signed-off-by: Sam Edwards <CFSworks@gmail.com>
Diffstat (limited to 'test/py/spawn.py')
0 files changed, 0 insertions, 0 deletions