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.

TDA2SG: tda2x early m4 based chain boot issue

Part Number: TDA2SG
Other Parts Discussed in Thread: PGA460, TDA2, TDA2E

Hi,

Refer to the VisionSDK_Linux_UserGuide.pdf, I test chapter 3.5 early M4 based chain.

My board is D3 tda2xx RVP board.

hdmi display connect one ch 933 camera.

I follow the steps:

1. patch kernel : do in chapter 3.4: earlyboot-kernel-patches for kernel

2. set EARLY_USECASE_ENABLE=yes

3. After compile, burn to SD card and exec early-boot-update.sh

4. SD boot on RVP board

After power on, when kernel initial complete, the hdmi don't display.

Then root login and exec apps.out. The system stop.

Why can't it enter menu screen?

My goal is to make camera video display as soon as possible when power on.

Please help to debug. Boot log file attached.

BTW, when I only set EARLY_USECASE_ENABLE=yes and don't do any kernel patch.

It could display camera image.

But it is too long to display.

Best regards,

Terry

  • Hi,

    Can I know the Vision SDK version?

    You should apply the kernel patches to boot early asap & make sure the HW setup is ready before booting, it requires a 4CH LVDS camera setup

    Thanks

    Gaviraju

  • Hi Gaviraju,

    My Vision SDK is 3.07.

    I had modify the code to suitable my camera and can be used in usecase: lvds_vip_multi_cam_view in RTOS.

    I only connect one lvds camera.

    The early boot use the early_capture_late_weston usecase and need one camera.

    There is no image display and it will stop when exec apps.out

    attached the boot log.

    Thanks,

    U-Boot SPL 2016.05 (Oct 13 2020 - 11:22:59)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    reading single-stage-boot.dtb
    reading uImage
    reading uImage
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.84 (terry@ap-server) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Tue Oct 13 11:30:13 CST 2020
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: D3 TDA2X FPD8CH
    [    0.000000] bootconsole [earlycon0] enabled
    mount: unknown filesystem type 'dev'
    
    Welcome to Arago 2016.12!
    
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Created slice System Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Reached target Swap.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on Journal Socket.
             Starting Create Static Device Nodes in /dev...
             Mounting POSIX Message Queue File System...
             Mounting Temporary Directory...
             Starting Load Kernel Modules...
             Starting Setup Virtual Console...
             Starting Remount Root and Kernel File Systems...
             Starting Journal Service...
             Mounting Debug File System...
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting Load/Save Random Seed...
             Starting udev Coldplug all Devices...
             Starting Apply Kernel Variables...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Create Volatile Files and Directories.
    [  OK  ] Found device /dev/ttyS0.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
             Starting Synchronize System and HW clocks...
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Kernel Logging Service.
             Starting rc.pvr.service...
    [  OK  ] Started System Logging Service.
             Starting Login Service...
             Starting Permit User Sessions...
    [  OK  ] Started D-Bus System Message Bus.
             Starting Network Service...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Network Service.
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Login Service.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting weston.service...
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started weston.service.
    [  OK  ] Started Network Name Resolution.
             Starting telnetd.service...
             Starting tiipclad-daemon.service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org dra7xx-evm ttyS0
    
    Arago 2016.12 dra7xx-evm ttyS0
    
    dra7xx-evm login: root
    root@dra7xx-evm:~#
    root@dra7xx-evm:~# cd /opt/vision_sdk/
    root@dra7xx-evm:/opt/vision_sdk# insmod cmemk.ko phys_start=0xa9000000 phys_end=0xaafa4000 pools=4x8294400
    root@dra7xx-evm:/opt/vision_sdk# ./vision_sdk_load.sh
    insmod: ERROR: could not load module ./bin/cmemk.ko: No such file or directory
    ./disableDssInterruptsOnA15.sh: line 11: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 12: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 13: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 14: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 15: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 16: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 17: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 18: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 19: @0x4A002ADA:: command not found
    updated 0x4A002ADA value is 00930000
    root@dra7xx-evm:/opt/vision_sdk# ./apps.out
     [HOST]  OSA: MEM: 0: Mapped 0xa0100000 to 0xb6938000 of size 0x00100000
     [HOST]  OSA: MEM: 1: Mapped 0x84203000 to 0xa3d38000 of size 0x12c00000
     [HOST]  OSA: MEM: 2: Mapped 0xa0200000 to 0xa3c78000 of size 0x00040000
     [HOST]  OSA: MEM: 3: Mapped 0xa02c0000 to 0xa3cb8000 of size 0x00080000
     [HOST]  OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000
     [HOST]  OSA: HOST Remote Log Shared Memory @ 0xa024f140
     [HOST]  OSA: DSP1 Remote Log Shared Memory @ 0xa02769e0
     [HOST]  OSA: DSP2 Remote Log Shared Memory @ 0xa029e280
     [HOST]  OSA: EVE1 Remote Log Shared Memory @ 0xa02c5b20
     [HOST]  OSA: EVE2 Remote Log Shared Memory @ 0xa02ed3c0
     [HOST]  OSA: EVE3 Remote Log Shared Memory @ 0xa0314c60
     [HOST]  OSA: EVE4 Remote Log Shared Memory @ 0xa033c500
     [HOST]  OSA: IPU2 Remote Log Shared Memory @ 0xa0363da0
     [HOST] [HOST  ]    672.203226 s:  SYSTEM: System A15 Init in progress !!!
    
    

    Terry

  • Hi,

    Have you applied the kernel patch?

    Thanks

    Gaviraju

  • Hi,

    Yes, I had apply kernel patch.

    Thanks,

    Terry

  • Hi,

    Can you share the O/P of the "git log"? Run this command from the omap directory

    Share the O/P of make -s showconfig (Run this command from the vision SDK build directory)

    Are you using the EVM board or custom board?

    Did you change anything in the code? apart from the user-guide changes?

    Thanks

    Gaviraju

  • Hi,

    1. git log in omap dir. :

    commit 0af2ab56214366ea1b8c1ea6ca0dae726dba083a (HEAD -> kernel_dev, tag: REL_VISION_SDK_03_07_00_00)
    Author: Shravan Karthik <shravan.karthik@ti.com>
    Date: Tue Jun 4 18:47:56 2019 +0530

    ti_config_fragments: Add CONFIG_BLK_DEV_NVME to default config

    Cascade radar board has a NVME SSD card mounted on the board.
    Add NVME driver support by default in the kernel config

    Signed-off-by: Shravan Karthik <shravan.karthik@ti.com>

    commit 9e4a96e876ff8cfffe8694f38f27635dfbc18f3f
    Author: Shravan Karthik <shravan.karthik@ti.com>
    Date: Tue Jun 4 18:45:32 2019 +0530

    arm: dts: Change board name for cascade radar DTB

    Signed-off-by: Shravan Karthik <shravan.karthik@ti.com>

    commit 12d7cbeff8522722c1981d49b8e07d81fdd887ce

    ---------------------------------------------------------------------------------------------------

    2. make -s showconfig in sdk build directory:

    #
    # Build Config is [ tda2xx_rvp_linux_all ]
    # Build Config file is @ /ssd1/terry/vsdk3.7-rvp/vision_sdk/configs/tda2xx_rvp_linux_all/cfg.mk
    # Build Config .h file is @ /ssd1/terry/vsdk3.7-rvp/vision_sdk/links_fw/include/config/apps/tda2xx_rvp_linux_all/system_cfg.h
    # Build CPUs is @ ipu2 a15_0 dsp1 dsp2 eve1 eve2 eve3 eve4
    #
    # CPUs included in application,
    # PROC_IPU1_0_INCLUDE=no
    # PROC_IPU1_1_INCLUDE=no
    # PROC_IPU2_INCLUDE=yes
    # PROC_DSP1_INCLUDE=yes
    # PROC_DSP2_INCLUDE=yes
    # PROC_EVE1_INCLUDE=yes
    # PROC_EVE2_INCLUDE=yes
    # PROC_EVE3_INCLUDE=yes
    # PROC_EVE4_INCLUDE=yes
    # PROC_A15_0_INCLUDE=yes
    #
    # Platform config,
    # VSDK_BOARD_TYPE=TDA2XX_RVP [options: TDA2XX_EVM TDA2EX_EVM TDA3XX_EVM TDA3XX_RVP TDA2XX_RVP]
    # PLATFORM=tda2xx-rvp
    # DUAL_A15_SMP_BIOS=no
    # IPU1_SMP_BIOS=no
    # DDR_MEM=DDR_MEM_1024M [options: DDR_MEM_128M DDR_MEM_512M DDR_MEM_1024M]
    # EMIFMODE=SINGLE_EMIF_512MB [options: SINGLE_EMIF_512MB SINGLE_EMIF_1GB ref build_pdk.mk]
    # NDK_PROC_TO_USE=none [options: a15_0 ipu1_0 ipu1_1 ipu2 none]
    # NSP_TFDTP_INCLUDE=no [options: yes no]
    # TDA2EX_ETHSRV_BOARD=no [options: yes no]
    # FATFS_PROC_TO_USE=none [options: ipu1_0 none]
    # RADAR_BOARD=none [options: TDA3XX_AR12_ALPS TDA3XX_AR12_VIB_DAB_BOOSTER TDA3XX_RADAR_RVP none]
    #
    # Build config,
    # BUILD_OS=Linux [options: Windows_NT Linux]
    # BUILD_DEPENDENCY_ALWAYS=no
    # BUILD_ALGORITHMS=no
    # BUILD_INFOADAS=no
    # PROFILE=release [options: debug release]
    # KW_BUILD=no
    # CPLUSPLUS_BUILD=no
    # IPU_PRIMARY_CORE=ipu2 [options: ipu1_0 ipu2]
    # IPU_SECONDARY_CORE=ipu1_0 [options: ipu1_0 ipu2]
    # A15_TARGET_OS=Linux [options: Bios Linux Qnx]
    # BSP_STW_PACKAGE_SELECT=all [options: all vps-iss-dss-only vps-vip-vpe]
    #
    # Safety Module config,
    # RTI_INCLUDE=no
    # ECC_FFI_INCLUDE=no
    # DCC_ESM_INCLUDE=no
    #
    # Video Module config,
    # IVAHD_INCLUDE=yes
    # VPE_INCLUDE=yes
    # CAL_INCLUDE=no
    # ISS_INCLUDE=no
    # ISS_ENABLE_DEBUG_TAPS=no
    # WDR_LDC_INCLUDE=no
    # DSS_INCLUDE=yes
    #
    # Open Compute config,
    # OPENCL_INCLUDE=no
    # TARGET_ROOTDIR=/ssd1/terry/vsdk3.7-rvp/vision_sdk/../ti_components/os_tools/linux/targetfs
    # ENABLE_OPENCV=no
    # ENABLE_OPENCV_TESTS=no
    # OPENVX_INCLUDE=no
    #
    # Log config,
    # ENABLE_UART_LOG=yes
    # ENABLE_NETWORK_LOG=no
    # ENABLE_CCS_LOG=no
    # CIO_REDIRECT=yes
    #
    # IPC config,
    # WORKQ_INCLUDE=no
    # IPC_LIB_INCLUDE=no
    #
    # AUTOSAR_APP=no
    #
    # Surround View config,
    # SRV_FAST_BOOT_INCLUDE=no
    #
    # Other Module config,
    # AVB_INCLUDE=no
    # DCAN_INCLUDE=no
    # RADAR_ONLY=no
    # RADAR_STUDIO=no
    # CPU_IDLE_ENABLED=yes
    # FAST_BOOT_INCLUDE=no
    # DATA_VIS_INCLUDE=no
    # HS_DEVICE=no
    # ULTRASONIC_INCLUDE=no
    # PGA450=
    # PGA460=
    # ENABLE_ALL_DEPTH=
    #
    # Linux config,
    # DEFAULT_UBOOT_CONFIG=d3_tda2x_defconfig
    # DEFAULT_KERNEL_CONFIG=d3_tda2x_defconfig
    # DEFAULT_DTB=d3-tda2x-fpd8ch.dtb
    # CMEM_INCLUDE=yes
    # IPUMM_INCLUDE=no
    # IPU1_EVELOADER_INCLUDE=yes
    # ROBUST_RVC_INCLUDE=no
    # BUILD_ADAM_CAR=no
    #
    # Alg plugins included in build,
    # ALG_autocalibration ALG_dmaSwMs ALG_sparseopticalflow ALG_structurefrommotion ALG_surroundview
    #
    # Use-cases included in build,
    # UC_srv_calibration UC_early_capture_late_weston UC_lvds_vip_multi_cam_3d_perception UC_lvds_vip_multi_cam_3d_srv UC_lvds_vip_multi_cam_2mp_3d_srv UC_lvds_vip_multi_cam_3d_adaptive_srv UC_lvds_vip_multi_cam_view_sgx_display UC_lvds_vip_multi_cam_vpe_enc_null UC_null_src_decode_display UC_ov490_vip_multi_cam_3d_srv UC_lvds_vip_multi_cam_8ch_sgx_display UC_lvds_vip_single_cam_view_sgx_display
    #
    #
    # CPUs that are NOT required but included in config [ tda2xx_rvp_linux_all ],
    #
    #
    # CPUs that are required but not included in config [ tda2xx_rvp_linux_all ],
    #
    # ERROR: IPU1_0 MUST be included in application
    #
    # Edit /ssd1/terry/vsdk3.7-rvp/vision_sdk/apps/configs/tda2xx_rvp_linux_all/cfg.mk to include or exclude CPUs in an application
    #

    ---------------------------------------------------------------------------------------------------------------------------------------- 

    3.  I use the D3 tda2xx rvp evm board, not the TI evm.

       so I set MAKECONFIG?=tda2xx_rvp_linux_all in Rules.make

    4. I change code to use my lvds yuv camera and it work fine in rtos or liunx usecase.

    Thanks,

    Terry

  • Hi,

    Please apply the kernel patch file & rebuild the kernel otherwise it won't work

    cd $(INSTALL_DIR)/ti_components/os_tools/linux/kernel/omap
    git am ../linux-kernel-addon/earlyboot-kernel-patches/*
    cd $(INSTALL_DIR)/vision_sdk/build
    make linux
    make linux_install

    Do the remaining step for SD card preparation & run the early boot update script

    Thanks

    Gaviraju

  • Hi,

    I had apply kernel patch and do the steps you said.

    But it still failed to display.

    boot log:  

    U-Boot SPL 2016.05-00016-gcc5b418cb929-dirty (Oct 17 2020 - 11:41:58)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    reading single-stage-boot.dtb
    reading uImage
    reading uImage
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.84 (terry@ap-server) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Tue Oct 13 11:30:13 CST 2020
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: D3 TDA2X FPD8CH
    [    0.000000] bootconsole [earlycon0] enabled
    mount: unknown filesystem type 'dev'
    
    Welcome to Arago 2016.12!
    
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Created slice System Slice.
    [  OK  ] Created slice system-getty.slice.
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Mounting Debug File System...
             Starting Setup Virtual Console...
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on Syslog Socket.
             Mounting Temporary Directory...
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Reached target Swap.
             Starting Load Kernel Modules...
    [  OK  ] Listening on udev Kernel Socket.
             Starting Journal Service...
             Starting Create Static Device Nodes in /dev...
             Mounting POSIX Message Queue File System...
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Setup Virtual Console.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
             Starting Apply Kernel Variables...
             Starting Rebuild Hardware Database...
             Starting Load/Save Random Seed...
             Starting Rebuild Dynamic Linker Cache...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Journal Service.
             Starting Flush Journal to Persistent Storage...
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Journal Catalog...
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
             Starting Opkg first boot configure...
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Reached target System Time Synchronized.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started udev Kernel Device Manager.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Rebuild Hardware Database.
             Starting udev Coldplug all Devices...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Opkg first boot configure.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
             Starting Update is Completed...
    [  OK  ] Started Update is Completed.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Kernel Logging Service.
             Starting rc.pvr.service...
             Starting Permit User Sessions...
    [  OK  ] Started System Logging Service.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Network Service...
             Starting Login Service...
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Network Service.
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
    [  OK  ] Started Getty on tty1.
             Starting weston.service...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started weston.service.
    [  OK  ] Started Login Service.
             Starting telnetd.service...
             Starting tiipclad-daemon.service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
    [ TIME ] Timed out waiting for device dev-ttyS0.device.
    [DEPEND] Dependency failed for Serial Getty on ttyS0.
    [ TIME ] Timed out waiting for device dev-ttyO0.device.
    [DEPEND] Dependency failed for Serial Getty on ttyO0.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
    U-Boot SPL 2016.05-00016-gcc5b418cb929-dirty (Oct 17 2020 - 11:41:58)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    reading single-stage-boot.dtb
    reading uImage
    reading uImage
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.84 (terry@ap-server) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Tue Oct 13 11:30:13 CST 2020
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: D3 TDA2X FPD8CH
    [    0.000000] bootconsole [earlycon0] enabled
    mount: unknown filesystem type 'dev'
    
    Welcome to Arago 2016.12!
    
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Created slice System Slice.
             Mounting Temporary Directory...
             Starting Setup Virtual Console...
             Starting Load Kernel Modules...
             Mounting POSIX Message Queue File System...
             Mounting Debug File System...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Reached target Swap.
             Starting Journal Service...
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Setup Virtual Console.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Journal Service.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Starting Flush Journal to Persistent Storage...
             Starting Load/Save Random Seed...
             Starting udev Coldplug all Devices...
             Starting Apply Kernel Variables...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Reached target System Time Synchronized.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting rc.pvr.service...
             Starting Permit User Sessions...
    [  OK  ] Started D-Bus System Message Bus.
             Starting Network Service...
             Starting Login Service...
    [  OK  ] Started System Logging Service.
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Started Network Service.
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
             Starting weston.service...
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
    [  OK  ] Started weston.service.
    [  OK  ] Started Login Service.
    [  OK  ] Started Network Name Resolution.
             Starting tiipclad-daemon.service...
             Starting telnetd.service...
    [  OK  ] Started tiipclad-daemon.service.
    [  OK  ] Started telnetd.service.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org dra7xx-evm ttyS0
    
    Arago 2016.12 dra7xx-evm ttyS0
    
    dra7xx-evm login:
    

    Thanks,

    Terry

  • Hi,

    The logs shared in the previous post is not having enough information so please share the logs after running the apps.out.

    Thanks

    Gaviraju

  • Hi,

    sorry for late response.

    There is no image displayed and still can't boot into apps.out.

    It stop at "SYSTEM: System A15 Init in progress !!!"

    How to debug this issue?

    Please look the log. 

    U-Boot SPL 2016.05-00016-gcc5b418cb929 (Oct 26 2020 - 17:27:06)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    reading single-stage-boot.dtb
    reading uImage
    reading uImage
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.84 (terry@ap-server) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Tue Oct 13 11:30:13 CST 2020
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: D3 TDA2X FPD8CH
    [    0.000000] bootconsole [earlycon0] enabled
    mount: unknown filesystem type 'dev'
    
    Welcome to Arago 2016.12!
    
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Reached target Swap.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Created slice System Slice.
             Mounting Debug File System...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Mounting Temporary Directory...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Reached target Paths.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on Syslog Socket.
             Starting Journal Service...
             Mounting POSIX Message Queue File System...
             Starting Load Kernel Modules...
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
             Starting Setup Virtual Console...
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting udev Coldplug all Devices...
             Starting Load/Save Random Seed...
             Starting Apply Kernel Variables...
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Reached target System Time Synchronized.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started System Logging Service.
             Starting Permit User Sessions...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting rc.pvr.service...
             Starting Network Service...
             Starting Login Service...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Network Service.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
             Starting weston.service...
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started weston.service.
    [  OK  ] Started Login Service.
             Starting telnetd.service...
             Starting tiipclad-daemon.service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started tiipclad-daemon.service.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org dra7xx-evm ttyS0
    
    Arago 2016.12 dra7xx-evm ttyS0
    
    dra7xx-evm login: root
    root@dra7xx-evm:~#
    root@dra7xx-evm:~#
    root@dra7xx-evm:~# ls
    decode_ipumm.sh  init-demo.sh
    root@dra7xx-evm:~# ls
    decode_ipumm.sh  init-demo.sh
    root@dra7xx-evm:~# cd /opt/vision_sdk/
    root@dra7xx-evm:/opt/vision_sdk# source vision_sdk_load.sh
    insmod: ERROR: could not load module ./bin/cmemk.ko: No such file or directory
    ./disableDssInterruptsOnA15.sh: line 11: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 12: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 13: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 14: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 15: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 16: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 17: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 18: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 19: @0x4A002ADA:: command not found
    updated 0x4A002ADA value is 00930000
    root@dra7xx-evm:/opt/vision_sdk# ./apps.out
     [HOST]  OSA: MEM: 0: Mapped 0xa0100000 to 0xb695c000 of size 0x00100000
     [HOST]  OSA: MEM: 1: Mapped 0x84203000 to 0xa3d5c000 of size 0x12c00000
     [HOST]  OSA: MEM: 2: Mapped 0xa0200000 to 0xa3c9c000 of size 0x00040000
     [HOST]  OSA: MEM: 3: Mapped 0xa02c0000 to 0xa3cdc000 of size 0x00080000
     [HOST]  OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000
     [HOST]  OSA: HOST Remote Log Shared Memory @ 0xa024f140
     [HOST]  OSA: DSP1 Remote Log Shared Memory @ 0xa02769e0
     [HOST]  OSA: DSP2 Remote Log Shared Memory @ 0xa029e280
     [HOST]  OSA: EVE1 Remote Log Shared Memory @ 0xa02c5b20
     [HOST]  OSA: EVE2 Remote Log Shared Memory @ 0xa02ed3c0
     [HOST]  OSA: EVE3 Remote Log Shared Memory @ 0xa0314c60
     [HOST]  OSA: EVE4 Remote Log Shared Memory @ 0xa033c500
     [HOST]  OSA: IPU2 Remote Log Shared Memory @ 0xa0363da0
     [HOST] [HOST  ]    216.729732 s:  SYSTEM: System A15 Init in progress !!!
    
    

    Thanks,

    Terry

  • Hi,

    Please build the A15 application (apps.out) in debug mode & run the same application with the GDB to find out where exactly it's blocking

    Thanks

    Gaviraju

  • Hi,

    I do what you said and find it is in while loop at System_waitAppInitComplete().

    file path: vsdk3.7/vision_sdk/links_fw/src/hlos/system/system_common.c

    Void System_waitAppInitComplete(void)
    {
        UInt32 procId;
        UInt32 initDone[SYSTEM_PROC_MAX] = {0,};
        UInt32 allInitDone;
        unsigned int state;
    
        initDone[SYSTEM_PROC_A15_0] = TRUE;
        Vps_printf("System_waitAppInitComplete.....\n");
        while (1)
        {
            for(procId=0; procId<SYSTEM_PROC_MAX; procId++)
            {
                if(System_isProcEnabled(procId))
                {
                    if (FALSE == initDone[procId])
                    {
                        RemoteLog_getAppInitState(procId, &state);
    
                        if (state == CORE_APP_INITSTATUS_CONFIRM_INIT_DONE)
                        {
    						Vps_printf("InitDone procId=0x%x\n",procId);
                            initDone[procId] = TRUE;
                        }
                    }
                }
            }
    
            allInitDone = TRUE;
    
            for(procId=0; procId<SYSTEM_PROC_MAX; procId++)
            {
                if(System_isProcEnabled(procId))
                {
                    if (FALSE == initDone[procId])
                    {
    					Vps_printf("Fail procId=0x%x\n",procId);
                        allInitDone = FALSE;
                        break;
                    }
                }
            }
    
            if(TRUE == allInitDone)
            {
                break;
            }
            OSA_waitMsecs(1);
        }
    }

    It print : Fail procId=0x3

    The procId=3 is dsp1 . Does it mean dsp1 is not active?

    Where should I check next?

    My log: 

    U-Boot SPL 2016.05-00016-gcc5b418cb929-dirty (Oct 29 2020 - 17:58:48)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    reading single-stage-boot.dtb
    reading uImage
    reading uImage
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.84 (terry@ap-server) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #1 SMP PREEMPT Tue Oct 13 11:30:13 CST 2020
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: D3 TDA2X FPD8CH
    [    0.000000] bootconsole [earlycon0] enabled
    mount: unknown filesystem type 'dev'
    
    Welcome to Arago 2016.12!
    
    [ SKIP ] Ordering cycle found, skipping Sockets
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Reached target Swap.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Created slice System Slice.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Journal Socket.
             Mounting POSIX Message Queue File System...
             Starting Load Kernel Modules...
             Mounting Temporary Directory...
             Starting Setup Virtual Console...
             Mounting Debug File System...
             Starting Create Static Device Nodes in /dev...
             Starting Remount Root and Kernel File Systems...
             Starting Journal Service...
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting Load/Save Random Seed...
             Starting udev Coldplug all Devices...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
             Starting Apply Kernel Variables...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Reached target System Time Synchronized.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Basic System.
             Starting rc.pvr.service...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting Permit User Sessions...
    [  OK  ] Started System Logging Service.
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Login Service...
    [  OK  ] Started D-Bus System Message Bus.
             Starting Network Service...
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Network Service.
    [  OK  ] Started Login Service.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
             Starting Network Name Resolution...
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
             Starting weston.service...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started weston.service.
             Starting tiipclad-daemon.service...
             Starting telnetd.service...
    [  OK  ] Started tiipclad-daemon.service.
    [  OK  ] Started telnetd.service.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org dra7xx-evm ttyS0
    
    Arago 2016.12 dra7xx-evm ttyS0
    
    dra7xx-evm login: root
    root@dra7xx-evm:~# cd /opt/vision_sdk/
    root@dra7xx-evm:/opt/vision_sdk# source vision_sdk_load.sh
    insmod: ERROR: could not load module ./bin/cmemk.ko: No such file or directory
    ./disableDssInterruptsOnA15.sh: line 11: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 12: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 13: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 14: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 15: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 16: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 17: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 18: @0x4A002ADA:: command not found
    ./disableDssInterruptsOnA15.sh: line 19: @0x4A002ADA:: command not found
    updated 0x4A002ADA value is 00930000
    root@dra7xx-evm:/opt/vision_sdk# insmod cmemk.ko phys_start=0xa9000000 phys_end=
    0xaafa4000 pools=4x8294400
    insmod: ERROR: could not insert module cmemk.ko: Invalid parameters
    root@dra7xx-evm:/opt/vision_sdk# ./apps.out
     [HOST]  OSA: MEM: 0: Mapped 0xa0100000 to 0xb698e000 of size 0x00100000
     [HOST]  OSA: MEM: 1: Mapped 0x84203000 to 0xa3d8e000 of size 0x12c00000
     [HOST]  OSA: MEM: 2: Mapped 0xa0200000 to 0xa3cce000 of size 0x00040000
     [HOST]  OSA: MEM: 3: Mapped 0xa02c0000 to 0xa3d0e000 of size 0x00080000
     [HOST]  OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000
     [HOST]  OSA: HOST Remote Log Shared Memory @ 0xa024f140
     [HOST]  OSA: DSP1 Remote Log Shared Memory @ 0xa02769e0
     [HOST]  OSA: DSP2 Remote Log Shared Memory @ 0xa029e280
     [HOST]  OSA: EVE1 Remote Log Shared Memory @ 0xa02c5b20
     [HOST]  OSA: EVE2 Remote Log Shared Memory @ 0xa02ed3c0
     [HOST]  OSA: EVE3 Remote Log Shared Memory @ 0xa0314c60
     [HOST]  OSA: EVE4 Remote Log Shared Memory @ 0xa033c500
     [HOST]  OSA: IPU2 Remote Log Shared Memory @ 0xa0363da0
     [HOST] [HOST  ]    401.748520 s:  SYSTEM: System A15 Init in progress !!!
     [HOST] [HOST  ]    401.748581 s: System_waitAppInitComplete.....
     [HOST] [HOST  ]    401.748612 s: Fail procId=0x3
     [HOST] [HOST  ]    401.749679 s: Fail procId=0x3
     [HOST] [HOST  ]    401.750747 s: Fail procId=0x3
     [HOST] [HOST  ]    401.751845 s: Fail procId=0x3
     [HOST] [HOST  ]    401.752912 s: Fail procId=0x3
     [HOST] [HOST  ]    401.753980 s: Fail procId=0x3
     [HOST] [HOST  ]    401.755078 s: Fail procId=0x3
     [HOST] [HOST  ]    401.756145 s: Fail procId=0x3
     [HOST] [HOST  ]    401.757213 s: Fail procId=0x3
     [HOST] [HOST  ]    401.758311 s: Fail procId=0x3
     [HOST] [HOST  ]    401.759379 s: Fail procId=0x3
     [HOST] [HOST  ]    401.760477 s: Fail procId=0x3
     [HOST] [HOST  ]    401.761544 s: Fail procId=0x3
     [HOST] [HOST  ]    401.762642 s: Fail procId=0x3
     [HOST] [HOST  ]    401.763710 s: Fail procId=0x3
     [HOST] [HOST  ]    401.764777 s: Fail procId=0x3
     [HOST] [HOST  ]    401.765875 s: Fail procId=0x3
     [HOST] [HOST  ]    401.766973 s: Fail procId=0x3
     [HOST] [HOST  ]    401.768041 s: Fail procId=0x3
     [HOST] [HOST  ]    401.769108 s: Fail procId=0x3
     [HOST] [HOST  ]    401.770206 s: Fail procId=0x3
     [HOST] [HOST  ]    401.771274 s: Fail procId=0x3
     [HOST] [HOST  ]    401.772341 s: Fail procId=0x3
     [HOST] [HOST  ]    401.773439 s: Fail procId=0x3
     [HOST] [HOST  ]    401.774507 s: Fail procId=0x3
     [HOST] [HOST  ]    401.775605 s: Fail procId=0x3
     [HOST] [HOST  ]    401.776672 s: Fail procId=0x3
     [HOST] [HOST  ]    401.777770 s: Fail procId=0x3
     [HOST] [HOST  ]    401.778838 s: Fail procId=0x3
     [HOST] [HOST  ]    401.779906 s: Fail procId=0x3
     [HOST] [HOST  ]    401.781004 s: Fail procId=0x3
     [HOST] [HOST  ]    401.782071 s: Fail procId=0x3
     [HOST] [HOST  ]    401.783139 s: Fail procId=0x3
     [HOST] [HOST  ]    401.784206 s: Fail procId=0x3
     [HOST] [HOST  ]    401.785304 s: Fail procId=0x3
     [HOST] [HOST  ]    401.786372 s: Fail procId=0x3
     [HOST] [HOST  ]    401.787439 s: Fail procId=0x3
     [HOST] [HOST  ]    401.788537 s: Fail procId=0x3
     [HOST] [HOST  ]    401.789605 s: Fail procId=0x3
     [HOST] [HOST  ]    401.790703 s: Fail procId=0x3
     [HOST] [HOST  ]    401.791770 s: Fail procId=0x3
     [HOST] [HOST  ]    401.792868 s: Fail procId=0x3
     [HOST] [HOST  ]    401.793936 s: Fail procId=0x3
     [HOST] [HOST  ]    401.795034 s: Fail procId=0x3
     [HOST] [HOST  ]    401.796101 s: Fail procId=0x3
     [HOST] [HOST  ]    401.797200 s: Fail procId=0x3
     [HOST] [HOST  ]    401.798267 s: Fail procId=0x3
     [HOST] [HOST  ]    401.799335 s: Fail procId=0x3
     [HOST] [HOST  ]    401.800433 s: Fail procId=0x3
     [HOST] [HOST  ]    401.801500 s: Fail procId=0x3
     [HOST] [HOST  ]    401.802598 s: Fail procId=0x3
     [HOST] [HOST  ]    401.803666 s: Fail procId=0x3
     [HOST] [HOST  ]    401.804764 s: Fail procId=0x3
     [HOST] [HOST  ]    401.805831 s: Fail procId=0x3
     [HOST] [HOST  ]    401.806929 s: Fail procId=0x3
     [HOST] [HOST  ]    401.807997 s: Fail procId=0x3
     [HOST] [HOST  ]    401.809064 s: Fail procId=0x3
     [HOST] [HOST  ]    401.810162 s: Fail procId=0x3
     [HOST] [HOST  ]    401.811230 s: Fail procId=0x3
     [HOST] [HOST  ]    401.812328 s: Fail procId=0x3
     [HOST] [HOST  ]    401.813395 s: Fail procId=0x3
     [HOST] [HOST  ]    401.814463 s: Fail procId=0x3
     [HOST] [HOST  ]    401.815561 s: Fail procId=0x3
     [HOST] [HOST  ]    401.816629 s: Fail procId=0x3
     [HOST] [HOST  ]    401.817727 s: Fail procId=0x3
     [HOST] [HOST  ]    401.818794 s: Fail procId=0x3
     [HOST] [HOST  ]    401.819862 s: Fail procId=0x3
     [HOST] [HOST  ]    401.820929 s: Fail procId=0x3
     [HOST] [HOST  ]    401.822027 s: Fail procId=0x3
     [HOST] [HOST  ]    401.823095 s: Fail procId=0x3
     [HOST] [HOST  ]    401.824162 s: Fail procId=0x3
     [HOST] [HOST  ]    401.825260 s: Fail procId=0x3
     [HOST] [HOST  ]    401.826328 s: Fail procId=0x3
     [HOST] [HOST  ]    401.830018 s: Fail procId=0x3
     [HOST] [HOST  ]    401.831116 s: Fail procId=0x3
     [HOST] [HOST  ]    401.832214 s: Fail procId=0x3
     [HOST] [HOST  ]    401.833282 s: Fail procId=0x3
     [HOST] [HOST  ]    401.834350 s: Fail procId=0x3
     [HOST] [HOST  ]    401.835448 s: Fail procId=0x3
     [HOST] [HOST  ]    401.836515 s: Fail procId=0x3
     [HOST] [HOST  ]    401.837613 s: Fail procId=0x3
     [HOST] [HOST  ]    401.838681 s: Fail procId=0x3
     [HOST] [HOST  ]    401.839748 s: Fail procId=0x3
     [HOST] [HOST  ]    401.840846 s: Fail procId=0x3
     [HOST] [HOST  ]    401.841914 s: Fail procId=0x3
     [HOST] [HOST  ]    401.842981 s: Fail procId=0x3
     [HOST] [HOST  ]    401.844079 s: Fail procId=0x3
     [HOST] [HOST  ]    401.845147 s: Fail procId=0x3
     [HOST] [HOST  ]    401.846245 s: Fail procId=0x3
     [HOST] [HOST  ]    401.847312 s: Fail procId=0x3
     [HOST] [HOST  ]    401.848410 s: Fail procId=0x3
     [HOST] [HOST  ]    401.849478 s: Fail procId=0x3
     [HOST] [HOST  ]    401.850545 s: Fail procId=0x3
     [HOST] [HOST  ]    401.851643 s: Fail procId=0x3
     [HOST] [HOST  ]    401.852711 s: Fail procId=0x3
     [HOST] [HOST  ]    401.853779 s: Fail procId=0x3
     [HOST] [HOST  ]    401.854877 s: Fail procId=0x3
     [HOST] [HOST  ]    401.855944 s: Fail procId=0x3
     [HOST] [HOST  ]    401.857042 s: Fail procId=0x3
     [HOST] [HOST  ]    401.858110 s: Fail procId=0x3
     [HOST] [HOST  ]    401.859177 s: Fail procId=0x3
     [HOST] [HOST  ]    401.860275 s: Fail procId=0x3
     [HOST] [HOST  ]    401.861343 s: Fail procId=0x3
     [HOST] [HOST  ]    401.862410 s: Fail procId=0x3
     [HOST] [HOST  ]    401.863508 s: Fail procId=0x3
     [HOST] [HOST  ]    401.864576 s: Fail procId=0x3
     [HOST] [HOST  ]    401.865643 s: Fail procId=0x3
     [HOST] [HOST  ]    401.866741 s: Fail procId=0x3
     [HOST] [HOST  ]    401.867809 s: Fail procId=0x3
     [HOST] [HOST  ]    401.868907 s: Fail procId=0x3
     [HOST] [HOST  ]    401.869974 s: Fail procId=0x3
     [HOST] [HOST  ]    401.871042 s: Fail procId=0x3
     [HOST] [HOST  ]    401.872140 s: Fail procId=0x3
     [HOST] [HOST  ]    401.873208 s: Fail procId=0x3
     [HOST] [HOST  ]    401.874306 s: Fail procId=0x3
     [HOST] [HOST  ]    401.875373 s: Fail procId=0x3
     [HOST] [HOST  ]    401.876471 s: Fail procId=0x3
     [HOST] [HOST  ]    401.877569 s: Fail procId=0x3
     [HOST] [HOST  ]    401.878637 s: Fail procId=0x3
     [HOST] [HOST  ]    401.879704 s: Fail procId=0x3
     [HOST] [HOST  ]    401.880802 s: Fail procId=0x3
     [HOST] [HOST  ]    402.321814 s: Fail p^C
    root@dra7xx-evm:/opt/vision_sdk#

    Thanks,

    Terry

  • Yes, The DSP1 is not active & it may be hung up or crashed.

    Can you share the O/P of "cat /sys/kernel/debug/remoteproc/remoteproc3/trace0"?

    Thanks

    Gaviraju

  • Hi,

    I don't find the dir. /sys/kernel/debug/remoteproc

    Refer to other threads, I check kernel config,

    CONFIG_OMAP_REMOTEPROC=y
    CONFIG_RPMSG_RPC=y

    These have set in .config and d3_tda2x_defconfig.

    How can I do to make the entry /sys/kernel/debug/remoteproc/remoteproc3/trace0 ?

    Thanks,

    Terry

  • Hi,

    Sorry, the path /sys/kernel/debug/remoteproc will not exist for the early boot late attach use-case, so follow the below procedure to debug further.

    File: vision_sdk/links_fw/src/rtos/bios_app_common/tda2xx/dsp1/src/main_common_c6xdsp1.c

    By default, the variable enableDebug = 0 in the function "StartupEmulatorWaitFxn", so set this variable to 1

    volatile Int32 enableDebug = 1;

     


    After making the above changes rebuild the code, prepare SD card again & run the demo again (Now in this scenario the DSP is blocking in the main function because we set the variable enableDebug = 1)


    Now connect the JTAG debugger to the target board then launch the script & connect the DSP core, load the symbols then start debugging the code & find out where it's hung-up or crashing.

    Note: We should remove Gel files before connecting to any core for the SD & QSPI boot mode, for more information about removing gel file, please follow the below thread

    Thanks

    Gaviraju

  • Hi,

    I use JTAG and CCS connect to DSP, but it can't connect to DSP.

    The log: C66xx_DSP1: Error connecting to the target: (Error -1180 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 7.0.48.0) 

    Then I find the config in uboot is lack of CONFIG_LATE_ATTACH.

    It seems that TDA2 RVP is not config to support early boot late attach,

    so I compare to tda2 evm config and modify d3_tda2x_defconfig in uboot.

    After double check uboot and kernel config, I rebuild it and boot from SD.

    The issue occur at last post is solved.

    But the new issue is no image display on hdmi output.

    I create a new usecase like null_src_display to replace early_capture_late_weston.

    It will display a picture when boot up.

    It seems no error in log.

    Could you help me to check the uboot and kernel config again?

    Maybe some pinmux is wrong. I'll trace the code for pinmux.

    early1110.txt

    #
    # Automatically generated file; DO NOT EDIT.
    # U-Boot 2016.05 Configuration
    #
    CONFIG_CREATE_ARCH_SYMLINK=y
    CONFIG_HAVE_GENERIC_BOARD=y
    CONFIG_SYS_GENERIC_BOARD=y
    # CONFIG_ARC is not set
    CONFIG_ARM=y
    # CONFIG_AVR32 is not set
    # CONFIG_BLACKFIN is not set
    # CONFIG_M68K is not set
    # CONFIG_MICROBLAZE is not set
    # CONFIG_MIPS is not set
    # CONFIG_NDS32 is not set
    # CONFIG_NIOS2 is not set
    # CONFIG_OPENRISC is not set
    # CONFIG_PPC is not set
    # CONFIG_SANDBOX is not set
    # CONFIG_SH is not set
    # CONFIG_SPARC is not set
    # CONFIG_X86 is not set
    CONFIG_SYS_ARCH="arm"
    CONFIG_SYS_CPU="armv7"
    CONFIG_SYS_SOC="omap5"
    CONFIG_SYS_VENDOR="d3"
    CONFIG_SYS_BOARD="tda2x"
    CONFIG_SYS_CONFIG_NAME="d3_tda2x"
    
    #
    # ARM architecture
    #
    CONFIG_HAS_VBAR=y
    CONFIG_HAS_THUMB2=y
    CONFIG_CPU_V7=y
    # CONFIG_SEMIHOSTING is not set
    # CONFIG_SYS_L2CACHE_OFF is not set
    # CONFIG_ARCH_AT91 is not set
    # CONFIG_TARGET_EDB93XX is not set
    # CONFIG_TARGET_VCMA9 is not set
    # CONFIG_TARGET_SMDK2410 is not set
    # CONFIG_TARGET_ASPENITE is not set
    # CONFIG_TARGET_GPLUGD is not set
    # CONFIG_ARCH_DAVINCI is not set
    # CONFIG_KIRKWOOD is not set
    # CONFIG_ARCH_MVEBU is not set
    # CONFIG_TARGET_DEVKIT3250 is not set
    # CONFIG_TARGET_WORK_92105 is not set
    # CONFIG_TARGET_MX25PDK is not set
    # CONFIG_TARGET_ZMX25 is not set
    # CONFIG_TARGET_APF27 is not set
    # CONFIG_TARGET_APX4DEVKIT is not set
    # CONFIG_TARGET_XFI3 is not set
    # CONFIG_TARGET_M28EVK is not set
    # CONFIG_TARGET_MX23EVK is not set
    # CONFIG_TARGET_MX28EVK is not set
    # CONFIG_TARGET_MX23_OLINUXINO is not set
    # CONFIG_TARGET_BG0900 is not set
    # CONFIG_TARGET_SANSA_FUZE_PLUS is not set
    # CONFIG_TARGET_SC_SPS_1 is not set
    # CONFIG_ORION5X is not set
    # CONFIG_TARGET_SPEAR300 is not set
    # CONFIG_TARGET_SPEAR310 is not set
    # CONFIG_TARGET_SPEAR320 is not set
    # CONFIG_TARGET_SPEAR600 is not set
    # CONFIG_TARGET_STV0991 is not set
    # CONFIG_TARGET_X600 is not set
    # CONFIG_TARGET_IMX31_PHYCORE is not set
    # CONFIG_TARGET_MX31ADS is not set
    # CONFIG_TARGET_MX31PDK is not set
    # CONFIG_TARGET_WOODBURN is not set
    # CONFIG_TARGET_WOODBURN_SD is not set
    # CONFIG_TARGET_FLEA3 is not set
    # CONFIG_TARGET_MX35PDK is not set
    # CONFIG_ARCH_BCM283X is not set
    # CONFIG_TARGET_VEXPRESS_CA15_TC2 is not set
    # CONFIG_TARGET_VEXPRESS_CA5X2 is not set
    # CONFIG_TARGET_VEXPRESS_CA9X4 is not set
    # CONFIG_TARGET_KWB is not set
    # CONFIG_TARGET_TSERIES is not set
    # CONFIG_TARGET_DRACO is not set
    # CONFIG_TARGET_THUBAN is not set
    # CONFIG_TARGET_RASTABAN is not set
    # CONFIG_TARGET_PXM2 is not set
    # CONFIG_TARGET_RUT is not set
    # CONFIG_TARGET_TI814X_EVM is not set
    # CONFIG_TARGET_TI816X_EVM is not set
    # CONFIG_TARGET_BCM28155_AP is not set
    # CONFIG_TARGET_BCMCYGNUS is not set
    # CONFIG_TARGET_BCMNSP is not set
    # CONFIG_ARCH_EXYNOS is not set
    # CONFIG_ARCH_S5PC1XX is not set
    # CONFIG_ARCH_HIGHBANK is not set
    # CONFIG_ARCH_INTEGRATOR is not set
    # CONFIG_ARCH_KEYSTONE is not set
    # CONFIG_ARCH_MX7 is not set
    # CONFIG_ARCH_MX6 is not set
    # CONFIG_ARCH_MX5 is not set
    # CONFIG_TARGET_M53EVK is not set
    # CONFIG_TARGET_MX51EVK is not set
    # CONFIG_TARGET_MX53ARD is not set
    # CONFIG_TARGET_MX53EVK is not set
    # CONFIG_TARGET_MX53LOCO is not set
    # CONFIG_TARGET_MX53SMD is not set
    # CONFIG_OMAP34XX is not set
    # CONFIG_OMAP44XX is not set
    CONFIG_OMAP54XX=y
    # CONFIG_AM43XX is not set
    # CONFIG_AM33XX is not set
    # CONFIG_RMOBILE is not set
    # CONFIG_ARCH_SNAPDRAGON is not set
    # CONFIG_ARCH_SOCFPGA is not set
    # CONFIG_TARGET_CM_T43 is not set
    # CONFIG_ARCH_SUNXI is not set
    # CONFIG_TARGET_TS4800 is not set
    # CONFIG_TARGET_VF610TWR is not set
    # CONFIG_TARGET_COLIBRI_VF is not set
    # CONFIG_TARGET_PCM052 is not set
    # CONFIG_ARCH_ZYNQ is not set
    # CONFIG_ARCH_ZYNQMP is not set
    # CONFIG_TEGRA is not set
    # CONFIG_TARGET_VEXPRESS64_AEMV8A is not set
    # CONFIG_TARGET_VEXPRESS64_BASE_FVP is not set
    # CONFIG_TARGET_VEXPRESS64_BASE_FVP_DRAM is not set
    # CONFIG_TARGET_VEXPRESS64_JUNO is not set
    # CONFIG_TARGET_LS2080A_EMU is not set
    # CONFIG_TARGET_LS2080A_SIMU is not set
    # CONFIG_TARGET_LS2080AQDS is not set
    # CONFIG_TARGET_LS2080ARDB is not set
    # CONFIG_TARGET_HIKEY is not set
    # CONFIG_TARGET_LS1021AQDS is not set
    # CONFIG_TARGET_LS1021ATWR is not set
    # CONFIG_TARGET_LS1043AQDS is not set
    # CONFIG_TARGET_LS1043ARDB is not set
    # CONFIG_TARGET_H2200 is not set
    # CONFIG_TARGET_ZIPITZ2 is not set
    # CONFIG_TARGET_COLIBRI_PXA270 is not set
    # CONFIG_ARCH_UNIPHIER is not set
    # CONFIG_STM32 is not set
    # CONFIG_ARCH_ROCKCHIP is not set
    # CONFIG_TARGET_THUNDERX_88XX is not set
    CONFIG_SYS_MALLOC_F_LEN=0x400
    # CONFIG_TI_SECURE_DEVICE is not set
    # CONFIG_TARGET_CM_T54 is not set
    # CONFIG_TARGET_OMAP5_UEVM is not set
    # CONFIG_TARGET_DRA7XX_EVM is not set
    # CONFIG_TARGET_AM57XX_EVM is not set
    CONFIG_TARGET_D3_TDA2X=y
    CONFIG_CONS_INDEX=1
    CONFIG_LATE_ATTACH=y
    # CONFIG_LATE_ATTACH_GPT_PART is not set
    # CONFIG_LATE_ATTACH_DMA_POOL is not set
    
    #
    # Early Boot/Late Attach
    #
    
    #
    # Voltage Domain OPP selections
    #
    CONFIG_DRA7_MPU_OPP_NOM=y
    CONFIG_DRA7_DSPEVE_OPP_NOM=y
    # CONFIG_DRA7_DSPEVE_OPP_OD is not set
    # CONFIG_DRA7_DSPEVE_OPP_HIGH is not set
    CONFIG_DRA7_IVA_OPP_NOM=y
    # CONFIG_DRA7_IVA_OPP_OD is not set
    # CONFIG_DRA7_IVA_OPP_HIGH is not set
    CONFIG_DRA7_GPU_OPP_NOM=y
    # CONFIG_DRA7_GPU_OPP_OD is not set
    # CONFIG_DRA7_GPU_OPP_HIGH is not set
    # CONFIG_DRA7_GPU_OPP_PLUS is not set
    CONFIG_SYS_MALLOC_F=y
    # CONFIG_SPL_SYS_MALLOC_SIMPLE is not set
    # CONFIG_SPL_DM is not set
    # CONFIG_DM_SERIAL is not set
    # CONFIG_DM_SPI is not set
    # CONFIG_DM_I2C is not set
    # CONFIG_DM_GPIO is not set
    CONFIG_ARMV7_LPAE=y
    CONFIG_SPL_STACK_R_ADDR=0x82000000
    
    #
    # ARM debug
    #
    # CONFIG_DEBUG_LL is not set
    # CONFIG_DM_KEYBOARD is not set
    CONFIG_DEFAULT_DEVICE_TREE="dra7-evm"
    
    #
    # General setup
    #
    CONFIG_LOCALVERSION=""
    CONFIG_LOCALVERSION_AUTO=y
    CONFIG_CC_OPTIMIZE_FOR_SIZE=y
    CONFIG_EXPERT=y
    CONFIG_SYS_MALLOC_CLEAR_ON_INIT=y
    
    #
    # Boot images
    #
    CONFIG_SUPPORT_SPL=y
    CONFIG_SPL=y
    CONFIG_SPL_STACK_R=y
    # CONFIG_SPL_SEPARATE_BSS is not set
    CONFIG_FIT=y
    # CONFIG_FIT_VERBOSE is not set
    # CONFIG_FIT_SIGNATURE is not set
    # CONFIG_FIT_BEST_MATCH is not set
    CONFIG_OF_BOARD_SETUP=y
    # CONFIG_OF_SYSTEM_SETUP is not set
    # CONFIG_OF_STDOUT_VIA_ALIAS is not set
    CONFIG_SYS_EXTRA_OPTIONS=""
    CONFIG_SPL_LOAD_FIT=y
    # CONFIG_SPL_PANIC_ON_NON_FIT_IMAGE is not set
    
    #
    # SPL Media Loading Support
    #
    # CONFIG_SPL_YMODEM_SUPPORT is not set
    # CONFIG_SPL_MMC_SUPPORT is not set
    # CONFIG_SPL_SPI_SUPPORT is not set
    # CONFIG_SPL_USB_SUPPORT is not set
    # CONFIG_SPL_SATA_SUPPORT is not set
    # CONFIG_SPL_NOR_SUPPORT is not set
    # CONFIG_SPL_NAND_SUPPORT is not set
    # CONFIG_SPL_ONENAND_SUPPORT is not set
    # CONFIG_SPL_NET_SUPPORT is not set
    # CONFIG_SPL_DFU_SUPPORT is not set
    
    #
    # Boot timing
    #
    # CONFIG_BOOTSTAGE is not set
    CONFIG_BOOTSTAGE_USER_COUNT=20
    CONFIG_BOOTSTAGE_STASH_ADDR=0
    CONFIG_BOOTSTAGE_STASH_SIZE=4096
    # CONFIG_CONSOLE_RECORD is not set
    
    #
    # Command line interface
    #
    CONFIG_CMDLINE=y
    CONFIG_HUSH_PARSER=y
    CONFIG_SYS_HUSH_PARSER=y
    CONFIG_SYS_PROMPT="=> "
    
    #
    # Autoboot options
    #
    # CONFIG_AUTOBOOT_KEYED is not set
    
    #
    # Commands
    #
    
    #
    # Info commands
    #
    CONFIG_CMD_BDI=y
    CONFIG_CMD_CONSOLE=y
    # CONFIG_CMD_CPU is not set
    # CONFIG_CMD_LICENSE is not set
    
    #
    # Boot commands
    #
    CONFIG_CMD_BOOTD=y
    CONFIG_CMD_BOOTM=y
    CONFIG_CMD_BOOTZ=y
    CONFIG_CMD_BOOTEFI=y
    CONFIG_CMD_ELF=y
    CONFIG_CMD_FDT=y
    CONFIG_CMD_GO=y
    CONFIG_CMD_RUN=y
    CONFIG_CMD_IMI=y
    # CONFIG_CMD_IMLS is not set
    CONFIG_CMD_XIMG=y
    
    #
    # Environment commands
    #
    CONFIG_CMD_ASKENV=y
    CONFIG_CMD_EXPORTENV=y
    CONFIG_CMD_IMPORTENV=y
    CONFIG_CMD_EDITENV=y
    # CONFIG_CMD_GREPENV is not set
    CONFIG_CMD_SAVEENV=y
    CONFIG_CMD_ENV_EXISTS=y
    
    #
    # Memory commands
    #
    CONFIG_CMD_MEMORY=y
    CONFIG_CMD_CRC32=y
    # CONFIG_LOOPW is not set
    CONFIG_CMD_MEMTEST=y
    # CONFIG_CMD_MX_CYCLIC is not set
    # CONFIG_CMD_MEMINFO is not set
    
    #
    # Device access commands
    #
    CONFIG_CMD_DM=y
    # CONFIG_CMD_DEMO is not set
    CONFIG_CMD_LOADB=y
    CONFIG_CMD_LOADS=y
    CONFIG_CMD_FLASH=y
    # CONFIG_CMD_ARMFLASH is not set
    CONFIG_CMD_MMC=y
    # CONFIG_CMD_NAND is not set
    CONFIG_CMD_SF=y
    CONFIG_CMD_SPI=y
    CONFIG_CMD_I2C=y
    CONFIG_CMD_USB=y
    # CONFIG_CMD_DFU is not set
    # CONFIG_CMD_USB_MASS_STORAGE is not set
    CONFIG_CMD_FPGA=y
    CONFIG_CMD_GPIO=y
    # CONFIG_CMD_RIO is not set
    
    #
    # Shell scripting commands
    #
    CONFIG_CMD_ECHO=y
    CONFIG_CMD_ITEST=y
    CONFIG_CMD_SOURCE=y
    CONFIG_CMD_SETEXPR=y
    
    #
    # Network commands
    #
    CONFIG_CMD_NET=y
    # CONFIG_CMD_TFTPPUT is not set
    # CONFIG_CMD_TFTPSRV is not set
    # CONFIG_CMD_RARP is not set
    CONFIG_CMD_DHCP=y
    CONFIG_CMD_NFS=y
    CONFIG_CMD_MII=y
    CONFIG_CMD_PING=y
    # CONFIG_CMD_CDP is not set
    # CONFIG_CMD_SNTP is not set
    # CONFIG_CMD_DNS is not set
    # CONFIG_CMD_LINK_LOCAL is not set
    
    #
    # Misc commands
    #
    # CONFIG_CMD_CACHE is not set
    CONFIG_CMD_TIME=y
    CONFIG_CMD_MISC=y
    # CONFIG_CMD_TIMER is not set
    
    #
    # Power commands
    #
    
    #
    # Security commands
    #
    CONFIG_CMD_TPM=y
    # CONFIG_CMD_TPM_TEST is not set
    
    #
    # Filesystem commands
    #
    CONFIG_CMD_EXT2=y
    CONFIG_CMD_EXT4=y
    CONFIG_CMD_EXT4_WRITE=y
    CONFIG_CMD_FAT=y
    CONFIG_CMD_FS_GENERIC=y
    CONFIG_SUPPORT_OF_CONTROL=y
    
    #
    # Device Tree Control
    #
    CONFIG_OF_CONTROL=y
    # CONFIG_SPL_OF_CONTROL is not set
    CONFIG_OF_SEPARATE=y
    # CONFIG_OF_EMBED is not set
    CONFIG_OF_LIST=""
    CONFIG_NET=y
    # CONFIG_NET_RANDOM_ETHADDR is not set
    # CONFIG_NETCONSOLE is not set
    CONFIG_NET_TFTP_VARS=y
    
    #
    # Device Drivers
    #
    
    #
    # Generic Driver Options
    #
    CONFIG_DM=y
    CONFIG_DM_WARN=y
    CONFIG_DM_DEVICE_REMOVE=y
    CONFIG_DM_STDIO=y
    CONFIG_DM_SEQ_ALIAS=y
    # CONFIG_SPL_DM_SEQ_ALIAS is not set
    # CONFIG_REGMAP is not set
    # CONFIG_SPL_REGMAP is not set
    # CONFIG_DEVRES is not set
    CONFIG_SIMPLE_BUS=y
    CONFIG_OF_TRANSLATE=y
    # CONFIG_ADC is not set
    # CONFIG_ADC_EXYNOS is not set
    # CONFIG_ADC_SANDBOX is not set
    # CONFIG_BLK is not set
    CONFIG_DISK=y
    # CONFIG_BLOCK_CACHE is not set
    # CONFIG_DWC_AHCI is not set
    
    #
    # Clock
    #
    # CONFIG_CLK is not set
    # CONFIG_CPU is not set
    
    #
    # Hardware crypto devices
    #
    # CONFIG_FSL_CAAM is not set
    
    #
    # Demo for driver model
    #
    # CONFIG_DM_DEMO is not set
    
    #
    # DFU support
    #
    # CONFIG_DFU_TFTP is not set
    
    #
    # DMA Support
    #
    # CONFIG_DMA is not set
    # CONFIG_TI_EDMA3 is not set
    
    #
    # GPIO Support
    #
    # CONFIG_ATMEL_PIO4 is not set
    # CONFIG_INTEL_BROADWELL_GPIO is not set
    # CONFIG_LPC32XX_GPIO is not set
    # CONFIG_VYBRID_GPIO is not set
    
    #
    # I2C support
    #
    # CONFIG_DM_I2C_COMPAT is not set
    # CONFIG_CROS_EC_KEYB is not set
    
    #
    # LED Support
    #
    # CONFIG_LED is not set
    
    #
    # Memory Controller drivers
    #
    
    #
    # Multifunction device drivers
    #
    # CONFIG_MISC is not set
    # CONFIG_CROS_EC is not set
    # CONFIG_FSL_SEC_MON is not set
    # CONFIG_MXC_OCOTP is not set
    # CONFIG_PWRSEQ is not set
    # CONFIG_PCA9551_LED is not set
    # CONFIG_RESET is not set
    # CONFIG_WINBOND_W83627 is not set
    
    #
    # MMC Host controller Support
    #
    # CONFIG_DM_MMC is not set
    
    #
    # MTD Support
    #
    # CONFIG_MTD is not set
    
    #
    # NAND Device Support
    #
    # CONFIG_DM_NAND is not set
    # CONFIG_NAND_DENALI is not set
    # CONFIG_NAND_VF610_NFC is not set
    # CONFIG_NAND_PXA3XX is not set
    # CONFIG_NAND_ARASAN is not set
    
    #
    # Generic NAND options
    #
    # CONFIG_SPL_NAND_DENALI is not set
    
    #
    # SPI Flash Support
    #
    CONFIG_SPI_FLASH=y
    CONFIG_SPI_FLASH_BAR=y
    # CONFIG_SPI_FLASH_ATMEL is not set
    # CONFIG_SPI_FLASH_EON is not set
    # CONFIG_SPI_FLASH_GIGADEVICE is not set
    # CONFIG_SPI_FLASH_MACRONIX is not set
    CONFIG_SPI_FLASH_SPANSION=y
    # CONFIG_SPI_FLASH_STMICRO is not set
    # CONFIG_SPI_FLASH_SST is not set
    # CONFIG_SPI_FLASH_WINBOND is not set
    CONFIG_SPI_FLASH_USE_4K_SECTORS=y
    # CONFIG_SPI_FLASH_MTD is not set
    # CONFIG_DM_ETH is not set
    # CONFIG_PHYLIB is not set
    # CONFIG_NETDEVICES is not set
    
    #
    # PCI
    #
    # CONFIG_DM_PCI is not set
    
    #
    # Pin controllers
    #
    # CONFIG_PINCTRL is not set
    
    #
    # Power
    #
    # CONFIG_DM_PMIC is not set
    # CONFIG_DM_REGULATOR is not set
    # CONFIG_DM_PWM is not set
    # CONFIG_RAM is not set
    # CONFIG_DM_RIO is not set
    
    #
    # Remote Processor drivers
    #
    
    #
    # Real Time Clock
    #
    # CONFIG_DM_RTC is not set
    
    #
    # Serial drivers
    #
    # CONFIG_DEBUG_UART is not set
    # CONFIG_DEBUG_UART_SKIP_INIT is not set
    # CONFIG_FSL_LPUART is not set
    CONFIG_SYS_NS16550=y
    
    #
    # Sound support
    #
    # CONFIG_SOUND is not set
    
    #
    # SPI Support
    #
    # CONFIG_FSL_ESPI is not set
    CONFIG_TI_QSPI=y
    
    #
    # SPMI support
    #
    # CONFIG_SPMI is not set
    # CONFIG_DM_THERMAL is not set
    
    #
    # Timer Support
    #
    # CONFIG_TIMER is not set
    
    #
    # TPM support
    #
    # CONFIG_TPM_AUTH_SESSIONS is not set
    CONFIG_USB=y
    # CONFIG_DM_USB is not set
    
    #
    # USB Host Controller Drivers
    #
    # CONFIG_USB_XHCI_HCD is not set
    # CONFIG_USB_XHCI is not set
    # CONFIG_USB_EHCI_HCD is not set
    # CONFIG_USB_EHCI is not set
    
    #
    # MUSB Controller Driver
    #
    # CONFIG_USB_MUSB_HOST is not set
    # CONFIG_USB_MUSB_GADGET is not set
    
    #
    # ULPI drivers
    #
    
    #
    # USB peripherals
    #
    CONFIG_USB_STORAGE=y
    # CONFIG_USB_KEYBOARD is not set
    # CONFIG_USB_GADGET is not set
    
    #
    # Graphics support
    #
    # CONFIG_DM_VIDEO is not set
    
    #
    # TrueType Fonts
    #
    # CONFIG_VIDEO_VESA is not set
    # CONFIG_VIDEO_LCD_ANX9804 is not set
    # CONFIG_VIDEO_LCD_SSD2828 is not set
    # CONFIG_VIDEO_MVEBU is not set
    # CONFIG_DISPLAY is not set
    # CONFIG_VIDEO_TEGRA20 is not set
    # CONFIG_VIDEO_BRIDGE is not set
    # CONFIG_PHYS_TO_BUS is not set
    
    #
    # File systems
    #
    
    #
    # Library routines
    #
    # CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED is not set
    CONFIG_HAVE_PRIVATE_LIBGCC=y
    # CONFIG_USE_PRIVATE_LIBGCC is not set
    CONFIG_SYS_HZ=1000
    # CONFIG_USE_TINY_PRINTF is not set
    CONFIG_REGEX=y
    # CONFIG_LIB_RAND is not set
    # CONFIG_CMD_DHRYSTONE is not set
    # CONFIG_RSA is not set
    CONFIG_TPM=y
    
    #
    # Hashing Support
    #
    # CONFIG_SHA1 is not set
    # CONFIG_SHA256 is not set
    # CONFIG_SHA_HW_ACCEL is not set
    
    #
    # Compression Support
    #
    # CONFIG_LZ4 is not set
    # CONFIG_ERRNO_STR is not set
    CONFIG_OF_LIBFDT=y
    CONFIG_SPL_OF_LIBFDT=y
    CONFIG_EFI_LOADER=y
    # CONFIG_UNIT_TEST is not set
    
    6431.kernel.config

    Thanks,

    Terry

  • Hi,

    Glad to know the previous issue is resolved.

    We tested the Early boot late attach use-case only for TDA2xx, TDA2E & TDA2PX platform & it's is not tested in the TDA2XX-RVP Platform.

    The default kernel & U-boot config used in the TDA2xx, TDA2E & TDA2PX is:

    The default kernel & U-boot config used in the TDA2XX-RVP is :

     In the previous post, you mentioned "I create a new usecase like null_src_display to replace early_capture_late_weston. It will display a picture when boot up."

    >> This indicates the early boot is already working in your setup for the null_src_display usecase & you are facing some issue regarding capture for the usecase early_capture_late_weston. So I'm recommending you to try this usecase or any other LVDS camera usecase in the normal setup then you can try in the early boot setup. This is just to make sure the usecase is working or not in the normal setup & it's easy to debug in the normal setup if any issues found.

    Thanks

    Gaviraju

  • Hi,

    You are right.

    Early boot is already working.

    There are some bugs in my usecase.

    The issue is solved.

    Thanks.

    Terry