[#6883] after cmp case on bf526 ezbrd , board fails to reset

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

[#6883] after cmp case on bf526 ezbrd , board fails to reset

Submitted By: Mingquan Pan

Open Date

2011-11-15 22:41:13     Close Date

2013-05-16 01:46:40

Priority:

Medium     Assignee:

Nobody

Category:

N/A     Fixed In Release:

2011R1

Found In Release:

2011R1     Status:

Closed

Board:

N/A     Processor:

BF526

Silicon Revision:

    Resolution:

N/A

Is the bug repeatable?:

N/A     

Summary: after cmp case on bf526 ezbrd , board fails to reset

Details:

 

after cmp case  on bf526 ezbrd , board fails to reset.

 

U-Boot 2011.09-dirty (ADI-2011R1) (Nov 15 2011 - 16:08:32)^M

^M

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

Board: ADI BF526 EZ-Board board^M

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

Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz^M

RAM:   64 MiB^M

Flash: 4 MiB^M

In:    serial^M

Out:   serial^M

Err:   serial^M

KGDB:  [on serial] ready^M

Net:   bfin_mac^M

Hit any key to stop autoboot:  5

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

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

STEP 27: cmp

 

tftp 0x1000000 testfile.bin^M

Using bfin_mac device^M

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

Filename 'testfile.bin'.^M

Load address: 0x1000000^M

Loading: *^H#^M

done^M

Bytes transferred = 9137 (23b1 hex)^M

bfin>

random SDRAM loc is   0x01020000

random SDRAM len is   0x10000

random SDRAM end is   0x01030000

one before the end is 0x0102ffff

waiting for uboot prompt

cp.b 0x1000000 01020000 10000^M

bfin> got u-boot prompt

icache on^M

Instruction Cache is ON^M

bfin> dcache on^M

Data (writethrough) Cache is ON^M

bfin> reginfo^M

^M

System Configuration registers^M

^M

PLL Registers^M

        PLL_DIV:   0x0005   PLL_CTL:      0xa000^M

        PLL_STAT:  0x00a2   PLL_LOCKCNT:  0x0300^M

        VR_CTL:    0x7090^M

^M

EBIU AMC Registers^M

        EBIU_AMGCTL:   0x00f9^M

        EBIU_AMBCTL0:  0xffc2ffc2   EBIU_AMBCTL1:  0xffc2ffc2^M

^M

EBIU SDC Registers^M

        EBIU_SDRRC:   0x0267   EBIU_SDBCTL:  0x0025^M

        EBIU_SDSTAT:  0x0001   EBIU_SDGCTL:  0x80112189^M

bfin> cmp.b 0x1000000 01020000 10000^M

Total of 65536 bytes were the same^M

bfin>

correct response

mm.b 0x0102ffff^M

0102ffff: 91 ? The location 1 before end contains 0x91

set it to 0x43^M

01030000: 90 ? The location at end contains 0x90

set it to 0x98^M

01030001: 50 ?

sending control-c

bfin>

we're looking for 65535 bytes to be the same

cmp.b 0x1000000 01020000 10000^M

byte at 0x0100ffff (0x91) != byte at 0x0102ffff (0x43)^M

Total of 65535 bytes were the same^M>

===== Recording result: cmp is pass

reset^@ERROR: u-boot failed to reset

waiting for uboot prompt

Attempting to recover to u-boot prompt

couldn't read file "./reset_board.exp": no such file or directory

    while executing

"source ./reset_board.exp"

    invoked from within

"expect {

                $AUTOBOOT_PROMPT {

                    send "\r"

                }

                $UBOOT_PROMPT {

                    send_u..."

    (procedure "recover" line 49)

    invoked from within

"recover"

    invoked from within

"expect {

        $UBOOT_PROMPT {

            send_user "got u-boot prompt\n"

            send -s "icache $icache_status\r"

            sleep 1

       ..."

    (procedure "wait_for_uboot" line 9)

 

It looks this issue exists in last release too and it works ok for bf527 ezkit.

 

 

Follow-ups

 

--- Mingquan Pan                                             2013-05-16 02:53:57

It can reset now. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes