This project is a basic example of M7 bootloader. IVT is set to make this M7 bootloader as boot target. Then M7 bootloader enables A53 lockstep and start the A53 core0.
Building sources
make CROSS_COMPILE=<armv7-cross-compiler-> compile
From the project's root folder, and having cross-compile binaries on path:
make CROSS_COMPILE=arm-none-eabi- A53_BOOTLOADER=bl2_w_dtb.s32
Above commands will generate bl2_w_dtb.s32.m7
file which has to be placed on SDCard instead of
usual bl2_w_dtb.s32
.
By default, M7 boots with A53 lockstep enabled.
To disable A53 lockstep, the flag DISABLE_A53_LOCKSTEP should be added to make
command.
make DISABLE_A53_LOCKSTEP=1