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.

DRA72XEVM: Reverse camera video displays properly during early boot(uboot) but once during kernel load starts display freezes

Part Number: DRA72XEVM

Hi TI Forum,

We are using custom board having TDA2xx SoC. We are using Vision SDK 3.0.7

We have a requirement wherein we would need to switch between splash screen and Reverse camera display during boot till completion of Linux kernel load.

Iam trying to display 1 channel video and still image based on user selection whether he wants splash image or Reverse camera video.

If user presses Switch-1 then still image has to be displayed, which is displaying properly.

If user presses Switch-2 then Reverse camera Video has to be displayed. But when user selects this switch Video is getting distorted. Then after analysing found the data format of image and video differs hence this problem. 

The splash image is of SYSTEM_DF_YUV420SP_UV format and video is SYSTEM_DF_YUV422I_YUYV

To resolve this used the below function which converts the captured video to SYSTEM_DF_YUV420SP_UV. As this is Reverse Camera feature the firmware is loaded(Early Load) during uboot so that within 2-3 seconds Reverse camera is displayed. Till uboot display of both Splash image and video is proper. But as soon as Linux kernel load starts, the display is getting freezed. If the below conversion is not done there is no freeze but display is distorted. Could you please clarify if the below conversion module is a limitation? If not, how could we resolve. If we see the logs we are seeing XDC Error.

