[#3841] uboot fails to boot from uart for uboot 08r1 branch

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

[#3841] uboot fails to boot from uart for uboot 08r1 branch

Submitted By: Vivi Li

Open Date

2008-01-17 20:22:02     Close Date

2008-01-20 23:53:58

Priority:

Medium     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

STAMP     Processor:

BF537

Silicon Revision:

    Resolution:

N/A

Is the bug repeatable?:

N/A     

Summary: uboot fails to boot from uart for uboot 08r1 branch

Details:

 

Build uboot of 08r1 branch with toolchain 08r1-3, and it fails to boot from uart.

 

After sending dxe, in the LdrViewer Receive(hex) dialoage, it didn't show the data transmitted. After open Hyperterminal, no uboot prompt.

 

Follow-ups

 

--- Mike Frysinger                                           2008-01-17 23:41:18

first make sure you're loading at 115200 baud.  if that still fails, dont use

LdrViewer ;).

 

you should be able to test loading over the UART with the ldr-utils package:

bfin-elf-ldr -l u-boot.ldr /dev/ttyS0

 

--- Vivi Li                                                  2008-01-18 04:02:52

I tried with BF537-STAMP. bfin-elf-ldr is not included in the toolchain

08r1-3...

I use a latest version of bfin-elf-ldr in trunk and bfin-elf-ldr works well

with baud rate 115200. It doesn't work in windows with LdrViewer.

 

For BF548-EZKIT, it fails to work.

In include/configs/bf548-ezkit.h, BFIN_BOOT_MODE is defined to BFIN_BOOT_UART.

Hardware setting:sw1 to 7, sw7 all on.

Below is the log:

--

test@Linux:~/> ./bfin-elf-ldr -l u-boot.ldr /dev/ttyS0

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

OK!

Opening /dev/ttyS0 ... OK!

Configuring terminal I/O ... OK!

Trying to send autobaud ... OK!

Trying to read autobaud ... bfin-elf-ldr: received signal 14: timeout while

sending; aborting

--

 

--- Mike Frysinger                                           2008-01-18 05:24:30

if it isnt autobauding, it means the processor isnt in the reset state for

booting over the uart ... just hit the reset button a few times and try again

 

--- Vivi Li                                                  2008-01-21 01:56:14

Yes, it's ok now. Close it

 

--- Vivi Li                                                  2008-01-21 03:46:10

I found it can boot from uart by tools bfin-linux-uclibc-ldr, bfin-uclinux-ldr

and bfin-elf-ldr. They have same functions, right?

 

--- Mike Frysinger                                           2008-01-21 04:05:19

they are literally the same binary.  they are provided with each toolchain

merely for convenience and so we can assume that ${prefix}-ldr will always work.

you only need to test one.

 

--- Vivi Li                                                  2008-01-21 06:04:26

Ok, I see. Thank you!

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes