Part Number: AM2612
With the new version of the MCU+ SDK for AM261X processors the FLASH XIP no longer works. I updated our bootloader based on the current example from the 28.01.00.01 pre-release (this worked) and it wont boot core with XIP enabled. If I disabled XIP then the core started booting again. I went back to the AM261X_LP demo board to test my theory. I built the SDK examples using the following command:
gmake -s -j2 -f makefile.am261x examples COMPILER=ti-arm-clang
I then created 2 mcelf files; one containing the bootloader ($./examples/drivers/boot/sbl_ospi_psram_xip/am261x-lp/r5fss0-0_nortos0) and hello world ($./examples/hello_world/am261x-lp/r5fss0-0_nortos/ti-arm-clang), the second one the bootloader ($./examples/drivers/boot/sbl_ospi_psram_xip/am261x-lp/r5fss0-0_nortos0) and hello world xip ($./examples/hello_world_xip_fss1/am261x-lp/r5fss0-0_nortos/ti-arm-clang). The basic hello world example booted fine:
Starting OSPI Bootloader ...
KPI_DATA: [BOOTLOADER_PROFILE] CPU Clock : 500.000 MHz
KPI_DATA: [BOOTLOADER_PROFILE] Boot Media : NOR SPI FLASH
KPI_DATA: [BOOTLOADER_PROFILE] Boot Media Clock : 133.333 MHz
KPI_DATA: [BOOTLOADER_PROFILE] Boot Image Size : 30 KB
KPI_DATA: [BOOTLOADER_PROFILE] Cores present :
r5f0-0
KPI_DATA: [BOOTLOADER PROFILE] System_init : 470us
KPI_DATA: [BOOTLOADER PROFILE] Drivers_open : 111us
KPI_DATA: [BOOTLOADER PROFILE] LoadHsmRtFw : 6294us
KPI_DATA: [BOOTLOADER PROFILE] Board_driversOpen : 17725us
KPI_DATA: [BOOTLOADER PROFILE] CPU load : 3778us
KPI_DATA: [BOOTLOADER PROFILE] SBL End : 7us
KPI_DATA: [BOOTLOADER_PROFILE] SBL Total Time Taken : 28387us
Image loading done, switching to application ...
Hello World!
The XIP enabled hello world did not load the example much less complete boot loading.
Starting OSPI Bootloader ...
I included uart-uniflash config and outputs I used to flash in mcelf format.