diff options
author | Simon Glass <sjg@chromium.org> | 2013-04-20 08:42:41 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-05-01 11:17:21 -0400 |
commit | f828bf25fe02f0d7148a9180988ab4d5681b8195 (patch) | |
tree | 99c43aaf2246ec97b15ebb2f0603bfd7d2474d08 /doc/README.fdt-control | |
parent | a733b06b69d2cb058c4363952bc0793b1f514305 (diff) |
sandbox: Add CONFIG_OF_HOSTFILE to read FDT from host file
With sandbox it is tricky to add an FDT to the image at build time (or
later) since we build an ELF file, not a plain binary, and the address
space of the whole U-Boot is not accessible in the emulated memory map
of sandbox.
Sandbox can read files directly from the host, though, so add an option
to read an FDT from a host file on start-up.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/README.fdt-control')
-rw-r--r-- | doc/README.fdt-control | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/README.fdt-control b/doc/README.fdt-control index 8352835ee94..5963f78e961 100644 --- a/doc/README.fdt-control +++ b/doc/README.fdt-control @@ -142,7 +142,11 @@ join the two: and then flash image.bin onto your board. -You cannot use both of these options at the same time. +If CONFIG_OF_HOSTFILE is defined, then it will be read from a file on +startup. This is only useful for sandbox. Use the -d flag to U-Boot to +specify the file to read. + +You cannot use more than one of these options at the same time. If you wish to put the fdt at a different address in memory, you can define the "fdtcontroladdr" environment variable. This is the hex |