disabling the boot loader output over the ttymxc0 port

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

disabling the boot loader output over the ttymxc0 port

1,942 Views
RichardSideleau
Contributor I

Is there a way to disable the boot load output permanently over the ttymxc0 serial port?

during the boot load sequence that is output over the serial port I see "bootconsole [ttymxc0] enabled"

I assume there needs to be a Linux kernel mod to change this.

Thanks for any info.

Labels (1)
0 Kudos
2 Replies

903 Views
RichardSideleau
Contributor I

Serge. Thanks for the reply. My Linux does not have the /etc/inittab file but it does have /etc/init/ttymxc0.conf

I edited this file and commented out:

respawn

exec /sbin/getty -L 115200 ttymxc0

This eliminated the run time output of a login prompt when I enter characters from a hyper term.

I still need to eliminate the kernel and bootloader stuff that is output after a start/re-start.

I assume the "setenv bootargs_base 'setenv bootargs console=ttymxc0,115200 di0_primary console=tty1'" would do some of that. In bash, I used export instead of the setenv (csh command). This is still not working though.

0 Kudos

902 Views
Serge1z
Contributor II

ttymxc0

 

tty /sbin/getty –L ttymxc0 115200 vt100

in order to switch off output of bash in to the COM-port

File

/etc/inittab

 

containing

# see busybox-1.00rc2/examples/inittab for more examples

::sysinit:/etc/rc.d/rcS

::respawn:/sbin/getty -L ttymxc0 115200 vt100

::ctrlaltdel:/sbin/reboot

::shutdown:/etc/rc.d/rcS stop

::restart:/sbin/init

 

replace with

# see busybox-1.00rc2/examples/inittab for more examples

::sysinit:/etc/rc.d/rcS

#::respawn:/sbin/getty -L ttymxc0 115200 vt100

::ctrlaltdel:/sbin/reboot

::shutdown:/etc/rc.d/rcS stop

::restart:/sbin/init

It’s also needed to switch off output in the “environment”

to replace outputing port into u-boot environment

for example:

setenv bootargs_base 'setenv bootargs console=ttymxc0,115200 di0_primary console=tty1'

0 Kudos