[#7765] write through DMA sometimes get board panic

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

[#7765] write through DMA sometimes get board panic

Submitted By: Mingquan Pan

Open Date

2013-05-06 04:01:59    

Priority:

Medium     Assignee:

Sonic Zhang

Category:

N/A     Fixed In Release:

2013R1

Found In Release:

2013R1     Status:

Open

Board:

N/A     Processor:

BF609

Silicon Revision:

    Resolution:

Assigned (Not Start)

Is the bug repeatable?:

N/A     

Summary: write through DMA sometimes get board panic

Details:

 

write through DMA sometimes get board panic on bf609.

 

*****************************

STEP 38: DMA test

 

tftp 0xffa03000 add.bin^M

Waiting for PHY auto negotiation to complete. done^M

ENET Speed is 100 Mbps - FULL duplex connection^M

Using mii0 device^M

TFTP from server 10.100.4.174; our IP address is 10.100.4.50^M

Filename 'add.bin'.^M

Load address: 0xffa03000^M

Loading: *^H#^M

^M

^M

Ack! Something bad happened to the Blackfin!^M

^M

SEQUENCER STATUS:^M

SEQSTAT: 0000002a  IPEND: 8008  SYSCFG: 0001^M

  HWERRCAUSE: 0x0: undef^M

  EXCAUSE   : 0x2a: misaligned inst^M

  physical IVG15 asserted : <0x07f40478> { _evt_default + 0x0 }^M

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

RETN: <0x07ebf1c4> /* unknown address */^M

RETX: <0x07f41be2> { _dma_memcpy + 0x46 }^M

RETS: <0x0000b293> /* unknown address */^M

RETI: <0x07f4010c> { _start + 0x10c }^M

DCPLB_FAULT_ADDR: <0x07ebf1c0> /* unknown address */^M

ICPLB_FAULT_ADDR: <0x07f41be2> { _dma_memcpy + 0x46 }^M

^M

PROCESSOR STATE:^M

R0 : 07f63094    R1 : ffa03020    R2 : 00000001    R3 : 00000100^M

R4 : 0000001e    R5 : 07ebf208    R6 : ae04640a    R7 : 00000005^M

P0 : ffa03020    P1 : 00000001    P2 : ffe01004    P3 : 07f77d94^M

P4 : 07f927fc    P5 : ff80282e    FP : 07ebf208    SP : ffb00f18^M

LB0: 07f4120e    LT0: 07f4120c    LC0: 00000000^M

LB1: 07f41be0    LT1: 07f41bde    LC1: 00000000^M

B0 : 000000f0    L0 : 00000000    M0 : 00000018    I0 : 00000001^M

B1 : 00000000    L1 : 00000000    M1 : 00000001    I1 : 07f9012c^M

B2 : 00000000    L2 : 00000000    M2 : 00001802    I2 : 0000000f^M

B3 : 00000000    L3 : 00000000    M3 : 0000005b    I3 : 00000007^M

A0.w: 0004e200   A0.x: 00000000   A1.w: 000004e8   A1.x: 00000000^M

USP : ffb00ff4  ASTAT: 02001044^M

Hardware Trace:^M

   0 Target : <0x07f40fec> { _trap_c + 0x0 }^M

     Source : <0x07f4041a> { _trap + 0x62 }^M

   1 Target : <0x07f403b8> { _trap + 0x0 }^M

     Source : <0x07f41be0> { _dma_memcpy + 0x44 }^M

   2 Target : <0x07f41bda> { _dma_memcpy + 0x3e }^M

     Source : <0x07f41be2> { _dma_memcpy + 0x46 }^M

   3 Target : <0x07f41bda> { _dma_memcpy + 0x3e }^M

     Source : <0x07f40546> { _blackfin_icache_flush_range + 0x1a }^M

   4 Target : <0x07f4052c> { _blackfin_icache_flush_range + 0x0 }^M

     Source : <0x07f41bd6> { _dma_memcpy + 0x3a }^M

   5 Target : <0x07f41bce> { _dma_memcpy + 0x32 }^M

     Source : <0x07f417b2> { _icache_status + 0xe }^M

   6 Target : <0x07f417a4> { _icache_status + 0x0 }^M

     Source : <0x07f41bca> { _dma_memcpy + 0x2e }^M

   7 Target : <0x07f41bca> { _dma_memcpy + 0x2e }^M

     Source : <0x07f41b9a> { _dma_memcpy_nocache + 0x112 }^M

   8 Target : <0x07f41b70> { _dma_memcpy_nocache + 0xe8 }^M

     Source : <0x07f41b74> { _dma_memcpy_nocache + 0xec }^M

   9 Target : <0x07f41b70> { _dma_memcpy_nocache + 0xe8 }^M

     Source : <0x07f41b74> { _dma_memcpy_nocache + 0xec }^M

  10 Target : <0x07f41b70> { _dma_memcpy_nocache + 0xe8 }^M

     Source : <0x07f41b74> { _dma_memcpy_nocache + 0xec }^M

  11 Target : <0x07f41b0a> { _dma_memcpy_nocache + 0x82 }^M

     Source : <0x07f41b04> { _dma_memcpy_nocache + 0x7c }^M

  12 Target : <0x07f41afe> { _dma_memcpy_nocache + 0x76 }^M

     Source : <0x07f41af8> { _dma_memcpy_nocache + 0x70 }^M

  13 Target : <0x07f41af2> { _dma_memcpy_nocache + 0x6a }^M

     Source : <0x07f41aec> { _dma_memcpy_nocache + 0x64 }^M

  14 Target : <0x07f41ae8> { _dma_memcpy_nocache + 0x60 }^M

     Source : <0x07f41ae2> { _dma_memcpy_nocache + 0x5a }^M

  15 Target : <0x07f41ada> { _dma_memcpy_nocache + 0x52 }^M

     Source : <0x07f41ad4> { _dma_memcpy_nocache + 0x4c }^M

^M

PANIC: Blackfin internal error^M

### ERROR ### Please RESET the board ###^M

^M

^M

U-Boot 2013.04 (ADI-2013R1-pre)-00352-g8cec8b3-dirty (May 03 2013 - 20:49:09), Build: jenkins-label=UBOOT_BF609-EZKIT-304^M

^M

CPU:   ADSP bf609-0.0 (Detected Rev: 0.0) (parallel flash boot)^M

Board: ADI BF609 EZ-Kit board^M

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

Clock: VCO: 500 MHz, Core: 500 MHz, System0: 100 MHz, System1: 100 MHz, Dclk: 125 MHz^M

RAM:   128 MiB^M

Flash: 16 MiB^M

MMC:   Blackfin SDH: 0^M

In:    serial^M

Out:   serial^M

Err:   serial^M

other init^M

Net:   mii0^M

 

 

 

 

It should be:

*****************************

STEP 38: DMA test

 

tftp 0xffa03000 add.bin^M

Waiting for PHY auto negotiation to complete. done^M

ENET Speed is 100 Mbps - FULL duplex connection^M

Using mii0 device^M

TFTP from server 10.100.4.174; our IP address is 10.100.4.50^M

Filename 'add.bin'.^M

Load address: 0xffa03000^M

Loading: *^H#^M

         13.7 KiB/s^M

done^M

Bytes transferred = 28 (1c hex)^M

bfin> md.b 0xffa03000 $(filesize)^M

ffa03000: 00 e1 c2 00 01 e1 1c 00 08 e1 90 00 48 e1 00 01    ............H...^M

ffa03010: 02 c4 01 06 c0 8a 24 00 10 00 00 00                ......$.....^M

bfin> go 0xffa03000

go 0xffa03000^M

## Starting application at 0xFFA03000 ...^M

## Application terminated, rc = 0xC2^M

bfin> sending md.b 0x01000090

md.b 0x01000090^M

01000090: de 00 16 b9 78 45 d7 5d d3 76 12 50 51 83 a0 24    ....xE.].v.PQ..$^M

010000a0: dc e6 3d a7 ba 7b 66 82 b8 ef f3 3c                ..=..{f....<^M

bfin> mw.b 0x01000090 00^M

bfin> md.b 0x01000090^M

01000090: 00 00 16 b9 78 45 d7 5d d3 76 12 50 51 83 a0 24    ....xE.].v.PQ..$^M

010000a0: dc e6 3d a7 ba 7b 66 82 b8 ef f3 3c                ..=..{f....<^M

bfin>

===== Recording result: DMA is pass

 

 

Follow-ups

No Messages Were Found

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes