Remove Login prompt while working with LS1043 evolution board

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

Remove Login prompt while working with LS1043 evolution board

跳至解决方案
607 次查看
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 解答
546 次查看
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 回复数
575 次查看
LFGP
NXP TechSupport
NXP TechSupport
You can use the passwd command.
 
i.e.
$ sudo passwd -d my_username
 
 
0 项奖励
回复
547 次查看
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 项奖励
回复
534 次查看
LFGP
NXP TechSupport
NXP TechSupport
Very good solution @dibyarekha, thanks for share it