[#6208] system can't receive button status normally or correctly in pfbutton testing on board bf537-stamp.
Submitted By: angelia wu
Open Date
2010-08-26 06:14:39 Close Date
2010-10-21 00:53:53
Priority:
Medium Assignee:
steven miao
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Blackfin Linux:2010R1
Category:
N/A Board:
STAMP
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Rejected
Uboot version or rev.:
Toolchain version or rev.:
svn-4681
App binary format:
N/A
Summary: system can't receive button status normally or correctly in pfbutton testing on board bf537-stamp.
Details:
system can't receive button status normally or correctly in pfbutton testing on board bf537-stamp.
the log as follow.
U-Boot 2010.06-svn2366 (ADI-2010R1-pre) (Jul 27 2010 - 21:47:44)
CPU: ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)
Board: ADI BF537 stamp board
Support: http://blackfin.uclinux.org/
Clock: VCO: 500 MHz, Core: 500 MHz, System: 125 MHz
RAM: 64 MiB
Flash: 4 MiB
In: serial
Out: serial
Err: serial
KGDB: [on serial] ready
Net: bfin_mac
Hit any key to stop autoboot: 0
Using bfin_mac device
TFTP from server 10.100.4.174; our IP address is 10.100.4.50
Filename 'uImage'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#########
done
Bytes transferred = 4891799 (4aa497 hex)
## Booting kernel from Legacy Image at 01000000 ...
Image Name: bf537-2.6.34.5-ADI-2010R1-pre-sv
Created: 2010-08-26 9:47:27 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 4891735 Bytes = 4.7 MiB
Load Address: 00001000
Entry Point: 001a3684
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 001a3684
Linux version 2.6.34.5-ADI-2010R1-pre-svn9105 (test@uclinux41) (gcc version 4.3.5 (ADI-trunk/svn-4681) ) #126 Thu Aug 26 17:47:22 CST 2010
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Limiting kernel memory to 56MB due to anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001179c8
rodata = 0x001179c8-0x001757ac
bss = 0x00176000-0x00186554
data = 0x00186554-0x00198000
stack = 0x00196000-0x00198000
init = 0x00198000-0x00914000
available = 0x00914000-0x03800000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 0
Reset caused by Software reset
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 125 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14224
Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.99.29.1:25f
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 available: 47480k/65536k RAM, (7664k init code, 1114k kernel code, 514k data, 1024k dma, 7740k reserved)
Hierarchical RCU implementation.
NR_IRQS:138
Configuring Blackfin Priority Driven Interrupts
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (35 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_init(): registering device resources
bio: create slab <bio-0> at 0
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@7
Switching to clocksource bfin_cs_cycles
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
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 92
io scheduler noop registered
io scheduler cfq registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mii_bus: Can't get IRQ 65535 (PHY)
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
bfin-gpio: GPIO 2 is already reserved by BFIN-GPIO! (Documentation/blackfin/bfin-gpio-notes.txt)
bfin-gpio: GPIO 3 is already reserved by BFIN-GPIO! (Documentation/blackfin/bfin-gpio-notes.txt)
bfin-gpio: GPIO 4 is already reserved by BFIN-GPIO! (Documentation/blackfin/bfin-gpio-notes.txt)
bfin-gpio: GPIO 5 is already reserved by BFIN-GPIO! (Documentation/blackfin/bfin-gpio-notes.txt)
input: gpio-keys as /devices/platform/gpio-keys.0/input/input0
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-04 12:37:36 UTC (304656)
IP-Config: Gateway not on directly connected network.
dma_alloc_init: dma_page @ 0x0297b000 - 256 pages at 0x03f00000
Freeing unused kernel memory: 7664k freed
_____________________________________
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| - http://blackfin.uclinux.org/
\ YP" `| 8P `. - http://docs.blackfin.uclinux.org/
/ \.___.d| .' - http://www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - http://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.16.2 (2010-08-26 17:35:59 CST) hush - the humble shell
root:/> PHY: 0:01 - Link is Up - 100/Full
root:/bin> 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 (Sync)
Event type 1 (Key)
Event code 256 (Btn0)
Event code 257 (Btn1)
Event code 258 (Btn2)
Event code 259 (Btn3)
Testing ... (interrupt to exit)
Event: time 304755.884869, type 1 (Key), code 256 (Btn0), value 0
Event: time 304755.884885, -------------- Report Sync ------------
Event: time 304755.884908, type 1 (Key), code 256 (Btn0), value 1
Event: time 304755.884917, -------------- Report Sync ------------
Event: time 304756.444880, type 1 (Key), code 256 (Btn0), value 0
Event: time 304756.444897, -------------- Report Sync ------------
Event: time 304756.444922, type 1 (Key), code 256 (Btn0), value 1
Event: time 304756.444927, -------------- Report Sync ------------
Event: time 304762.503011, type 1 (Key), code 256 (Btn0), value 0
Event: time 304762.503034, -------------- Report Sync ------------
Event: time 304762.503056, type 1 (Key), code 256 (Btn0), value 1
Event: time 304762.503062, -------------- Report Sync ------------
Event: time 304769.556278, type 1 (Key), code 256 (Btn0), value 0
Event: time 304769.559097, -------------- Report Sync ------------
Event: time 304769.559134, type 1 (Key), code 256 (Btn0), value 1
Event: time 304769.559143, -------------- Report Sync ------------
Event: time 304802.619907, type 1 (Key), code 256 (Btn0), value 0
Event: time 304802.619920, -------------- Report Sync ------------
Event: time 304802.627168, type 1 (Key), code 256 (Btn0), value 1
Event: time 304802.627180, -------------- Report Sync ------------
rt Sync ------------
Event: time 304747.427824, type 1 (Key), code 256 (Btn0), value 1
Event: time 304747.427833, -------------- Report Sync ------------
Event: time 304747.427841, type 1 (Key), code 256 (Btn0), value 0
Event: time 304747.427847, -------------- Report Sync ------------
Event: time 304748.012344, type 1 (Key), code 256 (Btn0), value 1
Event: time 304748.012364, -------------- Report Sync ------------
Event: time 304748.012372, type 1 (Key), code 256 (Btn0), value 0
Event: time 304748.012377, -------------- Report Sync ------------
Event: time 304748.012485, type 1 (Key), code 256 (Btn0), value 1
Event: time 304748.012505, -------------- Report Sync ------------
Event: time 304748.012513, type 1 (Key), code 256 (Btn0), value 0
Event: time 304748.012518, -------------- Report Sync ------------
Event: time 304748.012579, type 1 (Key), code 256 (Btn0), value 1
Event: time 304748.012597, -------------- Report Sync ------------
Event: time 304748.012604, type 1 (Key), code 256 (Btn0), value 0
Event: time 304748.012610, -------------- Report Sync ------------
Event: time 304748.012762, type 1 (Key), code 256 (Btn0), value 1
Event: time 304748.012770, -------------- Report Sync ------------
Event: time 304748.012777, type 1 (Key), code 256 (Btn0), value 0
Event: time 304748.012783, -------------- Report Sync ------------
Event: time 304748.014092, type 1 (Key), code 256 (Btn0), value 1
Event: time 304748.014133, -------------- Report Sync ------------
Event: time 304748.014141, type 1 (Key), code 256 (Btn0), value 0
Event: time 304748.014146, -------------- Report Sync ------------
Event: time 304748.014413, type 1 (Key), code 256 (Btn0), value 1
Event: time 304748.014434, -------------- Report Sync ------------
Event: time 304748.014441, type 1 (Key), code 256 (Btn0), value 0
Event: time 304748.014486, -------------- Report Sync ------------
^C
root:/bin> 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 (Sync)
Event type 1 (Key)
Event code 256 (Btn0)
Event code 257 (Btn1)
Event code 258 (Btn2)
Event code 259 (Btn3)
Testing ... (interrupt to exit)
Event: time 304755.884869, type 1 (Key), code 256 (Btn0), value 0
Event: time 304755.884885, -------------- Report Sync ------------
Event: time 304755.884908, type 1 (Key), code 256 (Btn0), value 1
Event: time 304755.884917, -------------- Report Sync ------------
Event: time 304756.444880, type 1 (Key), code 256 (Btn0), value 0
Event: time 304756.444897, -------------- Report Sync ------------
Event: time 304756.444922, type 1 (Key), code 256 (Btn0), value 1
Event: time 304756.444927, -------------- Report Sync ------------
Event: time 304762.503011, type 1 (Key), code 256 (Btn0), value 0
Event: time 304762.503034, -------------- Report Sync ------------
Event: time 304762.503056, type 1 (Key), code 256 (Btn0), value 1
Event: time 304762.503062, -------------- Report Sync ------------
Event: time 304769.556278, type 1 (Key), code 256 (Btn0), value 0
Event: time 304769.559097, -------------- Report Sync ------------
Event: time 304769.559134, type 1 (Key), code 256 (Btn0), value 1
Event: time 304769.559143, -------------- Report Sync ------------
Event: time 304802.619907, type 1 (Key), code 256 (Btn0), value 0
Event: time 304802.619920, -------------- Report Sync ------------
Event: time 304802.627168, type 1 (Key), code 256 (Btn0), value 1
Event: time 304802.627180, -------------- Report Sync ------------
ey), code 256 (Btn0), value 1
Event: time 304746.669949, -------------- Report Sync ------------
Event: time 304746.670020, type 1 (Key), code 256 (Btn0), value 0
^Cent: time 304746.670029, -------------- Report Sync ------------
root:/bin> 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 (Sync)
Event type 1 (Key)
Event code 256 (Btn0)
Event code 257 (Btn1)
Event code 258 (Btn2)
Event code 259 (Btn3)
Testing ... (interrupt to exit)
Event: time 304837.484314, type 1 (Key), code 256 (Btn0), value 0
Event: time 304837.484327, -------------- Report Sync ------------
Event: time 304837.484331, type 1 (Key), code 256 (Btn0), value 1
Event: time 304837.484333, -------------- Report Sync ------------
ts:
Event type 0 (Sync)
Event type 1 (Key)
Event code 256 (Btn0)
Event code 257 (Btn1)
Event code 258 (Btn2)
Event code 259 (Btn3)
Testing ... (interrupt to exit)
Event: time 304837.484314, type 1 (Key), code 256 (Btn0), value 0
Event: time 304837.484327, -------------- Report Sync ------------
Event: time 304837.484331, type 1 (Key), code 256 (Btn0), value 1
Event: time 304837.484333, -------------- Report Sync ------------
(Key), code 256 (Btn0), value 0
Event: time 304748.012377, -------------- Report Sync ------------
Event: time 304748.012485, type 1 (Key), code 256 (Btn0), value 1
Event: time 304748.012505, -------------- Report Sync ------------
Event: time 304748.012513, type 1 (Key), code 256 (Btn0), value 0
Event: time 304748.012518, -------------- Report Sync ------------
Event: time 304748.012579, type 1 (Key), code 256 (Btn0), value 1
Event: time 304748.012597, -------------- Report Sync ------------
Event: time 304748.012604, type 1 (Key), code 256 (Btn0), value 0
Event: time 304748.012610, -------------- Report Sync ------------
Event: time 304748.012762, type 1 (Key), code 256 (Btn0), value 1
Event: time 304748.012770, -------------- Report Sync ------------
Event: time 304748.012777, type 1 (Key), code 256 (Btn0), value 0
Event: time 304748.012783, -------------- Report Sync ------------
Event: time 304748.014092, type 1 (Key), code 256 (Btn0), value 1
Event: time 304748.014133, -------------- Report Sync ------------
Event: time 304748.014141, type 1 (Key), code 256 (Btn0), value 0
Event: time 304748.014146, -------------- Report Sync ------------
Event: time 304748.014413, type 1 (Key), code 256 (Btn0), value 1
Event: time 304748.014434, -------------- Report Sync ------------
Event: time 304748.014441, type 1 (Key), code 256 (Btn0), value 0
Event: time 304748.014486, -------------- Report Sync ------------
^C
root:/bin> 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 (Sync)
Event type 1 (Key)
Event code 256 (Btn0)
Event code 257 (Btn1)
Event code 258 (Btn2)
Event code 259 (Btn3)
Testing ... (interrupt to exit)
Event: time 304755.884869, type 1 (Key), code 256 (Btn0), value 0
Event: time 304755.884885, -------------- Report Sync ------------
Event: time 304755.884908, type 1 (Key), code 256 (Btn0), value 1
Event: time 304755.884917, -------------- Report Sync ------------
Event: time 304756.444880, type 1 (Key), code 256 (Btn0), value 0
Event: time 304756.444897, -------------- Report Sync ------------
Event: time 304756.444922, type 1 (Key), code 256 (Btn0), value 1
Event: time 304756.444927, -------------- Report Sync ------------
Event: time 304762.503011, type 1 (Key), code 256 (Btn0), value 0
Event: time 304762.503034, -------------- Report Sync ------------
Event: time 304762.503056, type 1 (Key), code 256 (Btn0), value 1
Event: time 304762.503062, -------------- Report Sync ------------
Event: time 304769.556278, type 1 (Key), code 256 (Btn0), value 0
Event: time 304769.559097, -------------- Report Sync ------------
Event: time 304769.559134, type 1 (Key), code 256 (Btn0), value 1
Event: time 304769.559143, -------------- Report Sync ------------
Event: time 304802.619907, type 1 (Key), code 256 (Btn0), value 0
Event: time 304802.619920, -------------- Report Sync ------------
Event: time 304802.627168, type 1 (Key), code 256 (Btn0), value 1
Event: time 304802.627180, -------------- Report Sync ------------
ey), code 256 (Btn0), value 1
Event: time 304746.669949, -------------- Report Sync ------------
Event: time 304746.670020, type 1 (Key), code 256 (Btn0), value 0
^Cent: time 304746.670029, -------------- Report Sync ------------
root:/bin>
Follow-ups
--- steven miao 2010-09-07 22:12:19
It looks ok here, see the following log
U-Boot 2010.06-svn2395 (ADI-2010R1-pre) (Aug 24 2010 - 05:13:54)
CPU: ADSP bf537-0.2 (Detected Rev: 0.2) (bypass boot)
Board: ADI BF537 stamp board
Support: http://blackfin.uclinux.org/
Clock: VCO: 500 MHz, Core: 500 MHz, System: 125 MHz
RAM: 64 MiB
Flash: 4 MiB
In: serial
Out: serial
Err: serial
KGDB: [on serial] ready
Net: bfin_mac
Hit any key to stop autoboot: 0
Using bfin_mac device
TFTP from server 10.99.29.111; our IP address is 10.99.29.103
Filename 'uImage'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
######################################
done
Bytes transferred = 5319294 (512a7e hex)
## Booting kernel from Legacy Image at 01000000 ...
Image Name: bf537-2.6.34.6-ADI-2010R1-pre-sv
Created: 2010-09-06 9:53:56 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 5319230 Bytes = 5.1 MiB
Load Address: 00001000
Entry Point: 001a9790
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 001a9790
Linux version 2.6.34.6-ADI-2010R1-pre-svn9119 (steven@debiansteven) (gcc
version 4.1.2 (ADI svn)) #61 Mon Sep 6 17:53:45 CST 2010
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Limiting kernel memory to 56MB due to anomaly 05000263
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x00118ed0
rodata = 0x00118ed0-0x0017bc08
bss = 0x0017c000-0x0018c554
data = 0x0018c554-0x0019e000
stack = 0x0019c000-0x0019e000
init = 0x0019e000-0x00ace000
available = 0x00ace000-0x03800000
DMA Zone = 0x03f00000-0x04000000
Hardware Trace Active and Enabled
Boot Mode: 0
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 125 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14224
Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000
earlyprintk=serial,uart0,57600 console=ttyBF0,57600
ip=10.99.29.103:10.99.29.111:10.99.29.1:255.255.255.0:bf537-stamp:eth0:off
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 available: 45712k/65536k RAM, (9408k init code, 1119k kernel code, 533k
data, 1024k dma, 7740k reserved)
Hierarchical RCU implementation.
NR_IRQS:138
Configuring Blackfin Priority Driven Interrupts
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
Security Framework initialized
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (36 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_init(): registering device resources
bio: create slab <bio-0> at 0
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0,
regs_base@ffc00500, dma channel@7
Switching to clocksource bfin_cs_cycles
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
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 89
io scheduler noop registered
io scheduler cfq registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mii_bus: Can't get IRQ 65535 (PHY)
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1,
mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1
bfin-gpio: GPIO 2 is already reserved by BFIN-GPIO!
(Documentation/blackfin/bfin-gpio-notes.txt)
bfin-gpio: GPIO 3 is already reserved by BFIN-GPIO!
(Documentation/blackfin/bfin-gpio-notes.txt)
bfin-gpio: GPIO 4 is already reserved by BFIN-GPIO!
(Documentation/blackfin/bfin-gpio-notes.txt)
bfin-gpio: GPIO 5 is already reserved by BFIN-GPIO!
(Documentation/blackfin/bfin-gpio-notes.txt)
input: gpio-keys as /devices/platform/gpio-keys.0/input/input0
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
TCP cubic registered
NET: Registered protocol family 17
rtc-bfin rtc-bfin: setting system clock to 1970-01-04 19:43:50 UTC (330230)
IP-Config: Complete:
device=eth0, addr=10.99.29.103, mask=255.255.255.0, gw=10.99.29.1,
host=bf537-stamp, domain=, nis-domain=(none),
bootserver=10.99.29.111, rootserver=10.99.29.111, rootpath=
dma_alloc_init: dma_page @ 0x02b2c000 - 256 pages at 0x03f00000
Freeing unused kernel memory: 9408k freed
_____________________________________
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| - http://blackfin.uclinux.org/
\ YP" `| 8P `. - http://docs.blackfin.uclinux.org/
/ \.___.d| .' - http://www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - http://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.16.2 (2010-08-26 05:20:58 EDT) hush - the humble shell
root:/> PHY: 0:01 - Link is Up - 100/Full
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 (Sync)
Event type 1 (Key)
Event code 256 (Btn0)
Event code 257 (Btn1)
Event code 258 (Btn2)
Event code 259 (Btn3)
Testing ... (interrupt to exit)
Event: time 330250.886099, type 1 (Key), code 256 (Btn0), value 1
Event: time 330250.886116, -------------- Report Sync ------------
Event: time 330251.046323, type 1 (Key), code 256 (Btn0), value 0
Event: time 330251.046333, -------------- Report Sync ------------
Event: time 330251.507160, type 1 (Key), code 257 (Btn1), value 1
Event: time 330251.507176, -------------- Report Sync ------------
Event: time 330251.679245, type 1 (Key), code 257 (Btn1), value 0
Event: time 330251.679254, -------------- Report Sync ------------
Event: time 330252.367489, type 1 (Key), code 258 (Btn2), value 1
Event: time 330252.367502, -------------- Report Sync ------------
Event: time 330252.570378, type 1 (Key), code 258 (Btn2), value 0
Event: time 330252.570387, -------------- Report Sync ------------
Event: time 330254.064220, type 1 (Key), code 259 (Btn3), value 1
Event: time 330254.064235, -------------- Report Sync ------------
Event: time 330254.249394, type 1 (Key), code 259 (Btn3), value 0
Event: time 330254.249403, -------------- Report Sync ------------
Event: time 330256.676287, type 1 (Key), code 256 (Btn0), value 1
Event: time 330256.676302, -------------- Report Sync ------------
Event: time 330256.844398, type 1 (Key), code 256 (Btn0), value 0
Event: time 330256.844408, -------------- Report Sync ------------
Event: time 330257.404181, type 1 (Key), code 257 (Btn1), value 1
Event: time 330257.404194, -------------- Report Sync ------------
Event: time 330257.554391, type 1 (Key), code 257 (Btn1), value 0
Event: time 330257.554401, -------------- Report Sync ------------
Event: time 330257.970839, type 1 (Key), code 258 (Btn2), value 1
Event: time 330257.970852, -------------- Report Sync ------------
Event: time 330258.120270, type 1 (Key), code 258 (Btn2), value 0
Event: time 330258.120279, -------------- Report Sync ------------
Event: time 330258.676158, type 1 (Key), code 259 (Btn3), value 1
Event: time 330258.676171, -------------- Report Sync ------------
Event: time 330258.808180, type 1 (Key), code 259 (Btn3), value 0
Event: time 330258.808189, -------------- Report Sync ------------
--- angelia wu 2010-10-13 05:28:04
this test relate to sw5. sw5 should be set all ON. if sw5 are OFF, the button
will be out of work.
Now it is ok, i closed the bug 6208.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
user.537pfbutton.config application/x-config 49083 angelia wu
kernel.537pfbutton.config