2010-03-16 13:17:40     Does pre-built BF537 STAMP U-boot work for BF537 EZ-lite board?

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

2010-03-16 13:17:40     Does pre-built BF537 STAMP U-boot work for BF537 EZ-lite board?

Carlo Cloet (BELGIUM)

Message: 87275   

 

System setup: BF537 EZ-lite target 1.1, Ubuntu 9.10 host

 

I am just getting started and am trying to load a pre-built U-boot ldr file into the target through UART.

I followed the instructions in the on-line docs.

When executing the following command:

 

bfin-uclinux-ldr -v -l u-boot-bf537-stamp-uart-2009R1.1-rc1.ldr /dev/ttyS0

 

the file seems to loads fine to the board (ie reaches 100% completion), but once loaded, I get a lot of messages of the following type (cannot copy the exact messages, I am typing this from a different computer):

 

[board said: <insert lots of garbage characters here>

[board said: <insert lots of garbage characters here>

[board said: <insert lots of garbage characters here>

...

 

followed by

 

OK!

You may want to run minicom or kermit now

 

When I run minicom, I do not get a prompt.

Instead, the following line scrolls by endlessly:

 

U-Boot 2008.10 (ADI-2009R1.1-rc1) (Dec 4 2009 - 03:22:14)

 

Should this work? In other words, should the pre-built U-boot ldr file for BF537 stamp work fine on the BF 537 EZ-lite board?

If so, has anyone seen the above type of behavior before?

TranslateQuoteReplyEditDelete

 

 

2010-03-16 14:28:26     Re: Does pre-built BF537 STAMP U-boot work for BF537 EZ-lite board?

Robin Getz (UNITED STATES)

Message: 87281   

 

Carlo:

 

It should work. Try setting the baud rate "-b 57600 " in the ldr command.

 

What version of silicon do you have?

QuoteReplyEditDelete

 

 

2010-03-17 05:10:24     Re: Does pre-built BF537 STAMP U-boot work for BF537 EZ-lite board?

Carlo Cloet (BELGIUM)

Message: 87320   

 

Robin,

 

thank you for the fast response.

 

The following is printed on the BF537 chip:

ADSP-BF537

SKBC1ENG

640942.1 0.1

0513 Singapore

 

On the external memory chips, there are stickers with following info:

BF537 "U13" REV2.0

U24 1.0

 

The board itself is identified as:

"ADSP-BF537 EZ-KIT LITE 1.1"

 

Is that sufficient information for deriving the silicon version?

 

I also tried limiting the baudrate as you suggested. Resulted in following:

 

blackfin@blackfin-desktop:~$ bfin-uclinux-ldr -v -l -b 57600 /home/blackfin/Dev/Bootloader/Prebuilt/u-boot-bf537-stamp-uart-2009R1.1-rc1.ldr /dev/ttyS0 && minicom

 

Loading LDR /home/blackfin/Dev/Bootloader/Prebuilt/u-boot-bf537-stamp-uart-2009R1.1-rc1.ldr ... auto detected LDR as 'BF537' compatible format

OK!

Removing stale lock '//var/lock/LCK..ttyS0'

Opening /dev/ttyS0 ... OK!

Configuring terminal I/O ... [getattr] [setattr] [speed:57600] OK!

Trying to send autobaud ... OK!

Trying to read autobaud ... OK!

Checking autobaud ... OK!

Autobaud result: 57600bps 49.766mhz (header:0xBF DLL:0x36 DLH:0x00 fin:0x00)

Sending blocks of DXE 1 ... [10:600 bytes] [10:32768 bytes] [10:32768 bytes] [10:32768 bytes] [10:32768 bytes] [10:18476 bytes] [10:40 bytes] [10:224976 bytes] [8/8] (100%)[board said:

U-Bo]

[board said: ot 2008.10 (ADI-2009R1.1]

[board said: -rc1) (Dec 4 2009 - 03:]

[board said: 22:14)

 

Ack! Som]

[board said: ething bad happened to t]

[board said: he Blackfin!

 

SEQUENCE]

[board said: R STATUS:

]

OK!

 

You may want to run minicom or kermit now

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

 

Welcome to minicom 2.3

 

OPTIONS: I18n

Compiled on Sep 25 2009, 23:40:20.

Port /dev/ttyS0

Press CTRL-A Z for help on special keys

 

Still no prompt, but this at least gives a bit more info compared to previous session. "Something bad happened to the Blackfin!"

 

Any clues? Thanks!

TranslateQuoteReplyEditDelete

 

 

2010-03-17 09:43:24     Re: Does pre-built BF537 STAMP U-boot work for BF537 EZ-lite board?

Carlo Cloet (BELGIUM)

Message: 87326   

 

Robin,

 

While I am not 100% sure about the silicon rev, I suspect I have rev 0.1 based on the numbering on the BF537.

Also, on the box the board came in, I see

ADDS-BF537-EZLITE

...

S/N: 546096

REV.: 0.1

 

The actual serial number on the back of my board is 546103, but close enough I guess.

 

Can you somehow confirm I have rev 0.1? How does one determine the silicon revision exactly?

 

Some more browsing through the docs then pointed me to

u-boot-2008.10-2009R1.1-rc1/include/asm-blackfin/mach-bf537/anomaly.h

 

which mentions:

 

/* We do not support 0.1 silicon - sorry */

#if __SILICON_REVISION__ < 2

# error will not work on BF537 silicon version 0.0 or 0.1

#endif

 

which may explain the issues I am having.

 

Can you confirm?

Do I have any other options, or should I get my hands on a more recent silicon rev?

TranslateQuoteReplyEditDelete

 

 

2010-03-17 10:45:41     Re: Does pre-built BF537 STAMP U-boot work for BF537 EZ-lite board?

Mike Frysinger (UNITED STATES)

Message: 87330   

 

if the chip says "1.0.1", it means "0.1" silicon and u-boot/linux arent going to work.  get a newer processor.

QuoteReplyEditDelete

 

 

2010-03-17 11:22:52     Re: Does pre-built BF537 STAMP U-boot work for BF537 EZ-lite board?

Carlo Cloet (BELGIUM)

Message: 87333   

 

Thanks for the help!

Will do.

TranslateQuoteReplyEditDelete

 

 

2010-03-23 13:11:23     Re: Does pre-built BF537 STAMP U-boot work for BF537 EZ-lite board?

Carlo Cloet (BELGIUM)

Message: 87623   

 

Using silicon rev 0.2 indeed solves the problem. Kernel is booting fine now.

Attachments

    Outcomes