diff --git a/ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/makerules/makefile_sbl.mak b/../ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/makerules/makefile_sbl.mak index a0858d9..1e613a7 100644 --- a/ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/makerules/makefile_sbl.mak +++ b/../ti-processor-sdk-rtos-j721e-evm-07_03_00_07/vision_apps/makerules/makefile_sbl.mak @@ -6,19 +6,21 @@ #OSPI DATA OSPI_LOCATION_SBL_IMAGE=0 -OSPI_LOCATION_SYSFW_BIN=40000 -OSPI_LOCATION_BOOT_APP=A0000 -OSPI_LOCATION_MULTI_CORE_IMAGE_1=1800000 -OSPI_LOCATION_MULTI_CORE_IMAGE_2=2400000 -OSPI_LOCATION_ATF_IMAGE=E0000 -OSPI_LOCATION_LINUX_DTB=16C0000 -OSPI_LOCATION_HLOS_KERNEL_IMAGE=6C0000 +OSPI_LOCATION_SYSFW_BIN=80000 +OSPI_LOCATION_BOOT_APP=100000 +OSPI_LOCATION_MULTI_CORE_IMAGE_1=1FC0000 +OSPI_LOCATION_MULTI_CORE_IMAGE_2=27C0000 +OSPI_LOCATION_ATF_IMAGE=1C0000 +OSPI_LOCATION_LINUX_DTB=1EC0000 +OSPI_LOCATION_HLOS_KERNEL_IMAGE=7C0000 +OSPI_PATTER=3FE0000 OSPI_BINARIES_PATH=$(VISION_APPS_PATH)/out/sbl_bootfiles +OSPI_PATTERN_FILE=$(PDK_PATH)/packages/ti/board/src/flash/nor/ospi/nor_spi_patterns.bin #UNIFLASH INFO UNIFLASH_VERSION=uniflash_6.0.0 UNIFLASH_DIR=${HOME}/ti/$(UNIFLASH_VERSION) -UNIFLASH_COM_PORT=/dev/ttyUSB5 +UNIFLASH_COM_PORT=/dev/ttyUSB1 UNIFLASH_SCRIPT=$(UNIFLASH_DIR)/dslite.sh ifneq ("$(wildcard $(UNIFLASH_SCRIPT))","") @@ -235,7 +237,7 @@ sbl_bootimage_hs: sbl_bootimage_sd_hs sbl_bootimage_ospi_hs sbl_atf_optee sbl_vi sbl_bootimage_flash_uniflash_programmer: ifeq ($(UNIFLASH_FOUND), yes) - $(UNIFLASH_SCRIPT) --mode processors -c $(UNIFLASH_COM_PORT) -f $(UNIFLASH_DIR)/processors/FlashWriter/j721e_evm/uart_j721e_evm_flash_programmer_release.tiimage -i 0 + $(UNIFLASH_SCRIPT) --mode processors -c $(UNIFLASH_COM_PORT) -f $(UNIFLASH_DIR)/processors/FlashWriter/j721e_evm/uart_j721e_evm_flash_programmer_release.tiimage -i 0 || true else echo "Uniflash not found! Please install uniflash or update the uniflash path in makefile" endif @@ -243,11 +245,13 @@ endif sbl_bootimage_flash_sbl_sysfw_bootapp: ifeq ($(UNIFLASH_FOUND), yes) #SBL Image - $(UNIFLASH_SCRIPT) --mode processors -c $(UNIFLASH_COM_PORT) -f $(OSPI_BINARIES_PATH)/sbl_cust_img_mcu1_0_release.tiimage -d 3 -o $(OSPI_LOCATION_SBL_IMAGE) + $(UNIFLASH_SCRIPT) --mode processors -c $(UNIFLASH_COM_PORT) -f $(OSPI_BINARIES_PATH)/sbl_cust_img_mcu1_0_release.tiimage -d 3 -o $(OSPI_LOCATION_SBL_IMAGE) || true + #OSPI Pattern file + $(UNIFLASH_SCRIPT) --mode processors -c $(UNIFLASH_COM_PORT) -f $(OSPI_PATTERN_FILE) -d 3 -o $(OSPI_PATTERN) || true #SYSFW BIN - $(UNIFLASH_SCRIPT) --mode processors -c $(UNIFLASH_COM_PORT) -f $(OSPI_BINARIES_PATH)/tifs.bin -d 3 -o $(OSPI_LOCATION_SYSFW_BIN) + $(UNIFLASH_SCRIPT) --mode processors -c $(UNIFLASH_COM_PORT) -f $(OSPI_BINARIES_PATH)/tifs.bin -d 3 -o $(OSPI_LOCATION_SYSFW_BIN) || true #Boot App - $(UNIFLASH_SCRIPT) --mode processors -c $(UNIFLASH_COM_PORT) -f $(OSPI_BINARIES_PATH)/can_boot_app_mcu_rtos_mcu1_0_release_ospi.appimage -d 3 -o $(OSPI_LOCATION_BOOT_APP) + $(UNIFLASH_SCRIPT) --mode processors -c $(UNIFLASH_COM_PORT) -f $(OSPI_BINARIES_PATH)/can_boot_app_mcu_rtos_mcu1_0_release_ospi.appimage -d 3 -o $(OSPI_LOCATION_BOOT_APP) || true else echo "Uniflash not found! Please install uniflash or update the uniflash path in makefile" endif @@ -255,9 +259,9 @@ endif sbl_bootimage_flash_hlos: ifeq ($(UNIFLASH_FOUND), yes) #ATF Image - $(UNIFLASH_SCRIPT) --mode processors -c $(UNIFLASH_COM_PORT) -f $(OSPI_BINARIES_PATH)/atf_optee.appimage -d 3 -o $(OSPI_LOCATION_ATF_IMAGE) + $(UNIFLASH_SCRIPT) --mode processors -c $(UNIFLASH_COM_PORT) -f $(OSPI_BINARIES_PATH)/atf_optee.appimage -d 3 -o $(OSPI_LOCATION_ATF_IMAGE) || true #HLOS Image - $(UNIFLASH_SCRIPT) --mode processors -c $(UNIFLASH_COM_PORT) -f $(OSPI_BINARIES_PATH)/ifs_qnx.appimage -d 3 -o $(OSPI_LOCATION_HLOS_KERNEL_IMAGE) + $(UNIFLASH_SCRIPT) --mode processors -c $(UNIFLASH_COM_PORT) -f $(OSPI_BINARIES_PATH)/ifs_qnx.appimage -d 3 -o $(OSPI_LOCATION_HLOS_KERNEL_IMAGE) || true else echo "Uniflash not found! Please install uniflash or update the uniflash path in makefile" endif