2008-04-24 06:21:21     disable console on ttyBF0

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

2008-04-24 06:21:21     disable console on ttyBF0

Servaes Joordens (NETHERLANDS)

Message: 54846   

 

I want to have a console on ttyBF0, and disable the console while starting my application.

 

My application uses ttyBF0 for communication with another device, so at the start of my application I want to detach the console functionality.

 

I do not want to disable the console by compiling the kernel or by passing an argument with u-boot!

 

hope someone can help.

QuoteReplyEditDelete

 

 

2008-04-24 08:54:05     Re: disable console on ttyBF0

Robin Getz (UNITED STATES)

Message: 54857    Servaes:

 

There are a few things that are being mixed up (I think):

  - uart as /dev/console (where kernel prints out messages)

  - uart as /dev/ttyBF0 (shell interface)

  - uart as /dev/ttyBF0 (application interface)

 

If you can describe what you are trying to do to all three different use cases, I think we can help.

 

-robin

QuoteReplyEditDelete

 

 

2008-05-27 06:32:38     Re: disable console on ttyBF0

Sergey Panov (RUSSIAN FEDERATION)

Message: 56298   

 

Robin:

 

I have the same problem. My application is lunched from rc. In the previous version of uboot I wrote in bf537-stamp.h something like

 

bootargs=root=/dev/mtdblock0 rw console=NULL

 

Than, in my application, I wrote

 

fd = open("/dev/ttyBF0", O_RDWR);

 

and worked with another controller or computer through the serial port. What should I do now, with last versions of uboot and uClinux?

QuoteReplyEditDelete

 

 

2008-05-28 02:11:59     Re: disable console on ttyBF0

Sergey Panov (RUSSIAN FEDERATION)

Message: 56315   

 

http://docs.blackfin.uclinux.org/doku.php?id=silent_booting

Attachments

    Outcomes