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

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

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

1,198 Views
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. 

Labels (1)
0 Kudos
Reply
5 Replies

1,048 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Elias Bitbaker ,

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

Thanks,

Yiping

0 Kudos
Reply

1,048 Views
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 Kudos
Reply

1,048 Views
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

1,048 Views
jiye
Contributor V

is this correct ?

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

0 Kudos
Reply

1,048 Views
yipingwang
NXP TechSupport
NXP TechSupport

It's correct.

0 Kudos
Reply