-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
SITSW-4994
-
IDK
-
08.06.00
-
Customer (servotronix) has an application which is compiled using GCC compiler. The size of application is ~10MB.
SBL_OSPI is not able to boot because it fails at Sciclient_procBootAuthAndStart function.
One thing to note is 1st the customer tried to flash .out image directly which would obv. fail. However, on my end, I tried the following command to convert he .out image into .appimage.hs_fs and .appimage_xip.
chmod a+x /home/sanmveg/ti/workarea/mcu_plus_sdk/tools/boot/xipGen/xipGen.out /home/sanmveg/ti/sysconfig_1.18.0/nodejs/node /home/sanmveg/ti/workarea/mcu_plus_sdk/tools/boot/out2rprc/elf2rprc.js tcpserver_freertos_freertos_fat_timer_gcc.out >> temp_stdout_release.txt cp tcpserver_freertos_freertos_fat_timer_gcc.rprc tcpserver_freertos_freertos_fat_timer_gcc.rprc_tmp rm -f tcpserver_freertos_freertos_fat_timer_gcc.rprc /home/sanmveg/ti/workarea/mcu_plus_sdk/tools/boot/xipGen/xipGen.out -i tcpserver_freertos_freertos_fat_timer_gcc.rprc_tmp -o tcpserver_freertos_freertos_fat_timer_gcc.rprc -x tcpserver_freertos_freertos_fat_timer_gcc.rprc_xip --flash-start-addr 0x60000000 -v > temp_stdout_release.txt /home/sanmveg/ti/sysconfig_1.18.0/nodejs/node /home/sanmveg/ti/workarea/mcu_plus_sdk/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out tcpserver_freertos_freertos_fat_timer_gcc.appimage tcpserver_freertos_freertos_fat_timer_gcc.rprc@4 >> temp_stdout_release.txt /home/sanmveg/ti/sysconfig_1.18.0/nodejs/node /home/sanmveg/ti/workarea/mcu_plus_sdk/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out tcpserver_freertos_freertos_fat_timer_gcc.appimage_xip tcpserver_freertos_freertos_fat_timer_gcc.rprc_xip@4 >> temp_stdout_release.txt rm -f tcpserver_freertos_freertos_fat_timer_gcc.rprc_tmp rm -f temp_stdout_release.txt python3 /home/sanmveg/ti/workarea/mcu_plus_sdk/tools/boot/signing/appimage_x509_cert_gen.py --bin tcpserver_freertos_freertos_fat_timer_gcc.appimage --authtype 1 --key /home/sanmveg/ti/workarea/mcu_plus_sdk/tools/boot/signing/rom_degenerateKey.pem --output tcpserver_freertos_freertos_fat_timer_gcc.appimage.hs_fs rm -f tcpserver_freertos_freertos_fat_timer_gcc.appimage
However, when I try to flash output binaries (using uart_uniflash.py), SBL_OSPI fails at function Sciclient_procBootAuthAndStart. I have attached the binaries in this ticket.
Note that I am trying this on hs_fs AM243x device.