Tool/software: TI-RTOS
We have a custom board that is equipped with a
SD card
eMMC (NAND flash) 16GB
NOR Flash 512 Mb (64Mx8)
USB
The normal boot order will most likely be USB->SD->eMMC
Our ambition is to have it this way
First an RTOS based program (hereafter “RTOS program”) is executed (on the A15) to perform various tests of peripherals, such as RTC, EEPROM, DDR3 (this mean it must be executed in OCMC ram internal in the SoC) this program will then start a Linux kernel.
This RTOS program also do Board_Init to set up the custom board we have.
Is there a way to concatenate an RTOS program with the linux core and in the RTOS program to call some magic function call, to start the Linux core?
Like RTOS_Start_Bundled_LinuxCore().
http://processors.wiki.ti.com/images/b/b7/TDA_SBL_UserGuide.pdf
Only deals with how to create a bootable image, we assume, either for only a RTOS or a Linux image.
(on page 11 the path given, packages/ti/boot/sbl_auto dont exist, we assume it should be packages/ti/boot/sbl)
Or should the RTOS program be placed in the NOR flash?
If SYSBOOT instruct the RBL to boot from QSPI to start the RTOS program and when it is finished the RTOS program calls a function in RBL and tell it to boot from eMMC ?
In this way we can build an image for NOR flash for the RTOS and a eMMC image for the linux kernal ?
The beauty with this is that the RTOS and Linux is in no ways depending on each other and via SYSBOOT we can skip the execution of the RTOS program.
Regards