Remove Login prompt while working with LS1043 evolution board

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Remove Login prompt while working with LS1043 evolution board

ソリューションへジャンプ
509件の閲覧回数
dibyarekha
Contributor IV

Hi All,

I'm trying to figure out how to disable the following login prompt after the kernel boots:

QorIQ SDK POC (Proof of Concept) 4.0.4 ls1043ardb ttyS0

ls1043ardb login:

I want my application should run automatically without asking for login
I am using ubuntu 20.04

0 件の賞賛
1 解決策
448件の閲覧回数
dibyarekha
Contributor IV

Hi @LFGP ,

I found the solution myself.

add  “-a root “ in ExecStart variable in serial-getty@.service file in following path

/sources/poky/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service

 

ExecStart=-/sbin/agetty -a root -8 -L %I @BAUDRATE@ $TERM

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
477件の閲覧回数
LFGP
NXP TechSupport
NXP TechSupport
You can use the passwd command.
 
i.e.
$ sudo passwd -d my_username
 
 
0 件の賞賛
449件の閲覧回数
dibyarekha
Contributor IV

Hi @LFGP ,

I found the solution myself.

add  “-a root “ in ExecStart variable in serial-getty@.service file in following path

/sources/poky/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service

 

ExecStart=-/sbin/agetty -a root -8 -L %I @BAUDRATE@ $TERM

0 件の賞賛
436件の閲覧回数
LFGP
NXP TechSupport
NXP TechSupport
Very good solution @dibyarekha, thanks for share it