2009-04-09 19:09:44     Unable to download LDR u-boot file

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

2009-04-09 19:09:44     Unable to download LDR u-boot file

Silver Pine (UNITED STATES)

Message: 72482   

 

I have an ezkit bf527 board.  I'm attempting to download the u-boot-bf527-ezkit-uart-2008R1.5.ldr file.  I have tried both the ldrviewer and also the windows based bfin-elf-ldr programs.  When using the ldrviewer, the ldr file appears to have downloaded, but there is no feedback in the display.  When using the bfin-elf-ldr, the ldr file does not download and reports "Failed: Invalid argument".  These results are below:

 

C:\Documents and Settings\Wayne Call>bfin-elf-ldr -T BF527 -v -l c:\LonePeakLabs

\Downloads\Uboot\ldr\u-boot-bf527-ezkit-uart-2008R1.5.ldr -b 57600 com1

Loading LDR c:\LonePeakLabs\Downloads\Uboot\ldr\u-boot-bf527-ezkit-uart-2008R1.5

.ldr ... OK!

Opening com1 ... OK!

Configuring terminal I/O ... OK!

Trying to send autobaud ... OK!

Trying to read autobaud ... OK!

Checking autobaud ... OK!

Autobaud result: 57600bps 30.412mhz (header:0xBF DLL:0x21 DLH:0x00 fin:0x00)

Sending blocks of DXE 1 ... [16:0 bytes] [16:232 bytes] [16:12 bytes] [3/10] (30

[16:32768 bytes] [4/10] (40%)Failed: Invalid argument

 

C:\Documents and Settings\Wayne Call>

 

 

 

The results below are used without using the -T target and -b baudrate options.

 

C:\Documents and Settings\Wayne Call>bfin-elf-ldr -v -l c:\LonePeakLabs\Download

s\Uboot\ldr\u-boot-bf527-ezkit-uart-2008R1.5.ldr com1

Loading LDR c:\LonePeakLabs\Downloads\Uboot\ldr\u-boot-bf527-ezkit-uart-2008R1.5

.ldr ... auto detected LDR as 'BF548' compatible format

OK!

Opening com1 ... OK!

Configuring terminal I/O ... OK!

Trying to send autobaud ... OK!

Trying to read autobaud ... OK!

Checking autobaud ... Failed: wanted {0xBF,..,..,0x00} but got {0xBF,[0x90],[0x8

0],0x80}

Failed: Invalid argument

 

C:\Documents and Settings\Wayne Call>

 

 

 

The uart on the windows machine is an actual uart and not a usb to uart converter.  I can jtag the serial flash ldr.hex file using VDSP++ into flash on the ezkit bf527 board, and it boots successfully.

 

silverpine

 

 

 

 

QuoteReplyEditDelete

 

 

2009-04-09 20:02:09     Re: Unable to download LDR u-boot file

Mike Frysinger (UNITED STATES)

Message: 72486   

 

it's been a while since i ran Windows, but what version of the toolchain are you using ?

 

i dont suppose you can try the bfin-elf-ldr binary from a nightly snapshot of the Windows installer ?

QuoteReplyEditDelete

 

 

2009-04-13 12:05:04     Re: Unable to download LDR u-boot file

Silver Pine (UNITED STATES)

Message: 72597   

 

I downloaded the nightly snapshot, blackfin-toolchain-win32-SVN.exe, and got similar results.  I have attempted to load the u-boot_bf527-ezkit-uart-2008R1.5.ldr, u-boot_bf527-ezkit-uart-2008R1.ldr, and u-boot-cm-bf527-uart.ldr files.

 

I found another thread where similar problems were posted, but I did not notice a resolution:

 

http://blackfin.uclinux.org/gf/project/u-boot/forum/?action=ForumBrowse&forum_id=51&_forum_action=ForumMessageBrowse&thread_id=26813

 

I'm not sure what to try next.

 

silverpine

QuoteReplyEditDelete

 

 

2009-04-13 17:44:48     Re: Unable to download LDR u-boot file

Mike Frysinger (UNITED STATES)

Message: 72608   

 

the workaround is to install a real Linux development machine

Attachments

    Outcomes