Hi Ti Exberts
I am trying do the same thing like here mentioned: [FAQ] TDA4VM: Run vision_apps in SBL boot flow with combined_appImage - Processors forum - Processors - TI E2E support forums
when I changed the config.mk file and
1. cd /home/jwang461/ti-sdk/tda4vm-rtos-sdk-08-04-00-06/pdk_jacinto_08_04_00_21/packages/ti/boot/sbl/tools/combined_appimage
2. make BOARD=j721e_evm HLOS_BOOT=optimized
below error reported, could you help me check why it is like this?
################################################################################# # Path Configuration ################################################################################# # Get directory of makefile (RELATIVE) mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) mkfile_dir := $(dir $(mkfile_path)) # Setup build variables relative to makefile folder ifeq ($(SDK_INSTALL_PATH),) PDK_INSTALL_PATH ?= $(abspath $(mkfile_dir)../../../../..) SDK_INSTALL_PATH ?= $(abspath $(PDK_INSTALL_PATH)../../..) else PDK_INSTALL_PATH ?= $(mkfile_dir)../../../../.. endif GCC_ARCH64_BIN_PREFIX ?= aarch64-none-elf include $(PDK_INSTALL_PATH)/ti/build/Rules.make ################################################################################# # General Configuration ################################################################################# # Output Configuration # # OUT_DIR defines the output directory for the combined appimage. # OUT_IMG defines the name of the combined appimage # OUT_DIR ?= $(mkfile_dir)bin/$(BOARD) OUT_IMG ?= combined.appimage # Raw Binary Extensions # # Each of the extensions in this list will be treated as a binary blob, thus # indicating that these formats must be converted into ELF prior to RPRC # generation. ALL OTHER EXTENSIONS WILL BE CONSIDERED AS EXECUTABLE. # RAW_EXTENSIONS ?= .bin .dtb # Consider extensionless files as raw binary or executable? # # Some files do not have extensions, we can either consider them as raw # binary or as executables, but not as both. # # Choices: # - raw: raw binary # - exe: executable # EXTENSIONLESS_TYPE ?= raw ################################################################################# # HLOS Configuration ################################################################################# # HLOS Boot Profile # # This setting configures the method by which the HLOS is "booted". In all # cases, SBL will technically bring up the board, and then kick off an HLOS # "boot" as configured here. # # Choices are as follows: # - "optimized" : ATF/OPTEE start the HLOS kernel directly # - "development" : ATF/OPTEE start SPL, which uses U-Boot to boot HLOS # - <NULL> : No HLOS boot # #HLOS_BOOT ?= optimized HLOS_BOOT ?= development # Path which contains all HLOS binaries #HLOS_BIN_PATH ?= $(SDK_INSTALL_PATH)/ti-processor-sdk-linux/board-support/prebuilt-images/$(BOARD) HLOS_BIN_PATH ?=/home/jwang461/ti-sdk/tda4vm-linux-sdk-08-04-00-11/board-support/prebuilt-images # GCC PATH GCC_LINUX_ARM_PATH ?= $(SDK_INSTALL_PATH)/gcc-arm-$(GCC_ARCH64_VERSION)-x86_64-$(GCC_ARCH64_BIN_PREFIX) # HLOS Images # # Each HLOS component needs to be converted to an ELF prior to RPRC/appimage # generation. So a Load Address will be needed, and if the image is intended to # be started by SBL (i.e. ATF), then an Entry Point must also be provided. # # Each image configuration should be formatted as follows: # # <Device ID>,<Binary File>,<Load Address>,[Entry Point] # # NOTE: Device ID's are defined in <ti/build/makerules/platform.mk> # ATF_IMG ?= mpu1_0,$(HLOS_BIN_PATH)/bl31.bin,0x70000000,0x70000000 OPTEE_IMG ?= load_only,$(HLOS_BIN_PATH)/bl32.bin,0x9e800000,0x9e800000 KERNEL_IMG ?= load_only,$(HLOS_BIN_PATH)/Image,0x80080000,0x80080000 # Use board-specific pre-built DTBs to ensure SD card filesystem is used for Linux boot DTB_IMG ?= load_only,/home/jwang461/ti-sdk/tda4vm-linux-sdk-08-04-00-11/board-support/prebuilt-images/k3-j721e-common-proc-board.dtb,0x82000000,0x82000000 SPL_IMG ?= load_only,$(HLOS_BIN_PATH)/u-boot-spl.bin,0x80080000,0x80080000 ################################################################################# # RTOS/Baremetal Configuration ################################################################################# # Path which contains all RTOS binaries RTOS_BIN_PATH ?= $(PDK_INSTALL_PATH)/ti/boot/sbl/example/k3MulticoreApp/binary/$(SOC) #RTOS_BIN_PATH ?= /home/jwang461/ti-sdk/tda4vm-rtos-sdk-08-04-00-06/pdk_jacinto_08_04_00_21/packages/ti/boot/sbl/example/k3MulticoreApp/binary/j721e # RTOS/Baremetal Images # # Each image here is expected to be in an executable format (e.g. xer5f (ELF), # ELF, COFF, etc). These images will be covnerted to RPRC before combined into # an appimage. # # A finite number of image variables has been provided below, but users may # add as many as needed. The load-order of these images is determined in # $IMG_LIST below. # # Each image configuration here should be formatted as follows: # # <Device ID>,<RTOS/Baremetal Binary> # # NOTE: Device ID's are defined in <ti/build/makerules/platform.mk> # # NOTE: images configured to run on the same device as SBL will be started # last. For example, on j721e SBL runs on MCU1_0, so any images # configured to run on MCU1 will be started when SBL is finished. # # Example: # IMG1 ?= mcu1_0,$(RTOS_BIN_PATH)/sbl_baremetal_boot_test_$(SOC)_idk_mcu1_0TestApp_release.xer5f # #IMG1 ?= mcu1_0,$(RTOS_BIN_PATH)/sbl_baremetal_boot_test_$(SOC)_idk_mcu1_0TestApp_release.xer5f IMG1 ?= mcu1_0,$(PDK_INSTALL_PATH)/ti/binary/ipc_echo_testb_freertos/bin/$(BOARD)/ipc_echo_testb_freertos_mcu1_0_release_strip.xer5f #IMG2 ?= mcu2_0,$(VISION_APPS_FW_PATH)/out/J721S2/R5F/FREERTOS/release/vx_app_rtos_linux_mcu2_0.out IMG2 ?= IMG3 ?= IMG4 ?= IMG5 ?= IMG6 ?= IMG7 ?= IMG8 ?= ################################################################################# # Final Image Configuration ################################################################################# # ATF is last on purpose, as it is only image that will be executed, thus it is # important that the other HLOS images get loaded first. ifeq ($(HLOS_BOOT),optimized) HLOS_IMGS = $(OPTEE_IMG) $(KERNEL_IMG) $(DTB_IMG) $(ATF_IMG) else ifeq ($(HLOS_BOOT),development) HLOS_IMGS = $(OPTEE_IMG) $(SPL_IMG) $(ATF_IMG) else HLOS_IMGS = endif # The final list of images, listed in inteded load/boot order # (please see note above in "RTOS/Baremetal Configuration" regarding boot order) IMG_LIST ?= $(IMG1) $(IMG2) $(IMG3) $(IMG4) $(IMG5) $(IMG6) $(IMG7) $(IMG8) $(HLOS_IMGS)

Thank you
Jason



