This document introduces the steps to generate the ldr file for remoteproc function in one SHARC core(Core1 or Core2) CCES project. Take the remoteproc sharc template example as the SHARC core CCES project.
Before configuring the CCES project, we need to import the SHARC CCES project into CCES then change the settings of the Debug or Release Configuration in the CCES project as below:
Project properties -> C/C++ Build -> Settings -> Build Artifact -> Artifact Type: Loader File
Project properties -> C/C++ Build -> Settings -> Tools Settings -> CrossCore SHARC Loader -> General -> Boot mode: SPI master Project properties -> C/C++ Build -> Settings -> Tools Settings -> CrossCore SHARC Loader -> General -> Boot format: Binary Project properties -> C/C++ Build -> Settings -> Tools Settings -> CrossCore SHARC Loader -> General -> Boot code: 1
Project properties -> C/C++ Build -> Settings -> Tools Settings -> CrossCore SHARC Loader -> Additional Options: -MaxBlockSize 2048
Project properties -> C/C++ Build -> Settings -> Tools Settings -> CrossCore SHARC Loader -> Executable Files: For SHARC Core1, specify the core executable file in Core1 part; For SHARC Core2, specify the core executable file in Core2 part;
The ldr file will be generated in the Debug or Release folder of the CCES project after building the project.
Back to Kernel Features and Device Drivers for ADSP-SC5xx Yocto Linux