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.

DM365 Boot Errors

Other Parts Discussed in Thread: TSC2004, TVP5150, TVP7002, THS7353, THS7303

Hi all,

HW: DM365
SW: Linux 2.6.37 with dvsdk-4

I am trying to boot DM365 board with above mentioned software combination. It boots up and gives login prompt. But, while booting it throws errors. I want to resolve them. Please help.

Errors are highlighted.

*************************************************************************************************************************************************************************************

Boot Args:
bootargs=mem=54M vram=4M console=ttyS0,115200n8 root=/dev/nfs nfsroot=192.168.1.135:/home/ravikiran/FileSys,no
lock  init=/sbin/init rw noinitrd ip=dhcp vpfe_capture.interface=0


bootcmd=tftpboot 0x80700000 uImage;bootm 0x80700000

Boot Logs:

Using DaVinci-EMAC device
TFTP from server 192.168.1.135; our IP address is 192.168.1.187
Filename 'uImage'.
Load address: 0x80700000
Loading: #################################################################
         #################################################################
         ###########################
done
Bytes transferred = 2298076 (2310dc hex)
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   Linux-2.6.37
   Created:      2013-07-10  12:51:18 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2298012 Bytes = 2.2 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.37 (root@ppcpu064) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Wed Jul 10 18:21:15 IST 2013
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM36x EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm36x_rev1.2 variant 0x8
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 13716
Kernel command line: mem=54M vram=4M console=ttyS0,115200n8 root=/dev/nfs nfsroot=192.168.1.135:/home/ravikiran/veeranna/Install_dvsdk_2.6.37Linux/filesyste
m/FileSys,nolock  init=/sbin/init rw noinitrd ip=dhcp vpfe_capture.interface=0
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 54MB = 54MB total
Memory: 49868k/49868k available, 5428k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff000000 - 0xffe00000   (  14 MB)
    vmalloc : 0xc3800000 - 0xfea00000   ( 946 MB)
    lowmem  : 0xc0000000 - 0xc3600000   (  54 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc002f000   ( 156 kB)
      .text : 0xc002f000 - 0xc0462000   (4300 kB)
      .data : 0xc0462000 - 0xc0496500   ( 210 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptable hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 147.86 BogoMIPS (lpj=739328)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 8 gpio irqs
NET: Registered protocol family 16
EVM: HD imager video input
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
vpss vpss: dm365_vpss vpss probed
vpss vpss: dm365_vpss vpss probe success
dm365_afew_hw_init
DM365 IPIPE initialized in Continuous mode
Advanced Linux Sound Architecture Driver Version 1.0.23.
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource timer0_1
musb-hdrc: version 6.0, host, debug=0
musb-hdrc musb-hdrc: dma type: dma-cppi3
musb-hdrc musb-hdrc: MUSB HDRC host driver
musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc: USB Host mode controller at fec64000 using DMA, IRQ 12
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 97
io scheduler noop registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1d06000 IRQ41): -22
brd: module loaded
at24 1-0050: 32768 byte 24c256 EEPROM (writable)
spi_davinci spi_davinci.0: DMA: supported
spi_davinci spi_davinci.0: DMA: RX channel: 17, TX channel: 16, event queue: 3
at25 spi0.0: 8 KByte at25640 eeprom, pagesize 32
spi_davinci spi_davinci.0: Controller at 0xfec66000
davinci_mdio davinci_mdio.0: davinci mdio revision 1.4
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
console [netcon0] enabled
netconsole: network logging started
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbtest
mice: PS/2 mouse device common for all mice
tsc2004: probe of 1-0049 failed with error -121
input: DM365 EVM Controls as /devices/platform/i2c_davinci.1/i2c-1/1-0025/input/input0
i2c /dev entries driver
Linux media interface: v0.10
lirc_dev: IR Remote Control driver registered, major 253
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR RC5 (streamzap) protocol handler initialized
IR LIRC bridge handler initialized
Linux video capture interface: v2.00
vpfe_init
vpfe-capture: vpss clock vpss_master enabled
dm365_isif is registered with vpfe.
imp serializer initialized
AEW Driver initialized
AF Driver initialized
vpfe-capture vpfe-capture: v4l2 device registered
EVM: switch to tvp5150 SD video input
tvp5150 1-005d: chip found @ 0xba (DaVinci I2C adapter)

THE DRIVER IS REGISTER AT the probe function  
vpfe-capture vpfe-capture: v4l2 sub device tvp5150 registered
vpfe-capture vpfe-capture: v4l2 sub device mt9p031 register fails
EVM: switch to tvp7002 HD video input
tvp7002 1-005c: tvp7002 found @ 0x5c (DaVinci I2C adapter)
tvp7002: TVP7002 read error -121
tvp7002: probe of 1-005c failed with error -121
EVM: switch to tvp7002 HD video input
ths7353 1-002e: chip found @ 0x5c (DaVinci I2C adapter)
ths7353 1-002e: No platform data!!
ths7353: ths7353 write failed
ths7353: probe of 1-002e failed with error -121
vpbe-osd vpbe-osd: OSD sub device probe success
vpbe-venc vpbe-venc: VENC sub device probe success
vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered
ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)
write byte data failed
ths7303: probe of 1-002c failed with error -121
vpbe-v4l2 vpbe-v4l2: amplifier ths7303 failed to register
vpbe-v4l2 vpbe-v4l2: Error initing vpbe
vpbe-v4l2: probe of vpbe-v4l2 failed with error -12
vpbe-fb vpbe-fb: vpbe controller not initialized
DM365 IPIPEIF probed
watchdog watchdog: heartbeat 60 sec
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
asoc: tlv320aic3x-hifi <-> davinci-mcbsp mapping ok
ALSA device list:
  #0: DaVinci DM365 EVM
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
davinci_emac_probe: using random MAC addr: 56:d6:b5:73:14:fe
net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, id=7c0f1)
Sending DHCP requests .
PHY: 0:00 - Link is Up - 100/Full
., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.1.115
IP-Config: Complete:
     device=eth0, addr=192.168.1.115, mask=255.255.255.0, gw=192.168.1.1,
     host=192.168.1.115, domain=pathpartner.com, nis-domain=(none),
     bootserver=0.0.0.0, rootserver=192.168.1.135, rootpath=
