Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
axel-h committed Feb 20, 2024
1 parent c857dec commit 9c8be1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/Arm/vm_minimal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ elseif("${KernelARMPlatform}" STREQUAL "qemu-arm-virt")
# Linux images for aarch64 only. However, it is unclear if that is the only
# blocker to get this example run in QEMU on aarch32.
if(NOT KernelSel4ArchAarch64)
message(FATAL_ERROR "Only AARCH64 is supported")
message(WARNING "Only AARCH64 is supported")
endif()

find_package(camkes-vm-linux REQUIRED)
Expand Down
4 changes: 1 addition & 3 deletions apps/Arm/vm_minimal/settings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ if(${PLATFORM} STREQUAL "odroidc2")
set(VmDtbFile ON CACHE BOOL "" FORCE)
endif()
if(${PLATFORM} STREQUAL "qemu-arm-virt")
# force cpu
# QEMU defaults to aarch64/Cortex-A53
set(QEMU_MEMORY "2048")
set(KernelArmCPU cortex-a53 CACHE STRING "" FORCE)
set(VmInitRdFile ON CACHE BOOL "" FORCE)
endif()
if(${PLATFORM} STREQUAL "zcu102")
set(AARCH64 ON CACHE BOOL "" FORCE)
set(KernelAllowSMCCalls ON CACHE BOOL "" FORCE)
endif()

0 comments on commit 9c8be1d

Please sign in to comment.