AM65xx: Change SBL Boot Perf Test to smaller version
authorJonathan Bergsagel <jbergsagel@ti.com>
Thu, 10 Dec 2020 01:11:46 +0000 (19:11 -0600)
committerJonathan Bergsagel <jbergsagel@ti.com>
Thu, 10 Dec 2020 01:11:46 +0000 (19:11 -0600)
Moved to smaller version of sbl_boot_perf_test that fits
in MCU SRAM.
Larger version was conflicting with MSMC RAM area used
to authenticate the signed appimage on AM65xx HS devices.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
packages/ti/boot/sbl/build/sbl_mcu0_boot_perf_test.mk
packages/ti/boot/sbl/example/k3MulticoreApp/mcuBootPerfLinker_small.lds

index 4ff070a27cecc70e40a8328f996fe5e30f3d6b65..b5c56a829415a035ceeb7051640c417d60ecc203 100644 (file)
@@ -49,7 +49,7 @@ SRCS_ASM_COMMON = sbl_smp_r5.asm
 ifeq ($(filter $(SBL_CFLAGS), -DSBL_ENABLE_DEV_GRP_MCU), -DSBL_ENABLE_DEV_GRP_MCU)
   EXTERNAL_LNKCMD_FILE_LOCAL =  $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/mcuBootPerfLinker_small.lds
 else
-  ifeq ($(SOC),$(filter $(SOC), j7200))
+  ifeq ($(SOC),$(filter $(SOC), j7200 am65xx))
     EXTERNAL_LNKCMD_FILE_LOCAL =  $(PDK_SBL_COMP_PATH)/example/k3MulticoreApp/mcuBootPerfLinker_small.lds
   else
     SRCS_ASM_COMMON += sbl_boot_perf_r5.asm
index 8f60178474a8686bd4e3995d91cf09cfce22031e..40551518bfc8686dc8236feb5d62e2915f8aa2a0 100644 (file)
@@ -56,6 +56,7 @@ MEMORY
         /* Used for SYSFW initlization */
        OCMRAM_SBL_SYSFW (RWIX) : origin=0x41C3E000 length=0x4000
        OCMRAM_SBL_UNUSED (X)   : origin=0x41C7E000 length=0x2000
+    /* Line below is not used / not needed for AM65xx */
     OCMRAM_SBL_RM_PM_HAL (X): origin=0x41C80000 length=0x6000
 
         /* App code resides here  */