Skip to content

Commit

Permalink
simulation: Add support for i.mx7 simulation through Qemu
Browse files Browse the repository at this point in the history
Qemu now supports i.mx7d Sabre platform.

Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
  • Loading branch information
jcdubois committed Oct 8, 2024
1 parent bef85f3 commit 3edf12d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmake-tool/helpers/simulation.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 3edf12d

Please sign in to comment.