This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-AM261: Boot from OSPI is not as expected

Part Number: LP-AM261
Other Parts Discussed in Thread: UNIFLASH

I was able flash the .out file to R5_0 core through the UART mode to using the sbl_null cfg with modification to add the binary .out file

I have also attahed the cfg file for reference. and added the logs.

 

After the flashing complete changed to OSPI mode. I can only see the default SBL logs , but expected .out is not executing.

Please do suggest the missing cfg/procedure

UART logs after boot:

INFO: Bootloader_socLoadHsmRtFw:82: Device Type : HSFS
INFO: Bootloader_socLoadHsmRtFw:84: HSMRT Size in Bytes : 27603
INFO: Bootloader_socLoadHsmRtFw:97: hsm runtime firmware load complete ...
Starting NULL Bootloader ...
INFO: Bootloader_runCpu:205: CPU r5f0-1 is initialized to 500000000 Hz !!!
KPI_DATA: [BOOTLOADER_PROFILE] CPU Clock        : 500.000 MHz
KPI_DATA: [BOOTLOADER_PROFILE] Boot Media       : undefined
KPI_DATA: [BOOTLOADER_PROFILE] Boot Image Size  : 0 KB
KPI_DATA: [BOOTLOADER_PROFILE] Cores present    :
KPI_DATA: [BOOTLOADER PROFILE] System_init                      :         79us
KPI_DATA: [BOOTLOADER PROFILE] Drivers_open                     :         22us
KPI_DATA: [BOOTLOADER PROFILE] LoadHsmRtFw                      :      24774us
KPI_DATA: [BOOTLOADER PROFILE] SBL End                          :       9629us
KPI_DATA: [BOOTLOADER_PROFILE] SBL Total Time Taken             :      34504us

NULL Bootloader Execution Complete...
INFO: Bootloader_loadSelfCpu:257: CPU r5f0-0 is initialized to 500000000 Hz !!!
INFO: Bootloader_runSelfCpu:267: All done, reseting self ...

default_sbl_null_eth.cfg 

C:\ti\mcu_plus_sdk_am261x_11_01_00_19\tools\boot>python uart_uniflash.py -p COM16 --cfg="C:\ti\mcu_plus_sdk_am261x_11_01_00_19\tools\boot\sbl_prebuilt\am261x-lp\default_sbl_null_eth.cfg"

Parsing config file ...
Parsing config file ... SUCCESS. Found 3 command(s) !!!

Executing command 1 of 3 ...
Found flash writer ... sending sbl_prebuilt/am261x-lp/sbl_uart_uniflash.release.tiimage

Sent flashwriter sbl_prebuilt/am261x-lp/sbl_uart_uniflash.release.tiimage of size 51601 bytes in 6.37s.

Executing command 2 of 3 ...
Command arguments : --file=sbl_prebuilt/am261x-lp/sbl_null.release.tiimage --operation=flash --flash-offset=0x0
Sent sbl_prebuilt/am261x-lp/sbl_null.release.tiimage of size 182940 bytes in 20.05s.
[STATUS] SUCCESS !!!

Executing command 3 of 3 ...
Command arguments : --file=sbl_prebuilt/am261x-lp/enet_cpsw_tcpserver_am261x-lp_r5fss0-0_freertos_ti-arm-clang.bin --operation=flash-sector-write --flash-offset=0x81000
Sending sbl_prebuilt/am261x-lp/enet_cpsw_tcpserver_am261x-lp_r5fss0-0_freertos_ti-arm-clang.bin: 242844bytes [00:23, 11142.78bySending sbl_prebuilt/am261x-lp/enet_cpsw_tcpserver_am261x-lp_r5fss0-0_freertos_ti-arm-clang.bin: 243873bytes [00:23, 11126.27bySending sbl_prebuilt/am261x-lp/enet_cpsw_tcpserver_am261x-lp_r5fss0-0_freertos_ti-arm-clang.bin: 243873bytes [00:23, 11126.27bySending sbl_prebuilt/am261x-lp/enet_cpsw_tcpserver_am261x-lp_r5fss0-0_freertos_ti-arm-clang.bin: 243874bytes [00:23, 11126.27bySending sbl_prebuilt/am261x-lp/enet_cpsw_tcpserver_am261x-lp_r5fss0-0_freertos_ti-arm-clang.bin: 243875bytes [00:24, 11126.27bySending sbl_prebuilt/am261x-lp/enet_cpsw_tcpserver_am261x-lp_r5fss0-0_freertos_ti-arm-clang.bin: 243876bytes [00:26, 11126.27bySending sbl_prebuilt/am261x-lp/enet_cpsw_tcpserver_am261x-lp_r5fss0-0_freertos_ti-arm-clang.bin: 243877bytes [00:26, 11126.27by                                                                                                                               Sent sbl_prebuilt/am261x-lp/enet_cpsw_tcpserver_am261x-lp_r5fss0-0_freertos_ti-arm-clang.bin of size 242392 bytes in 24.91s.
[STATUS] SUCCESS !!!

All commands from config file are executed !!!