How to reduce the boot time to the minimum amount ls1021a-twr

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

How to reduce the boot time to the minimum amount ls1021a-twr

1,096 次查看
jiye
Contributor V

Hi,

I have a ls1021a-twr eva board.  My linux kernel version is 4.19. I used lsdk1906 

flex-builder -i mkrfs -r debian:lite:stretch   

to generate the minimum size of the rootfs around 450 MB.

I also reduced the amount of modules from 460 to 98 in the system. 

I still feel it takes quite large amount of time to boot the system. I wonder if any way knows a good way to decrease the amount of boost time. 

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

946 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Elias Bitbaker ,

Please use fast boot, please add parameter "quiet lpj=250000" in bootargs.

Thanks,

Yiping

0 项奖励
回复

946 次查看
jiye
Contributor V

Hi Yiping,

This is my bootargs looks like:

bootargs=root=/dev/ram0 rw console=ttyS0,115200 quiet lpj=250000

seems there is no difference in terms of boot speed.

0 项奖励
回复

946 次查看
yipingwang
NXP TechSupport
NXP TechSupport

The bootargs "quiet lpj=250000" is used to reduce the serial printing information, so it will reduce the boot time.

Thanks,

Yiping

946 次查看
jiye
Contributor V

is this correct ?

bootargs=root=/dev/ram0 rw console=ttyS0,115200 quiet lpj=250000

0 项奖励
回复

946 次查看
yipingwang
NXP TechSupport
NXP TechSupport

It's correct.

0 项奖励
回复