[#4328] MPU crashes under stress

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

[#4328] MPU crashes under stress

Submitted By: Mike Frysinger

Open Date

2008-08-08 17:36:37     Close Date

2008-08-28 17:50:38

Priority:

Medium     Assignee:

Bernd Schmidt

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

2008R1

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: MPU crashes under stress

Details:

 

observed on branch and trunk (which currently has same MPU code, so shouldnt be a big deal).  but we're testing on 2008R1 branch as to avoid the 2.6.26 upgrade noise.

 

a customer reported under IRQ stress, running applications may wrongly trigger an ICPLB miss and be killed.  after playing a bit more, here's a test case that may be triggering the same bug.

 

to reproduce:

- build 2008R1 branch using default BF537-STAMP configs

- enable MPU and bump silicon version to 0.3

- build sample code below as FLAT and install it as /bin/syscall on the board

- run sample program

- telnet into the board and attempt to run top

 

sometimes the you trigger a double fault, sometimes an ICPLB miss

 

#include <stdio.h>

#include <unistd.h>

int main(int argc, char *argv[])

{

        puts(".");

        brk(0);

        return execv("/bin/syscall", argv);

}

 

Follow-ups

 

--- Mike Frysinger                                           2008-08-28 18:50:36

seems to be set by recent two commits

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes