[#3880] ppifcd_test -t has something error on bf533
Submitted By: Mingquan Pan
Open Date
2008-02-02 00:11:31 Close Date
2008-02-25 02:07:58
Priority:
Medium Assignee:
Michael Hennerich
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
08r1-6
App binary format:
N/A
Summary: ppifcd_test -t has something error on bf533
Details:
ppifcd_test -t has something error on bf533.
command :ppifcd_test -b 533 -c3 /var/img.bmp can run ok on bf533, but if run ppifcd_test -t next,then the rest case just can't finish,need ctrl+c to exit.
Loading .text @ 0x00001000 (1014224 bytes)
Loading .rodata @ 0x000f9000 (221784 bytes)
Loading __ksymtab @ 0x0012f258 (14296 bytes)
Loading __ksymtab_gpl @ 0x00132a30 (4024 bytes)
Loading __ksymtab_strings @ 0x001339e8 (43964 bytes)
Loading __param @ 0x0013e5a4 (380 bytes)
Loading .data @ 0x0013f000 (69632 bytes)
Loading .init.text @ 0x00150000 (81784 bytes)
Loading .init.data @ 0x00163f78 (3264 bytes)
Loading .init.setup @ 0x00164c38 (596 bytes)
Loading .initcall.init @ 0x00164e8c (432 bytes)
Loading .con_initcall.init @ 0x0016503c (4 bytes)
Loading .init.ramfs @ 0x00165040 (3015941 bytes)
Loading .text_l1 @ 0xffa00000 (7728 bytes)
sh_addr: FFA00000, p_paddr: 00445545
Loading from: 01446000 to 00445545, size: 7728
Loading .data_l1 @ 0xff800000 (192 bytes)
sh_addr: FF800000, p_paddr: 00447375
Loading from: 01448000 to 00447375, size: 192
Clearing .bss @ 0x00448000 (59888 bytes)
## Starting application at 0x00150000 ...
Linux version 2.6.22.16-ADI-2008R1-svn4139 (test@Linux54-ADV7393-AD1981) (gcc version 4.1.2 (ADI svn)) #112 Sat Feb 2 12:28:13 CST 2008
Hardware Trace Active and Enabled
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Blackfin support (C) 2004-2007 Analog Devices, Inc.
Compiled for ADSP-BF533 Rev 0.3
Blackfin Linux support by blackfin.uclinux.org/
Processor Speed: 398 MHz core clock and 79 MHz System Clock
Board Memory: 128MB
Kernel Managed Memory: 128MB
Memory map:
text = 0x00001000-0x000f89d0
rodata = 0x000f9000-0x0013e720
data = 0x0013f000-0x00150000
stack = 0x00140000-0x00142000
init = 0x00150000-0x00448000
bss = 0x00448000-0x004569f0
available = 0x004569f0-0x037ff000
DMA Zone = 0x07f00000-0x08000000
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists. Total pages: 14224
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50:10.100.4.174:192.168.0.1:255.255.255.0:STAMP:eth0:off
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 256 (order: 8, 1024 bytes)
bfin-rtc: invalid date; resetting
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Physical pages: 37ff
Memory available: 52252k/129796k RAM, (3040k init code, 990k kernel code, 58k data, 1024k dma)
Blackfin Scratchpad data SRAM: 4 KB
Blackfin Data A SRAM: 16 KB (15 KB free)
Blackfin Data B SRAM: 16 KB (16 KB free)
Blackfin Instruction SRAM: 64 KB (56 KB free)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Blackfin GPIO Controller
Blackfin DMA Controller
stamp_init(): registering device resources
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
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler cfq registered
pfx: pfbits driver for bf5xx
PPI: ADSP PPI Frame Capture Driver IRQ:15
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
Serial: Blackfin serial driver
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 21) is a BFIN-UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org>
eth0: SMC91C11xFD (rev 1) at 20300300 IRQ 40 [nowait]
eth0: Ethernet addr: 00:e0:22:fe:06:1d
bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc00500, dma channel@5
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
i2c /dev entries driver
i2c-gpio i2c-gpio.0: using pins 2 (SDA) and 4 (SCL)
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting the system clock to 1970-01-01 00:00:02 (2)
eth0: link down
IP-Config: Gateway not on directly connected network.
Freeing unused kernel memory: 3040k freed
dma_alloc_init: dma_page @ 0x00445000 - 256 pages at 0x07f00000
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ \
8P"YP"Y88 / | | |_| __ __ (TM) |
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |
8' .88 \ | | | | _ \| | | | \ / |
8`._.' Y8. \ | |__ | | | | | |_| | / \ |
d/ `8b. \ \____||_|_| |_|\____|/_/\_\ |
dP . Y8b. \ For embedded processors including |
d8:' " `::88b \ the Analog Devices Blackfin /
d8" 'Y88b \___________________________________/
:8P ' :888
8a. : _a88P For further information, check out:
._/"Yaa_: .| 88P| - blackfin.uclinux.org/
\ YP" `| 8P `. - docs.blackfin.uclinux.org/
/ \.___.d| .' - www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.4.1 (2008-01-31 09:03:26 CST) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
root:/>
root:/> ppifcd_test -b 533 -c3 /var/img.bmp
************* Calculated Times Based on the actual Camera setting *************
Master Clock = 48 MHz
row_time = 1514 pixel clocks
total_frame_time = 1589700 pixel clocks
total_frame_time = 33118 usec
*******************************************************************************
Read Start: 49.747794
Read End: 49.822067
Total Frame Capture Time: 74270 usec
Read Start: 49.822289
Read End: 49.888737
Total Frame Capture Time: 66445 usec
Read Start: 49.888940
Read End: 49.955409
Total Frame Capture Time: 66466 usec*******************************************************************************
Saved: /var/img.bmp
Size : 1311798
*******************************************************************************
root:/> ppifcd_test -b 533 -c3 /var/img.bmp
************* Calculated Times Based on the actual Camera setting *************
Master Clock = 48 MHz
row_time = 1514 pixel clocks
total_frame_time = 1589700 pixel clocks
total_frame_time = 33118 usec
*******************************************************************************
Read Start: 57.107788
Read End: 57.180573
Total Frame Capture Time: 72782 usec
Read Start: 57.180794
Read End: 57.247240
Total Frame Capture Time: 66443 usec
Read Start: 57.247428
Read End: 57.313915
Total Frame Capture Time: 66484 usec*******************************************************************************
Saved: /var/img.bmp
Size : 1311798
*******************************************************************************
root:/>
root:/>
root:/>
root:/> ppifcd_test -b 533 -c3 -t
************* Calculated Times Based on the actual Camera setting *************
Master Clock = 48 MHz
row_time = 1514 pixel clocks
total_frame_time = 1589700 pixel clocks
total_frame_time = 33118 usec
*******************************************************************************
Read Start: 61.763910
Read End: 61.830039
Total Frame Capture Time: 66126 usec
Read Start: 61.830261
Read End: 61.897855
Total Frame Capture Time: 67591 usec
Read Start: 61.898057
Read End: 61.965648
Total Frame Capture Time: 67588 usec
root:/>
root:/> ppifcd_test -b 533 -c3 /var/img.bmp
************* Calculated Times Based on the actual Camera setting *************
Master Clock = 48 MHz
row_time = 1514 pixel clocks
total_frame_time = 1589700 pixel clocks
total_frame_time = 33118 usec
*******************************************************************************
root:/>(CTRL+C)
root:/> ppifcd_test -b 533
************* Calculated Times Based on the actual Camera setting *************
Master Clock = 48 MHz
row_time = 1514 pixel clocks
total_frame_time = 1589700 pixel clocks
total_frame_time = 33118 usec
*******************************************************************************
Follow-ups
--- Michael Hennerich 2008-02-04 07:51:26
This seems to be an inconstancy with the Micron CMOS Sensor.
Usually Trigger should be driven Low in continuous mode. Our Trigger Strobe PF6
is actually STAMP board button BTN2, which is high by default.
So once the CMOS sensor was in trigger mode – it assumes the Trigger low the
following time.
You can validate this by pressing BTN2 while the applications hangs or waits
for data.
Unfortunately BTN2 is routed through the CPLD and is by default an output. So
we shouldn't force this Pin low by Blackfin. Therefore I removed the trigger
option for the BF533-STAMP board.
Assumed to be fixed / not an issue.
-Michael
--- Mingquan Pan 2008-02-25 02:07:58
Ok.Close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found