VFS: Mounted root (nfs filesystem) on device 0:14.
Freeing init memory: 156K
INIT: version 2.86 booting
Please wait: booting...
Error opening /dev/fb0: No such device
Starting udev
udevd (1083): /proc/1083/oom_adj is deprecated, please use /proc/1083/oom_score_adj instead.
udev: starting version 141
Root filesystem already rw, not remounting
Caching udev devnodes
Populating dev cachemv: cannot rename '/tmp/devices': No such file or directory
NET: Registered protocol family 10
ALSA: Restoring mixer settings...
NOT configuring network interfaces: / is an NFS mount
Found hardware: "" "" "" "" ""
Hardware is initialized using a generic method
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #3 (No such file or directory)
tain info for control #35 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #81 (No such file or directory)
hwclock: can't open '/dev/misc/rtc': No such file or directory
Fri Feb  8 12:21:00 UTC 2013
hwclock: can't open '/dev/misc/rtc': No such file or directory
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.
CMEMK module: built on Feb  8 2013 at 11:33:51
  Reference Linux version 2.6.37
  File /datalocal/samir/arago-install/arago-tmp/work/dm365-evm-arago-linux-gnueabi/ti-linuxutils-1_2_26_02_05-r57d/linuxutils_2_26_02_05/packages/ti/sdo/linu
xutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc4000000 of size 0x4400000
heap fallback enabled - will try heap if pool buffer is not available
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83600000)
cmemk initialized
IRQK module: built on Feb  8 2013 at 11:34:15
  Reference Linux version 2.6.37
  File /datalocal/samir/arago-install/arago-tmp/work/dm365-evm-arago-linux-gnueabi/ti-linuxutils-1_2_26_02_05-r57d/linuxutils_2_26_02_05/packages/ti/sdo/linu
xutils/irq/src/module/irqk.c
irqk initialized
EDMAK module: built on Feb  8 2013 at 11:34:04
  Reference Linux version 2.6.37
  File /datalocal/samir/arago-install/arago-tmp/work/dm365-evm-arago-linux-gnueabi/ti-linuxutils-1_2_26_02_05-r57d/linuxutils_2_26_02_05/packages/ti/sdo/linu
xutils/edma/src/module/edmak.c
numid=88,iface=MIXER,name='Right PGA Mixer Mic3L Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=89,iface=MIXER,name='Right PGA Mixer Mic3R Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=96,iface=MIXER,name='Left PGA Mixer Mic3L Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=97,iface=MIXER,name='Left PGA Mixer Mic3R Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=37,iface=MIXER,name='PGA Capture Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=119,step=0
  : values=64,64
  | dBscale-min=0.00dB,step=0.50dB,mute=0
numid=28,iface=MIXER,name='HP DAC Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=118,step=0
  : values=118,118
  | dBscale-min=-59.00dB,step=0.50dB,mute=1

 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project http://arago-project.org dm365-evm ttyS0

Arago 2011.06 dm365-evm ttyS0

