disabling the boot loader output over the ttymxc0 port

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

disabling the boot loader output over the ttymxc0 port

2,224 次查看
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.

标签 (1)
0 项奖励
回复
2 回复数

1,185 次查看
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 项奖励
回复

1,184 次查看
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 项奖励
回复