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.

Not able to see DM365 decoded video on LCD

Other Parts Discussed in Thread: TSC2007, TVP5146, TVP7002, THS7353

Hi, all

I started working on DM365 dvsdk 4.01 kit .I am using DaVinci_PSP_03.01.

I am not able to see decoded COMPONENT output on the 7" LCD display. Please help me in resolving this issue..

however, we can see the logo picture form the kernel,and also the qtInterface demo.

Log attached below...thanks in advance

Cores: ARM 297 MHz
DDR:   243 MHz
I2C:   ready
DRAM:  128 MiB
NAND:  128 MiB
MMC:   davinci: 0, davinci: 1
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_bbt: ECC error while reading bad block table
nand_read_bbt: Bad block at 0x0000067c0000
PHY: KSZ8041TL @ 0x00, ID:0x221512
DaVinci-EMAC
Hit any key to stop autoboot:  0
TFTP from server 10.22.5.222; our IP address is 10.22.5.225
Filename 'uImage-dm365-evm.bin'.
Load address: 0x80700000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############################################################
done
Bytes transferred = 2314852 (235264 hex)
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   Linux-2.6.32.17-davinci1
   Created:      2011-06-20   3:03:12 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2314788 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.32.17-davinci1 (
root@zanget) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #205 PREEMPT Mon Jun 20 11:03:06 CST 2011
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DM365 EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci dm365_rev1.2 variant 0x8
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 13716
Kernel command line: console=ttyS0,115200n8 rw mem=54M video=davincifb:vid0=OFF:vid1=OFF:osd0=800x480x32,4050K dm365_imp.oper_mode=0   vpfe_capture.interface=0 vpfe_capture.bufsize=1843200 davinci_capture.device_type=1 vpfe_capture.cont_bufsize=6291456 davinci_enc_mngr.ch0_output=LCD davinci_enc_mngr.ch0_mode=800x480 root=/dev/nfs nfsroot=10.22.5.222:/opt/ti/targetfs ip=10.22.5.225 gatewayip=10.22.5.1 init=/linuxrc
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: 49868KB available (3872K code, 386K data, 508K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 147.86 BogoMIPS (lpj=739328)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 8 gpio irqs
NET: Registered protocol family 16
davinci_serial_init:97: failed to get UART2 clock
bio: create slab <bio-0> at 0
DM365 IPIPE initialized in Continuous mode
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
ch0 default output "LCD", mode "800x480"
ch1 default output "", mode ""
VPBE Encoder Initialized
Switching to clocksource timer0_1
musb_hdrc: version 6.0, cppi-dma, host, debug=0
musb_hdrc: USB Host mode controller at fec64000 using DMA, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
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
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
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)

setting to 32 bit
osd _RGB888, fb: 32


osd _RGB888, fb: 32


osd _RGB888, fb: 32


osd _RGB888, fb: 32


Console: switching to colour frame buffer device 100x30
davincifb davincifb.0: dm_osd0_fb:
800x480x32@0,0 with framebuffer size 4050KB
davincifb davincifb.0: dm_vid0_fb:
0x0x16@0,0 with framebuffer size 1125KB
davincifb davincifb.0: dm_osd1_fb:
800x480x4@0,0 with framebuffer size 750KB
davincifb davincifb.0: dm_vid1_fb:
0x0x16@0,0 with framebuffer size 1125KB
DM365 IPIPEIF probed
imp serializer initialized
davinci_previewer initialized
davinci_resizer initialized
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
console [ttyS0] enabled
brd: module loaded
at24 1-0050: 256 byte 24c02 EEPROM (writable)
NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Creating 8 MTD partitions on "davinci_nand.0":
0x000000000000-0x000000400000 : "bootloader"
0x000000400000-0x000000500000 : "params"
0x000000500000-0x000000800000 : "kernel"
0x000000800000-0x000001c00000 : "rootfs"
0x000001c00000-0x000001d00000 : "driver"
0x000001d00000-0x000002f00000 : "app"
0x000002f00000-0x000003300000 : "config"
0x000003300000-0x000008000000 : "ext"
davinci_nand davinci_nand.0: controller rev. 2.3
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <
maxk@qualcomm.com>
console [netcon0] enabled
netconsole: network logging started
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
input: davinci_keyscan as /devices/platform/davinci_keyscan.0/input/input0
input: TSC2007 Touchscreen as /devices/virtual/input/input1
rtc-ds1307 1-0068: rtc core: registered ds1338 as rtc0
rtc-ds1307 1-0068: 56 bytes nvram
i2c /dev entries driver
Linux video capture interface: v2.00
vivi-000: V4L2 device registered as /dev/video0
Video Technology Magazine Virtual Video Capture Board ver 0.6.0 successfully loaded.
vpfe_init
vpfe-capture: vpss clock vpss_master enabled
vpfe-capture vpfe-capture: v4l2 device registered
vpfe-capture vpfe-capture: video device registered
tvp514x 1-005d: tvp514x 1-005d decoder driver registered !!
vpfe-capture vpfe-capture: v4l2 sub device tvp5146 registered
vpfe-capture vpfe-capture: v4l2 sub device tvp7002 register fails
vpfe-capture vpfe-capture: v4l2 sub device ths7353 register fails
Trying to register davinci display video device.
layer=c2149400,layer->video_dev=c2149570
Trying to register davinci display video device.
layer=c2149800,layer->video_dev=c2149970
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
watchdog watchdog: heartbeat 60 sec
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI tlv320aic23
No device for DAI davinci-i2s
AIC23 Audio Codec 0.1
### tlv320aic23_write : reg = 0xf, value = 0x0
asoc: tlv320aic23 <-> davinci-i2s mapping ok
### tlv320aic23_write : reg = 0x5, value = 0x6
### tlv320aic23_write : reg = 0x0, value = 0x117
### tlv320aic23_write : reg = 0x1, value = 0x117
### tlv320aic23_write : reg = 0x9, value = 0x1
### tlv320aic23_write : reg = 0x4, value = 0xd4
### tlv320aic23_write : reg = 0x2, value = 0x70
### tlv320aic23_write : reg = 0x3, value = 0x70
### tlv320aic23_write : reg = 0x8, value = 0x1c
### tlv320aic23_write : reg = 0x5, value = 0x6
### tlv320aic23_write : reg = 0x6, value = 0x0
### tlv320aic23_write : reg = 0x7, value = 0x32
### tlv320aic23_write : reg = 0x6, value = 0x40
ALSA device list:
  #0: VTH ZWKJ (tlv320aic23)
