[#5071] u-boot test script exit unexpected at reset for certain settings on nearly all platforms

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

[#5071] u-boot test script exit unexpected at reset for certain settings on nearly all platforms

Submitted By: Vivi Li

Open Date

2009-04-20 03:29:57    

Priority:

Medium     Assignee:

Nobody

Category:

N/A     Fixed In Release:

N/A

Found In Release:

2009R1     Status:

Open

Board:

N/A     Processor:

BF527

Silicon Revision:

    Resolution:

N/A

Is the bug repeatable?:

N/A     

Summary: u-boot test script exit unexpected at reset for certain settings on nearly all platforms

Details:

 

u-boot test script will die unexpected at reset for certain frequency and icache/dcache settings in all platform except for bf537. This problem seems appear at the end of Mar, for uboot trunk and 09r1.

 

Bellow is the log for 527-ezkit (VCO 400MHz/CCLK 200MHz/SCLK 100 MHz, icache off/dcache on)

--

bfin> got u-boot prompt

icache off

Instruction Cache is OFF

bfin> dcache on

Data (writethrough) Cache is ON

bfin>

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

STEP 15: reset command

 

 

reset

expect: spawn id exp13 not open

    while executing

"expect -nobrace {Hit any key to stop} {

             send "\3"

             send_user "successful reset attempt\n"

             set temp_status_flag $TEST_PASS

             break..."

    invoked from within

"expect {

 

         $AUTOBOOT_PROMPT {

             send "\3"

             send_user "successful reset attempt\n"

             set temp_status_flag $TEST_PASS

             break

..."

    invoked from within

"if {  $TEST_RESET } {

 

send "\r"

wait_for_uboot

 

step "reset command"

set timeout 15

set reset_good_count 0

set reset_bad_count 0

for {set i 0} { $i<$..."

    (file "./test-uboot.exp" line 2503)

--

 

Enabled diagnostic mode with the same 527 board:

--

send: sending "icache off\r" to { exp13 }

 

expect: does " " (spawn_id exp13) match glob pattern ">"? no

icache off

Instruction Cache is OFF

bfin>

expect: does " icache off\r\nInstruction Cache is OFF\r\nbfin> " (spawn_id exp13) match glob pattern ">"? yes

expect: set expect_out(0,string) ">"

expect: set expect_out(spawn_id) "exp13"

expect: set expect_out(buffer) " icache off\r\nInstruction Cache is OFF\r\nbfin>"

send: sending "dcache on\r" to { exp13 }

 

expect: does " " (spawn_id exp13) match glob pattern ">"? no

dcache on

Data (writethrough) Cache is ON

bfin>

expect: does " dcache on\r\nData (writethrough) Cache is ON\r\nbfin> " (spawn_id exp13) match glob pattern ">"? yes

expect: set expect_out(0,string) ">"

expect: set expect_out(spawn_id) "exp13"

expect: set expect_out(buffer) " dcache on\r\nData (writethrough) Cache is ON\r\nbfin>"

 

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

STEP 15: reset command

 

 

send: sending "reset\r" to { exp13 }

 

expect: does " " (spawn_id exp13) match glob pattern "Hit any key to stop"? no

reset

expect: does " reset" (spawn_id exp13) match glob pattern "Hit any key to stop"? no

expect: read eof

expect: set expect_out(spawn_id) "exp13"

expect: set expect_out(buffer) " reset"

expect: spawn id exp13 not open

    while executing

"expect -nobrace {Hit any key to stop} {

             send "\3"

             send_user "successful reset attempt\n"

             set temp_status_flag $TEST_PASS

             break..."

    invoked from within

"expect {

 

         $AUTOBOOT_PROMPT {

             send "\3"

             send_user "successful reset attempt\n"

             set temp_status_flag $TEST_PASS

             break

..."

    invoked from within

"if {  $TEST_RESET } {

 

send "\r"

wait_for_uboot

 

step "reset command"

set timeout 15

set reset_good_count 0

set reset_bad_count 0

for {set i 0} { $i<$..."

    (file "./test-uboot.exp" line 2503)

--

 

It seems that the unexpected exit of kermit process causes expect script fail.

 

Follow-ups

 

--- Vivi Li                                                  2009-07-02 02:48:45

I checked all the platform and list all the combination that will have this kind

of failure.

I also notice that it failed at some time between mid March and early April.

 

So far I haven't reproduce the failure of reset in the bellow combination of

u-boot, but this failure with expect can be reproduced every time I tried.

That means I fail to get a complete test result for the bellow u-boot.

 

(CCLK/SCLK, icache/dcache)

--

BF527-EZKIT:

100/50, on/off

200/100, off/on

 

BF548-EZKIT:

162/81, off/on & off/off

525/87, off/on & off/off

187/93, off/on & off/off

 

BF533-EZKIT:

101/50, off/on

594/49, off/on

594/49, off/off

 

BF533-STAMP:

99.5/49.7, off/on

 

BF561-EZKIT:

600/50, off/off

 

BF518F-EZBRD:

400/80, off/off

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes