From: Rossier Daniel Date: Fri, 5 Jul 2019 07:13:49 +0000 Subject: [U-Boot] Getting address and size of loadable images through DT Message-ID: <4ccca8834a68401d9d99cde064d2e14b@heig-vd.ch> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear all, I would like to use a FIT its description with two images (one hypervisor, one Linux kernel). I'm starting the hypervisor with bootm and I would like to retrieve the start address and size of the Linux kernel image in my hypervisor. Ideally, I would like to get that through a dynamically created entry in the device tree passed to the hypervisor (the DT being contained in the its file as well). I discovered the fdt_record_loadable() function which could do the job, but this function does not seem not be called systematically when such loadables are present (and a device tree). Any suggestion to achieve this? Do I need to patch U-boot some way? Many thanks for your support. Kind regards Daniel