forked from mirror/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a5b0249dfe
To boot S-mode firmware payload like EDK2 from persistent flash storage, qemu needs to pass the flash address as the next_addr in fw_dynamic_info to the opensbi. When both -kernel and -pflash options are provided in command line, the kernel (and initrd if -initrd) will be copied to fw_cfg table. The S-mode FW will load the kernel/initrd from fw_cfg table. If only pflash is given but not -kernel, then it is the job of of the S-mode firmware to locate and load the kernel. In either case, update the kernel_entry with the flash address so that the opensbi can jump to the entry point of the S-mode firmware. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20221004092351.18209-4-sunilvl@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> |
2 years ago | |
---|---|---|
.. | ||
boot.h | 2 years ago | |
boot_opensbi.h | 3 years ago | |
microchip_pfsoc.h | 2 years ago | |
numa.h | 4 years ago | |
opentitan.h | 2 years ago | |
riscv_hart.h | 4 years ago | |
shakti_c.h | 3 years ago | |
sifive_cpu.h | 5 years ago | |
sifive_e.h | 2 years ago | |
sifive_u.h | 3 years ago | |
spike.h | 3 years ago | |
virt.h | 2 years ago |