2009-02-11 21:40:51     bf561 corebld error "Data access CPLB miss"

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

2009-02-11 21:40:51     bf561 corebld error "Data access CPLB miss"

hong li (CHINA)

Message: 69299   

 

Hi

 

    Everyone, I find a problem on my bf561 board,my uboot version is uboot-1.1.6, my uClinux is 2008R1, when I use coreld to load programme to coreb as: corebld coreb.bin,  happen error as follow:

 

Data access CPLB miss

- Used by the MMU to signal a CPLB miss on a data access.

Defered Exception context

CURRENT PROCESS:

COMM=corebld PID=104

TEXT = 0x00228040-0x0022ca60        DATA = 0x0022ca64-0x0022e2a4

BSS = 0x0022e2a4-0x0022e554  USER-STACK = 0x0022ff08

 

return address: [0x0022992a]; contents of:

0x00229900:  05ad  0010  014b  3200  3219  3212  0e3a  1818

0x00229910:  3401  56c1  4ff3  0300  1015  44d1  6ff9  601b

0x00229920:  549a  3212  9c01  e0a2  1002 [c803] 1800  9201

0x00229930:  9c01  9201  0c42  3298  1005  9073  0010  0c42

 

SEQUENCER STATUS:  Not tainted

SEQSTAT: 00000026  IPEND: 0030  SYSCFG: 0006

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x26

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

RETN: <0x00222000> /* unknown address */

RETX: <0x0022992a> [ corebld + 0x18ea ]

RETS: <0x0022830a> [ corebld + 0x2ca ]

PC  : <0x0022992a> [ corebld + 0x18ea ]

DCPLB_FAULT_ADDR: <0x03800000> /* unknown address */

ICPLB_FAULT_ADDR: <0x0022992a> [ corebld + 0x18ea ]

 

PROCESSOR STATE:

R0 : 03800000    R1 : 00000000    R2 : 00000000    R3 : 00000003

R4 : 000630cc    R5 : 00280004    R6 : 03800000    R7 : 00000000

P0 : 03800000    P1 : 00018c32    P2 : 00000000    P3 : 00280004

P4 : 0022dfe8    P5 : 0000003c    FP : 0022fdd8    SP : 00221f24

LB0: 0022992b    LT0: 0022992a    LC0: 00018c32

LB1: 002281c1    LT1: 002281b2    LC1: 00000001

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 00280008

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

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 : 0022fdbc  ASTAT: 02002021

 

No trace since you do not have CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE enabled

 

Stack from 00221f04:

        ffa00b1a ffa00768 0015e56c 0015e56c 0015e568 04000021 00000000 00008780

        0022992a 00000030 00000026 00000000 00222000 0022992a 0022992a 0022830a

        03800000 02002021 002281c1 0022992b 002281b2 0022992a 00000001 00018c32

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00000000 00280008 0022fdbc 0022fdd8 0000003c 0022dfe8

 

Call Trace:

[<00018c32>] _sys_setrlimit+0xd6/0x138

[<000630cc>] _proc_tid_stat+0x0/0x8

 

 

 

But  when i use the uclinux is 2007 version , there is not  the problem

 

How to slove this problem?

 

Thanks

 

Hong

 

 

QuoteReplyEditDelete

 

 

2009-02-11 22:01:37     Re: bf561 corebld error "Data access CPLB miss"

Yi Li (CHINA)

Message: 69303   

 

Hong,

 

Could you please try on 2008R1.5-RC3?

 

-Yi

QuoteReplyEditDelete

 

 

2009-02-12 00:31:17     Re: bf561 corebld error "Data access CPLB miss"

hong li (CHINA)

Message: 69306   

 

Yi

 

Now  I used the uboot is 1.1.6-2008R1.5, the uClinux is 2008R1.5-RC3

 

the problem also exist

 

Thanks

 

Hong

QuoteReplyEditDelete

 

 

2009-02-12 00:44:32     Re: bf561 corebld error "Data access CPLB miss"

Mike Frysinger (UNITED STATES)

Message: 69307   

 

post the ELF you're attempting to load into CoreB as an attachment.  also post the crash dump message seen under 2008R1.5.

QuoteReplyEditDelete

 

 

2009-02-12 01:18:57     Re: bf561 corebld error "Data access CPLB miss"

hong li (CHINA)

Message: 69309   

 

Mike

 

     Thanks your reply, my elf  is coreb_bin, when I run: coreld coreb_bin  under 2008R1.5  on bf561's coreA,   the crash message as follows:

 

Data access CPLB miss

- Used by the MMU to signal a CPLB miss on a data access.

Defered Exception context

