2008-01-03 04:08:40     BF548 uart boot

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

2008-01-03 04:08:40     BF548 uart boot

Henning Manteuffel (GERMANY)

Message: 49204    When I try to load the U-Boot image for the BF548 (bootmode 7) I get the following error message.

 

    $ bfin-uclinux-ldr -l u-boot.ldr /dev/ttyUSB0 -p

    Loading LDR u-boot.ldr ... auto detected LDR as 'BF548'

    OK!

    Opening /dev/ttyUSB0 ... OK!

    Configuring terminal I/O ... OK!

 

    Press any key to send autobaud: Trying to send autobaud ... OK!

 

    Press any key to read autobaud: Trying to read autobaud ... Failed: Bad file descriptor

 

 

 

 

What is meant by "bad file descriptor"?

QuoteReplyEditDelete

 

 

2008-01-03 10:30:10     Re: BF548 uart boot

Mike Frysinger (UNITED STATES)

Message: 49211    that is the kernel throwing up the error when trying to read the serial port

 

try without the -p option and run it through strace

QuoteReplyEditDelete

 

 

2008-01-31 10:37:53     Re: BF548 uart boot

Henning Manteuffel (GERMANY)

Message: 50478    Now there is no kernel error any more, but the BF548 is still not booting from UART, although SW1 and SW7 are set properly.

What kind of cable do I need to boot the BF548 from UART? In the hardware reference they say that VDDEXT has to be pulled up, but this is not possible with a normal cable.

 

Is the following pin assignment of the cable OK? All signals, except cts/rts use the same pin number. Is this correct?

 

Blackfin board - PC

ground (5) - ground (5)

tx (3) - rx (3)

rx (2) - tx (2)

rts (7) - cts (8)

 

 

 

Thanks for your help.

QuoteReplyEditDelete

 

 

2008-01-31 10:50:46     Re: BF548 uart boot

Robin Getz (UNITED STATES)

Message: 50482    What is the output from loading the ldr?

 

-Robin

QuoteReplyEditDelete

 

 

2008-02-01 06:00:13     Re: BF548 uart boot

Henning Manteuffel (GERMANY)

Message: 50543    This is the output:

 

$ /home/user/blackfin-svn-2007-01-16/toolchain/out/bin/bfin-uclinux-ldr -l /var/tftp/u-boot.ldr /dev/ttyUSB0

Loading LDR /var/tftp/u-boot.ldr ... auto detected LDR as 'BF548' OK!

Opening /dev/ttyUSB0 ... OK!

Configuring terminal I/O ... OK!

Trying to send autobaud ... OK!

Trying to read autobaud ... bfin-uclinux-ldr: received signal 14: timeout while sending; aborting

QuoteReplyEditDelete

 

 

2008-02-01 09:05:32     Re: BF548 uart boot

Mike Frysinger (UNITED STATES)

Message: 50574    please update your svn toolchain trunk and rebuild just ldr-utils by hand and try again

Attachments

    Outcomes