dm365-evm login: root
root@dm365-evm:~#
DM36x EVM # boot

  • Hi,

    Which kernel version are you using ?  I can help you with the issues related to video..

    vpfe-capture vpfe-capture: v4l2 sub device tvp5150 registered
    vpfe-capture vpfe-capture: v4l2 sub device mt9p031 register fails

    ===> This is not actually a error, If you notice the vpfe driver takes 

             a module parameter as a input (interface) the mt9p031 and tvpX share 

             the same i2c address coz of which this is used since you have choosen

            interface=0 the TVPX is registered and mt9p031 is not, so the driver is printing

           the above mentioned line. If you still don't need this o/p you can comment out the line from the capture driver and rebuild and flash :)


    tvp7002 1-005c: tvp7002 found @ 0x5c (DaVinci I2C adapter)
    tvp7002: TVP7002 read error -121
    tvp7002: probe of 1-005c failed with error -121

    ===> Does you DM365 board have a tvp7002 decoder chip on it ? Is it being enabled in menuconfig ? whats the i2c address for it ?


    ths7353 1-002e: No platform data!!
    ths7353: ths7353 write failed
    ths7353: probe of 1-002e failed with error -121

    ===> I'll check out on this why its failing...

    write byte data failed
    ths7303: probe of 1-002c failed with error -121
    vpbe-v4l2 vpbe-v4l2: amplifier ths7303 failed to register
    vpbe-v4l2 vpbe-v4l2: Error initing vpbe
    vpbe-v4l2: probe of vpbe-v4l2 failed with error -12
    vpbe-fb vpbe-fb: vpbe controller not initialized

    ====> The VPBE driver is failing because its subdevice registration is failing.. I'll look at it to as y the subdevice registration is failing.


    Error opening /dev/fb0: No such device

    ===> This is failing because the VPBE display driver failed to probe.


    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Fri Feb  8 12:21:00 UTC 2013
    hwclock: can't open '/dev/misc/rtc': No such file or directory

    ===> For this you need to enable rtc via menuconfig.

    allocated heap buffer 0xc4000000 of size 0x4400000
    heap fallback enabled - will try heap if pool buffer is not available
    CMEM Range Overlaps Kernel Physical - allowing overlap
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83600000)

    ===> This is not a error.


    Regards,

    --Prabhakar Lad

    http://www.linkedin.com/in/prabhakarlad

  • Hi Prabhakar Lad,

    First of all, thanks for your response.

    yes, I am trying to look in to the code based on your comments. Now, I have a problem with running the capture on DM365.

    As I mentioned earlier, I am using Linux 2.6.37 kernel with dvsdk_4_xx_xx_19.

    We build the driver examples using make psp_examples & make psp_examples_install cmd. It generates abinary for tvp514x_ccdc_loopback_mmap. If you try to RUN this binary on DM365 it throws below errors.

    **********************************************
    6. ENABLEing link [tvp514x]----------->[ccdc]

     userspace:source:entity =1 ,index=0 ,flags=2
     userspace:sink:
     ************************ret=0******************
    entity =2 ,indexmedia chain input should be sensor or decoder
    =0 ,flags=1[tvp514x]----------->invalid external subdev
    [ccdc]  ENABLED

     ************************ret=0******************
    7. ENABLEing link [ccdc]--------
     ************************ret=0******************
    --->[video_node]
    [ccdc]----------->[video_node]   ENABLED
    **********************************************
    failed to open /dev/video0                                         [  MY Comment: capt_fd = -1 here]
    unmapped capture buffers
    unmapped display buffers
    closing all the file descriptors. . .
    closed capture device
    closed  media device
    root@dm365-evm:/opt#

    We tried with all video dev nodes [ /dev/video0 /'dev/video1 /'dev/video2 /'dev/video3 /'dev/video4],. It throws same error in each case.  How I can make it work? Bsically I want to do so me capture using this tvp514x_ccdc_loopback_mmap.c executable.

    Please help us on this.

  • Hi,

    1: First of all can you post the bootargs which you are passing to it.

    2: Can attach the boot log of it.

    3: Also attach the o/p of mc_enumarate example which is present in dvsdk.

    Regards,

    --Prabhakar Lad

    http://in.linkedin.com/in/prabhakarlad

  • Hi Prabhakar Lad,

    Thanks for your support here. I am able to capture proper video using tvp5150_ccdc_loopback_mmap.c test application.

    But this is working only if I connect NTSC input. Since the tvp5150_ccdc_loopback_mmap.c test application assumes NTSC input, I change it to PAL input with 768x576.
    It stops with error "failed to start streaming on capture device"

    Awaiting your input on this.

  • Hi,

    "failed to start streaming on capture device"

    Just this above message, wont help me lot to exactly tell what might have happened.

    Can you just make sure that the input source connected is PAL only.  And if you can attach

    what all changes you have done to that would be easier to debug (the diff).

    Also paste the kernel messages( you can get kernel messages by pieing the o/p

    of application to a txt file and whatever comes onto terminal are kernel messages)

    Regards,

    --Prabhakar Lad

    http://www.linkedin.com/in/prabhakarlad

  • Hi Prabhakar Lad,

    Please can you help us to debug below gstreamer issue? (Logs attached below)
    input is 720*576 PAL from dvd player.

    root@dm365-evm:~# gst-launch-0.10 TIDmaiVideoSrc videoStd=D1_PAL videoInput=comp
    osite ! fakesink  gst-launch-0.10 TIDmaiVideoSrc videoStd=D1_PAL videoInput=comp
    osite ! fakesink
    CMEM Debug: init: entered - ref_count 0, cmem_fd -2
    CMEM Debug: init: successfully opened /dev/cmem, matching driver version...
    CMEM Debug: getVersion: entered
    CMEM Debug: getVersion: exiting, ioctl CMEM_IOCGETVERSION returned 0x3000100
    CMEM Debug: init: ... match good (0x3000100)
    CMEM Debug: init: exiting, returning success
    CMEM Debug: getNumBlocks: entered
    CMEM Debug: getNumBlocks: exiting, ioctl CMEM_IOCGETNUMBLOCKS succeeded, returning *pnblocks=2
    CMEM Debug: init: entered - ref_count 1, cmem_fd 3
    CMEM Debug: init: /dev/cmem already opened, incremented ref_count 2
    CMEM Debug: alloc: entered w/ size 0x7000, params - type POOL, flags NONCACHED, align 0x1 (default)
    CMEM Debug: getPool2: entered w/ size 0x7000
    CMEM Debug: getPool: exiting, ioctl CMEM_IOCGETPOOL succeeded, returning 0
    CMEM Error: PP AMAR: cmd=1 param->flags=0 CMEM_IOCALLOC=1 poolid=0 blockid=1 CMEM_IOCMAGIC=65024
    CMEM Debug: allocPool: allocated phys buffer 0x1000, size 0x7000
    CMEM
     ************************ret=0******************
     Debug: allocPool: mmap succeede
     ************************ret=0******************
    d, returning virt buffer 0x40a32
     ************************ret=0******************
    000
    CMEM Debug:
     ************************ret=0******************
     getPhys: entered w/ addr 0x40a3PATHPARTNER: vpfe_video.c vpfe_cfg->sub_devs[i].module_name=tvp5150 1-005d subdev->name=tvp51
    50 1-005d i=0 vpfe_cfg->num_subdevs=4
    2000
    CMEM Debug: getPhys: exitiEVM: switch to tvp5150 SD video input
    ng, ioctl CMEM_I
     PATHPARTNER: vpfe_s_input() input=0 output=0.....................................
    OCGETPHYS succee
     PATHPARTNER: tvp5150_s_routing() input=0 output=0
    x1000
    CMEM file default -------PATHPARTNER: Selecting video route: route input=0, output=0 => tvp5150 input=0, opmode=0
    ---------CMEM file default -----

    PATHPARTNER: val=65 (val|0x08)=73

    -----------CMEM file default ---
     PATHPARTNER: vpfe_s_input() inps->std=0 index=45311 ..............................
    -------------CME
    PATHPARTNER: VIDIOC_S_INPUT *i=0.........................................
    M file default ----------------C
    PATHPARTNER: RK tvp5150_querystd 1......................
    MEM file default
    RAVI: Auto swith bit is not set detected VI_STD is 0
     ----------------Setting pipelinKVA Auto switch bit is 0
    e to PAUSED ...
    CMEM Debug: allPATHPARTNER: KVA Auto switch set: video standard is 0 1
    oc: entered w/ sRAVI: Auto switch not set: video standard is 0 std_status=1 VIDEO_STD_MASK=15
    ize 0xca800, params - type POOL,PATHPARTNER: Current STD: NTSC std_id=45056 current_std=1 flags NONCACHEDamar:tvp5150_s_std -
    ------begin, align 0xffffff
    PATHPARTNER: std0=4 std1=2 std=608 decoder->norm=45056
    ff
    CMEM Debug: getPool2: entered w/ size 0xca80Unable to handle kernel NULL pointer dereference at virtual address 00000000
    0
    CMEM Debug: gpgd = c14f8000
    etPool: exiting,[00000000] *pgd=814c1031 ioctl CMEM_IOCG, *pte=00000000ETPOOL succeeded, *ppte=00000000, returning -2

    CMEM Debug: alloInternal error: Oops: 17 [#5] PREEMPT
    last sysfs file: /sys/kernel/uevent_seqnum
    Modules linked in: dm365mmap edmak irqk cmemk ipv6
    CPU: 0    Tainted: G      D      (2.6.37 #63)
    PC is at dm365_aew_ioctl+0x2c/0x1ac
    LR is at aew_ioctl+0x28/0x34
    pc : [<c0264dfc>]    lr : [<c02531e8>]    psr: 60000013
    sp : c31d9d80  ip : c31d9d80  fp : c31d9de4
    r10: c04beb94  r9 : 00000000  r8 : c31d9e28
    r7 : c30dcdc0  r6 : c0085204  r5 : 00000000  r4 : 00000000
    r3 : 03650000  r2 : c31d9e28  r1 : c0085204  r0 : c31cdd50
    Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    Control: 0005317f  Table: 814f8000  DAC: 00000015
    Process gst-launch-0.10 (pid: 1394, stack limit = 0xc31d8270)
    Stack: (0xc31d9d80 to 0xc31da000)
    9d80: c31d9db4 c31d9d90 c0246d90 c02233f8 c31cdde8 c31e0880 c31cdde8 c31cde40
    9da0: 00000000 c31e0880 c31d9dd4 c31d9db8 c023dd78 c0246c94 00000000 00000000
    9dc0: c0085204 c31d9e28 c31e0880 00000000 00000000 c31d9e28 c31d9df4 c31d9de8
    9de0: c02531e8 c0264de0 c31d9e14 c31d9df8 c024725c c02531d0 c0085204 00000008
    9e00: 00000000 c0085204 c31d9ed4 c31d9e18 c023e998 c0246e78 c0246e68 beaaacdc
    9e20: c31e0880 00000003 00000001 00000000 c31d9e54 c31d9e40 c00b26b0 c00c2528
    9e40: c31d9ec8 00000000 c2c0b380 00200200 c31d9e74 c31d9e60 c00bafb0 c01814d0
    9e60: c31d9edc 00000000 c31d9e8c c31d9e78 c00b26b0 c00c2528 00000000 c31e0880
    9e80: c31d9f5c c31d9e90 c00b6134 c00b268c 00000000 c32cf000 c003df04 c31d9f20
    9ea0: c31d9f28 c31d9edc c31d9edc c31e0880 c31cdde8 c0085204 c0085204 beaaacdc
    9ec0: c31d8000 00000000 c31d9ee4 c31d9ed8 c0246e60 c023e6cc c31d9f0c c31d9ee8
    9ee0: c023da58 c0246e5c c31d8000 c32f8380 c31e0880 c0085204 c31e0880 beaaacdc
    9f00: c31d9f7c c31d9f10 c00b7ab0 c023d9e0 00000000 c003df04 c31d9f3c c31d9f28
    9f20: c003df04 c0031e54 00000000 c252c480 c31d9f5c c31d9f40 c00a7570 c003de5c
    9f40: 00000020 00000020 c32f8380 c31e0888 c31d9f94 00000008 beaaacdc c0085204
    9f60: c31e0880 c00301a4 c31d8000 00000000 c31d9fa4 c31d9f80 c00b7b60 c00b7568
    9f80: c31d8000 00000000 00000003 000ca800 0001cd70 00000036 00000000 c31d9fa8
    9fa0: c0030020 c00b7b30 00000003 000ca800 00000008 c0085204 beaaacdc 00000008
    9fc0: 00000003 000ca800 0001cd70 00000036 00091b60 000e41c0 0000121c beaaacf4
    9fe0: beaac294 beaaab88 40661380 40539b0c 00000010 00000008 fe6fffee 014c3481
    Backtrace:
    [<c0264dd0>] (dm365_aew_ioctl+0x0/0x1ac) from [<c02531e8>] (aew_ioctl+0x28/0x34)
    [<c02531c0>] (aew_ioctl+0x0/0x34) from [<c024725c>] (subdev_do_ioctl+0x3f4/0x438)
    [<c0246e68>] (subdev_do_ioctl+0x0/0x438) from [<c023e998>] (__video_usercopy+0x2dc/0x40c)
     r6:c0085204 r5:00000000 r4:00000008
    [<c023e6bc>] (__video_usercopy+0x0/0x40c) from [<c0246e60>] (subdev_ioctl+0x14/0x1c)
    [<c0246e4c>] (subdev_ioctl+0x0/0x1c) from [<c023da58>] (v4l2_ioctl+0x88/0x138)
    [<c023d9d0>] (v4l2_ioctl+0x0/0x138) from [<c00b7ab0>] (do_vfs_ioctl+0x558/0x5c8)
     r8:beaaacdc r7:c31e0880 r6:c0085204 r5:c31e0880 r4:c32f8380
    [<c00b7558>] (do_vfs_ioctl+0x0/0x5c8) from [<c00b7b60>] (sys_ioctl+0x40/0x64)
    [<c00b7b20>] (sys_ioctl+0x0/0x64) from [<c0030020>] (ret_fast_syscall+0x0/0x2c)
     r7:00000036 r6:0001cd70 r5:000ca800 r4:00000003
    Code: e1a06001 e5975004 e1a08002 e1a04005 (e8b4000f)
    cHeap: allocated phys buffer 0x83c00000
    CMEM Debug: allocHeap: mmap succeeded, returning virt buffer 0x4094f000
    CMEM Debug: ge---[ end trace edf901cd6e8a41e9 ]---
    tPhys: entered w/ addr 0x4094f000
    CMEM Debug: getPhys: exiting, ioctl CMEM_IOCGETPHYS succeeded, returning 0x83c00000
    CMEM Debug: alloc: entered w/ size 0xca800, params - type POOL, flags NONCACHED, align 0xffffffff
    CMEM Debug: getPool2: entered w/ size 0xca800
    CMEM Debug: getPool: exiting, ioctl CMEM_IOCGETPOOL succeeded, returning -2
    CMEM Debug: allocHeap: allocated phys buffer 0x83ccb000
    CMEM Debug: allocHeap: mmap succeeded, returning virt buffer 0x40b08000
    CMEM Debug: getPhys: entered w/ addr 0x40b08000
    CMEM Debug: getPhys: exiting, ioctl CMEM_IOCGETPHYS succeeded, returning 0x83ccb000
    CMEM Debug: alloc: entered w/ size 0xca800, params - type POOL, flags NONCACHED, align 0xffffffff
    CMEM Debug: getPool2: entered w/ size 0xca800
    CMEM Debug: getPool: exiting, ioctl CMEM_IOCGETPOOL succeeded, returning -2
    CMEM Debug: allocHeap: allocated phys buffer 0x83d96000
    CMEM Debug: allocHeap: mmap succeeded, returning virt buffer 0x40c57000
    CMEM Debug: getPhys: entered w/ addr 0x40c57000
    CMEM Debug: getPhys: exiting, ioctl CMEM_IOCGETPHYS succeeded, returning 0x83d96000
    CMEM file default ----------------CMEM file default ----------------CMEM file default ----------------CMEM file default -----
    -----------CMEM file default ----------------CMEM file default ----------------CMEM file default ----------------CMEM file de
    fault ----------------CMEM file default ----------------AMAR: capture_create---------------------> begin DM365
     AMAR: capture_create---------------------> begin DM365
     amar:Enabling link [Composite]===>[ccdc]
    amar:[Composite] i/p ===>[ccdc] enabled
    amar:[ccdc]----------->[prv]    ENABLED
    amar:[prv]----------->[rsz]     ENABLED
    amar:Enabling link [resizer]===>[video_node]
    amar:[resizer]===>[video_node]  enabled
    width and height are 736 576

     Resizer dimension is set to 736x576
    amar:SET_STD done,--- begin GET_STD

     amar:GET_STD------ done
    amar:Found NTSC std input
    amar:Capture input set to Composite.  Standard: 5
    dmai return OKamar: Capture_detectVideoStd----------end videoStdOld=6 viddeoStd=5New video standard detected. Not the user sp
    ecified standard. Please provide the same standard of the input connected!!!
    New video standard detected. Not the user specified standard. Please provide the same standard of the input connected!!!
    Forcing user specified video standard
    amar:Configure_Resizer_Previewer ------begin
    Segmentation fault
    root@dm365-evm:~#
    ded, returning 0PATHPARTNER: tvp5150_selmux(): ***************************

  • Solution to above querry of gst crash is simple. Only we need to make sure that we are selecting proper devices and subdevices as explained in psp user guide.