On 9/26/19 8:17 AM, Lakshmi Ramasubramanian wrote:
The following commit for ARM Trusted Firmware for QEMU virt ARMv8-A
is almost 3 years old
https://salsa.debian.org/debian/atf-allwinner/commit/b6b671c4ac4bd5595306863225bb3bece1e6135c
Current limitations:
* Only cold boot is supported
* No build instructions for QEMU_EFI.fd and rootfs-arm64.cpio.gz
* No instructions for how to load a BL32 (Secure Payload)
So looks like only cold boot is supported (no kexec support)
Is this correct?
When I execute kexec ("kexec -l <kernel>", followed by "kexec -e") I hit
the following assert (in arm-trusted-firmware/plat/qemu/qemu_pm.c)
/*******************************************************************************
* Platform handler called when a power domain is about to be turned
* off. The target_state encodes the power state that each level should
* transition to.
******************************************************************************/
void qemu_pwr_domain_off(const psci_power_state_t *target_state)
{
assert(0);
}
Is kexec supported in ARM64 QEMU (qemu-system-aarch64) -
using arm-trusted-firmware, optee, and u-boot?
Thanks,
-lakshmi