video decoder adv7842 test fails when run video_capture. The kernel is built with updated toolchain built from 3.16 kernel header files.
Image Name: bf609-0.0-3.16.0-rc4-ADI-2014R1-
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 9076655 Bytes = 8.7 MiB
Load Address: 00001000
Entry Point: 00317a6c
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 00317a6c
Linux version 3.16.0-rc4-ADI-2014R1-pre-00391-gfc36afc-dirty (test@linux88-bf609-flat) (gcc version 4.3.5 (ADI-master/git-46c6a72) ) #2 Wed Jul 30 04:21:34 CST 2014
register early platform devices
bootconsole [early_shadow0] enabled
ERROR: Not running on ADSP-BF609: unknown CPUID 0x0000 Rev 0.0
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 128MB
Kernel Managed Memory: 128MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x002156b0
rodata = 0x002156d4-0x002ce8f4
bss = 0x002cf000-0x002e804c
data = 0x002e8060-0x00314000
stack = 0x00312000-0x00314000
init = 0x00314000-0x00a37000
available = 0x00a37000-0x06000000
DMA Zone = 0x06000000-0x08000000
Hardware Trace active and enabled
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF609 Rev 0.0
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock, 250 MHz SCLk, 125 MHz SCLK0, 125 MHz SCLK1 and 250 MHz DCLK
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
L2 SRAM : uncacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
L2 SRAM : uncacheable in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 24384
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:192.168.0.1:255.255.255.0:"bf609-ezkit":eth0:off
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 86932K/98304K available (2129K kernel code, 175K rwdata, 740K rodata, 7308K init, 100K bss, 11372K reserved, 32768K DMA)
NR_IRQS:291
Configuring Blackfin Priority Driven Interrupts
Console: colour dummy device 80x25
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
devtmpfs: initialized
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (9 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 64 KB (48 KB free)
Blackfin L2 SRAM: 256 KB (256 KB free)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
Blackfin DMA Controller
ezkit_init(): registering device resources
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-bfin-twi i2c-bfin-twi.0: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01e00
i2c-bfin-twi i2c-bfin-twi.1: Blackfin on-chip I2C TWI Contoller, regs_base@ffc01f00
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
PTP clock support registered
NET: Registered protocol family 23
Switched to clocksource bfin_cs_cycles
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
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
msgmni has been set to 169
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc02000 (irq = 88, base_baud = 7812500) is a BFIN-UART
console [ttyBF0] enabled
console [ttyBF0] enabled
bootconsole [early_BFuart0] disabled
bootconsole [early_BFuart0] disabled
bootconsole [early_shadow0] disabled
physmap platform flash device: 01000000 at b0000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x008821
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
Creating 3 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000080000 : "bootloader(nor)"
0x000000080000-0x000000480000 : "linux kernel(nor)"
0x000000480000-0x000001000000 : "file system(nor)"
m25p80 spi0.59: w25q32 (4096 Kbytes)
Creating 3 MTD partitions on "m25p80":
0x000000000000-0x000000080000 : "bootloader(spi)"
0x000000080000-0x000000200000 : "linux kernel(spi)"
0x000000200000-0x000000400000 : "file system(spi)"
CAN device driver interface
bfin_can bfin_can.0: bfin_can device registered(®_base=ffc00a00, rx_irq=47, tx_irq=48, err_irq=49, sclk=125000000)
stmmaceth stmmaceth.0: no reset control found
stmmac - user ID: 0x10, Synopsys ID: 0x36
Ring mode enabled
DMA HW capability register supported
Enhanced/Alternate descriptors
Enabled extended descriptors
RX Checksum Offload Engine supported (type 2)
Wake-Up On Lan supported
Enable RX Mitigation via HW Watchdog Timer
libphy: stmmac: probed
eth0: PHY ID 20005c90 at 1 IRQ POLL (stmmac-0:01) active
usbcore: registered new interface driver usb-storage
input: bfin-rotary as /devices/platform/bfin-rotary/input/input0
i2c /dev entries driver
ppi probe success
bfin_capture bfin_capture.0: v4l2 device registered
bfin_capture bfin_capture.0: video device registered as: video0
adv7842 0-0020: error reading 20, ff
adv7842 0-0020: select_input: SDP todo
adv7842 0-0020: adv7842 found @ 0x40 (i2c-bfin-twi)
bfin_capture bfin_capture.0: v4l2 sub device registered
adv7842 0-0020: select_input: SDP todo
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
eth0: device MAC address 02:80:ad:20:31:e8
dma_alloc_init: dma_page @ 0x0487c000 - 8192 pages at 0x06000000
IP-Config: Gateway not on directly connected network
Freeing unused kernel memory: 7308K (00314000 - 00a37000)
BusyBox v1.22.1 (2014-07-30 04:09:20 CST) hush - the humble shell
root:/>successful boot attempt ifconfig eth0stmmaceth stmmaceth.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
10.100.4.50
root:/> Ethernet may has been activated already!
random: nonblocking pool is initialized
version
kernel: Linux release 3.16.0-rc4-ADI-2014R1-pre-00391-gfc36afc-dirty, build #2 Wed Jul 30 04:21:34 CST 2014
toolchain: /home/test/workspace/src/kernel/label/BF609-EZKIT-FLAT/output/host/usr/bin/bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-master/git-46c6a72)
user-dist: release git-919fac9, build #1 Wed Jul 30 04:17:14 CST 2014
root:/>
Linux version: 3.16.0-rc4-ADI-2014R1-pre-00391-gfc36afc-dirty
GCC version: 4.3.5 (ADI-master/git-46c6a72)
user-dist version: git-919fac9
root:/>
** STEP 3: Start testing
dmesg |grep video
Linux video capture interface: v2.00
bfin_capture bfin_capture.0: video device registered as: video0
root:/>
ase 1 ...PASS
Case 1 ...PASS
[6ndmesg |grep capture
Linux video capture interface: v2.00
bfin_capture bfin_capture.0: v4l2 device registered
bfin_capture bfin_capture.0: video device registered as: video0
bfin_capture bfin_capture.0: v4l2 sub device registered
root:/>
ase 2 ...PASS
Case 2 ...PASS
nv4l2_video_capture -h
v4l2_video_capture: option requires an argument -- h
Usage: v4l2_video_capture [-DIrFNfmiwh]
-D --device device to use (default /dev/video0)
-I --input select input (default 0)
-r --rate frame rate (default 0)
-F --file file name (default /1.yuv)
-N --number number of frames to capture (default 1)
-f --format pixel format (default uyvy)
-m --mode testing mode (default 0)
-i --ignore ignore error frames
-w --width image width (default 640)
-h --height image height (default 480)
root:/> v4l2_video_capture -I 4 -F /video_decoder_adv7842.yuv
enum inputs
input[0]: Composite
input[1]: S-Video
input[2]: Component
input[3]: VGA
input[4]: HDMI
adv7842 0-0020: select_input: HDMI todo
set input to 4: support dv_timings
dv_timings: progressive,width=0,height=0bfin_capture bfin_capture.0: dma_alloc_coherent of size 0 failed
hfrontporch=0,hsync=0,hbackporch=0,vfrontporch=0,vsync=0,vbackporch=0
enum formats
format[0]: YCbCr 4:2:2 Interleaved UYVY
format[1]: YCbCr 4:2:2 Interleaved UYVY
negotiated formats: 0x0
field order: progressive
size = 0
bytesperline = 0
pixelformat: UYVY
frame rate setting is not supported
AIL: print error info.rror
root:/>
Last passed time: 2014-04-05_10-49-18
User-dist commit b580d78675a37b1370fe0133ea98ae0f59923bac
Kernel commit 0d7bb313bb4eef211518fa5418cfff71e57e11f6
Testsuites commit 7f7bd768548ddc88dc4e12c33eabe5e5531ef206
Case 3 ...FAIL
Case 3 ...FAIL
VIDEO DECODER TEST (adv7842) FAIL
VIDEO DECODER TEST (adv7842) ............[FAIL]
video decoder adv7842 on bf609 is also failing like above with updated toolchain.
video decoder adv7842 can capture now after restore the line connection. close.