NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

Processor SDK Linux Automotive Application Notes

From Texas Instruments Wiki
Jump to: navigation, search

Application Notes[edit]

Title Applicable to SDK versions Abstract
Early Splash Screen on DRA7x Devices 7.x Shows how to display splash screen from u-boot in < 150 ms
Flashing Binaries to DRA7xx Factory Boards Using DFU 7.x Shows how flash a new board with OS using DFU
Using Peripheral Boot and DFU for Rapid Development on Jacinto 6 Devices 3.x Shows how to use DFU and peripheral boot for loading binaries quickly to board over USB during development
Linux Boot Time Optimizations on DRA7xx Devices 3.x Shows how to optimize kernel and u-boot to reach userspace in less than 3 seconds from reset
Debugging Tools and Techniques With IPC3.x 3.x This application report guides the customers on the tools and techniques for debugging with IPC3.x

Tools[edit]

  1. http://git.ti.com/glsdk/util-scripts - Contains helper scripts to
    1. Dump DSS clocking information
    2. Dump DSS registers
    3. Diagnose VIP problems
  2. http://git.ti.com/glsdk/dra7xx-bootswitch - Leverages USB peripheral boot feature in DRA7xx to allow
    1. Setting the boot mode of DRA7x EVM from PC or
    2. load the first stage boot loader from PC
  3. https://git.ti.com/glsdk/dra7xx-earlyboot-utils/ - Contains helper tools for early boot/late attach. Tools to
    1. Dump resource table information from ELF binaries
    2. Print CMA region information from device tree in a form that can be included in u-boot
    3. Check for late attach attributes on the device tree
  4. https://git.ti.com/glsdk/dra7xx-umlo - Micro MLO(umlo) to reduce the time spent in copying bootloader from QSPI to on chip memory. This is targeted for use in scenarios with stringent boot time requirements e.g. early CAN response.

Debug Guides[edit]

1. Early Boot and Late Attach in Linux - Shows debug steps for early boot and late attach feature

Cross Compilation[edit]

CMake[edit]

Here is a example toolchain file to cross compile applications for DRA7xx with CMake. This has been tested with cross compilation of kmsxx(https://github.com/tomba/kmsxx/).

set(CMAKE_SYSTEM_NAME Linux)
SET(HOMEDIR "/home/user")
set(CMAKE_SYSROOT "${HOMEDIR}/tfs/3_02_00_03")
set(CMAKE_STAGING_PREFIX ${HOMEDIR}/tmp/cmake)
set(CMAKE_STAGING_PREFIX ${CMAKE_SYSROOT})

set(CROSSTOOL_ROOT /distcc-tools/linaro/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf)
set(CMAKE_C_COMPILER "${CROSSTOOL_ROOT}/bin/arm-linux-gnueabihf-gcc")
set(CMAKE_CXX_COMPILER "${CROSSTOOL_ROOT}/bin/arm-linux-gnueabihf-g++")

set(ENV{PKG_CONFIG_DIR} "")
set(ENV{PKG_CONFIG_LIBDIR} "${CMAKE_SYSROOT}/usr/lib/pkgconfig:${CMAKE_SYSROOT}/usr/share/pkgconfig")
set(ENV{PKG_CONFIG_SYSROOT_DIR} ${CMAKE_SYSROOT})

SET(CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT})

set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)



Support[edit]

For support please post your questions to https://e2e.ti.com/support/arm/automotive_processors/f/1020

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Processor SDK Linux Automotive Application Notes here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article Processor SDK Linux Automotive Application Notes here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article Processor SDK Linux Automotive Application Notes here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article Processor SDK Linux Automotive Application Notes here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article Processor SDK Linux Automotive Application Notes here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Processor SDK Linux Automotive Application Notes here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Processor SDK Linux Automotive Application Notes here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article Processor SDK Linux Automotive Application Notes here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Processor SDK Linux Automotive Application Notes here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity