HI.
RTOS SDK: ti-processor-sdk-rtos-j721e-evm-07_03_00_07
Linux SDK: ti-processor-sdk-linux-j7-evm-07_03_00_05
How to boot MCU1-0 (AUTOSAR) from tiboot3 ?
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.
Hi,
SBL from SDK7.3 can load application on mcu1_0. we have tested it with PDK applications, so could you try using SBL for loading autosar example?
Regards,
Brijesh
Hi gj y,
i think it supports booting uboot, let me check and get back to you.
Regards,
Brijesh
Hi gj y,
In order to boot uboot from SBL, please follow below steps.
Now reboot the board in SD boot mode and you should uboot prints on main domain uart console..
Regards,
Brijesh
Have you integrated sciserver with the autosar?
If no, can you follow https://www.ti.com/lit/an/spracy6/spracy6.pdf Application for this integration.
If it is already integrated, you could replace ipc_echo test app ie IMG1 with your autosar image.
Regards,
Brijesh
HI. Brijesh
Thank you for your support .
I use OSPI startup mode ,
sbl is sbl_cust_img_mcu1_0_release.tiimage
sbl boot enet_nimu_example_mcu1_0_release.appimage.
enet_nimu_example_mcu1_0_release.appimage boot multicore_MCU2_0_MCU2_1_stage1 atf_optee.appimage tikernelimage_linux.appimage.
I would now like to replace it with the following:
SBL boot is required to start enet_nimu_example_mcu1_0_release.appimage,
SBL also boot t u-boot, u-boot boot kernel
Hi gj y,
Can you us sbl_ospi_img_hlos, instead of cust SBL? OSPI img supports loading of hlos images, cust does not support.
Yes, SBL OSPI HLOS will load ATF and uboot on A72 and then A72 will load Linux kernel image.
If enet_numu_example has integrated SciServer, you could replace ipc_echo_testb binary in IMG1 with enet_nimu binary and generate app..
Regards,
Brijesh
HI. Brijesh
sbl_ospi_img_hlos_mcu1_0_release.tiimage Write to OSPI 0 address . sbl boot mcu1-0 boot_app(Write to OSPI 0x100000 address) , boot_app can boot ATF appimage and ti-uboot-spl.appimage.
When I use the combined.appimage generated by ipc_echo_testb_mcu1_0_release_strip instead of boot_ app.appimage
sbl_ospi_img_hlos_mcu1_0_release.tiimage cannot start ATF and ti-u-boot-spl.appimage.
Which address should atf.appimage and ti-u-boot-spl.appimage write to OSPI?
In OSPI startup mode. ipc_echo_testb_mcu1_0_release_strip instead of boot_app, how do I boot ATF and uboot SPL from SBL?
Hi gj y,
You just need to flash
In this method, bootapp is really not required.
Regards,
Brijesh
HI. Brijesh
Hi gj y,
Can you please check main domain uart?
Yes, on mcu domain uart, you will just see print related to SBL and TIFS version.
Regards,
Brijesh
Hi gj y,
Do you mean you are seeing uboot messages on main domain uart?
Then you are able to boot uboot from SBL.
Regards,
Brijesh
Hi gj y,
Can you try attached binaries? Copy them into BOOT sector of the SD card and boot. Also keep mcu and main domain uart open.
/cfs-file/__key/communityserver-discussions-components-files/791/hlos.zip
Regards,
Brijesh
Hi, Brijesh
SD card boot. Use the hlos.zip you provided, Tispi can be started
mcu log:
SBL Revision: 01.00.10.00 (Aug 23 2021 - 22:23:21)
TIFS ver: 21.1.1--v2021.01a (Terrific Lla
main uart log:
NOTICE: BL31: v2.4(release):07.03.00.005-dirty
NOTICE: BL31: Built : 00:15:40, Apr 10 2021
ERROR: GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
)U-Boot SPL 2020.01-dirty (Aug 24 2021 - 09:03:17 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
Reading on-board EEPROM at 0x50 failed 1
Trying to boot from MMC2
i2c_write: error waiting for data ACK (status=0x116)
Error reading output register
mmc_init: -110, time 1100
spl: mmc init failed with error: -110
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
Hi,
I am also able to boot Linux from OSPI SBL.
Please use attached binaries and flash them at
1, offset 0 for sbl_ospi_img_hlos_mcu1_0_release.tiimage
2, offset 0x80000 for tifs.bin
3, offset 0x100000 for app
4, offset 0x1500000 for u-image.bin
5, offset 0x3fe0000 for tuning_data.bin
Now switch boot mode to OSPI and boot. You will see Linux booting in few seconds..
I would suggest to keep filesystem in the SD card, so create SD card as explained in the PSDKRA and keep it inserted in the board.
/cfs-file/__key/communityserver-discussions-components-files/791/7506.hlos.zip
Regards,
Brijesh