From 3edf12dbb42f234e433de2118de67f6d711cc64a Mon Sep 17 00:00:00 2001 From: Jean-Christophe Dubois Date: Tue, 8 Oct 2024 17:14:55 +0200 Subject: [PATCH] simulation: Add support for i.mx7 simulation through Qemu Qemu now supports i.mx7d Sabre platform. Signed-off-by: Jean-Christophe Dubois --- cmake-tool/helpers/simulation.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmake-tool/helpers/simulation.cmake b/cmake-tool/helpers/simulation.cmake index cf38b557..f79435b6 100644 --- a/cmake-tool/helpers/simulation.cmake +++ b/cmake-tool/helpers/simulation.cmake @@ -115,6 +115,11 @@ function(GenerateSimulateScript) set(sim_serial_opt "-serial mon:stdio") set(sim_machine "sabrelite") SetDefaultMemSize("2048M") + elseif(KernelPlatImx7) + set(QemuBinaryMachine "qemu-system-arm") + set(sim_serial_opt "-serial mon:stdio") + set(sim_machine "mcimx7d-sabre") + SetDefaultMemSize("2048M") elseif(KernelPlatformRpi3 AND KernelSel4ArchAarch64) set(QemuBinaryMachine "qemu-system-aarch64") set(sim_serial_opt "-serial null -serial mon:stdio")