On Tue, Apr 5, 2016 at 7:40 PM, Sebastian Andrzej Siewior <bige...@linutronix.de> wrote: > On 04/05/2016 07:11 PM, Antonio Borneo wrote: >> Hi, > Hi, > >> I'm not expert on the x86 memory map at boot and during kernel >> boot; I found easy to just append the dtb to the kernel image. >>>From my tests this patch is working fine. >> If you have any hint for a different loading address for dtb, I >> would be glad to modify this code. > > If I remember correctly, the kernel makes a copy of the dtb on order > not to rely on any specific memory layout (same as with initrd).
Hi Sebastian, yes, correct, kernel makes a copy of dtb. Anyway I want to be sure my choice to append dtb to kernel doesn't hit any memory constraint in QEMU. I believe it is safe, since from QEMU point of view kernel+dtb looks just like a "bigger" kernel. Thanks, Antonio