[#5016] bf527-0.2-ezkit can't boot up in U-Boot 2008.10 with spi boot mode

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

[#5016] bf527-0.2-ezkit can't boot up in U-Boot 2008.10 with spi boot mode

Submitted By: Vivi Li

Open Date

2009-03-26 03:46:26     Close Date

2009-06-09 00:21:41

Priority:

Medium High     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

2009R1     Status:

Closed

Board:

EZ-Kit Lite     Processor:

BF527

Silicon Revision:

0.2     Resolution:

Not reproducible

Is the bug repeatable?:

N/A     

Summary: bf527-0.2-ezkit can't boot up in U-Boot 2008.10 with spi boot mode

Details:

 

Built with toolchain-09r1, bf527-ezkit can't boot up in U-Boot 2008.10 with spi boot mode.

 

Follow-ups

 

--- Mike Frysinger                                           2009-03-26 16:27:28

i just tested bf527-ezkit and it seemed to work fine for me

 

did you do `make distclean` before building things ?

 

--- Vivi Li                                                  2009-03-27 02:55:45

Yes, I make distclean before building u-boot.

 

What silicon version you are using?

For me, bf527-ezkit 0.0 can boot up, while 0.2 can not.

 

--- Mike Frysinger                                           2009-03-27 12:12:10

i dont have a 0.2 board to test with ...

 

--- Sonic Zhang                                              2009-04-01 05:15:20

on bf527-ezkit with v0.2 chip, SPI flash chip can't be detected by command

"sf probe 1". Look like a hardware issue. The spi flash chip is

exactly the same as that on board with v0.0 chip.

 

--- Sonic Zhang                                              2009-04-01 05:15:46

on bf527-ezkit with v0.2 chip, SPI flash chip can't be detected by command

"sf probe 1". Look like a hardware issue. The spi flash chip is

exactly the same as that on board with v0.0 chip.

 

--- Vivi Li                                                  2009-04-01 06:55:18

For bf527-ezkit 0.2 silicon version, I use VDSP to burn spi u-boot into flash,

then reboot, no info shows up for u-boot.

If sf probe in parallel u-boot, no serial flash is detected.

 

--- Robin Getz                                               2009-04-01 14:02:35

Vivi:

 

Never ever use VDSP for anything. If there is not an open source tool which

does the job - we are failing to deliver what we promise people.

 

 

--- Robin Getz                                               2009-06-08 12:23:23

Works for me.

 

Program via U-Boot (loaded from UART):

 

rgetz@imhotep:~> bfin-elf-ldr -l

/tftpboot/u-boot-bf527-ezkit-uart-2009R1-rc2.ldr /dev/ttyS0

Loading LDR /tftpboot/u-boot-bf527-ezkit-uart-2009R1-rc2.ldr ... OK!

Opening /dev/ttyS0 ... OK!

Configuring terminal I/O ... OK!

Trying to send autobaud ... OK!

Trying to read autobaud ... OK!

Checking autobaud ... OK!

Autobaud result: 115200bps 29.491mhz (header:0xBF DLL:0x10 DLH:0x00 fin:0x00)

Sending blocks of DXE 1 ... [11/11] (100%)[board said:

怘�怘�ff�▒�����`▒x]

[board said:

�▒▒�`����▒▒▒��▒�f��▒����x��]

[board said: ▒▒x]

[board said: �ff�~]

[board said: ▒�`fx`fx~fx]

[board said: ff��~]

[board said: `f▒x~▒���f�����`▒�����x怘�]

[board said: ▒▒▒▒▒▒��f~]

[board said:

x������f�������f����▒�x��怘�������]

[board said: ~]

[board said: ��▒xf▒����]

[board said: ��f���▒f]

[board said: ����▒�]

[board said: ������]

[board said:

��f���~▒xf�xf~��`����xf�▒����]

[board said:

��f��`f���怘������▒▒▒▒��fx▒f��怘���f]

[board said: ~�▒▒▒��fx▒f��怘�f�����~]

[board said: fx▒f��怘���f~�▒▒▒�▒�����]

[board said: �x����]

[board said: f▒~▒▒x�▒`f�~▒f`����]

OK!

You may want to run minicom or kermit now

Quick tip: run 'ldr <ldr> <tty> && minicom'

rgetz@imhotep:~/blackfin/trunk/uClinux-dist/user/foo/procps-3.2.8/proc>

kermit

C-Kermit 8.0.211, 10 Apr 2004, for Linux

Copyright (C) 1985, 2004,

  Trustees of Columbia University in the City of New York.

Type ? or HELP for help.

Linux Kermit>c

Connecting to /dev/ttyS0, speed 57600

Escape character: Ctrl-\ (ASCII 28, FS): enabled

Type the escape character followed by C to get back,

or followed by ? to see other options.

----------------------------------------------------

 

bfin>

bfin>                                                                      

   

 

U-Boot 2008.10-svn1905 (ADI-2009R1-rc2) (Jun  8 2009 - 04:42:05)

 

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

Board: ADI BF527 EZ-Kit board

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

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz

RAM:   64 MB

Flash:  4 MB

SF: Got idcode 20 20 15

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:E0:22:FE:BE:5A

Hit any key to stop autoboot:  0

bfin> dhcp

BOOTP broadcast 1

DHCP client bound to address 10.64.204.102

bfin> dhcp

BOOTP broadcast 1

DHCP client bound to address 10.64.204.102

bfin> sf probe 0:1

SF: Got idcode 20 20 15

2048 KiB M25P16 at 0:1 is now current device

bfin> set serverip 10.64.204.86

bfin> tftp 0x1000000 u-boot-bf527-ezkit-spi-2009R1-rc2.ldr

Using Blackfin EMAC device

TFTP from server 10.64.204.86; our IP address is 10.64.204.102

Filename 'u-boot-bf527-ezkit-spi-2009R1-rc2.ldr'.

Load address: 0x1000000

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

done

Bytes transferred = 223224 (367f8 hex)

bfin> sf write 0x1000000 0x0 $(filesize)

bfin> reset

 

U-Boot 2008.10-svn1905 (ADI-2009R1-rc2) (Jun  8 2009 - 04:42:05)

 

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

Board: ADI BF527 EZ-Kit board

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

Clock: VCO: 525 MHz, Core: 525 MHz, System: 131.250 MHz

RAM:   64 MB

Flash:  4 MB

SF: Got idcode 20 20 15

In:    serial

Out:   serial

Err:   serial

Net:   Blackfin EMAC

MAC:   00:E0:22:FE:BE:5A

Hit any key to stop autoboot:  0

 

 

--- Vivi Li                                                  2009-06-09 00:21:41

It can boot now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes