[#3876] pfbutton test for BTN3 on bf533 don't show complete info
Submitted By: Mingquan Pan
Open Date
2008-01-31 20:51:21 Close Date
2008-02-25 03:29:11
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: pfbutton test for BTN3 on bf533 don't show complete info
Details:
pfbutton test for BTN3 on bf533 don't show complete info at the first time hitting this button when kernel is booting up, it would be two or three lines,not 4 lines. The second time or lator, the response is right.
like:
Loading .text @ 0x00001000 (1014080 bytes)
Loading .rodata @ 0x000f9000 (220492 bytes)
Loading __ksymtab @ 0x0012ed4c (14096 bytes)
Loading __ksymtab_gpl @ 0x0013245c (4016 bytes)
Loading __ksymtab_strings @ 0x0013340c (43364 bytes)
Loading __param @ 0x0013dd70 (340 bytes)
Loading .data @ 0x0013e000 (65536 bytes)
Loading .init.text @ 0x0014e000 (81020 bytes)
Loading .init.data @ 0x00161c7c (3292 bytes)
Loading .init.setup @ 0x00162958 (584 bytes)
Loading .initcall.init @ 0x00162ba0 (428 bytes)
Loading .con_initcall.init @ 0x00162d4c (4 bytes)
Loading .init.ramfs @ 0x00162d50 (3044244 bytes)
Loading .text_l1 @ 0xffa00000 (8232 bytes)
sh_addr: FFA00000, p_paddr: 0044A0E4
Loading from: 0144B000 to 0044A0E4, size: 8232
Loading .data_l1 @ 0xff800000 (192 bytes)
sh_addr: FF800000, p_paddr: 0044C10C
Loading from: 0144E000 to 0044C10C, size: 192
Clearing .bss @ 0x0044d000 (60048 bytes)
## Starting application at 0x0014e000 ...
Linux version 2.6.22.16-ADI-2008R1-svn4139 (test@Linux54-ADV7393-AD1981) (gcc version 4.1.2 (ADI svn)) #76 Fri Feb 1 09:02:54 CST 2008
Hardware Trace Active and Enabled
Warning: limiting memory to 56MB due to hardware anomaly 05000263
Reset caused by Software reset
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-0x000f8940
rodata = 0x000f9000-0x0013dec4
data = 0x0013e000-0x0014e000
stack = 0x0013e000-0x00140000
init = 0x0014e000-0x0044d000
bss = 0x0044d000-0x0045ba90
available = 0x0045ba90-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)
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: 52240k/129800k RAM, (3068k 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 (55 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
Dynamic Power Management Controller Driver v0.1: major=10, minor = 254
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: 0e:aa:15:21:2b:ad
bfin-spi bfin-spi.0: Blackfin BF5xx on-chip SPI Contoller Driver, Version 1.0, regs_base@ffc00500, dma channel@5
input: gpio-keys as /class/input/input0
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
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:08:58 (538)
eth0: link down
IP-Config: Gateway not on directly connected network.
Freeing unused kernel memory: 3068k freed
dma_alloc_init: dma_page @ 0x0044a000 - 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:/> event_test /dev/input/event0
Input driver version is 1.0.0
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "gpio-keys"
Supported events:
Event type 0 (Reset)
Event code 0 (Reset)
Event code 1 (Key)
Event type 1 (Key)
Event code 256 (Btn0)
Event code 257 (Btn1)
Event code 258 (Btn2)
Testing ... (interrupt to exit)
Event: time 548.732143, type 0 (Reset), code 0 (Reset), value 0
Event: time 548.876677, type 1 (Key), code 258 (Btn2), value 1
Event: time 548.876694, type 0 (Reset), code 0 (Reset), value 0
Event: time 555.296978, type 1 (Key), code 258 (Btn2), value 0
Event: time 555.296993, type 0 (Reset), code 0 (Reset), value 0
Event: time 555.425920, type 1 (Key), code 258 (Btn2), value 1
Event: time 555.425935, type 0 (Reset), code 0 (Reset), value 0
Follow-ups
--- Michael Hennerich 2008-02-01 07:12:34
Fixed
-Michael
--- Mingquan Pan 2008-02-25 03:29:11
Yes,close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found