Skip to content

Commit

Permalink
rpi4: set default elfloader settings for aarch32
Browse files Browse the repository at this point in the history
Build an elfloader image for an aarch32 rpi4 kernel that expects to
start in aarch64 EL2. It will then switch down to aarch32 supervisor
mode and start seL4.

Signed-off-by: Kent McLeod <[email protected]>
  • Loading branch information
kent-mcleod authored and lsf37 committed Jun 1, 2023
1 parent 6a46b98 commit 2c61d6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake-tool/helpers/application_settings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ function(ApplyData61ElfLoaderSettings kernel_platform kernel_sel4_arch)
set(IMAGE_START_ADDR 0x80400000 CACHE INTERNAL "" FORCE)
endif()
if(KernelPlatformRpi4)
if(KernelSel4ArchAarch32)
set(ElfloaderArmV8LeaveAarch64 ON CACHE BOOL "" FORCE)
endif()
set(IMAGE_START_ADDR 0x10000000 CACHE INTERNAL "" FORCE)
endif()
endfunction()
Expand Down

0 comments on commit 2c61d6a

Please sign in to comment.