[#5461] jffs2 test fail fails to run on all platforms in latest u-boot trunk

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

[#5461] jffs2 test fail fails to run on all platforms in latest u-boot trunk

Submitted By: Vivi Li

Open Date

2009-08-26 01:41:44     Close Date

2010-01-11 03:01:01

Priority:

Medium High     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

BF527

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: jffs2 test fail fails to run on all platforms in latest u-boot trunk

Details:

 

jffs2 test fail in all platforms in latest u-boot trunk.

 

Bellow is the example on bf527-ezkit. Silicon rev: 0.2, board rev: 2.0.

--

U-Boot 2009.06-svn2004 (ADI-2009R2-pre) (Aug 26 2009 - 16:25:26)

 

CPU:   ADSP bf527-0.0 (Detected Rev: 0.2) (parallel flash boot)

Board: ADI BF527 EZ-Kit board

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

Clock: VCO: 600 MHz, Core: 600 MHz, System: 50 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:e0:22:fe:bf:34

Hit any key to stop autoboot:  0

bfin> tftpboot 0x1000000 jffs2.image

Using Blackfin EMAC device

TFTP from server 10.100.4.174; our IP address is 10.100.4.50

Filename 'jffs2.image'.

Load address: 0x1000000

Loading: #################################################################

         #################################################################

         #################################################################

         ############################

done

Bytes transferred = 3260720 (31c130 hex)

bfin> flinfo

 

Bank # 1: CFI conformant FLASH (16 x 16)  Size: 4 MB in 71 Sectors

  AMD Standard command set, Manufacturer ID: 0x20, Device ID: 0x2257

  Erase timeout: 8192 ms, write timeout: 1 ms

 

  Sector Start Addresses:

  20000000   RO   20002000   RO   20004000   RO   20006000   RO   20008000   RO

  2000A000   RO   2000C000   RO   2000E000   RO   20010000   RO   20020000   RO

  20030000   RO   20040000   RO   20050000   RO   20060000   RO   20070000   RO

  20080000   RO   20090000   RO   200A0000   RO   200B0000   RO   200C0000

  200D0000        200E0000        200F0000        20100000        20110000

  20120000        20130000        20140000        20150000        20160000

  20170000        20180000        20190000        201A0000        201B0000

  201C0000        201D0000        201E0000        201F0000        20200000

  20210000        20220000        20230000        20240000        20250000

  20260000        20270000        20280000        20290000        202A0000

  202B0000        202C0000        202D0000        202E0000        202F0000

  20300000        20310000        20320000        20330000        20340000

  20350000        20360000        20370000        20380000        20390000

  203A0000        203B0000        203C0000        203D0000        203E0000

  203F0000

bfin> protect off 0x20080000 0x203fffff

........................................................ done

Un-Protected 56 sectors

bfin> erase 0x20080000 0x203fffff

 

........................................................ done

Erased 56 sectors

bfin> cp.b 0x1000000 0x20080000 $(filesize)

Copy to Flash... done

bfin> printenv filesize

filesize=31C130

bfin> reset ÿ

 

U-Boot 2009.06-svn2004 (ADI-2009R2-pre) (Aug 26 2009 - 16:25:26)

 

CPU:   ADSP bf527-0.0 (Detected Rev: 0.2) (parallel flash boot)

Board: ADI BF527 EZ-Kit board

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

Clock: VCO: 600 MHz, Core: 600 MHz, System: 50 MHz

RAM:   64 MB

Flash:  4 MB

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:e0:22:fe:bf:34

Hit any key to stop autoboot:  0

bfin> ls

Scanning JFFS2 FS:

 

 

Ack! Something bad happened to the Blackfin!

 

SEQUENCER STATUS:

SEQSTAT: 0000e026  IPEND: 8030  SYSCFG: 0032

  HWERRCAUSE: 0x3: external memory addressing error

  EXCAUSE   : 0x26: dcplb miss

  physical IVG15 asserted : <0x03f404d4> { _evt_default + 0x0 }

RETE: <0x(null)> /* Maybe null pointer? */

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

RETX: <0x03f40c4c> { _memcpy_ASM + 0x2c }

RETS: <0x03f589ec> { _get_fl_mem_nor + 0x40 }

RETI: <0x03f40c4c> { _memcpy_ASM + 0x2c }

DCPLB_FAULT_ADDR: <0x1ffffff8> { ___smulsi3_highpart + 0x1c0a22ac }

ICPLB_FAULT_ADDR: <0x03f40c4c> { _memcpy_ASM + 0x2c }

 

PROCESSOR STATE:

R0 : 1ffffff8    R1 : 1ffffff8    R2 : 00000008    R3 : 00000000

R4 : 00000000    R5 : 03edba10    R6 : 03edba18    R7 : 03edba10

P0 : 03edba10    P1 : 1ffffff8    P2 : 00000008    P3 : 03e9ff80

P4 : 000003fe    P5 : 03f7587c    FP : 03eda9c4    SP : 03e9ecdc

LB0: 03f40c4e    LT0: 03f40c4c    LC0: 00000008

LB1: 03f5435c    LT1: 03f54356    LC1: 00000000

B0 : 03ee4028    L0 : 00000000    M0 : 00000048    I0 : 03f66138

B1 : 00000000    L1 : 00000000    M1 : 03f6642c    I1 : 0000000f

B2 : 0000003f    L2 : 00000000    M2 : 00000000    I2 : 0000003a

B3 : 0000000f    L3 : 00000000    M3 : 00000000    I3 : 03e9fa7c

A0.w: 00000c80   A0.x: 00000000   A1.w: 00000c80   A1.x: 00000000

USP : ffb00ffc  ASTAT: 00002021

 

Hardware Trace:

   0 Target : <0x03f40a78> { _bfin_panic + 0x0 }

     Source : <0x03f4052a> { _evt_default + 0x56 }

   1 Target : <0x03f404d4> { _evt_default + 0x0 }

     Source : <0x03f404d2> { _trap + 0xba }

   2 Target : <0x03f4047c> { _trap + 0x64 }

     Source : <0x03f40bd6> { _trap_c + 0x122 }

   3 Target : <0x03f40b86> { _trap_c + 0xd2 }

     Source : <0x03f40b6e> { _trap_c + 0xba }

   4 Target : <0x03f40b4a> { _trap_c + 0x96 }

     Source : <0x03f40af6> { _trap_c + 0x42 }

   5 Target : <0x03f40ae0> { _trap_c + 0x2c }

     Source : <0x03f40bf6> { _trap_c + 0x142 }

   6 Target : <0x03f40be4> { _trap_c + 0x130 }

     Source : <0x03f40ac6> { _trap_c + 0x12 }

   7 Target : <0x03f40ab4> { _trap_c + 0x0 }

     Source : <0x03f40478> { _trap + 0x60 }

   8 Target : <0x03f40418> { _trap + 0x0 }

     Source : <0x03f40c4a> { _memcpy_ASM + 0x2a }

   9 Target : <0x03f40c34> { _memcpy_ASM + 0x14 }

     Source : <0x03f40c2c> { _memcpy_ASM + 0xc }

  10 Target : <0x03f40c20> { _memcpy_ASM + 0x0 }

     Source : <0x03f4150a> { _memcpy + 0x2e }

  11 Target : <0x03f41506> { _memcpy + 0x2a }

     Source : <0x03f414fc> { _memcpy + 0x20 }

  12 Target : <0x03f414dc> { _memcpy + 0x0 }

     Source : <0x03f589e8> { _get_fl_mem_nor + 0x3c }

  13 Target : <0x03f589ac> { _get_fl_mem_nor + 0x0 }

     Source : <0x03f58a22> { _get_fl_mem + 0x26 }

  14 Target : <0x03f589fc> { _get_fl_mem + 0x0 }

     Source : <0x03f58d16> { _jffs2_get_list + 0x8e }

  15 Target : <0x03f58cf2> { _jffs2_get_list + 0x6a }

     Source : <0x03f5909c> { _jffs2_get_list + 0x414 }

 

### ERROR ### Please RESET the board ###

--

 

Follow-ups

 

--- Mike Frysinger                                           2010-01-08 08:02:05

the bug was introduced after the upstream 2008.10 release (our 2009R1).  should

be fixed now in trunk though.

 

--- Vivi Li                                                  2010-01-11 03:00:54

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

jffs2.image    application/octet-stream    3260720    Vivi Li

Attachments

Outcomes