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.

TMS320 EVM: Matrix-gui-e and /DMAI apps not working with DVSDK_4.03 04_03_00_06

Other Parts Discussed in Thread: ADS7846, WL1271, DM3730, TVP5146M2, TVP5146

HI ,

I upgraded to DVSDK_4.03 04_03_00_06 from DVSDK_4.02 4_02_00_06, as the support for wireless drivers is better in the new one. Though the wireless radio/drivers are working smoothly. However, now neither Matrix-gui-e app is working (I mean nothing appears on the LCD screen) nor the DMAI apps are working. E.g. loopback app of displaying composite video input on LCD. These applications work fine when I boot the EVM with the SD card with older DVSDK. Below is screen capture from Tera Term (with new DVSDK)

I also downgraded the ARM Frequency to 600MHz as noted in the post: http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/537/t/160628.aspx. However no effect.

Also, below is the trace from my EVM ( Mistral REV-G ).

        OMAP3_EVM # md 0x4800244C 1
        4800244c: 00000e00    ....
        OMAP3_EVM #

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

Texas Instruments X-Loader 1.51 (Dec 22 2011 - 23:00:39)
Starting X-loader on MMC
Reading boot sector

229036 Bytes Read from MMC
Starting OS Bootloader from MMC...
Starting OS Bootloader...


U-Boot 2010.06 (Apr 06 2012 - 16:08:05)

OMAP34xx/35xx-GP ES2.1, CPU-OPP2 L3-165MHz
OMAP3 EVM board + LPDDR/NAND
I2C:   ready
DRAM:  256 MiB
NAND:  HW ECC [Kernel/FS layout] selected
512 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Read back SMSC id 0x92200000
Die ID #11d400029ff800000168300d1002b026
Net:   smc911x-0
Hit any key to stop autoboot:  0
mmc1 is available
reading boot.scr

302 bytes read
Running bootscript from mmc ...
## Executing script at 82000000
reading uImage

