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

Introduction

The Surround View application shows a 4-image sensor 3D Surround View image. The four cameras capture a raw image that is processed by the on-chip ISP. The four images are given to the GPU to do the 3D Surround View rendering. This image is given to the DSS to display on a screen.

The Surround View app contains two separate graphs. The first graph is simply used for generating the GPU LUT that contains the SRV bowl mapping. This graph is only executed once with the given application; however, if the GPU LUT needs to change depending on the scene, this can be run multiple times. The second graph contains the full GPU SRV, capturing using the capture node, giving the raw output to the VISS and AEWB nodes to perform the image processing. The output of the VISS is then given to the GPU to perform the rendering of the SRV image. Finally, this output image is given to the display node to be shown on the screen. Figure 1-1 shows the detailed block diagram for the SRV application.

 Surround View Block
                Diagram Figure 1-1 Surround View Block Diagram

In the current flow, the time taken to run this SRV demo using MMCSD as boot media is around 20 sec. The detailed timing diagram is as shown in Figure 1-2

 Default Timing Diagram of SRV
                Application Figure 1-2 Default Timing Diagram of SRV Application

This application note addresses the optimizations methodically at every stage of boot:

  • Bootloader switch to SBL from OSPI boot media.
  • Linux device tree optimizations
  • File system switch to tiny rootfs
  • Vision_apps Framework optimizations
  • Imaging (Sensor driver) Framework optimizations
  • Vision_apps Application re-design

Each of these stages are elaborated in the coming sections.

Thus, eventually leading to running a surround view demo in approximately 3 seconds from power ON. The detailed timing diagram is as shown in Figure 1-3.

 Optimized Timing Diagram of SRV
                Application Figure 1-3 Optimized Timing Diagram of SRV Application