Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: Support binary build for imx8mp-evk #201

Merged
merged 1 commit into from
Jun 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions cmake-tool/helpers/application_settings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ include_guard(GLOBAL)
function(ApplyData61ElfLoaderSettings kernel_platform kernel_sel4_arch)
set(
binary_list
"tx1;hikey;odroidc2;odroidc4;imx8mq-evk;imx8mm-evk;hifive;tqma8xqp1gb;bcm2711;rocketchip;star64"
"tx1;hikey;odroidc2;odroidc4;imx8mq-evk;imx8mm-evk;imx8mp-evk;hifive;tqma8xqp1gb;bcm2711;rocketchip;star64"
)
set(efi_list "tk1;rockpro64;quartz64")
set(uimage_list "tx2;am335x")
Expand All @@ -36,9 +36,12 @@ function(ApplyData61ElfLoaderSettings kernel_platform kernel_sel4_arch)
set(ElfloaderMode "hypervisor" CACHE STRING "" FORCE)
set(ElfloaderMonitorHook ON CACHE BOOL "" FORCE)
endif()
if((KernelPlatformImx8mm-evk OR KernelPlatImx8mq) AND KernelSel4ArchAarch32)
if(
(KernelPlatformImx8mm-evk OR KernelPlatImx8mq OR KernelPlatformImx8mp-evk)
AND KernelSel4ArchAarch32
)
set(ElfloaderArmV8LeaveAarch64 ON CACHE BOOL "" FORCE)
# This applies to imx8mm, imx8mq (EVK and MaaXBoard) when in aarch32 configuration
# This applies to imx8mm, imx8mq (EVK and MaaXBoard), imx8mp when in aarch32 configuration
# It should be possible to use a uimage format but when tried nothing
# runs after uboot.
set(IMAGE_START_ADDR 0x41000000 CACHE INTERNAL "" FORCE)
Expand Down