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.

Sys/BIOS or StarterWare one ARM

Other Parts Discussed in Thread: OMAPL138, SYSBIOS

Hi,

In my project we need to get boot time of 3sec from power up.

So it seems Linux is off the table, we reached an image (uImage) of size 2.5MB including initramfs and the boot time stands on 9.7 sec from power up.

Loading from NAND16 (UBL,Uboot,Kernel,initramfs).

 If i need only basic access to GPIO/I2C/SPI interfaces and a communication channel between the arm and the DSP. 

Is SYS/BIOS on ARM is enough ? and did somebody already done it ? and can say how difficult it may be ?

Is  StarterWare can be a good solution ?

Thanks

Hen

  • Yes, its better to use the staterware code if you need quick boot.
    We do have the examples for i2c, spi , gpio and much more...
    C:\ti\OMAPL138_StarterWare_1_10_04_01\examples\lcdkOMAPL138\gpio
    C:\ti\OMAPL138_StarterWare_1_10_04_01\examples\lcdkOMAPL138\spi
    C:\ti\OMAPL138_StarterWare_1_10_04_01\examples\evmOMAPL138\i2c

    You can also use SYSBIOS code (RTOS) if you need OS based code.
  • Hi Hen Hen,

    May be depending on the project requirements, you may have to decide upon whether you need the HLOS or not. HLOS stands for "High level operating system". HLOS - SYS?BIOS for DSP core and Linux for ARM core.

    Starterware are the bare metal code without any operating system. It has a small piece of code in the form of GEL file as well as UBL- user boot loader which does the basic peripheral initialization.

    Hen Hen said:
    If I need only basic access to GPIO/I2C/SPI interfaces and a communication channel between the arm and the DSP.

    The starterware itself contains all the sample code for GPIO/I2C/SPI and IPC - communication between ARM and DSP core. This is the simplest to run on the target EVM, OMAPL138LCDK.

  • If i'm going to use SYS/BIOS on ARM can you please clearfy me some issues :
    1. Is the code i'm writing in the SYS/BIOS on ARM is different from the code for DSP ? (is it cross platform ?)
    say i write an access to gpio using SYS/BIOS it can run and work on ARM and DSP the same ?
    2. Is there any info on how i can burn SYS/BIOS on ARM ? is there any documentations for that our examples ?
    3. Can I use the BIOS PSP on ARM ?

    Thank's for your help ! i'm very appreciating the support !
    Hen
  • A1) I think, you can't use the same code for ARM and DSP.
    Interrupt handling and SYSBIOS APIs would be different for ARM & DSP, you can check TI RTOS forum for that.
    A2) Refer to the below TI wiki page.
    processors.wiki.ti.com/.../Boot_Images_for_OMAP-L138
    A3) No, you can't use BIOS PSP for ARM, its only for DSP (OMAPL138,OMAPL137,C6748 and C6747)
  • Hi Hen Hen,

    Hen Hen said:
    1. Is the code i'm writing in the SYS/BIOS on ARM is different from the code for DSP ? (is it cross platform ?) say i write an access to gpio using SYS/BIOS it can run and work on ARM and DSP the same ?

    SYS/BIOS is for DSP core and not for ARM.

    Hen Hen said:
    2. Is there any info on how i can burn SYS/BIOS on ARM ? is there any documentations for that our examples ?

    No, you cannot use SYS/BIOS on ARM.

    Hen Hen said:
    3. Can I use the BIOS PSP on ARM ?

    No. You can use the Linux on ARM.