AnsweredAssumed Answered

linux startup time optimization

Question asked by qiang xie on Oct 11, 2018
Latest reply on Oct 11, 2018 by qiang xie

Dear all,

 

my bsp is 4.1.15-2.1.0 imx6dlsabresd, now i want to reduce the time of linux system booting.now when the rootfs run, and after the log "random: udevd urandom read with 20 bits of entropy available", it stops for 2 seconds, and then print the next log "INIT: Entering runlevel: 5", i don't want to wait for so long, could you help me,thank you very much.

 

my board is imx

[3.320321 0.002744] Freeing unused kernel memory: 416K (80a0e000 - 80a76000)
[3.403282 0.082961] INIT: version 2.88 booting
[3.741542 0.338260] Starting udev
[4.026929 0.285387] udevd[124]: starting version 3.1.5
[4.047488 0.020559] random: udevd urandom read with 20 bits of entropy available
[6.304459 2.256971] INIT: Entering runlevel: 5
[6.421424 0.116965] Configuring network interfaces... fec 2188000.ethernet eth0: Freescale FEC PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=2188000.ethernet:04, irq=-1)
[6.613556 0.192132] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[6.661879 0.048323] done.
[6.718808 0.056929] Starting system message bus: dbus.
[6.793821 0.075013] Starting Connection Manager
[7.090535 0.296714]  * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon   [ ok ]
[7.326768 0.017981] Starting crond: OK
[7.357443 0.030675] Running local boot scripts (/etc/rc.local).
[7.428010 0.070567] umount: /mnt/.psplash: not mounted
[7.551353 0.123343]
[7.551375 0.000022] Freescale i.MX Release Distro 4.1.15-2.1.0 imx6dlsabresd /dev/ttymxc1

Outcomes