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.

Writing video data on external hard disk | TDA2x

Hi Friends,

I have mounted my hard disk onto my SD card. I have used file write mechanism to write to the mounted folder.

I am able to write the file on the mounted folder on SD card but not on Hard disk. Any suggestions would be great help.

Regards,

Bharat  

  • I am using vision SDK 3.02
  • Hello Bharat,

    Can you please give more information about platform, VSDK config and whether SD is used with Linux?

    Also for file write are you using NULL link?

  • Hi Prasad,

    Attached is the config file for VSDK . Yes  SD is used with Linux?

    Yes we are using NULL link. we are getting following error while using virtual address for payload:

    ****** Segmentation fault caught ....
    Faulty address is (nil), called from 0xb6a0d129
    Totally Obtained 0 stack frames. signal number =11
    Signal number = 11, Signal errno = 0
    SI code = 1 (Address not mapped to object)
    Fault addr = (nil)
    [bt] Execution path:
    ] pgd = c0003000
    [ 200.416032] [00000104] *pgd=80000080004003, *pmd=00000000
    [ 200.416038] Internal error: Oops: a07 [#2] PREEMPT SMP ARM

    [ 200.416117] Modules linked in: memcache(O) sd_mod bc_example(O) xfrm_user xfrm4_tunnel usb_storage ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo bluetooth rpmsg_proto virtio_rpmsg_bus pvrsrvkm(O) ecb sha512_generic sha512_arm sha256_generic hmac ahci_platform md5 libahci_platform libahci sha1_generic libata sha1_arm_neon sha1_arm scsi_mod dwc3_omap omap_aes_driver omap_sham c_can_platform c_can can_dev rtc_omap omap_des omap_rng rng_core omap_remoteproc remoteproc virtio virtio_ring sch_fq_codel
    rBoadcast message from systemd-journald@dra7xx-evm (Thu 2017-08-3 07:18:36 UTC):

    kernel[907]: [ 200.096620] Process apps.out (pid: 1303, stack limit = 0xc3614210)

    [ 200.416124] CPU: 1 PID: 1305 Comm: systemd-udevd Tainted: G D O 4.4.84 #1
    [ 200.416126] Hardware name: Generic DRA74X (Flattened Device Tree)
    [ 200.416130] task: c3673c00 ti: c35c2000 task.ti: c35c2000
    [ 200.416142] PC is at remove_wait_queue+0x30/0x48
    [ 200.416145] LR is at 0x100

    rBoadcast message from systemd-journald@dra7xx-evm (Thu 2017-8-31 07:18:36 UTC):

    kernel[907]: [ 200.102824] Stack: (0xc3615db0 to 0xc3616000)
    [ 200.416150] pc : [<c00706c4>] lr : [<00000100>] psr: 600d0093
    [ 200.416150] sp : c35c3e60 ip : 00000200 fp : c35c3e74
    [ 200.416154] r10: c3a67308 r9 : 00000100 r8 : 00000200
    [ 200.416157] r7 : c3c277a4 r6 : c09b4848 r5 : c3646980 r4 : ee444aac


    [ 200.416161] r3 : 00000200 r2 : 00000100 r1 : a00d0013 r0 : c3646980

    #
    # Platform config,
    # VSDK_BOARD_TYPE=TDA2XX_RVP [options: TDA2XX_EVM TDA3XX_EVM TDA2XX_MC TDA2EX_EVM TDA3XX_RVP]
    # PLATFORM=tda2xx-rvp
    # DDR_MEM=DDR_MEM_512M [options: DDR_MEM_512M]
    #
    # Build config,
    # IPU_PRIMARY_CORE=ipu1_0 [options: ipu1_0 ipu2]
    # IPU_SECONDARY_CORE=ipu2 [options: ipu1_0 ipu2]
    # BUILD_OS=Linux [options: Windows_NT Linux]
    # A15_TARGET_OS=Linux [options: Bios Linux]
    # PROFILE=release [options: debug release]
    # BUILD_DEPENDANCY_ALWAYS=no
    # BUILD_ALGORITHMS=no
    # DEFAULT_UBOOT_CONFIG=d3_tda2x_config
    # DEFAULT_KERNEL_CONFIG=d3_tda2x_defconfig
    # DEFAULT_DTB=d3_tda2x_fpd8ch.dtb
    # BUILD_INFOADAS=no
    # IPUMM_INCLUDE=no [options: yes no]
    #
    # CPU config,
    # PROC_IPU1_0_INCLUDE=yes
    # PROC_IPU1_1_INCLUDE=no
    # PROC_IPU2_INCLUDE=no
    # PROC_DSP1_INCLUDE=yes
    # PROC_DSP2_INCLUDE=yes
    # PROC_EVE1_INCLUDE=yes
    # PROC_EVE2_INCLUDE=yes
    # PROC_EVE3_INCLUDE=no
    # PROC_EVE4_INCLUDE=no
    # PROC_A15_0_INCLUDE=yes
    #
    # Safety Module config,
    # ALG_CRC_INCLUDE=no
    # RTI_INCLUDE=no
    # ECC_FFI_INCLUDE=no
    # DCC_ESM_INCLUDE=no
    #
    # Video Module config,
    # IVAHD_INCLUDE=yes
    # VPE_INCLUDE=yes
    # ISS_INCLUDE=no
    # ISS_ENABLE_DEBUG_TAPS=no
    # DSS_INCLUDE=yes
    #
    # Other Module config,
    # NDK_PROC_TO_USE=none
    # AVBRX_INCLUDE=yes
    # FATFS_PROC_TO_USE=none
    # DCAN_INCLUDE=no
    # HCF_INCLUDE=no
    # RADAR_INCLUDE=no
    # CPU_IDLE_ENABLED=yes
    # FAST_BOOT_INCLUDE=no
    # ALG_SV_INCLUDE=yes
    # DATA_VIS_INCLUDE=no
    # ENABLE_OPENCV=no
    # OPENCL_INCLUDE=no
    # SRV_FAST_BOOT_INCLUDE=no
    # LENS_MODULE=imi
    #
    

    Regards,

    Bharta