TCP cubic registered
NET: Registered protocol family 17
Clocks: disable unused mmcsd0
Clocks: disable unused mmcsd1
Clocks: disable unused spi0
Clocks: disable unused spi1
Clocks: disable unused spi2
Clocks: disable unused spi3
Clocks: disable unused spi4
Clocks: disable unused pwm0
Clocks: disable unused pwm1
Clocks: disable unused pwm2
Clocks: disable unused pwm3
Clocks: disable unused timer1
Clocks: disable unused timer3
Clocks: disable unused emac
Clocks: disable unused voice_codec
Clocks: disable unused rto
Clocks: disable unused mjcp
davinci_emac_probe: using random MAC addr: 4e:26:43:40:e5:15
emac-mii: probed
rtc-ds1307 1-0068: setting system clock to 2000-01-28 18:01:02 UTC (949082462)
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
     device=eth0, addr=10.22.5.225, mask=255.0.0.0, gw=255.255.255.255,
     host=10.22.5.225, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=10.22.5.222, rootpath=
Looking up port of RPC 100003/2 on 10.22.5.222
Looking up port of RPC 100005/1 on 10.22.5.222
VFS: Mounted root (nfs filesystem) on device 0:14.
Freeing init memory: 508K
init started: BusyBox v1.13.2 (2011-01-12 19:13:34 CST)
starting pid 1008, tty '': '/etc/init.d/rcS'
Removing stale PID file /var/run/dbus/pid.
Starting system message bus: dbus.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.
CMEMK module: built on Jun 11 2011 at 19:41:56
  Reference Linux version 2.6.32
  File /opt/ti/dvsdk/linuxutils_2_25_05_11/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc7000000 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 Jun 11 2011 at 19:42:01
  Reference Linux version 2.6.32
  File /opt/ti/dvsdk/linuxutils_2_25_05_11/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
irqk initialized
EDMAK module: built on Jun 11 2011 at 19:42:02
  Reference Linux version 2.6.32
  File /opt/ti/dvsdk/linuxutils_2_25_05_11/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
mknod: /dev/dm365mmap: File exists
starting pid 1067, tty '': '/etc/init.d/rc 5'
system message bus already started; not starting.
Starting system message bus: /usr/bin/dbus-daemon is already running
1017
Starting telnet daemon.
Starting syslogd/klogd: /sbin/syslogd is already running
1030
Starting thttpd.
mknod: /dev/dm365mmap: File exists
starting pid 1100, tty '': '/usr/sbin/telnetd -l /bin/login'

Please press Enter to activate this console.
starting pid 1105, tty '/dev/ttyS0': '-/bin/sh'

# mount -a

# mount
rootfs on / type rootfs (rw)
/dev/root on / type nfs (rw,relatime,vers=2,rsize=4096,wsize=4096,namlen=255,hard,nolock,proto=udp,port=65535,timeo=11,retrans=3,sec=sys,mountport=65535,addr=10.22.5.222)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
tmpfs on /var/volatile type tmpfs (rw,relatime,size=16384k)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
tmpfs on /media/ram type tmpfs (rw,relatime,size=16384k)
sysfs on /sys type sysfs (rw,relatime)
none on /tmp type tmpfs (rw,relatime)


# /usr/share/ti/dvsdk-demos/decode -v /usr/share/ti/data/videos/davincieffect.264  -y 3 -O LCD
Using video output: Display_Output_LCD
Decode demo started.
@0x000d0b58:[T:0x4001f060] ti.sdo.dmai - [Dmai] Dmai log level set to '2'. Note that calling CERuntime_init after this point may cause unexpected change to DMAI tracing behavior.
 uiAttrs.videoStd = 9, uiAttrs.osd = 0
