mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
arm: add device tree support
If compiled with CONFIG_FDT, allow user to specify a device tree file using the -dtb argument. If the machine supports it then the dtb will be loaded into memory and passed to the kernel on boot. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca> [Peter Maydell: Use machine opt rather than global to pass dtb filename] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
41c1e2f54e
commit
412beee6a0
7 changed files with 120 additions and 6 deletions
|
@ -2037,6 +2037,15 @@ Use @var{file1} and @var{file2} as modules and pass arg=foo as parameter to the
|
|||
first module.
|
||||
ETEXI
|
||||
|
||||
DEF("dtb", HAS_ARG, QEMU_OPTION_dtb, \
|
||||
"-dtb file use 'file' as device tree image\n", QEMU_ARCH_ARM)
|
||||
STEXI
|
||||
@item -dtb @var{file}
|
||||
@findex -dtb
|
||||
Use @var{file} as a device tree binary (dtb) image and pass it to the kernel
|
||||
on boot.
|
||||
ETEXI
|
||||
|
||||
STEXI
|
||||
@end table
|
||||
ETEXI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue