makefile_ccs_bootimage_gen
that is included in every example and secondary bootloader (SBL) CCS project.makefile
in the example folder.This section describes the various tools that are used to create boot images for all the SDK applications
Folder/Files | Description |
---|---|
${SDK_INSTALL_PATH}/tools/boot/ | |
multicoreImageGen/ | Tool to combine multiple RPRC into a single binary |
out2rprc/ | Tool to convert compiler generated ELF .out for a CPU to a compact and loadable binary representation, called RPRC. |
sbl_prebuilt/ | Pre-built secondary bootloader (SBL) images and flash configuration files for different supported EVMs, see also Flashing Tools |
signing/ | Security signing scripts need to create boot images that can be booted by ROM bootloader (RBL) |
xipGen/ | Tool to split a RPRC file generated from out2rprc into two files containing non-XIP and XIP sections. |
uart_bootloader.py | Python script used to send the SBL and appimage binaries over UART using XMODEM protocol in UART boot mode |
uart_uniflash.py | Python script used to flash SBL and applications to EVM flash using UART. See Flashing Tools for more details. |
MulticoreImageGen
tool that generates the final binary that is flashed (*.appimage
)0x43525052
- which is ASCII equivalent for RPRC
mono
to invoke this executable (see Mono Runtime)
0x5254534D
- which is ASCII equivalent for MSTR
.appimage
file ENDIAN
should be LE
and DEV_ID
is 55
.CORE | CORE ID |
---|---|
r5fss0-0 | 4 |
r5fss0-1 | 5 |
r5fss1-0 | 6 |
r5fss1-1 | 7 |
m4fss0-0 | 14 |
openssl
installed as mentioned here, OpenSSLSBL_RUN_ADDRESS
is 0x70000000
BOOTIMAGE_CERT_KEY
is rom_degenerateKey.pem
--flash-xip
, the flash writer in this case will flash sections at the flash address mentioned in the RPRC section header.--help
. Example, output in Windows is shown below,config.mak
file located at {SDK_INSTALL_PATH}/tools/boot/linuxAppimageGenPSDK_LINUX_PREBUILT_IMAGES=/board-support/prebuilt-images
config.mak
file.#Input linux binaries
ATF_BIN_NAME=bl31.bin
OPTEE_BIN_NAME=bl32.bin
SPL_BIN_NAME=u-boot-spl.bin-am64xx-evm
config.mak
file.#Linux image load address
ATF_LOAD_ADDR=0x0701a0000
OPTEE_LOAD_ADDR=0x9e800000
SPL_LOAD_ADDR=0x80080000
config.mak
file.#Output appimage name
LINUX_BOOTIMAGE_NAME=linux.appimage