LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Disable communication over serial port on Beagle board (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/disable-communication-over-serial-port-on-beagle-board-866086/)

spudgunner 03-02-2011 05:20 PM

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?

theNbomr 03-04-2011 04:53 PM

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.

spudgunner 03-04-2011 05:05 PM

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?

theNbomr 03-04-2011 06:00 PM

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.


All times are GMT -5. The time now is 03:09 AM.