Disable beagle board debug messages

hi

I have sucessfully installed Angstrom linux on my Beagle board B7
and plan to write an application which sends and receives data on the
serial port on the beagle board but already beagle board sends the
debug messages on the serial port

I wanted to know how to disable the messages beagle board sends on
boot and also after the system is up and running as i plan to access
that serial port from my application on beagle board.

In the boot args remove the reference to console=ttyS2 (or possibly
console=ttyO2 if you're kernel is 2.6.36 or later).

hi

my kernel is 2.6.32 and i already changed the console argument to
ttyS0 but it did not work..only the messages after the kernel starts
loading are not sent
but i want to disable all debug messages right from when the beagle
board is started..
and also i dont want tthe login prompt on the serial prompt which am
getting but only the
kernel boot up messages are not coming..

has anyone done this and used the same serial port for their
applications
please let me know where am going wrong

So you want the X-Loader and U-Boot messages to not be on the serial port. I’m sure you can compile those two programs so that they write don’t output to the port, but I’m not familiar with exactly what’s required.

hi

my kernel is 2.6.32 and i already changed the console argument to
ttyS0 but it did not work..only the messages after the kernel starts
loading are not sent
but i want to disable all debug messages right from when the beagle
board is started..
and also i dont want tthe login prompt on the serial prompt which am
getting but only the
kernel boot up messages are not coming..

has anyone done this and used the same serial port for their
applications
please let me know where am going wrong

In order to keep the serial port 100% quiet, you'd need a special version
of MLO and U-Boot as they are responsible for the messages you see before
Linux gets started.

That said, once you go this route, your board will be very hard to work
with - no way to break in and change the boot environment or anything else.
Also if something goes wrong, it will be very hard to figure out what or
where/when.

It would seem to me to be better to just put a $10 USB->serial adapter
into your system and use that for the application...

In order to keep the serial port 100% quiet, you'd need a special version
of MLO and U-Boot as they are responsible for the messages you see before
Linux gets started.

Gary's right on this. And he's right about it making it difficult to
work with the board during development if you do this.

It would seem to me to be better to just put a $10 USB->serial adapter
into your system and use that for the application...

I find it hard to believe that the serial port output from uboot or MLO
will be a problem for the original posters application. It will be
simple enough to ignore data on that port until the Linux serial port
application sends a proper break of some kind to what ever is listening
on the other end. Most digital communications define some kind of
protocol to deal with just this situation.

But if not, like Gary says, toss a USB->serial adapter on the USB port
instead.

hi

ya am aware of that..
will see if it works with a usb to serial adaptor
but our application demands continuous serial communication i.e. non
stop
the beagle board will be continuously receiving data on the serial
port every second
so i am not sure the usb to serial adaptor is a good solution for such
a application
as i have used usb to serial adaptor on windows with the kind of
application and
it works but not perfect..

are there any options of adding a new serial port like any good
expansion board for
beagle board. their are options available but has anyone used it
without any problem

anyway thanks for the info..will try with usb to serial adaptor and
check
if it works its fine else have to think of another solution like
expansion board

hi

ya am aware of that..
will see if it works with a usb to serial adaptor
but our application demands continuous serial communication i.e. non
stop
the beagle board will be continuously receiving data on the serial
port every second
so i am not sure the usb to serial adaptor is a good solution for such
a application
as i have used usb to serial adaptor on windows with the kind of
application and
it works but not perfect..

are there any options of adding a new serial port like any good
expansion board for
beagle board. their are options available but has anyone used it
without any problem

Check out the BeagleBuddy Zippy or Zippy2.

hi an,

I dont know about B7. But in C4 you can get uart signals in expansion
header.