SPRADE5 February   2025 TDA4VM , TDA4VM-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Optimization Methology
    1. 2.1 Bootloader Switch to SBL From OSPI Boot Media
    2. 2.2 Linux Device Tree Optimizations
    3. 2.3 File System Switch to Tiny rootfs
    4. 2.4 Vision_apps Framework Optimizations
    5. 2.5 Imaging Framework Optimizations
    6. 2.6 Vision_apps SRV Application Redesign
  6. 3Detailed Design Procedure
    1. 3.1 Linux Integration (PSDKLA)
    2. 3.2 Imaging Integration(PSDKRA)
    3. 3.3 Vision_apps Integration (PSDKRA)
    4. 3.4 PDK Implementation (PSDKRA)
      1. 3.4.1 Build R5 SBL for OSPI Boot Mode
      2. 3.4.2 Build combined_appImage
      3. 3.4.3 Copy TIFS and phy Tuning Parameters
    5. 3.5 Flashing the Binaries to OSPI
    6. 3.6 Steps to Install vision_apps With tiny-rootfs on SD Card
    7. 3.7 Copy Test Data to SD card (one time only)
    8. 3.8 Init Script
    9. 3.9 Moving File System From SD to eMMC
  7. 4Logs
  8. 5Summary
  9. 6References

Imaging Framework Optimizations

The imaging framework is involved in configuring the four sensors and the UB953 - UB960 serdes. Hence, there are few optimizations that are done to the imaging framework, that maintains the configuration of the sensors and SER-DES.

The optimizations are as follows:

  • Set I2C broadcast flag so that all four cameras are initialized in parallel over I2C.
  • Optimize the delays for camera sensor register programming.
  • Optimize delays in the UB960 and UB953 initialization delays.
  • Parametrize the ISSSensor_init function so as to support camera initialization independent of vision_apps IP.

The above optimizations reduced camera initialization time from 3sec to 600-700 milli seconds.