[#5379] run scratchpad case sometimes would fail

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

[#5379] run scratchpad case sometimes would fail

Submitted By: Mingquan Pan

Open Date

2009-07-22 04:53:44     Close Date

2010-05-11 02:59:31

Priority:

Medium     Assignee:

Vivi Li

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

09r1-rc9

App binary format:

N/A     

Summary: run scratchpad case sometimes would fail

Details:

 

run scratchpad case sometimes would fail, and return an address not belong to scratchpad.

 

kernel:    Linux release 2.6.28.10-ADI-2009R1-svn7029, build #32 Sun Jul 19 02:44:24 CST 2009^M

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

user-dist: release svn-8548, build #594 Sun Jul 19 02:41:53 CST 2009^M

root:/> successful boot attempt

************** STEP 3: Start testing.

 

 

************** STEP 4: Build helloworld.

 

 

spawn bfin-uclinux-gcc -g -o helloworld helloworld.c -Wl,-elf2flt^M

 

************** STEP 5:

 

 

spawn bfin-uclinux-flthdr -u -s 3500 helloworld^M

 

Put helloworld stack in l1 scratchpad.

 

Case 1 ...PASS

 

Case 1 ...PASS

ifconfig eth0 10.100.4.50 up^M

root:/>

************** STEP 6: Copy testcase to target board

 

 

spawn rcp helloworld root@10.100.4.50:/^M

 

Copy helloworld to target board done

/helloworld^M

Hello world!, 0x1b4f28^M

        TEST FAIL^M

root:/>

Test for helloworld stack in l1 scratchpad fail.

 

 

Follow-ups

 

--- Sonic Zhang                                              2009-09-08 03:51:08

Reduce the stack size to 2000 may solve this issue.

 

--- Sonic Zhang                                              2010-04-16 05:21:49

Vivi, please help Grace to reduce the stack size.

 

--- Vivi Li                                                  2010-04-19 02:46:01

Grace had reduce the stack size to 2000 a long time ago.

--

bfin-uclinux-flthdr -u -s 2000 helloworld

--

 

I can still see the failure from time to time.

 

--- Vivi Li                                                  2010-04-19 03:52:47

I've updated script test to see if it will get better.

 

--- Vivi Li                                                  2010-05-11 02:57:27

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes