2009-09-22 10:38:17     Bad CRC error (BF561-0.3) bypass boot

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

2009-09-22 10:38:17     Bad CRC error (BF561-0.3) bypass boot

Yunho Yang (UNITED STATES)

Message: 80249   

 

Hi,

 

I installed the latest U-boot (U-Boot 2008.10 (ADI-2009R1-rc3) (Jul 16 2009 - 18:03:27)) and ran ramboot which is default. I am using "uImage-bf561-ezkit-2009R1-RC6" However, I got bad CRC error.

 

Can you please help me to solve this problem?

 

============================================================

 

U-Boot 2008.10 (ADI-2009R1-rc3) (Jul 16 2009 - 18:03:27)

 

CPU:   ADSP bf561-0.3 (Detected Rev: 0.3) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

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

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

RAM:   64 MB

Flash:  8 MB

In:    serial

Out:   serial

Err:   serial

Net:   MAC:   00:E0:22:FE:B2:74

Hit any key to stop autoboot:  0

Using MAC Address 00:E0:22:FE:B2:74

TFTP from server 128.221.79.115; our IP address is 128.221.79.205

Filename 'uImage'.

Load address: 0x1000000

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

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

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

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

done

Bytes transferred = 3806311 (3a1467 hex)

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   Linux-2.6.28.10-ADI-2009R1

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3806247 Bytes =  3.6 MB

   Load Address: 00001000

   Entry Point:  0016d674

   Verifying Checksum ... Bad Data CRC

ERROR: can't get kernel image!

bfin> flinfo

 

Bank # 1: CFI conformant FLASH (16 x 16)  Size: 8 MB in 135 Sectors

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

  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        20050000        20060000        20070000

  20080000        20090000        200A0000        200B0000        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        20400000        20410000        20420000        20430000

  20440000        20450000        20460000        20470000        20480000

  20490000        204A0000        204B0000        204C0000        204D0000

  204E0000        204F0000        20500000        20510000        20520000

  20530000        20540000        20550000        20560000        20570000

  20580000        20590000        205A0000        205B0000        205C0000

  205D0000        205E0000        205F0000        20600000        20610000

  20620000        20630000        20640000        20650000        20660000

  20670000        20680000        20690000        206A0000        206B0000

  206C0000        206D0000        206E0000        206F0000        20700000

  20710000        20720000        20730000        20740000        20750000

  20760000        20770000        20780000        20790000        207A0000

  207B0000        207C0000        207D0000        207E0000        207F0000

bfin>

QuoteReplyEditDelete

 

 

2009-09-22 11:29:35     Re: Bad CRC error (BF561-0.3) bypass boot

Mike Frysinger (UNITED STATES)

Message: 80252   

 

the flash info is irrelevant to the issue you're seeing.  are you sure you downloaded the uImage correctly to your tftp server ?

QuoteReplyEditDelete

 

 

2009-09-22 13:50:23     Re: Bad CRC error (BF561-0.3) bypass boot

Yunho Yang (UNITED STATES)

Message: 80257   

 

I downladed this image: http://blackfin.uclinux.org/gf/download/frsrelease/451/6817/uImage-bf561-ezkit-2009R1-RC6

 

and I renamed it to 'uImage.' I'm sure that tftp transferred the correct uImage.

QuoteReplyEditDelete

 

 

2009-09-22 16:00:43     Re: Bad CRC error (BF561-0.3) bypass boot

Yunho Yang (UNITED STATES)

Message: 80258   

 

Even though I transferred the correct uImage, I'm still having bad data CRC error. Any help? Here is a new log.

 

======================

 

U-Boot 2008.10 (ADI-2009R1-rc3) (Jul 16 2009 - 18:03:27)

 

CPU:   ADSP bf561-0.3 (Detected Rev: 0.3) (bypass boot)

Board: ADI BF561 EZ-Kit Lite board

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

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

RAM:   64 MB

Flash:  8 MB

In:    serial

Out:   serial

Err:   serial

Net:   MAC:   00:E0:22:FE:B2:74

Hit any key to stop autoboot:  0

