diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-03-02 04:08:44 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-03-14 16:08:51 -0600 |
commit | c5fe73ecb41e04c82e6ad612e646f203355a0a99 (patch) | |
tree | 873bbc86531e333b5bf8a8405c3132758d4fd8d4 /tools/binman/binman.rst | |
parent | 77291e6e90e9c84b9c963acb15d0cac381cf8b44 (diff) | |
download | u-boot-c5fe73ecb41e04c82e6ad612e646f203355a0a99.zip u-boot-c5fe73ecb41e04c82e6ad612e646f203355a0a99.tar.gz u-boot-c5fe73ecb41e04c82e6ad612e646f203355a0a99.tar.bz2 |
test: cmd: fdt: Test fdt apply
Add 'fdt chosen' test which works as follows:
- Create basic DT, map it to sysmem
- Apply DTO which adds single property via fragment (without address spec)
- Apply DTO which adds more properties (string, u32, empty) and a subnode,
with phandle via frament@0 and thus tests /__symbols__ node
- Apply DTO which modifies property of the previous DTO via phandle and thus
tests the /__fixups__ node
- Print modified DT, verify it contains updates from DTOs
The test case can be triggered using:
"
./u-boot -Dc 'ut fdt'
"
To dump the full output from commands used during test, add '-v' flag.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/binman.rst')
0 files changed, 0 insertions, 0 deletions