Void ChainsCommon_SetVPEPrms(VpeLink_CreateParams *pPrm,
                        UInt32 captureInWidth,
                        UInt32 captureInHeight
                        )
{

    UInt32 outId, chId;
    VpeLink_ChannelParams *chPrms;

    memset(pPrm, 0, sizeof(*pPrm));

    pPrm->enableOut[0] = TRUE;
    pPrm->enableOut[1] = FALSE;

    for(outId=0; outId<VPE_LINK_OUT_QUE_ID_MAX; outId++)
    {
        for (chId = 0; chId < 1; chId++)
        {
                chPrms = &pPrm->chParams[chId];
                chPrms->outParams[outId].numBufsPerCh = 10;//4;//4;//VPE_LINK_NUM_BUFS_PER_CH_DEFAULT;
                chPrms->outParams[outId].inputFrameRate = 50;
                chPrms->outParams[outId].outputFrameRate = 50;

                chPrms->outParams[outId].width  = captureInWidth;
                chPrms->outParams[outId].height = captureInHeight;
                chPrms->outParams[outId].dataFormat = SYSTEM_DF_YUV420SP_UV;

                chPrms->deiCfg.bypass = FALSE;

                chPrms->deiCfg.inpMode = VPE_DEI_EDIMODE_LUMA_CHROMA;
                chPrms->deiCfg.tempInpEnable = TRUE;
                chPrms->deiCfg.tempInpChromaEnable = TRUE;
                chPrms->deiCfg.spatMaxBypass = TRUE;
                chPrms->deiCfg.tempMaxBypass = TRUE;
                chPrms->scCfg.bypass       = TRUE;//FALSE;//TRUE;
                chPrms->scCfg.nonLinear    = FALSE;
                chPrms->scCfg.stripSize    = 0;

                chPrms->scCropCfg.cropStartX = 0;
                chPrms->scCropCfg.cropStartY = 0;
                chPrms->scCropCfg.cropWidth  = captureInWidth;//0;
                chPrms->scCropCfg.cropHeight = captureInHeight;//0;
        }
   }
}

  • Hi Sudhi,

    I hope you have taken care of all late-attach patches on kernel. Please confirm.

    Can you confirm VPE is not used from A15?

    Did you try with other conversion format what is behavior?  As this conversion is working for you and able to see proper video, I don't suspect any memory related issue here.

    RamPrasad

  • Hi RamPrasad,

    Thanks for the reply. 

    We have taken all the late-attach patches on kernel.

    Could you please help me how to identify if VPE is used from A15 or not?? Because Iam not sure of how to find this.

    If VPE should not be used from A15 then on which core it should be running and how to configure for other core, could you please help on this.?? This issue is stuck for long time could you please help us.

    Thanks & Regards,

    Sudhi

  • Hi Sudhi,

    Make sure that VPE_INCLUDE=yes in Rules.make of visionSDK which means M4 controls the VPE

    and in your dts file DISABLE_COMPLETE(vpe) exists which means A15 is no more controls VPE.

    Thanks

    RamPrasad

  • Hi RamPrasad,

    Thanks a lot for the inputs having set the DISABLE_COMPLETE(vpe) in dts, the camera display is continuous starting from boot till we run any other application. 

    However, with this change has caused a new problem. That is, when we run apps.out which has Camera capture display usecase we are getting the below assert. In this usecase we use Capture, VPE, Display links. Earlier this use case which is part of apps.out was running fine. 

    ASSERT (chains_common.c|virtio_rpmsg_bus virtio0: rpmsg host is online
    ChainsCommon_StartDisplayCtrl|3067)
    remoteproc0: registered virtio0 (type 7)

    Earlier this apps.out was running fine. Only after having the new change of DISABLE_COMPLETE(vpe) in dts the above ASSERT is seen. And there is no display of other analog camera.

    Complete log is attached. 

    Thanks & Regards,

    Sudheendra

    Post_RVC_Log.txt
    cd /opt/its/bin/
    root@dra7xx-evm:/opt/its/bin# 
    root@dra7xx-evm:/opt/its/bin# 
    root@dra7xx-evm:/opt/its/bin# . ./rundemo.sh 
    Module loaded in kernel
    Reverse camera gpio: The button state is currently: 0
    Reverse camera gpio: The button is mapped to IRQ: 266
    
    Broadcast message from systemd-journald@dra7xx-evm (Wed 2020-05-27 06:05:23 UTC):
    
    kernel[543]: Module loaded in kernel
    
    -sh: ./load_audio.sh: Permission denied
    [2]-  Done(126)               ./load_audio.sh  (wd: /opt/its/bin)
    (wd now: /opt/vision_sdk)
    ls: /mnt/sata/*.mp4: No such file or directory
    In Fn main, 104
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[2438]:Entered Parse_Init
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[2457]:Eixted Parse_Init
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[2542]:CVBACam vehicle ID = 975318642
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[2550]:Dvr mode = cvbsdvr
    threshold_size == 80
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3042]:wifi_mode = infra
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3051]:infra_ssid = ITS_DEMO
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3060]:infra_pswd = 12345678
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3069]:ap_ssid = EMMY
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3078]:ap_pswd = 12345678
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3087]:hotspot_ssid = ITS-ap
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3096]:hotspot_pswd = 12345678
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3104]:server_ip = 100.110.184.164
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3113]:local_ip = 192.168.151.3
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3122]:macaddr = 00:03:7F:FA:B3:4D
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3131]:channel = auto
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3143]:ethernet_mode = ether
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3152]:dhcp_status = on
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3161]:ip_address = 192.168.2.157
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3170]:gateway_addr = 192.168.2.10
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3179]:subnet_addr = 255.255.255.0
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3188]:mac_addr = 00:03:7F:FA:B3:4D
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3201]:LTE_mode = LTE4G
    After cMode get
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3211]:apn = airtel.com
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3220]:user = airtel
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3229]:lte_passwd = airtel
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3238]:phone = 99
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3247]:baudrate = 460800
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3277]:No of cam = 5
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3287]:
    Record dur = 60
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3298]:Vehicle ID = 975318642
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3310]:position1 = front
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3322]:position2 = rear
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3334]:Position3 = right
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3346]:position4 = left
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3358]:position5 = frontdoor
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3370]:position6 = backdoor
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3382]:IpCam = rtsp://192.168.2.151/user=admin&password=&channel=1&stream=1.sdp?
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3394]:IpCam = rtsp://192.168.2.152/user=admin&password=&channel=1&stream=1.sdp?
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3405]:IpCam = rtsp://192.168.2.153/user=admin&password=&channel=1&stream=1.sdp?
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3417]:IpCam = rtsp://192.168.2.154/user=admin&password=&channel=1&stream=1.sdp?
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3429]:IpCam = rtsp://192.168.2.247:8554/camera5
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3441]:IpCam = rtsp://192.168.2.248:8554/camera6
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3453]:IpCamDisp1 = rtsp://192.168.2.151/user=admin&password=&channel=1&stream=1.sdp?
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3465]:IpCamDisp2 = rtsp://192.168.2.152/user=admin&password=&channel=1&stream=1.sdp?
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3478]:IpCamDisp3 = rtsp://192.168.2.153/user=admin&password=&channel=1&stream=1.sdp?
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3490]:IpCamDisp4 = rtsp://192.168.2.154/user=admin&password=&channel=1&stream=1.sdp?
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3502]:IpCamDisp5 = rtsp://192.168.2.150/user=admin&password=&channel=1&stream=1.sdp?
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3514]:IpCamDisp6 = rtsp://192.168.2.150/user=admin&password=&channel=1&stream=1.sdp?
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[2908]: audio state = 0
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3004]: cvbs rec dur = 30
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3748]:sConfig.pCvbsCam.eFrontCvbsStatus =0
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3749]:sConfig.pCvbsCam.eFrontstate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3750]:sConfig.pCvbsCam.eFrontbitrate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3751]:sConfig.pCvbsCam.eFrontfps =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3752]:sConfig.pCvbsCam.eFrontstate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3753]:sConfig.pCvbsCam.eFrontMicstatus =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3879]:sConfig.pCvbsCam.eRearCvbsStatus =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3880]:sConfig.pCvbsCam.eRearstate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3881]:sConfig.pCvbsCam.eRearbitrate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3882]:sConfig.pCvbsCam.eRearfps =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3883]:sConfig.pCvbsCam.eRearstate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[3884]:sConfig.pCvbsCam.eRearMicstatus =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4009]:sConfig.pCvbsCam.eCabinCvbsStatus =0
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4010]:sConfig.pCvbsCam.eCabinstate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4011]:sConfig.pCvbsCam.eCabinbitrate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4012]:sConfig.pCvbsCam.eCabinfps =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4013]:sConfig.pCvbsCam.eCabinstate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4014]:sConfig.pCvbsCam.eCabinMicstatus =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4139]:sConfig.pCvbsCam.eLeftCvbsStatus =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4140]:sConfig.pCvbsCam.eLeftstate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4141]:sConfig.pCvbsCam.eLeftbitrate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4142]:sConfig.pCvbsCam.eLeftfps =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4143]:sConfig.pCvbsCam.eLeftstate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4144]:sConfig.pCvbsCam.eLeftMicstatus =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4269]:sConfig.pCvbsCam.eRightCvbsStatus =0
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4270]:sConfig.pCvbsCam.eRightstate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4271]:sConfig.pCvbsCam.eRightbitrate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4272]:sConfig.pCvbsCam.eRightfps =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4273]:sConfig.pCvbsCam.eRightstate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4274]:sConfig.pCvbsCam.eRightMicstatus =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4399]:sConfig.pCvbsCam.eAnalogCvbsStatus =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4400]:sConfig.pCvbsCam.eAnalogstate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4401]:sConfig.pCvbsCam.eAnalogbitrate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4402]:sConfig.pCvbsCam.eAnalogfps =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4403]:sConfig.pCvbsCam.eAnalogstate =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4404]:sConfig.pCvbsCam.eAnalogMicstatus =1
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4432]:hw_ver = 1.0
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4444]:mcu_fw = 1.0
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4456]:soc_fw = 1.0
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4468]:kernel = 4.4.83
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4480]:hw_ver_date = 20190228
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4492]:mcu_fw_date = 20190228
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4504]:soc_fw_date = 20190228
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4516]:kernel_date = 20190228
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4546]:hw_ver = fossilshale
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[4558]:chip = TDA2x
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[120]:Successfully config parameters parsed
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[2397]:KEY value = 1234
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[2398]:iSize = 59680
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[2421]:Written to shared memory success
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[130]:Successfully write into shared memory
    [20200527:060524]:[CONFIG_APP]:[INFO]:[./src/configapp.c]:[141]:CONFIG_APP successfully initialized
    [20200527:060525]:[PLF_INTERFACE]:[INFO]:[src/plf_interface.c]:[118]:
    PLF INTERFACE APP [May 25 2020:09:46:36] VERSION [2.9]
    [20200527:060525]:[PLF_INTERFACE]:[INFO]:[src/plf_interface.c]:[135]:DVR mode = 1
    [20200527:060525]:[PLF_INTERFACE]:[INFO]:[src/plf_interface.c]:[163]:Successfully initialized IPC for PLF_INTERFACE Module
    [1]   Done                    ./load_its.sh
    [3]   Done                    ./eth1.sh  (wd: /opt)
    (wd now: /opt/its/bin)
    ata1: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen
    ata1: irq_stat 0x00000040, connection status changed
    ata1: SError: { CommWake DevExch }
    ata1: hard resetting link
    File list
    ls: /mnt/sata/*.mp4: No such file or directory
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.00: ATA-9: SED2FV-MT SATA SSD 256GB, R0411D, max UDMA/133
    ata1.00: 494927872 sectors, multi 1: LBA48 NCQ (depth 31/32)
    ata1.00: configured for UDMA/133
    ata1: EH complete
    scsi 0:0:0:0: Direct-Access     ATA      SED2FV-MT SATA S 1D   PQ: 0 ANSI: 5
    sd 0:0:0:0: [sda] 494927872 512-byte logical blocks: (253 GB/236 GiB)
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
     sda: sda1
    sd 0:0:0:0: [sda] Attached SCSI disk
    EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
    DMA: Module install successful, device major num = 242 
    DRV: Module install successful
    cmemk: disagrees about version of symbol device_create
    cmemk: Unknown symbol device_create (err -22)
    cmemk: disagrees about version of symbol device_destroy
    cmemk: Unknown symbol device_destroy (err -22)
    insmod: ERROR: could not insert module ./bin/cmemk.ko: Invalid parameters
    ./disableDssInterruptsOnA15.sh: line 11: @0x4A002AB4:: command not found
    ./disableDssInterruptsOnA15.sh: line 12: @0x4A002AB4:: command not found
    ./disableDssInterruptsOnA15.sh: line 13: @0x4A002AB4:: command not found
    ./disableDssInterruptsOnA15.sh: line 14: @0x4A002AB4:: command not found
    ./disableDssInterruptsOnA15.sh: line 15: @0x4A002AB4:: command not found
    ./disableDssInterruptsOnA15.sh: line 16: @0x4A002AB4:: command not found
    ./disableDssInterruptsOnA15.sh: line 17: @0x4A002AB4:: command not found
    ./disableDssInterruptsOnA15.sh: line 18: @0x4A002AB4:: command not found
    ./disableDssInterruptsOnA15.sh: line 19: @0x4A002AB4:: command not found
    updated 0x4A002AB4 value is 00930000
    QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
    QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
    Using Wayland-EGL
    wlpvr: PVR Services Initialised
    No such plugin for spec  "Auto"
    QFontDatabase: Cannot find font directory /usr/local/qt562wayland/lib/fonts - is Qt installed correctly?
    QFontDatabase: Cannot find font directory /usr/local/qt562wayland/lib/fonts - is Qt installed correctly?
    QFontDatabase: Cannot find font directory /usr/local/qt562wayland/lib/fonts - is Qt installed correctly?
    QFontDatabase: Cannot find font directory /usr/local/qt562wayland/lib/fonts - is Qt installed correctly?
    ********************* NEW GUI 800 X 600 SCREEN LOADED ************************
    ********************* GUI LOADED ************************
    ********************* GUI LOADED ************************
    ********************* GUI LOADED ************************
    File list
    QFontDatabase: Cannot find font directory /usr/local/qt562wayland/lib/fonts - is Qt installed correctly?
    [20200527:060534]:[NW_MGR]:[ERROR]:[chains_main.c]:[268]:In main() 268
    In main() 275
    Enter OSA_init()
     [HOST]  OSA: MEM: 0: Mapped 0xapid=887, Node Opened
    0100000 to 0xb6000000 of size 0x00100000 
     [HOST]  OSA: MEM: 1: Mapped 0x84203000 to 0xa3400000 of size 0x12c00000 
     [HOST]  OSA: MEM: 2: Mapped 0xa0200000 to 0xb6223000 of size 0x00040000 
     [HOST]  OSA: MEM: 3: Mapped 0xa02c0000 to 0xb6263000 of size 0x00080000 
     [HOST]  OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000 
    OSA_memInit completed()
    OSA_globaLTimerInit completed()
    RemoteLog_init completed()
    Exit OSA_init()
    
    Broadcast message from systemd-journald@dra7xx-evm (Wed 2020-05-27 06:05:34 UTC):
    
    kernel[543]: pid=887, Node Opened
    
    omap-iommu 55082000.mmu: iommu fault: da 0x994c2f80 flags 0x0
     remoteproc0: crash detected in 55020000.ipu: type mmufault
    omap-iommu 55082000.mmu: 55082000.mmu: errs:0x00000002 da:0x994c2f80 pgd:0xece3e650 *pgd:px94700002
     remoteproc0: handling crash #2 in 55020000.ipu
     remoteproc0: recovering 55020000.ipu
    ITS: Usecase command (6)
    ITS: (6) channel usecase selecteomap_hwmod: timer3: _wait_target_disable failed
    d
    chains_4CH_vdec_SetAppPrms ()
    ENTER :: getUseCaseParams()
    ENTER :: iGetConf 
    remoteproc0: failed to unmap 16777216/0
    igParams()
    j05 iGetConfigParams() Resolution =  remoteproc0: failed to unmap 16777216/0
    3
    j05 iGetConfigParams() Bitrate  = 1
    Shared m remoteproc0: failed to unmap 16777216/0
    emory detached operation successful
    EXIT :: iGetConfigParams()
    getUseCaseParams() - VGA Resolution
    getUseCaseParams() - 2 MBPS Bitrate
    EXIT  remoteproc0: stopped remote processor 55020000.ipu
    :: getUseCaseParams()
    chains_2CH_vdec_SetAppPrms Display Qwidth=320  Qheight=240 ()
    CHAINS_CAPTURE_SRC_VIDDEC_TW9984 Setted
    CHAINS_CAPTURE_SRC_VIDDEC_TW9984 Setted
    CHAINS_CAPTURE_SRC_VIDDEC_TW9984 Setted remoteproc0: powering up 55020000.ipu
    
    CHAINS_CAPTURE_SRC_VIDDEC_TW9984 Setted
    CHAINS remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 7652468
    _CAPTURE_SRC_VIDDEC_TW9984 Setted
    CHAINS_CAPTURomap-iommu 55082000.mmu: 55082000.mmu: version 2.1
    E_SRC_VIDDEC_TW9984 Setted
    CHAINS_CAPTURE_SRC_VIDDEC_TW9984 Setted
    CHAINS_CAPTURE_SRC_VIDDEC_TW9984 Setted
    CHAINS_CAPTURE_SRC_VIDDEC_TW9984 Setted
    CHAINS_CAPTURE_SRC_VIDDEC_TW9984 Setted
    chains_2CH_vdec_SetAppPrms Display width=800  height=600 ()
    pWinInfo->width 320,pWinInfo->height 240
     pWinInfo->width 320,pWinInfo->height 240
     pWinInfo->width 320,pWinInfo->height 240
     pWinInfo->width 320,pWinInfo->height 240
     chains_2CH_vdec_SetAppPrms params.activeChId 1
    2. DVR RESOLUTION SET 8 remoteproc0: remote processor 55020000.ipu is now up
    00x600 AS SOC OUTPUT
     ASSERT (chains_common.c|virtio_rpmsg_bus virtio0: rpmsg host is online
    ChainsCommon_StartDisplayCtrl|3067)
     remoteproc0: registered virtio0 (type 7)
    virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x50
    usb 3-1: new high-speed USB device number 2 using xhci-hcd
    usbcore: registered new interface driver usbserial
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial support registered for generic
    usbcore: registered new interface driver option
    usbserial: USB Serial support registered for GSM modem (1-port)
    option 3-1:1.0: GSM modem (1-port) converter detected
    usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
    option 3-1:1.1: GSM modem (1-port) converter detected
    usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
    option 3-1:1.2: GSM modem (1-port) converter detected
    usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
    option 3-1:1.3: GSM modem (1-port) converter detected
    usb 3-1: GSM modem (1-port) converter now attached to ttyUSB3
    File list
    
    [8]+  Stopped(SIGTTIN)        ./apps.out 6
    ITS_MP4 In Fn main Line 404
    threads 0 status 0
    threads 0 status 0
    [20200527:060539]:[DVR_CVBS]:[INFO]:[src/mp4_record.c]:[417]:DVR_CVBS STARTED
    threads 0 status 0
    threads 0 status 0
    threads 0 status 0
    threads 0 status 0
    [20200527:060539]:[DVR_CVBS]:[INFO]:[src/mp4_record.c]:[461]:State machine changed and mutex unlocked
    ITS_MP4 In Fn iRead_Config Line 308
    ENTER: getBuffHandler()
    Read Application () Read App() Virt Address of buffer = ffffffff!!
    ENTER: getBuffHandler()
    Read Application () Read App() Virt Address of buffer = ffffffff!!
    ENTER: getBuffHandler()
    Read Application () Read App() Virt Address of buffer = ffffffff!!
    ENTER: getBuffHandler()
    Read Application () Read App() Virt Address of buffer = ffffffff!!
    ENTER: getBuffHandler()
    Read Application () Read App() Virt Address of buffer = ffffffff!!
    ENTER: getBuffHandler()
    Read Application () Read App() Virt Address of buffer = ffffffff!!
    iInitReader done
    
    
    
    AutoRecFunc iRecordDuration 30
    
    
    MCU FW = 1.0
    DVR FW = 1.0
    HW VER = 1.0
    KERNEL = 4.4.83
    HW  DATE = 20190228
    SOC DATE = 20190228
    MCU DATE = 20190228
    KERNEL DATE = 20190228
    [20200527:060541]:[FW_UPGRADE]:[INFO]:[src/fwupgrade.c]:[1409]:Init IPC Success for FW_UPGRADE module
    [20200527:060541]:[FW_UPGRADE]:[INFO]:[src/fwupgrade.c]:[1427]:Boot mode got Succesfully
    [20200527:060541]:[PLF_INTERFACE]:[INFO]:[src/plf_interface.c]:[397]:In plfinterface_req_handler() cpMsg = 138;1
    [20200527:060541]:[PLF_INTERFACE]:[INFO]:[src/plf_interface.c]:[401]:In plfinterface_req_handler() cMsgType  = 138
    [20200527:060541]:[PLF_INTERFACE]:[INFO]:[src/plf_interface.c]:[402]:In plfinterface_req_handler() 402remaining cpMsg = 1
    [20200527:060541]:[PLF_INTERFACE]:[INFO]:[src/plf_interface.c]:[431]:BOOT MODE command received 1
    [20200527:060541]:[PLF_INTERFACE]:[INFO]:[src/plf_interface.c]:[434]:NORMAL BOOT
    [20200527:060541]:[FW_UPGRADE]:[INFO]:[src/fwupgrade.c]:[216]:mount | grep /dev/root > /tmp/boot_check.txt
    [20200527:060541]:[FW_UPGRADE]:[INFO]:[src/fwupgrade.c]:[219]:inside both
    [20200527:060541]:[FW_UPGRADE]:[INFO]:[src/fwupgrade.c]:[279]:inside sdcard in both
    [20200527:060541]:[FW_UPGRADE]:[INFO]:[src/fwupgrade.c]:[291]:opened /run/media/mmcblk0p1/uEnv.txt
    [20200527:060541]:[FW_UPGRADE]:[INFO]:[src/fwupgrade.c]:[294]:line[1]: emmc_boot_success=0
    [20200527:060541]:[FW_UPGRADE]:[INFO]:[src/fwupgrade.c]:[294]:line[2]: sd_boot_success=1
    [20200527:060541]:[FW_UPGRADE]:[INFO]:[src/fwupgrade.c]:[331]:SPACE 0 
    root@dra7xx-evm:/opt/its/bin# File list
    [20200527:060544]:[FW_UPGRADE]:[INFO]:[src/fwupgrade.c]:[1430]:Boot Flag Toggled Successfully
    File list
    File list
    

  • Hi Sudhi,

    Can you share your final dtb file used?

    Thanks

    RamPrasad

  • Hi RamPrasad,

    Thanks for the response. Pls find attached the final dtb file we use - dra7-evm-infoadas.dtb

    Attaching .dtb file was not allowed. Hence I have named the file extension as .txt. So once you receive could you pls rename ffile extension back to .dtb.

    Thanks & Regards,

    Sudhi

    1715.dra7-evm-infoadas.txt