# m7-sample **Repository Path**: float996/m7-sample ## Basic Information - **Project Name**: m7-sample - **Description**: for s32g2 yocto linux compile - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: release/bsp43.0 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-07-20 - **Last Updated**: 2025-04-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Introduction 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. # How to build Building sources ```shell make CROSS_COMPILE= compile ``` ## How to Build example: From the project's root folder, and having cross-compile binaries on path: ### ARM Trusted Firmware ```shell 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`. ## Other build options By default, M7 boots with A53 lockstep enabled. To disable A53 lockstep, the flag DISABLE_A53_LOCKSTEP should be added to `make` command. ```shell make DISABLE_A53_LOCKSTEP=1 ```