LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 03-02-2011, 05:20 PM   #1
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 229

Rep: Reputation: 20
Disable communication over serial port on Beagle board


I have a Beagle board setup (with Angstrom) and ready to run. I need to use the serial port for a custom peripheral I have constructed (and confirmed that the serial from this peripheral works by testing on a desktop computer). Problem is Angstrom (and many of the Beagle board distributions) use the serial port for terminal communications. How to I disable this functionality?
 
Old 03-04-2011, 04:53 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Desktop & server distros tend to have something in /etc/inittab which spawns a getty on most/all serial ports. If your board is a busybox based distro, then it may be done differently.

--- rod.
 
Old 03-04-2011, 05:05 PM   #3
spudgunner
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 229

Original Poster
Rep: Reputation: 20
I have already looked into that. The kernel is holding the serial port for debug messages. Is there a way to release it without having to re-compile u-boot or anything else?
 
Old 03-04-2011, 06:00 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
I think there is a 'console' kernel argument potentially passed by the bootloader. This may specify the terminal port to use for the kernel console, and may be alterable either in the bootloader, or by rebuilding the kernel. FWIW, you can see the present kernel commandline with
Code:
cat /proc/cmdline
--- rod.

Last edited by theNbomr; 03-04-2011 at 06:01 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial port communication.. brianbek Linux - Software 2 01-23-2006 12:43 PM
serial port communication prems Linux - Newbie 1 04-17-2005 02:31 AM
serial port communication vidyaraj Linux - Software 2 03-14-2004 11:32 PM
serial port communication vidyaraj Linux - Software 6 03-02-2004 06:46 PM
communication via serial port perdesiz Linux - Software 0 11-13-2003 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration