Skip to content

M7 software basic example for booting with M7 as boot target

License

Notifications You must be signed in to change notification settings

Flindia/m7-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

make CROSS_COMPILE=<armv7-cross-compiler->

Appending M7 binary over an existing binary with IVT header (e.g. u-boot.s32)

append_m7.sh -i <IVT binary> -b <m7 binary from this project> -m <m7 map file from this project>

m7 binary and m7 map from this project are generated after make command described above For complete parameters list and description, use help option:

append_m7.sh -h

How to Build example:

From the project's root folder, and having cross-compile binaries on path:

make CROSS_COMPILE=arm-none-eabi-
./append_m7.sh -i u-boot.s32 -b build/m7.bin -m build/m7.map

Other build options

By default, M7 boots with A53 lockstep enabled. To disable A53 lockstep, the flag DISABLE_A53_LOCKSTEP should be defined, by appending

-DDISABLE_A53_LOCKSTEP

to CFLAGS variable

About

M7 software basic example for booting with M7 as boot target

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 41.8%
  • Shell 37.8%
  • Assembly 14.9%
  • Makefile 5.5%