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
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]
- http://git.ti.com/glsdk/util-scripts - Contains helper scripts to
- Dump DSS clocking information
- Dump DSS registers
- Diagnose VIP problems
- http://git.ti.com/glsdk/dra7xx-bootswitch - Leverages USB peripheral boot feature in DRA7xx to allow
- Setting the boot mode of DRA7x EVM from PC or
- load the first stage boot loader from PC
- https://git.ti.com/glsdk/dra7xx-earlyboot-utils/ - Contains helper tools for early boot/late attach. Tools to
- Dump resource table information from ELF binaries
- Print CMA region information from device tree in a form that can be included in u-boot
- Check for late attach attributes on the device tree
- 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