CURRENT PROCESS:

COMM=corebld PID=104

TEXT = 0x00228040-0x0022ca60        DATA = 0x0022ca64-0x0022e2a4

BSS = 0x0022e2a4-0x0022e554  USER-STACK = 0x0022ff08

 

return address: [0x0022992a]; contents of:

0x00229900:  05ad  0010  014b  3200  3219  3212  0e3a  1818

0x00229910:  3401  56c1  4ff3  0300  1015  44d1  6ff9  601b

0x00229920:  549a  3212  9c01  e0a2  1002 [c803] 1800  9201

0x00229930:  9c01  9201  0c42  3298  1005  9073  0010  0c42

 

SEQUENCER STATUS:  Not tainted

SEQSTAT: 00000026  IPEND: 0030  SYSCFG: 0006

  HWERRCAUSE: 0x0

  EXCAUSE   : 0x26

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

RETN: <0x00222000> /* unknown address */

RETX: <0x0022992a> [ corebld + 0x18ea ]

RETS: <0x0022830a> [ corebld + 0x2ca ]

PC  : <0x0022992a> [ corebld + 0x18ea ]

DCPLB_FAULT_ADDR: <0x03800000> /* unknown address */

ICPLB_FAULT_ADDR: <0x0022992a> [ corebld + 0x18ea ]

 

PROCESSOR STATE:

R0 : 03800000    R1 : 00000000    R2 : 00000000    R3 : 00000003

R4 : 000630cc    R5 : 00280004    R6 : 03800000    R7 : 00000000

P0 : 03800000    P1 : 00018c32    P2 : 00000000    P3 : 00280004

P4 : 0022dfe8    P5 : 0000003c    FP : 0022fdd8    SP : 00221f24

LB0: 0022992b    LT0: 0022992a    LC0: 00018c32

LB1: 002281c1    LT1: 002281b2    LC1: 00000001

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 00280008

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

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 : 0022fdbc  ASTAT: 02002021

 

No trace since you do not have CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE enabled

 

Stack from 00221f04:

        ffa00b1a ffa00768 0015e56c 0015e56c 0015e568 04000021 00000000 00008780

        0022992a 00000030 00000026 00000000 00222000 0022992a 0022992a 0022830a

        03800000 02002021 002281c1 0022992b 002281b2 0022992a 00000001 00018c32

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

        00000000 00000000 00000000 00280008 0022fdbc 0022fdd8 0000003c 0022dfe8

 

Call Trace:

[<00018c32>] _sys_setrlimit+0xd6/0x138

[<000630cc>] _proc_tid_stat+0x0/0x8

 

 

 

However When I run : corebld coreb_bin under 2007R1 , this is not the problem. But I must update my uclinux to 2008R1.5

 

Thanks

 

Hong

 

coreb_bin

QuoteReplyEditDelete

 

 

2009-02-12 01:27:36     Re: bf561 corebld error "Data access CPLB miss"

Mike Frysinger (UNITED STATES)

Message: 69310   

 

your ELF is screwed up.  you need to fix your linking steps (probably the linker script).

 

this is what your ELF is telling the system to do:

  LOAD           0x07df68 0xff600000 0xff600000 0x03fb4 0x03fb4 RWE 0x1

  LOAD           0x081f1c 0xff400000 0xff400000 0x04000 0x04000 RWE 0x1

  LOAD           0x085f1c 0xff500000 0xff500000 0x007e4 0x007e4 RWE 0x1

  LOAD           0x086700 0xfeb00000 0xfeb00000 0x08000 0x08000 RWE 0x1

  LOAD           0x08e700 0x02000000 0x02000000 0x0fd3c 0x0fd3c RWE 0x1

  LOAD           0x09e43c 0x02800000 0x02800000 0x002c0 0x002c0 RWE 0x1

  LOAD           0x09e6fc 0x03800000 0x03800000 0x00000 0x630cc RWE 0x1

 

if your system doesnt actually have 64megs of RAM (0x03800000), then it isnt going to work.

QuoteReplyEditDelete

 

 

2009-02-12 01:52:22     Re: bf561 corebld error "Data access CPLB miss"

hong li (CHINA)

Message: 69311   

 

Mike

 

      Thanks your help, as your said  , my available ram end address is 0x037ff000, I will modify my link step.

 

Hong

QuoteReplyEditDelete

 

 

2009-02-12 03:18:09     Re: bf561 corebld error "Data access CPLB miss"

hong li (CHINA)

Message: 69315   

 

Mike and Yi

 

                  Thanks your help,  after modify my link file,  I have  fix this problem.

 

Hong

Attachments

Outcomes