1 Display_create:displayStd = 1, videoStd = 8
videoOutput stand[2]:COMPONENT write to /sys/class/davinci_display/ch0/output[LCD]
using stand[8]:576P-50, write to /sys/class/davinci_display/ch0/mode[480P-60]
@0x000e9e76:[T:0x4001f060] ti.sdo.dmai - [Display] Found width=720 height=576, yres_virtual=576,xres_virtual=720, line_length=384
@0x000e9ff9:[T:0x4001f060] ti.sdo.dmai - [Display] Setting width=720 height=576, yres_virtual=576, xres_virtual=720
@0x000ea139:[T:0x4001f060] ti.sdo.dmai - davinci_v4l2 davinci_v4l2.1: Before finishing with S_FMT:
layer.pix_fmt.bytesperline = 1280,
 layer.pix_fmt.width = 1280,
 layer.pix_fmt.height = 720,
 layer.pix_fmt.sizeimage =1382400
[Display] New widavinci_v4l2 davinci_v4l2.1: pixfmt->width = 1280,
 layer->layer_info.config.line_length= 1280
dth=720, height=576, yres_virtual=576,xres_virtual=720, line_length=384
@0x000ea2ad:[T:0x4001f060] ti.sdo.dmai - [BufTab] Allocating BufTab for 1 buffers
@0x000ea5e1:[T:0x4001f060] ti.sdo.dmai - [Buffer] Set user pointer 0x40300000 (physical 0x82800000)
@0x000eac3e:[T:0x4001f060] ti.sdo.dmai - [Display] Display buffer 0 mapped to 0x40300000 has physical address 0x401509ec
@0x000eeefa:[T:0x40b35490] ti.sdo.dmai - [BufTab] Allocating BufTab for 4 buffers
@0x000ef1a7:[T:0x40b35490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x40b36000 (0x83c00000 phys)
@0x000ef44d:[T:0x40b35490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x40c88000 (0x83d52000 phys)
@0x000ef6f0:[T:0x40b35490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x40dda000 (0x83ea4000 phys)
@0x000ef96d:[T:0x40b35490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x40f2c000 (0x83ff6000 phys)
1 Display_create:displayStd = 0, videoStd = 9
Display_v4l2_create 1...
Display_v4l2_create 2...
Display_v4l2_create 3...
videoOutput stand[3]:LCD write to /sys/class/davinci_display/ch0/output[COMPONENT]
using stand[9]:720P-60, write to /sys/class/davinci_display/ch0/mode[800x480]
Display_v4l2_create 4...
Display_v4l2_create 5...
Display_v4l2_create 6...
Display_v4l2_create 7...
@0x000f1e0d:[T:0x40b35490] ti.sdo.dmai - [Display] Video output set to size 1280x720 pitch 1280 imageSize 1382400
Display_v4l2_create 8. 0x13c900
Display_v4l2_create 19..
Framecopy_create
Time_create
@0x00135495:[T:0x4187d490] ti.sdo.dmai - [Vdec2] Video decoder instance created
@0x00135720:[T:0x4187d490] ti.sdo.dmai - [Vdec2] Made XDM_SETPARAMS control call
@0x00135883:[T:0x4187d490] ti.sdo.dmai - [Vdec2] Made XDM_GETBUFINFO control call
@0x00135976:[T:0x4187d490] ti.sdo.dmai - [BufTab] Allocating BufTab for 4 buffers
@0x00135c5f:[T:0x4187d490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1645056 at 0x42b94000 (0x85209000 phys)
@0x00135f2d:[T:0x4187d490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1645056 at 0x42d26000 (0x8539b000 phys)
@0x0013622f:[T:0x4187d490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1645056 at 0x42eb8000 (0x8552d000 phys)
@0x001364c7:[T:0x4187d490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1645056 at 0x4304a000 (0x856bf000 phys)
@0x0013662a:[T:0x4187d490] ti.sdo.dmai - [Loader] Creating Loader for /usr/share/ti/data/videos/davincieffect.264 with buffer size 3365824, window size 1382912, alignment -1
@0x001379e4:[T:0x4187d490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 3365824 at 0x431dc000 (0x85851000 phys)
Rendezvous_meet
@0x001403b3:[T:0x4187d490] ti.sdo.dmai - [Buffer] Set user pointer 0x431dc000 (physical 0x85851000)
ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:01 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:02 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:03 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:04 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:06 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:07 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:08 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:09 Demo: Decode Display: 720P 60Hz Video Codec: H.264 HP Video Resolution: N/A Sound Codec: N/A Sampling Freq: N/A

  • hao wen,

    I have few questions about your query.

    • What resolution[widthxheight] does your LCD support?
    • Can the application work for HD display(COMPONENT)?

    hao wen said:
    I am not able to see decoded COMPONENT output on the 7" LCD display. Please help me in resolving this issue..

    What do you see on LCD?

    hao wen said:
    however, we can see the logo picture form the kernel,and also the qtInterface demo.

    Are you referring to LCD display here?