Hi,
I noticed that BBB takes around 1 and half minute to finish the boot
process because of /etc/init.d/networking service taking too much time to
execute. I did some modifications into the networking script and the boot
time reported by systemd got reduced to about 5 secs while the network
becomes available in less than 15 seconds.
I have made the changes in the start procedure as follows
start)
if init_is_upstart; then
exit 1
fi
process_options
check_ifstate
if [ "$CONFIGURE_INTERFACES" = no ]
then
log_action_msg "Not configuring network interfaces, see
/etc/default/networking"
exit 0
fi
set -f
exclusions=$(process_exclusions)
log_action_begin_msg "Configuring network interfaces"
if [ -x /sbin/udevadm ]; then
if [ -n "$(ifquery --list --exclude=lo)" ] || [ -n "$(ifquery
--list --allow=hotplug)" ]; then
udevadm settle || true
fi
fi
# Lets run this if block in background to speed the boot process
( if ifup -a $exclusions $verbose && ifup_hotplug $exclusions
$verbose
then
log_action_end_msg $?
else
log_action_end_msg $?
fi ) &
;;
I know its a ugly hack but speeds up the process. I know installing some
other softwares like connman, etc also speeds up the process but I didn't
wanted to install them. Any other suggestions are welcome.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/5b140d04-d470-489b-be18-1145f42f137f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.