2009-05-19 13:34:54     U-Boot Console on UART1 on BF527

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

2009-05-19 13:34:54     U-Boot Console on UART1 on BF527

Dave Henning (UNITED STATES)

Message: 74274   

 

I am having trouble moving the u-boot console from UART0 to UART1 to BF527.  Has any one seen this working?

 

I am using a CM-BF527 on a BlueTechnix development board.  I am flashing the board using JTAG.

 

I know my procedure works because I can flash an image with console on UART0 and it works fine.

 

I know the UART1 hardware is okay because it works with uClinux.  However, I cannot get it to work with u-boot.

 

I modified the file /include/configs/cm-bf527.h as follows:

 

#define CONFIG_UART_CONSOLE 0

 

to

 

#define CONFIG_UART_CONSOLE 1

 

I have tried both port F and port G by modifying the DO_MUX code in cpu/blackfin/serial.h

 

I don't see anything on the terminal program.  Am I missing something?

 

 

 

Related Question:

 

I would like to dump/modify the port control registers using the 'md' and 'mm' commands in u-boot.  I have tried using:

 

mm 0xFFC00740

 

When I do this, I get an MMR register access error.  The 527 manual says I must be in supervisor mode to access those registers.  Is u-boot not in supervisor mode when it calls a mm/md command?

 

 

 

Thanks,

 

Dave ...

QuoteReplyEditDelete

 

 

2009-05-19 18:50:09     Re: U-Boot Console on UART1 on BF527

Mike Frysinger (UNITED STATES)

Message: 74293   

 

the BF527-EZKIT always uses UART1 and that works fine, but we havent tested any alternate portmuxing configuration.

 

the error you report is correct.  if it were a supervisor problem, it would say supervisor error.  you need to explicitly specify the size and length.

QuoteReplyEditDelete

 

 

2009-05-20 02:25:38     Re: U-Boot Console on UART1 on BF527

Dave Henning (UNITED STATES)

Message: 74297   

 

Thanks so much, Mike.

 

So if I understand you correctly, I need to specify the size and length on my mm/md with a command like:

 

md.w 0xFFC03320 0x10

 

 

 

Is there any way to reroute u-boot's console from UART0 to UART1 at run-time?

QuoteReplyEditDelete

 

 

2009-05-20 02:46:42     Re: U-Boot Console on UART1 on BF527

Mike Frysinger (UNITED STATES)

Message: 74298   

 

the current serial device implementation only allows for 1 UART to be compiled in at a time

 

maybe in a future release we'll look at supporting all UARTs dynamically

QuoteReplyEditDelete

 

 

2009-06-01 21:18:30     Has anyone see U-Boot Console on UART1 on CM-BF527

Dave Henning (UNITED STATES)

Message: 74938   

 

If anyone can confirm that they have u-boot supporting UART1 on a CM-BF527, please let me know.  For now, I have given up.

 

For whatever reason, I was never able to get u-boot to work on UART1 (either Port F or Port G) on a CM-BF527.  ucLinux works fine on UART1, but u-boot only works on UART0.

Attachments

    Outcomes