From: Andreas M. <sch...@go...> - 2013-01-18 18:11:56
|
On Fri, Jan 18, 2013 at 4:44 PM, Arne Lie <Arn...@si...> wrote: > Hi again, > > Findings from today after running the Yocto/Denzil build from this morning, using: > PREFERRED_PROVIDER_udev = "udev" > in conf/local.conf > > System: > Yocto (Built by Poky 7.0.2) 1.2.2 overo ttyO2 > > Linux: > Linux overo 3.2.0 #1 PREEMPT Thu Jan 17 12:54:54 CET 2013 armv7l GNU/Linux > > root@overo:~# systemd-analyze > Startup finished in 3571ms (kernel) + 33319ms (userspace) = 36891ms > > My goal is to make a much faster userspace boot-time, 33 seconds it 20 too much. I see reports on 8 seconds (EarthStorm/Tobi). > And, hopefully, to make the system run on fewer milliamperes, currently, I am somewhere between 240-300 mA... > > So, how to I avoid starting not needed services/devices, e.g., bluetooth/rfcomm/hci services? I have spent some time learning about systemd, which I now understand has replaced sysinitv. But I cannot understand which servcies is started, from where... And, it seems that my buildsystem is a hybrid systemd/sysinitv, and it also reports about LSB: E.g., > * /etc/inittab is still there, but is it in use? > * /etc/init.d/ is populated with some files, but are they used? > * /etc/rcX.d directories still exist, and they are populated with some symbolic links > * my system uses BusyBox, why? > * opkg seems not to be able to install anything > * many systemd tools I find in the internet literature is not there > > The frustrating thing is that the Linux/Gumstix universe is now moving so fast that most of the online literature is not valid anymore. And I cannot seem to find any valid documentation for the build I have. And, I know that the bleeding edge is at Linux 3.6, so... > > Hopefully, somebody has some pointers that I do not find via Google..?? > > Best regards > > Arne > > >> -----Original Message----- >> From: Arne Lie [mailto:Arn...@si...] >> Sent: 18. januar 2013 09:31 >> To: General mailing list for gumstix users. >> Subject: Re: [Gumstix-users] Building Yocto for Gumstix/Overo (RE: >> Connection Refused to Steve's Git repo) >> >> Hi, >> >> Just did a bitbake jumpnow-console-image with your >> PREFERRED_PROVIDER_udev = "udev" , and it went all the way with building >> xloader, u-boot, uImage, and rootfs. Thanks so much!!! :-) >> >> Best regards >> Arne >> > systemd-analyse blame gives more details. For creatin a graph there is also an option (I don't have it here on my win PC.. - systemd-analyse --help) Note: on first boot it might last longer for postint tasks. Same for further boots? To enable/disable systemctl disable foo.service should help. See man systemctl. The available service files should be found at /lib/systemd/system. See man systemd.unit. Hope it helps a bit Andreas |