[#5327] After wake up from mem, ethernet can't work on bf518f-ezbrd

Document created by Aaronwu Employee on Sep 4, 2013
Version 1Show Document
  • View in full screen mode

[#5327] After wake up from mem, ethernet can't work on bf518f-ezbrd

Submitted By: Vivi Li

Open Date

2009-07-08 05:11:13     Close Date

2009-07-10 06:36:02

Priority:

Medium     Assignee:

Michael Hennerich

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_2009r1-rc9

App binary format:

N/A     

Summary: After wake up from mem, ethernet can't work on bf518f-ezbrd

Details:

 

After wake up from mem, ethernet can't work on bf518f-ezbrd.

 

Bellow is the log:

--

U-Boot 2008.10-svn1959 (ADI-2009R1-rc2) (Jul  3 2009 - 10:03:27)

 

CPU:   ADSP bf518-0.0 (Detected Rev: 0.0) (parallel flash boot)

Board: ADI BF518F EZ-Board board

       Support: http://blackfin.uclinux.org/

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:E0:FE:55:B3:BC

Hit any key to stop autoboot:  0

Using Blackfin EMAC 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 = 4010042 (3d303a hex)

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   Linux-2.6.28.10-ADI-2009R1-svn69

   Created:      2009-07-08   6:05:24 UTC

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    4009978 Bytes =  3.8 MB

   Load Address: 00001000

   Entry Point:  001a2914

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Starting Kernel at = 001a2914

Linux version 2.6.28.10-ADI-2009R1-svn6933 (test@uclinux80-518f) (gcc version 4.1.2 (ADI svn)) #4 Wed Jul 8 06:05:13 GMT 2009

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0011e2f0

  rodata    = 0x0011e2f0-0x00173cf8

  bss       = 0x00174000-0x00185098

  data      = 0x00185098-0x00196000

    stack   = 0x00194000-0x00196000

  init      = 0x00196000-0x007d5000

  available = 0x007d5000-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Reset caused by Software reset

Blackfin support (C) 2004-2009 Analog Devices, Inc.

Compiled for ADSP-BF518 Rev 0.0

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 400 MHz core clock and 80 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16001

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50f

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

console handover:boot [early_BFuart0] boot [early_shadow0]  -> real [ttyBF0]

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 55920k/65536k RAM, (6396k init code, 1140k kernel code, 480k data, 1024k dma, 572k reserved)

Calibrating delay loop... 794.62 BogoMIPS (lpj=1589248)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (15 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

ezbrd_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

NET: Registered protocol family 1

msgmni has been set to 109

io scheduler noop registered (default)

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART

brd: module loaded

bfin_mii_bus: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_clk=2500000Hz(mdc_div=15)@sclk=80MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

i2c /dev entries driver

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

Advanced Linux Sound Architecture Driver Version 1.0.18rc3.

ALSA device list:

  No soundcards found.

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 2004-05-31 21:43:24 UTC (1086039804)

dma_alloc_init: dma_page @ 0x03992000 - 256 pages at 0x03f00000

IP-Config: Complete:

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

     host=bf518f-ezbrd, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 6396k 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.13.4 (2009-07-08 06:02:22 GMT) built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> Trying 100/FULL

PHY: 0:03 - Link is Up - 100/Full

 

root:/>

root:/> ping 10.100.4.174

PING 10.100.4.174 (10.100.4.174): 56 data bytes

64 bytes from 10.100.4.174: seq=0 ttl=64 time=4.000 ms

64 bytes from 10.100.4.174: seq=1 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=2 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=3 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=4 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=5 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=6 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=7 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=8 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=9 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=10 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=11 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=12 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=13 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=14 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=15 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=16 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=17 ttl=64 time=0.000 ms

^C

--- 10.100.4.174 ping statistics ---

18 packets transmitted, 18 packets received, 0% packet loss

round-trip min/avg/max = 0.000/0.222/4.000 ms

root:/>

root:/> rtcwake -s 10 -m mem

wakeup from "mem" at Mon May 31 21:39:42 2004

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:/> ping 10.100.4.174 -c 5

PING 10.100.4.174 (10.100.4.174): 56 data bytes

64 bytes from 10.100.4.174: seq=0 ttl=64 time=4.000 ms

64 bytes from 10.100.4.174: seq=1 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=2 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=3 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=4 ttl=64 time=0.000 ms

 

--- 10.100.4.174 ping statistics ---

5 packets transmitted, 5 packets received, 0% packet loss

round-trip min/avg/max = 0.000/0.800/4.000 ms

root:/> rtcwake -s 10 -m mem

wakeup from "mem" at Mon May 31 21:40:12 2004

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:/> ping 10.100.4.174 -c 5

PING 10.100.4.174 (10.100.4.174): 56 data bytes

64 bytes from 10.100.4.174: seq=0 ttl=64 time=1008.000 ms

64 bytes from 10.100.4.174: seq=1 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=2 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=3 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=4 ttl=64 time=0.000 ms

 

--- 10.100.4.174 ping statistics ---

5 packets transmitted, 5 packets received, 0% packet loss

round-trip min/avg/max = 0.000/201.600/1008.000 ms

root:/> ping 10.100.4.174 -c 5

PING 10.100.4.174 (10.100.4.174): 56 data bytes

64 bytes from 10.100.4.174: seq=0 ttl=64 time=4.000 ms

64 bytes from 10.100.4.174: seq=1 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=2 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=3 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=4 ttl=64 time=0.000 ms

 

--- 10.100.4.174 ping statistics ---

5 packets transmitted, 5 packets received, 0% packet loss

round-trip min/avg/max = 0.000/0.800/4.000 ms

root:/> rtcwake -s 10 -m mem

wakeup from "mem" at Mon May 31 21:40:42 2004

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:/> ping 10.100.4.174 -c 5

PING 10.100.4.174 (10.100.4.174): 56 data bytes

 

--- 10.100.4.174 ping statistics ---

5 packets transmitted, 0 packets received, 100% packet loss

root:/> ping 10.100.4.174 -c 5

PING 10.100.4.174 (10.100.4.174): 56 data bytes

 

--- 10.100.4.174 ping statistics ---

5 packets transmitted, 0 packets received, 100% packet loss

root:/>

--

 

ping server in the background and wake up from mem several times, then can not receive ethernet package now. sometimes it will crash when execute command.

--

Linux version 2.6.28.10-ADI-2009R1-svn6933 (test@uclinux80-518f) (gcc version 4.1.2 (ADI svn)) #4 Wed Jul 8 06:05:13 GMT 2009

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x0011e2f0

  rodata    = 0x0011e2f0-0x00173cf8

  bss       = 0x00174000-0x00185098

  data      = 0x00185098-0x00196000

    stack   = 0x00194000-0x00196000

  init      = 0x00196000-0x007d5000

  available = 0x007d5000-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 1

Reset caused by Software reset

Blackfin support (C) 2004-2009 Analog Devices, Inc.

Compiled for ADSP-BF518 Rev 0.0

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 400 MHz core clock and 80 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16001

Kernel command line: root=/dev/mtdblock0 rw clkin_hz=25000000 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50f

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

console handover:boot [early_BFuart0] boot [early_shadow0]  -> real [ttyBF0]

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory available: 55920k/65536k RAM, (6396k init code, 1140k kernel code, 480k data, 1024k dma, 572k reserved)

Calibrating delay loop... 794.62 BogoMIPS (lpj=1589248)

Security Framework initialized

Mount-cache hash table entries: 512

Blackfin Scratchpad data SRAM: 4 KB

Blackfin L1 Data A SRAM: 16 KB (15 KB free)

Blackfin L1 Data B SRAM: 16 KB (16 KB free)

Blackfin L1 Instruction SRAM: 48 KB (42 KB free)

net_namespace: 288 bytes

NET: Registered protocol family 16

Blackfin DMA Controller

ezbrd_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

NET: Registered protocol family 1

msgmni has been set to 109

io scheduler noop registered (default)

Serial: Blackfin serial driver

bfin-uart.1: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART

brd: module loaded

bfin_mii_bus: probed

bfin_mac: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:03, irq=-1, mdc_clk=2500000Hz(mdc_div=15)@sclk=80MHz)

bfin_mac bfin_mac.0: Blackfin on-chip Ethernet MAC driver, Version 1.1

rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0

i2c /dev entries driver

i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400

bfin-wdt: initialized: timeout=20 sec (nowayout=0)

Advanced Linux Sound Architecture Driver Version 1.0.18rc3.

ALSA device list:

  No soundcards found.

TCP cubic registered

NET: Registered protocol family 17

rtc-bfin rtc-bfin: setting system clock to 2004-05-31 21:43:24 UTC (1086039804)

dma_alloc_init: dma_page @ 0x03992000 - 256 pages at 0x03f00000

IP-Config: Complete:

     device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,

     host=bf518f-ezbrd, domain=, nis-domain=(none),

     bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=

Freeing unused kernel memory: 6396k 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.13.4 (2009-07-08 06:02:22 GMT) built-in shell (msh)

Enter 'help' for a list of built-in commands.

 

root:/> Trying 100/FULL

PHY: 0:03 - Link is Up - 100/Full

 

root:/> ping 10.100.4.174 -c 5

PING 10.100.4.174 (10.100.4.174): 56 data bytes

64 bytes from 10.100.4.174: seq=0 ttl=64 time=4.000 ms

64 bytes from 10.100.4.174: seq=1 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=2 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=3 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=4 ttl=64 time=0.000 ms

 

--- 10.100.4.174 ping statistics ---

5 packets transmitted, 5 packets received, 0% packet loss

round-trip min/avg/max = 0.000/0.800/4.000 ms

root:/> ping 10.100.4.174 &

PING 10.100.4.174 (10.100.4.174): 56 data bytes

64 bytes from 10.100.4.174: seq=0 ttl=64 time=0.000 ms

175

root:/>

root:/> 64 bytes from 10.100.4.174: seq=1 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=2 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=3 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=4 ttl=64 time=0.000 ms

 

root:/>

root:/> 64 bytes from 10.100.4.174: seq=5 ttl=64 time=0.000 ms

 

root:/>

root:/>

root:/>

root:/> 64 bytes from 10.100.4.174: seq=6 ttl=64 time=0.000 ms

 

root:/> rtcwake -s 10 -m mem

64 bytes from 10.100.4.174: seq=7 ttl=64 time=0.000 ms

wakeup from "mem" at Mon May 31 21:44:40 2004

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 ... 64 bytes from 10.100d4.174: seq=8 ttl=64 time=0.000 msone.

 

64 bytes from 10.100.4.174: seq=9 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=10 ttl=64 time=0.000 ms

PHY: 0:03 - Link is Up - 100/Full

64 bytes from 10.100.4.174: seq=11 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=12 ttl=64 time=0.000 ms

root:/> 64 bytes from 10.100.4.174: seq=13 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=14 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=15 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=19 ttl=64 time=1004.000 ms

64 bytes from 10.100.4.174: seq=20 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=21 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=22 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=23 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=24 ttl=64 time=0.000 ms

64 bytes from 10.100.4.174: seq=25 ttl=64 time=0.000 ms

 

root:/>

root:/>

root:/> 64 bytes from 10.100.4.174: seq=26 ttl=64 time=0.000 ms

 

root:/>

root:/>

root:/>

root:/> 64 bytes from 10.100.4.174: seq=27 ttl=64 time=0.000 ms

rtcwake -s 10 -m mem

wakeup from "mem" at Mon May 31 21:45:10 2004

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:/>

root:/>

root:/>

root:/>

root:/> ps axData access CPLB protection violation

- Attempted read or write to Supervisor resource,

   or illegal data memory access.

Kernel OOPS in progress

Deferred Exception context

CURRENT PROCESS:

COMM=sh PID=169

CPU = 0

TEXT = 0x00700000-0x007472e0        DATA = 0x039d42e0-0x039d76f4

BSS = 0x039d76f4-0x039e0000  USER-STACK = 0x039ffed0

 

return address: [0x000844e2]; contents of:

0x000844c0:  2004  3449  9c0b  c803  1800  9203  9c0b  9203

0x000844d0:  601b  54da  0c03  3289  1002  0010  3213  e0a2

0x000844e0:  2003 [9849] 9a01  0010  5a10  6ff8  5a51  6ff9

0x000844f0:  e0a2  2003  98c9  9a81  0010  0000  344b  3200

 

ADSP-BF518-0.0 400(MHz CCLK) 80(MHz SCLK) (mpu off)

Linux version 2.6.28.10-ADI-2009R1-svn6933

Built with gcc version 4.1.2 (ADI svn)

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00060023  IPEND: c030  SYSCFG: 0006

  EXCAUSE   : 0x23

  interrupts disabled

  physical IVG5 asserted : <0xffa00ba0> { _evt_ivhw + 0x0 }

  physical IVG14 asserted : <0xffa009a4> { _evt14_softirq + 0x0 }

  physical IVG15 asserted : <0xffa00df8> { _evt_system_call + 0x0 }

  logical irq   6 mapped  : <0xffa00328> { _timer_interrupt + 0x0 }

  logical irq  21 mapped  : <0x000a8998> { _bfin_rtc_interrupt + 0x0 }

  logical irq  27 mapped  : <0x000ab480> { _bfin_twi_interrupt_entry + 0x0 }

  logical irq  29 mapped  : <0x00097668> { _bfin_serial_dma_rx_int + 0x0 }

  logical irq  30 mapped  : <0x000979a4> { _bfin_serial_dma_tx_int + 0x0 }

  logical irq  35 mapped  : <0x000a05f0> { _bfin_mac_interrupt + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x039cfb50> /* kernel dynamic memory */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x000df9b8> { _eth_header + 0x50 }

PC  : <0x000844e2> { _memcpy + 0x56 }

DCPLB_FAULT_ADDR: <0xffa002b4> { _asm_do_IRQ + 0x34 }

ICPLB_FAULT_ADDR: <0x000844e2> { _memcpy + 0x56 }

 

PROCESSOR STATE:

R0 : 006bbc02    R1 : 00000003    R2 : 00000006    R3 : 00000002

R4 : 00000806    R5 : ffa002b4    R6 : 03ea6130    R7 : 00000806

P0 : 006bbc02    P1 : ffa002b4    P2 : 00000006    P3 : 03ea6000

P4 : 03ea6000    P5 : 006bbc02    FP : ffa002b4    SP : 039cfa74

LB0: 000844e4    LT0: 000844e2    LC0: 00000006

LB1: 0000886e    LT1: 0000886e    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 00000002

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00000806

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 039ff930  ASTAT: 02002020

 

Hardware Trace:

   0 Target : <0x00004cc8> { _trap_c + 0x0 }

     Source : <0xffa005fc> { _exception_to_level5 + 0xa8 } CALL pcrel

   1 Target : <0xffa00554> { _exception_to_level5 + 0x0 }

     Source : <0xffa0042c> { _bfin_return_from_exception + 0x18 } RTX

   2 Target : <0xffa00414> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa004a2> { _ex_trap_c + 0x46 } JUMP.S

   3 Target : <0xffa0045c> { _ex_trap_c + 0x0 }

     Source : <0xffa006c8> { _trap + 0x58 } JUMP (P4)

   4 Target : <0xffa00670> { _trap + 0x0 }

     Source : <0x000844de> { _memcpy + 0x52 } LSETUP

   5 Target : <0x000844de> { _memcpy + 0x52 }

     Source : <0x000844a8> { _memcpy + 0x1c } IF !CC JUMP

   6 Target : <0x0008448c> { _memcpy + 0x0 }

     Source : <0x000df9b4> { _eth_header + 0x4c } CALL pcrel

   7 Target : <0x000df9aa> { _eth_header + 0x42 }

     Source : <0x000844ba> { _memcpy + 0x2e } RTS

   8 Target : <0x000844a0> { _memcpy + 0x14 }

     Source : <0x00084498> { _memcpy + 0xc } IF !CC JUMP

   9 Target : <0x0008448c> { _memcpy + 0x0 }

     Source : <0x000df9a6> { _eth_header + 0x3e } CALL pcrel

  10 Target : <0x000df980> { _eth_header + 0x18 }

     Source : <0x000cf34c> { _skb_push + 0x2c } RTS

  11 Target : <0x000cf320> { _skb_push + 0x0 }

     Source : <0x000df97c> { _eth_header + 0x14 } CALL pcrel

  12 Target : <0x000df968> { _eth_header + 0x0 }

     Source : <0x00103b98> { _arp_create + 0xc0 } CALL (P2)

  13 Target : <0x00103b60> { _arp_create + 0x88 }

     Source : <0x000cf394> { _skb_put + 0x38 } RTS

  14 Target : <0x000cf35c> { _skb_put + 0x0 }

     Source : <0x00103b5c> { _arp_create + 0x84 } CALL pcrel

  15 Target : <0x00103b20> { _arp_create + 0x48 }

     Source : <0x000cfde8> { ___alloc_skb + 0xb0 } RTS

 

Kernel Stack

Stack info:

SP: [0x039cff24] <0x039cff24> /* kernel dynamic memory */

Memory from 0x039cff20 to 039d0000

039cff20: 00799940 [001cec9a] 00008000  00000000  00000000  039d0000  001cec9a  001cec9a

039cff40:<001dc0d4><ffa00e5c> 02003004  001dfa65  00735cfd  001dfa1e  00735cf0  00000000

039cff60: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

039cff80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

039cffa0: 00000000  00000000  00000000  00799940  00196458  039ff930  039ff93c  0079b13c

039cffc0: 00798fe8  00799940  00798f8c  001f3450  00000004  00000001  007ca3b8  00799940

039cffe0: 00000001  0000001b  00000001  0079b13c  00000001  00000001  00000004  00000006

039d0000: 03e94260

Return addresses in stack:

    address : <0x001dc0d4> [ /lib/libc.so.0 + 0x1c0d4 ]

    address : <0xffa00e5c> { _evt_system_call + 0x64 }

Modules linked in:

Kernel panic - not syncing: Kernel exception

--

 

Its version info:

--

root:/> version

kernel:    Linux release 2.6.28.10-ADI-2009R1-svn6933, build #4 Wed Jul 8 06:05:13 GMT 2009

toolchain: bfin-linux-uclibc-gcc release gcc version 4.1.2 (ADI svn)

user-dist: release svn-8443, build #53 Wed Jul 8 06:03:47 GMT 2009

root:/>

--

 

Last passed version:

--

root:/> version^M

kernel:    Linux release 2.6.28.10-ADI-2009R1-svn6916, build #7 Sat Jul 4 07:25:15 GMT 2009^M

toolchain: bfin-linux-uclibc-gcc release gcc version 4.1.2 (ADI svn)^M

user-dist: release svn-8416, build #127 Sat Jul 4 07:23:46 GMT 2009^M

root:/>

--

 

Follow-ups

 

--- Michael Hennerich                                        2009-07-09 05:21:58

Grace,

 

This issue is again caused by the missing Pull-Down on the SCKE pin.

Also between last passed version svn6916 and your current failing one svn6933,

there are no relevant changes.

 

It's also not related to network at all.

 

while :;do rtcwake -s20 -m mem;done

 

This simple loop will also fail at some point.

 

I attached a picture of a HW workaround.

Place an 10k SMD 0402 type resistor between P5 B12-B13.

 

 

-Michael

 

--- Michael Hennerich                                        2009-07-09 05:25:02

attach picture

 

--- Vivi Li                                                  2009-07-10 06:36:02

Resistor is placed and it works now.

So close this bug.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.power    application/octet-stream    31471    Vivi Li

BF518-EZBRD SCKE Pull-Down.jpg    image/jpeg    833111    Michael Hennerich

Outcomes