On Thu, 27 Apr 2017 17:36:34 +0200 Thomas Huth <[email protected]> wrote:
> > how do I use dumpdtb on ARM? It works on PPC64: > > qemu-system-ppc64 -machine dumpdtb=file.dtb > > it dumps device tree to a file. > > > > qemu-system-arm -machine virt-2.9 dumpdtb=file.dtb > > Try to use a comma here -----------^ > > I.e.: qemu-system-arm -machine virt-2.9,dumpdtb=file.dtb It worked, thanks! But the file size is 65536 and if I try to use the generated file to boot arm uefi VM (added "devicetree /boot/file.dtb" to grub.cfg), I get: Loading Linux 4.10.11-200.fc25.armv7hl ... Loading initial ramdisk ... ConvertPages: range 41FF8000 - 42008FFF covers multiple entries error: out of memory. Press any key to continue... error: device tree must be supplied (see `devicetree' command). Failed to boot both default and fallback entries. Press any key to continue... Regards, Nerijus
