Hi,
I have been trying to achieve SBL boot mode with OSPI using SDK 7.3, following the guide here:
Howerver I am unable to boot with the setup. There is no serial output showing at all, from MCU UART first port and second port. So I assume the SBL bootloader failed to start for some reason.
Here are some detailed steps I tried:
Build:
cd INSTALLDIR/pdk_j7200_07_03_00_29//packages/ti/build
make BOARD=j7200_evm CORE=mcu1_0 BUILD_PROFILE=release pdk_libs
#Tried both
make BOARD=j7200_evm CORE=mcu1_0 BUILD_PROFILE=release sbl_cust_img
make BOARD=j7200_evm CORE=mcu1_0 BUILD_PROFILE=release sbl_ospi_img
cd INSTALLDIR/mcusw/build
make can_boot_app_mcu_rtos HLOSBOOT=linux BOOTMODE=ospi BOARD=j7200_evm SOC=j7200 BUILD_PROFILE=release CORE=mcu1_0 BUILD_OS_TYPE=tirtos
cd INSTALLDIR/mcusw/mcuss_demos/boot_app_mcu_rtos/main_domain_apps/scripts
./makemulticore.sh j7200_evm
change the file /ti-processor-sdk-linux-j7200-evm-7.3/board-support/linux-5.4.106+gitAUTOINC+023faefa70-g023faefa70/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
added bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait"
then use the /constructappimageshlos.sh j7200_evm to generate the atf_optee.appimage, tikernelimage_linux.appimage and tidtb_linux.appimage files.
Then:
the following files are transferred into the ${loadaddr} using tftp during uboot

using the command : tftp ${loadaddr} sbl_ospi_img_mcu1_0_release.tiimage

Then I used:
sf probe
sf erase 0x0 0x40000
sf write $loadaddr 0x0 $filesize to write the sbl into the flash.
as well as the tifs.bin file into location 0x80000
However, as I powered off the board, adjust the pin switches to OSPI mode, no response in the serial ports.
The current switches settings for me are:
SW3: 0100001010
SW8: 00000000
SW9: 01000000
I have also tried :
SW8: 00000110
SW9: 01000000
according to the document below

Could you please tell me what am I missing or what am I doing wrong?
Best Regards,
Kelvin Wang


