[#5435] ping failed after wake up from mem in BF518F-EZBRD in latest branch
Submitted By: Vivi Li
Open Date
2009-08-12 22:14:53 Close Date
2009-08-13 19:02:57
Priority:
Medium High Assignee:
Graf Yang
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
Drivers Board:
N/A
Processor:
BF518 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Rejected
Uboot version or rev.:
Toolchain version or rev.:
gcc4.1-09r1_rc9
App binary format:
N/A
Summary: ping failed after wake up from mem in BF518F-EZBRD in latest branch
Details:
ping failed after wake up from mem in BF518F-EZBRD with pull-down resistor for SCKE.
The last known good version is:
--
kernel: Linux release 2.6.28.10-ADI-2009R1-svn7106, build #12 Sat Aug 8 11:13:14 GMT 2009^M
toolchain: bfin-linux-uclibc-gcc release gcc version 4.1.2 (ADI svn)^M
user-dist: release svn-8643, build #205 Sat Aug 8 11:11:14 GMT 2009^M
--
The first known failed version is:
--
kernel: Linux release 2.6.28.10-ADI-2009R1-svn7150, build #20 Wed Aug 12 09:42:27 GMT 2009^M
toolchain: bfin-linux-uclibc-gcc release gcc version 4.1.2 (ADI svn)^M
user-dist: release svn-8691, build #329 Wed Aug 12 09:40:26 GMT 2009^M
--
Bellow is the log:
--
Linux version 2.6.28.10-ADI-2009R1-svn7150 (test@uclinux80-518f) (gcc version 4.1.2 (ADI svn)) #24 Thu Aug 13 07:33:26 GMT 2009^M
bootconsole [early_shadow0] enabled^M
bootconsole [early_BFuart0] enabled^M
early printk enabled on early_BFuart0^M
Board Memory: 64MB^M
Kernel Managed Memory: 64MB^M
Memory map:^M
fixedcode = 0x00000400-0x00000490^M
text = 0x00001000-0x0011e2d0^M
rodata = 0x0011e2d0-0x00173e44^M
bss = 0x00174000-0x00185098^M
data = 0x00185098-0x00196000^M
stack = 0x00194000-0x00196000^M
init = 0x00196000-0x007d6000^M
available = 0x007d6000-0x03dff000^M
DMA Zone = 0x03e00000-0x04000000^M
Hardware Trace Active and Enabled^M
Boot Mode: 1^M
Reset caused by Software reset^M
Blackfin support (C) 2004-2009 Analog Devices, Inc.^M
Compiled for ADSP-BF518 Rev 0.0^M
Blackfin Linux support by http://blackfin.uclinux.org/^M
Processor Speed: 400 MHz core clock and 80 MHz System Clock^M
NOMPU: setting up cplb tables^M
Instruction Cache Enabled for CPU0^M
Data Cache Enabled for CPU0 (write-back)^M
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 15747^M
Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf518f-ezbrd:eth0:off^M
Configuring Blackfin Priority Driven Interrupts^M
PID hash table entries: 256 (order: 8, 1024 bytes)^M
console handover:boot [early_BFuart0] boot [early_shadow0] -> real [ttyBF0]^M
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)^M
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)^M
Memory available: 54892k/65536k RAM, (6400k init code, 1140k kernel code, 480k data, 2048k dma, 572k reserved)^M
Calibrating delay loop... 794.62 BogoMIPS (lpj=1589248)^M
Security Framework initialized^M
Mount-cache hash table entries: 512^M
Blackfin Scratchpad data SRAM: 4 KB^M
Blackfin L1 Data A SRAM: 16 KB (15 KB free)^M
Blackfin L1 Data B SRAM: 16 KB (16 KB free)^M
Blackfin L1 Instruction SRAM: 48 KB (42 KB free)^M
net_namespace: 288 bytes^M
NET: Registered protocol family 16^M
Blackfin DMA Controller^M
ezbrd_init(): registering device resources^M
NET: Registered protocol family 2^M
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)^M
TCP established hash table entries: 2048 (order: 2, 16384 bytes)^M
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)^M
TCP: Hash tables configured (established 2048 bind 2048)^M
TCP reno registered^M
NET: Registered protocol family 1^M
msgmni has been set to 107^M
io scheduler noop registered (default)^M
Serial: Blackfin serial driver^M
bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART^M
brd: module loaded^M
bfin_mii_bus: probed^M
bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_clk=2500000Hz(mdc_div=15)@sclk=80MHz)^M
bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1^M
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0^M
i2c /dev entries driver^M
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400^M
bfin-wdt: initialized: timeout=20 sec (nowayout=0)^M
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.^M
ALSA device list:^M
No soundcards found.^M
TCP cubic registered^M
NET: Registered protocol family 17^M
rtc-bfin rtc-bfin: setting system clock to 2004-05-31 13:52:24 UTC (1086011544)^M
dma_alloc_init: dma_page @ 0x03a83000 - 512 pages at 0x03e00000^M
IP-Config: Complete:^M
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,^M
host=bf518f-ezbrd, domain=, nis-domain=(none),^M
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=^M
Freeing unused kernel memory: 6400k freed^M
_____________________________________^M
a8888b. / Welcome to the uClinux distribution \^M
d888888b. / _ _ \^M
8P"YP"Y88 / | | |_| __ __ (TM) |^M
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |^M
8' .88 \ | | | | _ \| | | | \ / |^M
8`._.' Y8. \ | |__ | | | | | |_| | / \ |^M
d/ `8b. \ \____||_|_| |_|\____|/_/\_\ |^M
dP . Y8b. \ For embedded processors including |^M
d8:' " `::88b \ the Analog Devices Blackfin /^M
d8" 'Y88b \___________________________________/^M
:8P ' :888^M
8a. : _a88P For further information, check out:^M
._/"Yaa_: .| 88P| - http://blackfin.uclinux.org/^M
\ YP" `| 8P `. - http://docs.blackfin.uclinux.org/^M
/ \.___.d| .' - http://www.uclinux.org/^M
`--..__)8888P`._.' jgs/a:f - https://www.analog.com/blackfin^M
^M
Have a lot of fun...^M
^M
^M
BusyBox v1.13.4 (2009-08-13 07:30:04 GMT) built-in shell (msh)^M
Enter 'help' for a list of built-in commands.^M
^M
root:/> Trying 100/FULL^M
PHY: 0:03 - Link is Up - 100/Full^M
ping 10.100.4.174 -c 5^M
PING 10.100.4.174 (10.100.4.174): 56 data bytes^M
64 bytes from 10.100.4.174: seq=0 ttl=64 time=4.000 ms^M
64 bytes from 10.100.4.174: seq=1 ttl=64 time=0.000 ms^M
64 bytes from 10.100.4.174: seq=2 ttl=64 time=0.000 ms^M
64 bytes from 10.100.4.174: seq=3 ttl=64 time=0.000 ms^M
64 bytes from 10.100.4.174: seq=4 ttl=64 time=0.000 ms^M
^M
--- 10.100.4.174 ping statistics ---^M
5 packets transmitted, 5 packets received, 0% packet loss^M
round-trip min/avg/max = 0.000/0.800/4.000 ms^M
root:/>
root:/> rtcwake -s 10 -m mem^M
wakeup from "mem" at Mon May 31 13:52:52 2004^M
PM: Syncing filesystems ... done.^M
Freezing user space processes ... (elapsed 0.00 seconds) done.^M
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.^M
Suspending console(s) (use no_console_suspend to debug)^M
PHY: 0:03 - Link is Down^M
Restarting tasks ... done.^M
PHY: 0:03 - Link is Up - 100/Full^M
root:/>
root:/> ping 10.100.4.174 -c 5^M
PING 10.100.4.174 (10.100.4.174): 56 data bytes^M
^M
--- 10.100.4.174 ping statistics ---^M
5 packets transmitted, 0 packets received, 100% packet loss^M
root:/>
--
Follow-ups
--- Michael Hennerich 2009-08-13 05:40:37
Works pretty ok for me.
root:/> rtcwake -s10 -mmem
wakeup from "mem" at Wed Sep 25 18:49:03 2030
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
PHY: 0:03 - Link is Down
Restarting tasks ... done.
PHY: 0:03 - Link is Up - 100/Full
root:/
root:/> ping 10.44.2.88
PING 10.44.2.88 (10.44.2.88): 56 data bytes
64 bytes from 10.44.2.88: seq=0 ttl=64 time=4.000 ms
64 bytes from 10.44.2.88: seq=1 ttl=64 time=0.000 ms
64 bytes from 10.44.2.88: seq=2 ttl=64 time=0.000 ms
64 bytes from 10.44.2.88: seq=3 ttl=64 time=0.000 ms
^C
--- 10.44.2.88 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.000/1.000/4.000 ms
root:/> rtcwake -s10 -mmem
wakeup from "mem" at Wed Sep 25 18:49:34 2030
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
PHY: 0:03 - Link is Down
Restarting tasks ... done.
PHY: 0:03 - Link is Up - 100/Full
root:/
root:/> ping 10.44.2.88
PING 10.44.2.88 (10.44.2.88): 56 data bytes
64 bytes from 10.44.2.88: seq=0 ttl=64 time=0.000 ms
64 bytes from 10.44.2.88: seq=1 ttl=64 time=0.000 ms
64 bytes from 10.44.2.88: seq=2 ttl=64 time=0.000 ms
64 bytes from 10.44.2.88: seq=3 ttl=64 time=0.000 ms
64 bytes from 10.44.2.88: seq=4 ttl=64 time=0.000 ms
^C
--- 10.44.2.88 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.000/0.000/0.000 ms
root:/> version
kernel: Linux release 2.6.28.10-ADI-2009R1-svn7171, build #164 Thu
Aug 13 11:26:13 CEST 2009
toolchain: bfin-linux-uclibc-gcc release gcc version 4.1.2 (ADI svn)
user-dist: release 2008R1, build #91 Thu Aug 13 11:25:49 CEST 2009
root:/> cat /proc/cpuinfo
processor : 0
vendor_id : Analog Devices
cpu family : 0x27e8
model name : ADSP-BF518 400(MHz CCLK) 80(MHz SCLK) (mpu off)
stepping : 0
cpu MHz : 400.000/80.000
bogomips : 794.62
Calibration : 397312000 loops
cache size : 16 KB(L1 icache) 32 KB(L1 dcache-wb) 0 KB(L2 cache)
dbank-A/B : cache/cache
icache setup : 4 Sub-banks/4 Ways, 32 Lines/Way
dcache setup : 2 Super-banks/4 Sub-banks/2 Ways, 64 Lines/Way
board name : ADI BF518F-EZBRD
board memory : 65536 kB (0x00000000 -> 0x04000000)
kernel memory : 64504 kB (0x00001000 -> 0x03eff000)
root:/
--- Graf Yang 2009-08-13 06:58:02
It is proved that it's a hardware issue. Another board works fine,
Using the same uImage/uboot.
So Vivi will use the another bf518-ezbrd to make test.
--- Vivi Li 2009-08-14 00:03:16
I've changed another borad. So close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.power application/octet-stream 31471 Vivi Li