On 11/8/2026 9:03 PM, Brian Cain wrote:
> -bios on virt only loaded a raw image of at most 64 KiB at address zero.
> This is useless for a typical case like the h2 hypervisor, usually ~hundreds
> of kb.
> 
> Boot a kernel given with -kernel through the firmware given with -bios the
> way the DSP subsystem machines do: relocate the kernel into the window at
> 0xa0000000, place the device tree and initrd after it, and enter the
> firmware through a boot stub that passes the device tree in r1:r0.
> 
> Fixes: 88a8bc7f43ff ("hw/hexagon: Define hexagon "virt" machine")
> Signed-off-by: Brian Cain <[email protected]>
> ---
>  hw/hexagon/virt.c              | 79 +++++++++++++++++++++++++++-------
>  tests/qtest/boot-serial-test.c |  5 ++-
>  2 files changed, 67 insertions(+), 17 deletions(-)
> 

Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to