This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Morello FVP for bare metal - SCP Firmware build issue

As stated in the Morello Bare Metal debug example, the necessary changes were made in the scp firmware code's specified file to start the rainier cores from 0x14000000

Now to Build the SCP firmware for PRODUCT=morello

1. compiling using CC=arm-none-eabi-gcc, builds the firmware but for the resulting FVP invoked as per bare metal documentation states: 

> SCP Firmware -> Module Initialization Complete

> Invalid FIP ToC header nme: [0x20040000]

> Failed to locat SCP_BL2, error -1

And running the program gives error, no function named main could be found.

The guide states "For all products other than host, the code needs to be compiled by a cross-compiler"

2. Setting CC=clang-11 and SYSROOT to the bin directory of the morello llvm baremetal toolchain release 1.1 fails. Clang-11 command not found.

also make SYSROOT=/opt/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/aarch64-none-elf CC=clang-11 PRODUCT=morello does not work (after installing the gcc-arm aarch)

What is the right compiler to use for Morello FVP to build scp firmware

0