On Thu, Aug 28, 2025 at 02:06:56PM +0100, Said Nasibov wrote:

> This commit introduces a new standard boot method that supports booting
> via semihosting as provided by ARM FVP platforms.
> 
> Semihosting enables the virtual platform to access host-side files as if
> they were block devices, which is particularly useful in early boot
> development and simulation environments. It removes the need for physical
> storage or networking when loading kernel components.
> 
> This method mirrors the distroboot logic for semihosting, which is the
> default boot method for vexpress64 platform. The load_file_from_host
> helper function is implemented to mirror behaviour of "load hostfs" u-boot
> command, so it similarly sets filesize environment variable after loading a
> file - this is useful for later commands.
> 
> This implementation is marked with BOOTMETH_GLOBAL so it is always
> considered during bootflow scan without requiring a boot device.
> 
> Signed-off-by: Said Nasibov <said.nasi...@arm.com>
[snip]
> +       env_set("fdt_high", "0xffffffffffffffff");
> +       env_set("initrd_high", "0xffffffffffffffff");

Why do we need to do this? U-Boot should be able to move things if
needed, as there's good reason when it does this.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to