3289936 bytes read
## Booting kernel from Legacy Image at 80200000 ...
   Image Name:   Arago/2.6.37-psp04.02.00.07.sdk/
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3289872 Bytes = 3.1 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.37 (a0876316@bangdvsdkdev01) (gcc version 4.3.3 (GCC) ) #1 Thu Dec 22 23:02:19 IST 2011
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: OMAP3 EVM
[    0.000000] Reserving 4194304 bytes SDRAM for VRAM
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
[    0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 45312
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw ip=off mem=55M@0x80000000 mpurate=1000  omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:4M mem=128M@0x88000000 rootwait
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 55MB 124MB = 179MB total
[    0.000000] Memory: 167756k/167756k available, 19636k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc003f000   ( 220 kB)
[    0.000000]       .text : 0xc003f000 - 0xc06254ec   (6042 kB)
[    0.000000]       .data : 0xc0626000 - 0xc07e8560   (1802 kB)
[    0.000000] NR_IRQS:409
[    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
[    0.000000] omap_hwmod: i2c1: softreset failed (waited 10000 usec)
[    0.000000] omap_hwmod: i2c2: softreset failed (waited 10000 usec)
[    0.000000] omap_hwmod: i2c3: softreset failed (waited 10000 usec)
[    0.000000] Reprogramming SDRC clock to 400000000 Hz
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[    0.000000] Total of 96 interrupts on 1 active controller
[    0.000000] GPMC revision 5.0
[    0.000000] Trying to install interrupt handler for IRQ402
[    0.000000] Trying to install interrupt handler for IRQ403
[    0.000000] Trying to install interrupt handler for IRQ404
[    0.000000] Trying to install interrupt handler for IRQ405
[    0.000000] Trying to install interrupt handler for IRQ406
[    0.000000] Trying to install interrupt handler for IRQ407
[    0.000000] Trying to install interrupt handler for IRQ408
[    0.000000] Trying to install type control for IRQ409
[    0.000000] Trying to set irq flags for IRQ409
[    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     16384
[    0.000000] ... MAX_LOCKDEP_CHAINS:      32768
[    0.000000] ... CHAINHASH_SIZE:          16384
[    0.000000]  memory used by lock dependency info: 3951 kB
[    0.000000]  per task-struct memory footprint: 2304 bytes
[    0.000000] Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
[    0.000000] pid_max: default: 32768 minimum: 301
[    0.000000] Security Framework initialized
[    0.000000] Mount-cache hash table entries: 512
[    0.000000] CPU: Testing write buffer coherency: ok
[    0.000000] regulator: core version 0.5
[    0.000000] regulator: dummy:
[    0.000000] NET: Registered protocol family 16
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] omap_mux_init: Add partition: #1: core, flags: 0
[    0.000000] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: at arch/arm/mach-omap2/clock.c:438 omap2_clk_switch_mpurate_at_boot+0x80/0xb4()
[    0.000000] clock: dpll1_ck: unable to set MPU rate to 1000: -22
[    0.000000] Modules linked in:
[    0.000000] [<c004faf0>] (unwind_backtrace+0x0/0xec) from [<c00790c4>] (warn_slowpath_common+0x4c/0x64)
[    0.000000] [<c00790c4>] (warn_slowpath_common+0x4c/0x64) from [<c0079170>] (warn_slowpath_fmt+0x30/0x40)
[    0.000000] [<c0079170>] (warn_slowpath_fmt+0x30/0x40) from [<c00138ac>] (omap2_clk_switch_mpurate_at_boot+0x80/0xb4)
[    0.000000] [<c00138ac>] (omap2_clk_switch_mpurate_at_boot+0x80/0xb4) from [<c00138ec>] (omap3xxx_clk_arch_init+0xc/0x3c)
[    0.000000] [<c00138ec>] (omap3xxx_clk_arch_init+0xc/0x3c) from [<c003f3c8>] (do_one_initcall+0xc8/0x198)
[    0.000000] [<c003f3c8>] (do_one_initcall+0xc8/0x198) from [<c000869c>] (kernel_init+0x98/0x150)
[    0.000000] [<c000869c>] (kernel_init+0x98/0x150) from [<c004ad10>] (kernel_thread_exit+0x0/0x8)
[    0.000000] ---[ end trace 1b75b31a2719ed1c ]---
[    0.000000] OMAP DMA hardware revision 5.0
[    0.116851] bio: create slab <bio-0> at 0
[    0.121643] regulator: vwl1271: 1800 mV
[    0.127136] SCSI subsystem initialized
[    0.139923] usbcore: registered new interface driver usbfs
[    0.141265] usbcore: registered new interface driver hub
[    0.142150] usbcore: registered new device driver usb
[    0.146972] omap_device: omap_i2c.1: new worst case activate latency 0: 30517
[    0.162353] omap_i2c omap_i2c.1: bus 1 rev4.0 at 2600 kHz
[    0.173400] twl4030: PIH (irq 7) chaining IRQs 368..375
[    0.173583] twl4030: power (irq 373) chaining IRQs 376..383
[    0.175872] twl4030: gpio (irq 368) chaining IRQs 384..401
[    0.192718] regulator: VIO: 1800 mV normal standby
[    0.195495] regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
[    0.198272] regulator: VDAC: 1800 mV normal standby
[    0.200927] regulator: VAUX2_4030: 2800 mV normal standby
[    0.203765] regulator: VPLL2: 1800 mV normal standby
[    0.206451] regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
[    0.209228] regulator: VAUX3: 2800 mV normal standby
[    0.210327] omap_device: omap_i2c.1: new worst case deactivate latency 0: 30517
[    0.224761] omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
[    0.240356] omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 kHz
[    0.246490] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.250366] Bluetooth: Core ver 2.15
[    0.251129] NET: Registered protocol family 31
[    0.251159] Bluetooth: HCI device and connection manager initialized
[    0.251312] Bluetooth: HCI socket layer initialized
[    0.253662] Switching to clocksource 32k_counter
[    0.376831] musb-hdrc: version 6.0, otg (peripheral+host), debug=0
[    0.377197] musb-hdrc musb-hdrc.0: dma type: dma-inventra
[    0.378234] musb-hdrc musb-hdrc.0: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[    0.380310] NET: Registered protocol family 2
[    0.380889] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.382598] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.383026] TCP bind hash table entries: 8192 (order: 6, 360448 bytes)
[    0.387329] TCP: Hash tables configured (established 8192 bind 8192)
[    0.387420] TCP reno registered
[    0.387451] UDP hash table entries: 128 (order: 1, 12288 bytes)
[    0.387756] UDP-Lite hash table entries: 128 (order: 1, 12288 bytes)
[    0.388732] NET: Registered protocol family 1
[    0.390197] RPC: Registered udp transport module.
[    0.390197] RPC: Registered tcp transport module.
[    0.390228] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.391174] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.394805] omap_device: omap_i2c.1: new worst case activate latency 0: 91552
[    0.397674] omap3evm camera init done successfully...
[    0.398345] omap-iommu omap-iommu.0: isp registered
[    0.399169] AM37x/DM37x  Linux PSP version 04.02.00.07 (OMAP3EVM)
[    0.568237] VFS: Disk quotas dquot_6.5.2
[    0.568359] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.570800] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.571807] msgmni has been set to 327
[    0.577606] io scheduler noop registered
[    0.577636] io scheduler deadline registered
[    0.577819] io scheduler cfq registered (default)
[    0.636901] OMAP DSS rev 2.0
[    0.637390] OMAP DISPC rev 3.0
[    0.637512] OMAP VENC rev 2
[    0.638580] OMAP DSI rev 1.0
[    0.968719] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.976928] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[    1.820983] console [ttyO0] enabled
[    1.826782] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[    1.835693] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[    1.844573] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
[    1.895416] brd: module loaded
[    1.919372] loop: module loaded
[    1.931365] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.938293] omap2-nand driver initializing
[    1.943298] NAND device: Manufacturer ID: 0xad, Chip ID: 0xbc (Hynix )
[    1.950286] Creating 5 MTD partitions on "omap2-nand.0":
[    1.955871] 0x000000000000-0x000000080000 : "X-Loader-NAND"
[    1.970733] 0x000000080000-0x0000001c0000 : "U-Boot-NAND"
[    1.983276] 0x0000001c0000-0x000000280000 : "Boot Env-NAND"
[    1.995697] 0x000000280000-0x000000780000 : "Kernel-NAND"
[    2.009765] 0x000000780000-0x000020000000 : "File System - NAND"
[    2.277801] OneNAND driver initializing
[    2.282165] omap2-onenand omap2-onenand: Cannot request GPMC CS
[    2.288665] omap2-onenand: probe of omap2-onenand failed with error -16
[    2.299774] smsc911x: Driver version 2008-10-21.
[    2.311737] smsc911x-mdio: probed
[    2.315704] eth0: attached PHY driver [SMSC LAN8700] (mii_bus:phy_addr=ffffffff:01, irq=-1)
[    2.326019] net eth0: MAC Address: 00:50:c2:d9:d0:27
[    2.332916] usbcore: registered new interface driver asix
[    2.339233] usbcore: registered new interface driver cdc_ether
[    2.346099] usbcore: registered new interface driver net1080
[    2.352783] usbcore: registered new interface driver cdc_subset
[    2.359710] usbcore: registered new interface driver zaurus
[    2.365661] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.378814] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[    3.386688] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[    3.395202] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[    3.410156] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[    3.417083] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.424285] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.431915] usb usb1: Product: OMAP-EHCI Host Controller
[    3.437530] usb usb1: Manufacturer: Linux 2.6.37 ehci_hcd
[    3.443237] usb usb1: SerialNumber: ehci-omap.0
[    3.453216] hub 1-0:1.0: USB hub found
[    3.457458] hub 1-0:1.0: 3 ports detected
[    3.496948] Initializing USB Mass Storage driver...
[    3.502929] usbcore: registered new interface driver usb-storage
[    3.509307] USB Mass Storage support registered.
[    3.515014] usbcore: registered new interface driver usbtest
[    3.521148] g_ether gadget: using random self ethernet address
[    3.527343] g_ether gadget: using random host ethernet address
[    3.535675] usb0: MAC d6:08:a7:4e:4d:7a
[    3.539703] usb0: HOST MAC 9a:6c:ed:3e:8b:8e
[    3.544311] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    3.551361] g_ether gadget: g_ether ready
[    3.555572] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[    3.561737] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[    3.570617] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    3.577850] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.585449] usb usb2: Product: MUSB HDRC host driver
[    3.590728] usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
[    3.596374] usb usb2: SerialNumber: musb-hdrc.0
[    3.604797] hub 2-0:1.0: USB hub found
[    3.608978] hub 2-0:1.0: 1 port detected
[    3.618591] mice: PS/2 mouse device common for all mice
[    3.627868] input: TWL4030 Keypad as /devices/platform/omap/omap_i2c.1/i2c-1/1-004a/twl4030_keypad/input/input0
[    3.648376] ads7846 spi1.0: touchscreen, irq 335
[    3.656005] input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input1
[    3.672546] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input2
[    3.688018] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[    3.697967] i2c /dev entries driver
[    3.707550] Linux media interface: v0.10
[    3.712371] Linux video capture interface: v2.00
[    3.720062] omap3isp supply VDD_CSIPHY1 not found, using dummy regulator
[    3.727264] omap3isp supply VDD_CSIPHY2 not found, using dummy regulator
[    3.734893] omap3isp omap3isp: Revision 15.0 found
[    3.740356] omap-iommu omap-iommu.0: isp: version 1.1
[    3.821166] mt9t111 2-003c: Unable to detectmt9t111sensor
[    3.834075] isp_register_subdev_group: Unable to register subdev mt9t111
[    3.843078] tvp514x 3-005c: tvp514x 3-005c decoder driver registered !!
[    3.851593] tvp514x 3-005c: Write: retry ... 0
[    3.879028] tvp514x 3-005c: Write: retry ... 1
[    3.902465] tvp514x 3-005c: Write: retry ... 2
[    3.925903] tvp514x 3-005c: Write: retry ... 3
[    3.949371] tvp514x 3-005c: Write: retry ... 4
[    3.972778] tvp514x 3-005c: Write: retry ... 5
[    3.996215] tvp514x 3-005c: Write failed. Err[-121]
[    4.001312] tvp514x 3-005c: Unable to turn on decoder
[    4.006866] tvp514x 3-005c: Read: retry ... 0
[    4.027496] tvp514x 3-005c: Read: retry ... 1
[    4.050933] tvp514x 3-005c: Read: retry ... 2
[    4.074340] tvp514x 3-005c: Read: retry ... 3
[    4.097778] tvp514x 3-005c: Read: retry ... 4
[    4.121215] tvp514x 3-005c: Read: retry ... 5
[    4.144653] tvp514x 3-005c: Unable to query std
[    4.151000] usbcore: registered new interface driver uvcvideo
[    4.157104] USB Video Class driver (v1.0.0)
[    4.161926] omap_device: omap_wdt.-1: new worst case activate latency 0: 30517
[    4.171447] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[    4.177886] omap_device: omap_wdt.-1: new worst case deactivate latency 0: 30517
[    4.186492] Bluetooth: HCI UART driver ver 2.2
[    4.191162] Bluetooth: HCI H4 protocol initialized
[    4.196258] Bluetooth: HCILL protocol initialized
[    4.211730] mmci-omap-hs.1 supply vmmc_aux not found, using dummy regulator
[    4.226806] usbcore: registered new interface driver usbhid
[    4.232727] usbhid: USB HID core driver
[    4.240325] usbcore: registered new interface driver snd-usb-audio
[    4.251922] OMAP3 EVM SoC init
[    4.351226] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
[    4.365020] ALSA device list:
[    4.368133]   #0: omap3evm
[    4.371063] oprofile: hardware counters not available
[    4.376373] oprofile: using timer interrupt.
[    4.381103] nf_conntrack version 0.5.0 (2621 buckets, 10484 max)
[    4.389251] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.395660] TCP cubic registered
[    4.399047] Initializing XFRM netlink socket
[    4.403808] NET: Registered protocol family 17
[    4.408599] NET: Registered protocol family 15
[    4.414184] Bluetooth: L2CAP ver 2.15
[    4.418121] Bluetooth: L2CAP socket layer initialized
[    4.423492] Bluetooth: SCO (Voice Link) ver 0.6
[    4.428283] Bluetooth: SCO socket layer initialized
[    4.433990] Bluetooth: RFCOMM TTY layer initialized
[    4.439147] Bluetooth: RFCOMM socket layer initialized
[    4.444610] Bluetooth: RFCOMM ver 1.11
[    4.448547] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.454162] Bluetooth: BNEP filters: protocol multicast
[    4.459686] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    4.467956] Registering the dns_resolver key type
[    4.473571] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    4.486328] ThumbEE CPU extension supported.
[    4.506927] Power Management for TI OMAP3.
[    4.512023] sr_init: No PMIC hook to init smartreflex
[    4.517822] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
[    4.526763] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
[    4.537384] SmartReflex Class3 initialized
[    4.586090] clock: disabling unused clocks to save power
[    4.594207] platform mpu.0: omap_voltage_scale: Already at the requestedrate 600000000
[    4.703155] twl_rtc twl_rtc: setting system clock to 2011-12-23 00:57:38 UTC (1324601858)
[    4.712158] omap_vout omap_vout: Buffer Size = 3686400
[    4.732025] omap_vout omap_vout: : registered and initialized video device 16
[    4.739654] omap_vout omap_vout: Buffer Size = 3686400
[    4.747406] omap_vout omap_vout: : registered and initialized video device 17
[    4.760009] Waiting for root device /dev/mmcblk0p2...
[    4.793060] mmc0: new SD card at address aaaa
[    4.800445] mmcblk0: mmc0:aaaa SU02G 1.84 GiB
[    4.818725]  mmcblk0: p1 p2
[    4.905151] EXT3-fs: barriers not enabled
[    4.919006] kjournald starting.  Commit interval 5 seconds
[    4.940704] EXT3-fs (mmcblk0p2): using internal journal
[    4.946868] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    4.954681] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    4.961212] Freeing init memory: 220K
[    4.971160] mmc1: card claims to support voltages below the defined range. These will be ignored.
[    5.008361] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[    5.018310] mmc1: new SDIO card at address 0001
INIT: version 2.86 booting
Please wait: booting...
Starting udev
[    6.145019] udevd (737): /proc/737/oom_adj is deprecated, please use /proc/737/oom_score_adj instead.
[    7.763061] cfg80211: Calling CRDA to update world regulatory domain
[    7.938232] Compat-wireless backport release: compat-wireless-2011-04-26-3-g6542f4c
[    7.946350] Backport based on wl12xx.git v2.6.35-33527-g1bbadc2
[   14.746765] cfg80211: World regulatory domain updated:
[   14.752166] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   14.761047] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.769409] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.777770] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.786102] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.794464] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   20.188446] wl1271: loaded
[   20.191375] wl1271: initialized
Remounting root file system...
Caching udev devnodes
Populating dev cachemv: cannot rename '/tmp/devices': No such file or directory
ALSA: Restoring mixer settings...
Configuring network interfaces... [   24.042694] net eth0: SMSC911x/921x identified at 0xd0884000, IRQ: 336
eth0      no wireless extensions.

