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.

build sysbios for A15 of vayu

Other Parts Discussed in Thread: SYSBIOS

Dear expert

I follow Appendix A of below document to build SYSBIOS for A15. Unfortunately I can not generate library of A15 in folder xx\bios_6_41_01_36\packages\ti\sysbios\fatfs\lib\release.  I make sure the compile tools path is correct.  Enclosed is compile logs.6646.compile_log.txt

http://www.ti.com/lit/ug/spruex3o/spruex3o.pdf 

xdc_tools version: xdctools_3_30_05_60_core

bios version: bios_6_41_01_36

Here is bios.mak I'm using for bios build.

#
# ======== bios.mak ========
#

#
# Where to install/stage the packages
# Typically this would point to the devkit location
#

TI_SW_ROOT = /home/dong/VISION_SDK_02_06_00_00/ti_components

DESTDIR ?= <UNDEFINED>

prefix ?= /
docdir ?= /docs/bios
packagesdir ?= /packages

# Set up dependencies
XDC_INSTALL_DIR ?= $(TI_SW_ROOT)/os_tools/linux/xdctools_3_30_05_60_core

#
# Set location of various cgtools
# These variables can be set here or on the command line.
#
ti.targets.C28_large ?=
ti.targets.C28_float ?=
ti.targets.C64P ?=
ti.targets.C64P_big_endian ?=
ti.targets.C674 ?=

ti.targets.elf.C64P ?=
ti.targets.elf.C64P_big_endian ?=
ti.targets.elf.C64T ?=
ti.targets.elf.C66 ?= #$(TI_SW_ROOT)/cg_tools/linux/c6000_7_4_2
ti.targets.elf.C66_big_endian ?=
ti.targets.elf.C674 ?=

ti.targets.arm.elf.Arm9 ?=
ti.targets.arm.elf.A8Fnv ?=
ti.targets.arm.elf.M3 ?=
ti.targets.arm.elf.M4 ?= $(TI_SW_ROOT)/cg_tools/linux/tms470_5_1_5
ti.targets.arm.elf.M4F ?= #$(TI_SW_ROOT)/cg_tools/linux/tms470_5_1_5

ti.targets.msp430.elf.MSP430X ?=
ti.targets.msp430.elf.MSP430X_small ?=

ti.targets.arp32.elf.ARP32 ?=
ti.targets.arp32.elf.ARP32_far ?=

gnu.targets.arm.M3 ?=
gnu.targets.arm.M4 ?=
gnu.targets.arm.M4F ?=

gnu.targets.arm.A8F ?=
gnu.targets.arm.A15F ?= /home/dong/VISION_SDK_02_06_00_00/ti_components/cg_tools/linux/gcc-arm-none-eabi-4_7-2013q3

iar.targets.msp430.MSP430X_small ?=

iar.targets.arm.M3 ?=
iar.targets.arm.M4 ?=
iar.targets.arm.M4F ?=

Regards

Dong

 

  • Dong,

    Looking at the build log it looks like the build goes OK, but there is an extra “/lib” in the paths where the libraries are created.  For example:

        archiving package/lib/lib/release/ti.sysbios.fatfs/package/package_ti.sysbios.fatfs.oem4

    I’m not sure how that could have happened.  Do you know where that extra /lib might be coming from?

    In your current installation, can you build other programs OK?  And you are just having an issue with rebuilding all the SYS/BIOS sources?

    Thanks,
    Scott

  • Scott

    I only have issue to generate sysbios library for A15. I was able to generate library for M4. I can find "ti.sysbios.fatfs.aem4" in archiving package bios_6_41_01_36\packages\ti\sysbios\fatfs\lib\release.  Libray for C66 DSP is also generated.

    Regards

    Dong

     

  • Dong,

    Thanks.  I meant: are you able to build/run other programs for A15 with your setup?  And it is only the full A15 rebuild that is failing?

    Thanks,
    Scott

  • Scott
    Yes. I was able to build/run other programs for A15. I just observed gnu.targets.arm.rtsv7A.aa15fg in archive packages\gnu\targets\arm\rtsv7A\lib. I'm not sure it's the library for A15.

    Regards
    Dong
  • Dong,

    Sorry for the delay for getting back to you on this.

    I’ve tried and am not able to recreate the issue you’re reporting.  I’ve tried with the same and different BIOS and XDCTools versions and the A15 fatfs libraries build as expected for me (as packages/ti/sysbios/fatfs/lib/release/ti.sysbios.fatfs.aa15fg).

    In the original build log you posted it looked like the fatfs library was not even attempted to be built for A15.  Can you confirm this, that there were no errors generated, just no library?

    And can you please post the complete bios.mak that you are using?

    And regarding your mention of “packages\gnu\targets\arm\rtsv7A\lib\gnu.targets.arm.rtsv7A.aa15fg”.  Yes, this library is for the A15.

    Thanks,
    Scott

  • cott

    Thanks for your following up on this issue.

    Here is fatfs library list  I build with attached bios.mak. I also share the compile logs as following.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/355/0652.fatfs.7z

    Regards

    Dong