2011-05-24 22:33:29     ERROR:down load uboot.ldr file from UART MODE on BF518 EZ BOARD

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

2011-05-24 22:33:29     ERROR:down load uboot.ldr file from UART MODE on BF518 EZ BOARD

lin cheng (CHINA)

Message: 100817   

 

I have  a bf518 ez board ,with no UBOOT .I down load uboot.ldr file from UART MODE,but the terminal has no response.PLS help me ? Following is my operation.

 

step 1: change the boot mode sw1 to 7:Boot from UART0 host;

 

step 2: connect the serial line;

 

step3 :test the serail status

 

[cheng@localhost can]$ sudo kermit -l /dev/ttyS0  -b 57600 -C connect

 

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.

?Carrier required but not detected.

***********************************

Hint: To CONNECT to a serial device that

is not presenting the Carrier Detect signal,

first tell C-Kermit to:

 

   SET CARRIER-WATCH OFF

 

***********************************

 

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.

(/home/cheng/project/company/emb-gate/platform-BF518/kernel/2010R1/linux-2.6.x/drivers/net/can/) C-Kermit>

 

Now input exit to quit Kermit.

 

terminal shows:

 

(/home/cheng/project/company/emb-gate/platform-BF518/kernel/2010R1/linux-2.6.x/drivers/net/can/) C-Kermit>exit

Closing /dev/ttyS0...OK

[cheng@localhost can]$

 

Now the serial works well!

 

 

 

step 4 :down loading uboot.ldr

 

[cheng@localhost uboot]$ cp u-boot-bf518f-ezbrd-uart-2010R1-RC2.ldr  /tftpboot/uboot.ldr

 

[root@localhost cheng]# bfin-uclinux-ldr  -l /tftpboot/uboot.ldr  /dev/ttyS0 && kermit -l /dev/ttyS0 -b 57600 -C connect

Loading LDR /tftpboot/uboot.ldr ... OK!

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

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: 怘�怘�]

[board said: ff� �����`]

[board said:   x]

[board said: ��  �]

[board said: �  `����  ]

[board said: ��  �f�� ]

[board said: �怆x��]

[board said: ���  ~]

[board said:  x]

[board said: ��  ��    ]

[board said: ��x~ ~ �]

[board said: ���� ��怘�  ff�]

[board said: ~]

[board said: �]

[board said: ��xf�� �]

[board said: �  �]

[board said: fx  ~f x]

[board said:  �fxx�~]

[board said:  ]

[board said: �]

[board said: �

[board said: �� �� �

[board said: � �]

[board said:  ��`f��  ]

[board said: `]

[board said: � �

[board said: ��� �

[board said: 怘�]

[board said:  ]

[board said: ��f~]

[board said: �  �` ~]

[board said: � �����x������f

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

[board said: ���� �x�]

[board said: �怘�  �]

[board said: �� ���~]

[board said: 昘   ]

[board said: �  �� �]

[board said: ���� fx�   ]

[board said: ]

[board said: �  �� �]

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

[board said: ��    �  ]

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

[board said: ��     ` ]

[board said: � f� f��]

[board said: �]

[board said: x ]

[board said: � �� �� ]

[board said:

[board said:  � f� f��]

[board said: ����� �~]

[board said:  � � ���

[board said: �x��

[board said: � `���  ]

[board said: � ������]

[board said: ��]

[board said: ������~ ]

[board said: ��  �f x]

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

[board said:  xf]

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

[board said: ����xf� ]

[board said: ������f��`f�����]

[board said: �������   ]

[board said:  ]

[board said: ��fx f�  ]

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

[board said: �   ��fx f]

[board said: �  �怘�f]

[board said: ���

[board said: ��fx f�  ]

[board said: �怘�]

[board said: ��~ ` �~]

[board said: ����

[board said: �fx f�  ]

[board said: ��f �fx  x]

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

[board said: ������

[board said: �~]

[board said: ��f ~��

[board said: �~ �  f�]

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

[board said: x`]

[board said: ��fx �

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

[board said: �   � �x�����f]

[board said: �f���怘]

[board said: � �x��

[board said:

OK!

You may want to run minicom or kermit now

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

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.

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

 

Keyboar now not responded now .

 

Uboot not runs.

 

What to do next ?

TranslateQuoteReplyEditDelete

 

 

2011-05-24 22:41:39     Re: ERROR:down load uboot.ldr file from UART MODE on BF518 EZ BOARD

Mike Frysinger (UNITED STATES)

Message: 100818   

 

use the -b option to bfin-uclinux-ldr to load at 57600.  then post the updated display.

QuoteReplyEditDelete

 

 

2011-05-24 22:47:06     Re: ERROR:down load uboot.ldr file from UART MODE on BF518 EZ BOARD

Aaron Wu (CHINA)

Message: 100819   

 

Looks like you can download the u-boot to board via ldr util correclty, but just can not get the u-boot console printed correctly. why there is a "Autobaud result: 115200bps 29.491mhz ". The default baudrate should be 57600. On my side I used to do the same thing and it works fine. here is the steps:

 

1)Download the u-boot via ldr util as you did

 

2)open a minicom, and set it to 57600-8-N-1, and connect to the target board

 

3)Once the u-boot is successfully downloaded in step 1, it will run and you get the u-boot console on minicom.

 

Let me know if you have more questions.

QuoteReplyEditDelete

 

 

2011-05-24 22:56:53     Re: ERROR:down load uboot.ldr file from UART MODE on BF518 EZ BOARD

Aaron Wu (CHINA)

Message: 100820   

 

By the way, for your minicom lock issue when trying to open a minicom as mentioned in email, you may ps to find the minicom process PID, then force kill it by kill -9 PID

Attachments

    Outcomes