udhcpc (v1.13.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Setting up IP spoofing protection: rp_filter.
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Dropbear SSH server: dropbear.
Starting telnet daemon.
Starting network benchmark server: netserver.
Starting syslogd/klogd: done
Starting thttpd.
Starting PVR
[   35.718780]
[   35.718780] =============================================
[   35.726013] [ INFO: possible recursive locking detected ]
[   35.731658] 2.6.37 #1
[   35.734039] ---------------------------------------------
[   35.739715] pvrsrvinit/2188 is trying to acquire lock:
[   35.745086]  (psPVRSRVMutex){+.+.+.}, at: [<bf111bc8>] PVRMMapRegisterArea+0x14/0x68 [pvrsrvkm]
[   35.754394]
[   35.754425] but task is already holding lock:
[   35.760528]  (psPVRSRVMutex){+.+.+.}, at: [<bf114b34>] PVRSRV_BridgeDispatchKM+0x20/0x16c [pvrsrvkm]
[   35.770233]
[   35.770233] other info that might help us debug this:
[   35.777069] 1 lock held by pvrsrvinit/2188:
[   35.781463]  #0:  (psPVRSRVMutex){+.+.+.}, at: [<bf114b34>] PVRSRV_BridgeDispatchKM+0x20/0x16c [pvrsrvkm]
[   35.791595]
[   35.791625] stack backtrace:
[   35.796203] [<c004faf0>] (unwind_backtrace+0x0/0xec) from [<c00a91ac>] (__lock_acquire+0xf98/0x18d0)
[   35.805816] [<c00a91ac>] (__lock_acquire+0xf98/0x18d0) from [<c00a9bb8>] (lock_acquire+0xd4/0xf4)
[   35.815124] [<c00a9bb8>] (lock_acquire+0xd4/0xf4) from [<c047375c>] (mutex_lock_nested+0x5c/0x2d8)
[   35.824615] [<c047375c>] (mutex_lock_nested+0x5c/0x2d8) from [<bf111bc8>] (PVRMMapRegisterArea+0x14/0x68 [pvrsrvkm])
[   35.835815] [<bf111bc8>] (PVRMMapRegisterArea+0x14/0x68 [pvrsrvkm]) from [<bf114944>] (OSAllocPages_Impl+0x68/0xa4 [pvrsrvkm])
[   35.847930] [<bf114944>] (OSAllocPages_Impl+0x68/0xa4 [pvrsrvkm]) from [<bf10b2e8>] (BM_ImportMemory+0xe4/0x290 [pvrsrvkm])
[   35.859741] [<bf10b2e8>] (BM_ImportMemory+0xe4/0x290 [pvrsrvkm]) from [<bf10fb0c>] (RA_Alloc+0xb4/0x288 [pvrsrvkm])
[   35.870819] [<bf10fb0c>] (RA_Alloc+0xb4/0x288 [pvrsrvkm]) from [<bf10acb0>] (BM_Alloc+0xa8/0x280 [pvrsrvkm])
[   35.881256] [<bf10acb0>] (BM_Alloc+0xa8/0x280 [pvrsrvkm]) from [<bf110ac0>] (AllocDeviceMem+0x80/0x108 [pvrsrvkm])
[   35.892272] [<bf110ac0>] (AllocDeviceMem+0x80/0x108 [pvrsrvkm]) from [<bf110fd8>] (_PVRSRVAllocDeviceMemKM+0x80/0x158 [pvrsrvkm])
[   35.904663] [<bf110fd8>] (_PVRSRVAllocDeviceMemKM+0x80/0x158 [pvrsrvkm]) from [<bf11b190>] (PVRSRVAllocDeviceMemBW+0x9c/0x1a0 [pvrsrvkm])
[   35.917816] [<bf11b190>] (PVRSRVAllocDeviceMemBW+0x9c/0x1a0 [pvrsrvkm]) from [<bf118d24>] (BridgedDispatchKM+0xd4/0x12c [pvrsrvkm])
[   35.930389] [<bf118d24>] (BridgedDispatchKM+0xd4/0x12c [pvrsrvkm]) from [<bf114c28>] (PVRSRV_BridgeDispatchKM+0x114/0x16c [pvrsrvkm])
[   35.943084] [<bf114c28>] (PVRSRV_BridgeDispatchKM+0x114/0x16c [pvrsrvkm]) from [<c0116cf8>] (do_vfs_ioctl+0x4e0/0x54c)
[   35.954315] [<c0116cf8>] (do_vfs_ioctl+0x4e0/0x54c) from [<c0116db4>] (sys_ioctl+0x50/0x74)
[   35.963073] [<c0116db4>] (sys_ioctl+0x50/0x74) from [<c0049cc0>] (ret_fast_syscall+0x0/0x3c)
[   36.311767] CMEMK module: built on Dec 22 2011 at 23:52:43
[   36.317596]   Reference Linux version 2.6.37
[   36.322082]   File /datalocal/DVSDK43_HPDL380G7/arago-tmp/work/dm37x-evm-arago-linux-gnueabi/ti-linuxutils-1_2_26_02_05-r102d/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[   36.341064] CMEM Range Overlaps Kernel Physical - allowing overlap
[   36.347625] CMEM phys_start (0x83700000) overlaps kernel (0x80000000 -> 0x8b300000)
[   36.357879] allocated heap buffer 0xd2000000 of size 0x2200000
[   36.364044] heap fallback enabled - will try heap if pool buffer is not available
[   36.371948] cmemk initialized
[   36.528533] DSPLINK Module (1.65.01.05_eng) created on Date: Dec 22 2011 Time: 23:55:34
[   36.625701] SDMAK module: built on Dec 22 2011 at 23:52:50
[   36.631561]   Reference Linux version 2.6.37
[   36.636047]   File /datalocal/DVSDK43_HPDL380G7/arago-tmp/work/dm37x-evm-arago-linux-gnueabi/ti-linuxutils-1_2_26_02_05-r102d/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
numid=49,iface=MIXER,name='HeadsetL Mixer AudioL1'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=46,iface=MIXER,name='HeadsetR Mixer AudioR1'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
Simple mixer control 'Headset',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 3
  Mono:
  Front Left: Playback 3 [100%] [6.00dB]
  Front Right: Playback 3 [100%] [6.00dB]
Starting Matrix GUI application.

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

Arago Project http://arago-project.org dm37x-evm ttyO0

Arago 2011.06 dm37x-evm ttyO0

dm37x-evm login: root
root@dm37x-evm:~# /etc/init.d/matrix-gui-e stop
Stopping Matrix GUI applicationstart-stop-daemon: warning: killing process 0: No such process
.
root@dm37x-evm:~# matrix_guiE -qws -display transformed:Rot90 /usr/share/matrix/
html/menu_main_1.html
matrix_guiE: error while loading shared libraries: libTICPUBLT_BX.so.1.0: cannot open shared object file: No such file or directory
root@dm37x-evm:~# /etc/init.d/matrix-gui-e stop
Stopping Matrix GUI applicationstart-stop-daemon: warning: killing process 0: No such process
.

root@dm37x-evm:~# cd /usr/share/ti/ti-dmai-apps
root@dm37x-evm:/usr/share/ti/ti-dmai-apps# ./video_loopback_copy_dm3730.x470MV -
O lcd -I composite
[  403.897888] tvp514x 3-005c: tvp5146m2 (Version - 0x03) found at 0xb8 (OMAP I2C adapter)

Media: Opened Media Device
Enumerating media entities
[1]:OMAP3 ISP CCP2
[2]:OMAP3 ISP CCP2 input
[3]:OMAP3 ISP CSI2a
[4]:OMAP3 ISP CSI2a output
[5]:OMAP3 ISP CCDC
[6]:OMAP3 ISP CCDC output
[7]:OMAP3 ISP preview
[8]:OMAP3 ISP preview input
[9]:OMAP3 ISP preview output
[10]:OMAP3 ISP resizer
[11]:OMAP3 ISP resizer input
[12]:OMAP3 ISP resizer output
[13]:OMAP3 ISP AEWB
[14]:OMAP3 ISP AF
[15]:OMAP3 ISP histogram
[17]:tvp514x 3-005c
[17]:tvp514x 3-005c
Total number of entities: 17
Enumerating links/pads for entities
pads for entity 1=(0 INPUT) (1 OUTPUT)
[1:1]===>[5:0]  INACTIVE

pads for entity 2=(0 OUTPUT)
[2:0]===>[1:0]  INACTIVE

pads for entity 3=(0 INPUT) (1 OUTPUT)
[3:1]===>[4:0]  INACTIVE
[3:1]===>[5:0]  INACTIVE

pads for entity 4=(0 INPUT)

pads for entity 5=(0 INPUT) (1 OUTPUT) (2 OUTPUT)
[5:1]===>[6:0]  ACTIVE
[5:2]===>[7:0]  INACTIVE
[5:1]===>[10:0] INACTIVE
[5:2]===>[13:0] ACTIVE
[5:2]===>[14:0] ACTIVE
[5:2]===>[15:0] ACTIVE

pads for entity 6=(0 INPUT)

pads for entity 7=(0 INPUT) (1 OUTPUT)
[7:1]===>[9:0]  INACTIVE
[7:1]===>[10:0] INACTIVE

pads for entity 8=(0 OUTPUT)
[8:0]===>[7:0]  INACTIVE

pads for entity 9=(0 INPUT)

pads for entity 10=(0 INPUT) (1 OUTPUT)
[10:1]===>[12:0]        INACTIVE

pads for entity 11=(0 OUTPUT)
[11:0]===>[10:0]        INACTIVE

pads for entity 12=(0 INPUT)

pads for entity 13=(0 INPUT)

pads for entity 14=(0 INPUT)

pads for entity 15=(0 INPUT)

pads for entity 17=(0 OUTPUT)
[17:0]===>[5:0] ACTIVE

pads for entity 17=(0 OUTPUT)
[17:0]===>[5:0] ACTIVE

Enabling link [tvp5146]===>[ccdc]
[tvp514x]===>[ccdc]     enabled
Enabling link [ccdc]===>[video_node]
[ccdc]===>[video_node]  enabled
Capture: Current Input: camera
Capture: Input changed to: camera
Capture: Current standard: NTSC
successfully format is set on all pad [WxH] - [720x480]
Capture: Capable of streaming
Capture: Init done successfully

[  404.863708] tvp514x 3-005c: tvp5146m2 (Version - 0x03) found at 0xb8 (OMAP I2C adapter)
Capture: Stream on...
[  405.059661] DMA misaligned error with device 0
[  412.871337] DMA misaligned error with device 0
[  420.683868] DMA misaligned error with device 0
Failed to configure frame copy job
-------------------------------------------------------------------------------------

Thanks,

Vivek

  • Hi,

    I tried another DMAI apps, this time without copying and it worked. However, the image quality is bad and is rotated by 90 degrees (as opposed to old version DVSDK_4.02 4_02_00_06)

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

    root@dm37x-evm:~# cd /usr/share/ti/ti-dmai-apps/
    root@dm37x-evm:/usr/share/ti/ti-dmai-apps# ./video_loopback_dm3730.x470MV -O lcd
     -I composite

    Media: Opened Media Device
    Enumerating media entities
    [1]:OMAP3 ISP CCP2
    [2]:OMAP3 ISP CCP2 input
    [3]:OMAP3 ISP CSI2a
    [4]:OMAP3 ISP CSI2a output
    [5]:OMAP3 ISP CCDC
    [6]:OMAP3 ISP CCDC output
    [7]:OMAP3 ISP preview
    [8]:OMAP3 ISP preview input
    [9]:OMAP3 ISP preview output
    [10]:OMAP3 ISP resizer
    [11]:OMAP3 ISP resizer input
    [12]:OMAP3 ISP resizer output
    [13]:OMAP3 ISP AEWB
    [14]:OMAP3 ISP AF
    [15]:OMAP3 ISP histogram
    [17]:tvp514x 3-005c
    [17]:tvp514x 3-005c
    Total number of entities: 17
    Enumerating links/pads for entities
    pads for entity 1=(0 INPUT) (1 OUTPUT)
    [1:1]===>[5:0]  INACTIVE

    pads for entity 2=(0 OUTPUT)
    [2:0]===>[1:0]  INACTIVE

    pads for entity 3=(0 INPUT) (1 OUTPUT)
    [3:1]===>[4[  190.089294] tvp514x 3-005c: tvp5146m2 (Version - 0x03) found at 0xb8 (OMAP I2C adapter)
    :0]     INACTIVE
    [3:1]===>[5:0]  INACTIVE

    pads for entity 4=(0 INPUT)

    pads for entity 5=(0 INPUT) (1 OUTPUT) (2 OUTPUT)
    [5:1]===>[6:0]  INACTIVE
    [5:2]===>[7:0]  INACTIVE
    [5:1]===>[10:0] INACTIVE
    [5:2]===>[13:0] ACTIVE
    [5:2]===>[14:0] ACTIVE
    [5:2]===>[15:0] ACTIVE

    pads for entity 6=(0 INPUT)

    pads for entity 7=(0 INPUT) (1 OUTPUT)
    [7:1]===>[9:0]  INACTIVE
    [7:1]===>[10:0] INACTIVE

    pads for entity 8=(0 OUTPUT)
    [8:0]===>[7:0]  INACTIVE

    pads for entity 9=(0 INPUT)

    pads for entity 10=(0 INPUT) (1 OUTPUT)
    [10:1]===>[12:0]        INACTIVE

    pads for entity 11=(0 OUTPUT)
    [11:0]===>[10:0]        INACTIVE

    pads for entity 12=(0 INPUT)

    pads for entity 13=(0 INPUT)

    pads for entity 14=(0 INPUT)

    pads for entity 15=(0 INPUT)

    pads for entity 17=(0 OUTPUT)
    [17:0]===>[5:0] INACTIVE

    pads for entity 17=(0 OUTPUT)
    [17:0]===>[5:0] INACTIVE

    Enabling link [tvp5146]===>[ccdc]
    [tvp514x]===>[ccdc]     enabled
    Enabling link [ccdc]===>[video_node]
    [ccdc]===>[video_node]  enabled
    Capture: Current Input: camera
    Capture: Input changed to: camera
    Capture: Current standard: NTSC
    successfully format is set on all pad [WxH] - [720x480]
    Capture: Capable of streaming
    Capture: Init done successfully

    [  190.827362] tvp514x 3-005c: tvp5146m2 (Version - 0x03) found at 0xb8 (OMAP I2C adapter)
    Capture: Stream on...
    -----------------------------------------

  • The problem of matrix-gui-e application not working is solved by creating a symbolic link as follows (in the target file systems)

    root@dm37x-evm:~# cd /usr/lib
    root@dm37x-evm:~# ln -s libTICPUBLT_BX.so libTICPUBLT_BX.so.1.0
    root@dm37x-evm:~# /etc/init.d/matrix-gui-e start

    Now the application starts but with the screen rotated by 180 degrees as compared to previous DVSDK version DVSDK_4.02 4_02_00_06. This problem can easily be fixed replacing 90--> 270 in the /etc/init.d/matrix-gui-e

    The above works irrespective of ARM Frequency. So, I switched back to default frequency of 1GHz

    However, the DMAI apps of loopback video is still rotated with bad quality whereas for resize app, I get the error as

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

    ....
    Failed to get resolution of capture video standard.
    [   550.63801] omap3isp omap3isp: CCDC stop timeout!

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

  • I believe the issue is with the "timings" setting for display...

    1. I enabled the DMAI debug mode by typing the following:

    root@dm37x-evm:/usr/share/ti/ti-dmai-apps# export DMAI_DEBUG=1

    2. Then I restarted the DMAI loopback application:

    ------------------------
    root@dm37x-evm:/usr/share/ti/ti-dmai-apps# ./video_loopback_dm3730.x470MV -O lcd
     -I composite
    [  708.538085] tvp514x 3-005c: tvp5146m2 (Version - 0x03) found at 0xb8 (OMAP I2C adapter)

    Media: Opened Media Device
    Enumerating media entities
    [1]:OMAP3 ISP CCP2
    [2]:OMAP3 ISP CCP2 input
    [3]:OMAP3 ISP CSI2a
    [4]:OMAP3 ISP CSI2a output
    [5]:OMAP3 ISP CCDC
    [6]:OMAP3 ISP CCDC output
    [7]:OMAP3 ISP preview
    [8]:OMAP3 ISP preview input
    [9]:OMAP3 ISP preview output
    [10]:OMAP3 ISP resizer
    [11]:OMAP3 ISP resizer input
    [12]:OMAP3 ISP resizer output
    [13]:OMAP3 ISP AEWB
    [14]:OMAP3 ISP AF
    [15]:OMAP3 ISP histogram
    [17]:tvp514x 3-005c
    [17]:tvp514x 3-005c
    Total number of entities: 17
    Enumerating links/pads for entities
    pads for entity 1=(0 INPUT) (1 OUTPUT)
    [1:1]===>[5:0]  INACTIVE

    pads for entity 2=(0 OUTPUT)
    [2:0]===>[1:0]  INACTIVE

    pads for entity 3=(0 INPUT) (1 OUTPUT)
    [3:1]===>[4:0]  INACTIVE
    [3:1]===>[5:0]  INACTIVE

    pads for entity 4=(0 INPUT)

    pads for entity 5=(0 INPUT) (1 OUTPUT) (2 OUTPUT)
    [5:1]===>[6:0]  ACTIVE
    [5:2]===>[7:0]  INACTIVE
    [5:1]===>[10:0] INACTIVE
    [5:2]===>[13:0] ACTIVE
    [5:2]===>[14:0] ACTIVE
    [5:2]===>[15:0] ACTIVE

    pads for entity 6=(0 INPUT)

    pads for entity 7=(0 INPUT) (1 OUTPUT)
    [7:1]===>[9:0]  INACTIVE
    [7:1]===>[10:0] INACTIVE

    pads for entity 8=(0 OUTPUT)
    [8:0]===>[7:0]  INACTIVE

    pads for entity 9=(0 INPUT)

    pads for entity 10=(0 INPUT) (1 OUTPUT)
    [10:1]===>[12:0]        INACTIVE

    pads for entity 11=(0 OUTPUT)
    [11:0]===>[10:0]        INACTIVE

    pads for entity 12=(0 INPUT)

    pads for entity 13=(0 INPUT)

    pads for entity 14=(0 INPUT)

    pads for entity 15=(0 INPUT)

    pads for entity 17=(0 OUTPUT)
    [17:0]===>[5:0] ACTIVE

    pads for entity 17=(0 OUTPUT)
    [17:0]===>[5:0] ACTIVE

    Enabling link [tvp5146]===>[ccdc]
    [tvp514x]===>[ccdc]     enabled
    Enabling link [ccdc]===>[video_node]
    [ccdc]===>[video_node]  enabled
    Capture: Current Input: camera
    Capture: Input changed to: camera
    Capture: Current standard: NTSC
    successfully format is set on all pad [WxH] - [720x480]
    Capture: Capable of streaming
    Capture: Init done successfully

    [  709.608795] tvp514x 3-005c: tvp5146m2 (Version - 0x03) found at 0xb8 (OMAP I2C adapter)
    Capture: Stream on...
    @0x00080fde:[T:0x40023290] ti.sdo.dmai - [Dmai] Failed to read sysfs variable from /sys/devices/platform/omapdss/display0/timings
    @0x00081077:[T:0x40023290] ti.sdo.dmai - [Dmai] Failed to read from /sys/devices/platform/omapdss/display0/timings

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

    3. The file "/sys/devices/platform/omapdss/display0/timings" exists but it cannot be accessed:

    root@dm37x-evm:/usr/share/ti/ti-dmai-apps# cat /sys/devices/platform/omapdss/display0/timings
    cat: read error: No such file or directory

    root@dm37x-evm:/usr/share/ti/ti-dmai-apps# cd /sys/devices/platform/omapdss/display0
    root@dm37x-evm:/sys/devices/platform/omapdss/display0# ls -l
    drwxr-xr-x    3 root     root            0 Jan  1  2000 backlight               
    lrwxrwxrwx    1 root     root            0 Dec 23 03:26 driver -> ../../../bus/omapdss/drivers/sharp_ls_panel                                                   
    -rw-r--r--    1 root     root         4096 Dec 23 03:26 enabled                 
    -rw-r--r--    1 root     root         4096 Dec 23 03:26 mirror                  
    -r--r--r--    1 root     root         4096 Dec 23 03:26 name                    
    drwxr-xr-x    2 root     root            0 Dec 23 03:26 power                   
    -rw-r--r--    1 root     root         4096 Dec 23 03:26 rotate                  
    lrwxrwxrwx    1 root     root            0 Dec 23 03:26 subsystem -> ../../../bus/omapdss                                                                       
    -rw-r--r--    1 root     root         4096 Dec 23 03:26 tear_elim               
    -rw-r--r--    1 root     root         4096 Dec 23 03:26 timings                 
    -rw-r--r--    1 root     root         4096 Jan  1  2000 uevent                  
    -rw-r--r--    1 root     root         4096 Dec 23 03:26 update_mode             
    -rw-r--r--    1 root     root         4096 Dec 23 03:26 wss

    Also, even if I try to set the values (from old DVSDK) nothing happens

    root@dm37x-evm:/sys/devices/platform/omapdss/display0# chmod 755 timings
    root@dm37x-evm:/sys/devices/platform/omapdss/display0# echo "19200,480/1/28/2,640/1/1/1" > timings
    root@dm37x-evm:/sys/devices/platform/omapdss/display0# cat timings
    cat: read error: No such file or directory

    Looks like there is a read/write lock for this file

    4. Then I checked the frame buffer settings:

    root@dm37x-evm:/usr/share/ti/ti-dmai-apps# fbset

    mode "480x640"
        geometry 480 640 480 1920 16
        timings 0 0 0 0 0 0 0
        rgba 5/11,6/5,5/0,0/0
    endmode

    Again here all timing values are 0. this is opposed to what you see with the old version DVSDK_4.02 4_02_00_06 where the result is:

    mode "480x640-58"
        # D: 19.200 MHz, H: 37.574 kHz, V: 58.435 Hz
        geometry 480 640 480 1920 16
        timings 52083 1 28 1 1 2 1
        rgba 5/11,6/5,5/0,0/0
    endmode

    Now even if I do the following:

    root@dm37x-evm:/sys/devices/platform/omapdss/display0# fbset -t 52083 1 28 1 1 2 1
    root@dm37x-evm:/sys/devices/platform/omapdss/display0# fbset
    mode "480x640"
        geometry 480 640 480 1920 16
        timings 0 0 0 0 0 0 0
        rgba 5/11,6/5,5/0,0/0
    endmode

    There is no change.

    So, please let me know how I can fix these issues.



  • Vivek,

    For your ARM speed setting problem you are still setting mpurate=1000 in the bootargs. You can edit them in the bin/mksdboot.sh script that builds the bootargs.

    Iain 

  • Hi Iain,

    Thanks for the reply. I corrected the bootargs setting in setup-uboot... shell script and switched to 600MHz. Also, regarding the 'timings' issue, one can apply the following patch:

    http://arago-project.org/git/people/?p=brijesh/arago-dvsdk.git;a=blob;f=recipes/linux/linux-omap3-2.6.37-psp04.02.00.07.sdk/omap3/sharp-lcd-set-get-timing.patch;h=e8330321336e3bb353bad2a1a09fe4ff0ecb5613;hb=78cae8b2ef5fbf2eaf9f5454438fd736fb229341

    However, my problem was still there.The video quality is still bad and very dark. To me the problems seems to be that tvp514x decoder is not working at all. Please refer the boot logs:

    [    3.843078] tvp514x 3-005c: tvp514x 3-005c decoder driver registered !!
    [    3.851593] tvp514x 3-005c: Write: retry ... 0
    [    3.879028] tvp514x 3-005c: Write: retry ... 1
    [    3.902465] tvp514x 3-005c: Write: retry ... 2
    [    3.925903] tvp514x 3-005c: Write: retry ... 3
    [    3.949371] tvp514x 3-005c: Write: retry ... 4
    [    3.972778] tvp514x 3-005c: Write: retry ... 5
    [    3.996215] tvp514x 3-005c: Write failed. Err[-121]
    [    4.001312] tvp514x 3-005c: Unable to turn on decoder
    [    4.006866] tvp514x 3-005c: Read: retry ... 0
    [    4.027496] tvp514x 3-005c: Read: retry ... 1
    [    4.050933] tvp514x 3-005c: Read: retry ... 2
    [    4.074340] tvp514x 3-005c: Read: retry ... 3
    [    4.097778] tvp514x 3-005c: Read: retry ... 4
    [    4.121215] tvp514x 3-005c: Read: retry ... 5
    [    4.144653] tvp514x 3-005c: Unable to query std

    Because of the above, gstreamer with v4l2src is not working too. How can I get rid of the above the error in boot logs and ensure that tvp514x decoder is working correctly?

    Thanks,

    Vivek