bfin> tftp 0x1000000 uImage-bf561-ezkit-2009R1-RC6

Using MAC Address 00:E0:22:FE:B2:74

TFTP from server 128.221.79.115; our IP address is 128.221.79.205

Filename 'uImage-bf561-ezkit-2009R1-RC6'.

Load address: 0x1000000

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

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

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

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

done

Bytes transferred = 3806311 (3a1467 hex)

bfin> bootm 0x1000000

## Booting kernel from Legacy Image at 01000000 ...

   Image Name:   Linux-2.6.28.10-ADI-2009R1

   Image Type:   Blackfin Linux Kernel Image (gzip compressed)

   Data Size:    3806247 Bytes =  3.6 MB

   Load Address: 00001000

   Entry Point:  0016d674

   Verifying Checksum ... Bad Data CRC

ERROR: can't get kernel image!

bfin> pri

bootcmd=run ramboot

bootdelay=5

baudrate=57600

loads_echo=1

autoload=no

rootpath=/romfs

hostname=bf561-ezkit

ubootfile=u-boot.bin

update=tftp $(loadaddr) $(ubootfile);protect off 0x20000000 0x2003FFFF;erase 0x2

0000000 0x2003FFFF;cp.b $(loadaddr) 0x20000000 $(filesize)

addip=set bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):

$(hostname):eth0:off

ramargs=set bootargs root=/dev/mtdblock0 rw clkin_hz=30000000 earlyprintk=serial

,uart0,57600 console=ttyBF0,57600

ramboot=tftp $(loadaddr) uImage;run ramargs;run addip;bootm

nfsargs=set bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath),tcp,nfsver

s=3

nfsboot=tftp $(loadaddr) vmImage;run nfsargs;run addip;bootm

flashboot=bootm 0x20100000

ethaddr=00:E0:22:FE:B2:74

bootargs=root=/dev/mtdblock0 rw clkin_hz=30000000 earlyprintk=serial,uart0,57600

console=ttyBF0,57600 ip=128.221.79.205:128.221.79.115:128.221.79.1:255.255.255.

0:bf561-ezkit:eth0:off

loadaddr=0x1000000

stdin=serial

stdout=serial

stderr=serial

filesize=3A1467

fileaddr=1000000

gatewayip=128.221.79.1

netmask=255.255.255.0

ipaddr=128.221.79.205

serverip=128.221.79.115

 

Environment size: 1109/8188 bytes

bfin>

QuoteReplyEditDelete

 

 

2009-09-22 16:13:51     Re: Bad CRC error (BF561-0.3) bypass boot

Mike Frysinger (UNITED STATES)

Message: 80259   

 

if things transferred correctly, you wouldnt be getting crc errors

 

the download page has md5sums so you can make sure the file you downloaded is correct, and then you can use the 'crc' command to verify the file on your host matches the file in the board's memory

QuoteReplyEditDelete

 

 

2009-09-22 16:29:01     Re: Bad CRC error (BF561-0.3) bypass boot

Yunho Yang (UNITED STATES)

Message: 80260   

 

Thank you for the quick reply. I got this result when I ran crc32. Do you have any idea?

 

bfin> tftp 0x1000000 uImage-bf561-ezkit-2009R1-RC6

Using MAC Address 00:E0:22:FE:B2:74

TFTP from server 128.221.79.115; our IP address is 128.221.79.205

Filename 'uImage-bf561-ezkit-2009R1-RC6'.

Load address: 0x1000000

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

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

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

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

done

Bytes transferred = 3806311 (3a1467 hex)

bfin> crc32 0x1000000 0x3806311

 

 

Ack! Something bad happened to the Blackfin!

 

SEQUENCER STATUS:

SEQSTAT: 0000c026  IPEND: 8030  SYSCFG: 0032

  HWERRCAUSE: 0x3: external memory addressing error

  EXCAUSE   : 0x26: dcplb miss

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

RETE: <0x98f8a79c> { ___smulsi3_highpart + 0x94fb41e0 }

RETN: <0x18694071> { ___smulsi3_highpart + 0x146bdab5 }

RETX: <0x03fc126c> { _crc32 + 0x24 }

RETS: <0x03fcf444> { _do_mem_crc + 0x50 }

RETI: <0x03fc126c> { _crc32 + 0x24 }

DCPLB_FAULT_ADDR: <0x03800000> /* unknown address */

ICPLB_FAULT_ADDR: <0x03fc126c> { _crc32 + 0x24 }

 

PROCESSOR STATE:

R0 : 12b7e950    R1 : 12e9c89d    R2 : 00806311    R3 : 00000000

R4 : 00000003    R5 : 00000000    R6 : 03806311    R7 : 01000000

P0 : 04000000    P1 : 00700c62    P2 : 03fd6e6c    P3 : 00000059

P4 : 03fd6d08    P5 : 03f9ff80    FP : 03f9fc65    SP : 03f9fa2c

LB0: 03fc6b80    LT0: 03fc6b78    LC0: 00000002

LB1: 03fc12fc    LT1: 03fc126c    LC1: 00100c62

B0 : db20e10d    L0 : 00000000    M0 : d713da1b    I0 : 3c492fab

B1 : bd78757b    L1 : 00000000    M1 : df13730d    I1 : 03fe04fc

B2 : 46f176cb    L2 : 00000000    M2 : fb9278fd    I2 : b9782a35

B3 : a7cb60bf    L3 : 00000000    M3 : 5d4983df    I3 : bc59708a

A0.w: 4a1ea530   A0.x: 00000000   A1.w: 00004d53   A1.x: 00000000

USP : 9d59b02b  ASTAT: 02000000

 

Hardware Trace:

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

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

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

     Source : <0x03fc12fc> { _crc32 + 0xb4 }

   2 Target : <0x03fc126c> { _crc32 + 0x24 }

     Source : <0x03fc08a2> { _trap + 0xae }

   3 Target : <0x03fc084e> { _trap + 0x5a }

     Source : <0x03fc07f2> { _trap_c + 0x17a }

   4 Target : <0x03fc07e8> { _trap_c + 0x170 }

     Source : <0x03fc07c0> { _trap_c + 0x148 }

   5 Target : <0x03fc0766> { _trap_c + 0xee }

     Source : <0x03fc074e> { _trap_c + 0xd6 }

   6 Target : <0x03fc072a> { _trap_c + 0xb2 }

     Source : <0x03fc06d6> { _trap_c + 0x5e }

   7 Target : <0x03fc06c0> { _trap_c + 0x48 }

     Source : <0x03fc07e6> { _trap_c + 0x16e }

   8 Target : <0x03fc07d2> { _trap_c + 0x15a }

     Source : <0x03fc06a6> { _trap_c + 0x2e }

   9 Target : <0x03fc0698> { _trap_c + 0x20 }

     Source : <0x03fc068e> { _trap_c + 0x16 }

  10 Target : <0x03fc0678> { _trap_c + 0x0 }

     Source : <0x03fc084a> { _trap + 0x56 }

  11 Target : <0x03fc07f4> { _trap + 0x0 }

     Source : <0x03fc12fc> { _crc32 + 0xb4 }

  12 Target : <0x03fc126c> { _crc32 + 0x24 }

     Source : <0x03fc08a2> { _trap + 0xae }

  13 Target : <0x03fc084e> { _trap + 0x5a }

     Source : <0x03fc07f2> { _trap_c + 0x17a }

  14 Target : <0x03fc07e8> { _trap_c + 0x170 }

     Source : <0x03fc07c0> { _trap_c + 0x148 }

  15 Target : <0x03fc0766> { _trap_c + 0xee }

     Source : <0x03fc074e> { _trap_c + 0xd6 }

 

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

QuoteReplyEditDelete

 

 

2009-09-22 17:26:23     Re: Bad CRC error (BF561-0.3) bypass boot

Mike Frysinger (UNITED STATES)

Message: 80261   

 

you typed the command wrong and so you crashed u-boot.  read the output of `tftp` again and take note of decimal vs hex.

Attachments

    Outcomes