Wiki

This version is outdated by a newer approved version.DiffThis version (24 Jul 2020 11:07) was approved by Sunny Feng.

This is an old revision of the document!


How to Generate Remoteproc LDR File in CCES

Introduction

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.

Project Configuration

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

resources/tools-software/linuxdsp/docs/linux-kernel-and-drivers/remoteproc/remoteproc_ldr_generate.1595226948.txt.gz · Last modified: 20 Jul 2020 08:35 by jian chen