Boot time optimisation

Hi friends,

I am doing boot time optimisation any one please tel me network configuration using make menuconfig with Ethernet support only with ssh and file system configuration or any one please send me minimal configuration .config file please i am hopefully waiting replay

Thanking everyone

So, take the default config, remove some options, reboot, test your
application, save the config and repeat..

If it fails revert to the previous tested config and try again.

Regards,

Thank you

Hi Robert Nelson,

Now i am building kernel image using yakbuild

At the time of make menuconfig
I am disabled some unwanted modules
Then i am copied that image to beaglebone black when i am seeing booting through dmesg it is showing bellow error . How many modules i disabled all modules this error is showing how i can remove this error

Sound_card:disagrees about version of symbol module_layout
Uio: disagrees about version of symbol module_layout

Regards,
Raghavendra

This happens when you fail to copy all 3 kernel components..The
vmlinuz, modules, and device-tree-binary..

See the instructions here: (you can ignore: Copy Root File System as
you already have that.)

https://www.digikey.com/eewiki/display/linuxonarm/PocketBeagle#PocketBeagle-InstallKernelandRootFileSystem

Regards,

Hi Robert Nelson,

Without copying modules i am getting boot time 24sec if i am copying the modules means boot time will be increase to 33sec how i can keep without reducing 24sec to 33sec boot time

Well run make sure your initrd is generated via:

sudo update-initramfs -ck `uname -r`

and reboot..

Regards,

Hi Robert Nelson,

Please tell me any other methods also boot time optimisation i am removed all unwanted services also and journal takes 9sec it is possible to reduce journal time also

Hi Robert Nelson,

It is possible to reduce journal time? And
Also i am removed boot delay .

Regards,
Raghavendra

Hi Robert Nelson,

Thank you so much

Regards,
Raghavendra

Thank you so much Robert Nelson its working fine

Hi Robert Nelson,

Thank you so much for your support

When i am configured kernel using menuconfig and i am copied kernel image to beaglebone when i am doing ifconfig usb0 not showing i am also tried to set manualy ifconfig usb0 ip then it is showing bellow error how to solved this error ?

Regards,
Raghavendra
Usb0:error fetching interface information;device not found

Hi Robert Nelson,

Thank you so much for your support

When i am configured kernel using menuconfig and i am copied kernel image to beaglebone when i am doing ifconfig usb0 not showing i am also tried to set manualy ifconfig usb0 ip then it is showing bellow error how to solved this error ?

Usb0:error fetching interface information;device not found

Regards,
Raghavendra

Remember when i mentioned, you need to test, and then if it fails, go
back to the previous config?

AKA, don't change large portions of the defconfig all at once, do it
incrementally...

Regards,

Hi Robert Nelson,

Ok thank you

Hi Robert Nelson,

Using yakbuild when I am building kernel it creates firmware,kernel image,dtbs,modules in this zip files I am copied only modules and kernel image then it is not detecting usb0 when I am copy firmware then only detect but if I copy firmware the total booting time will be increased please Tel me for usb0 from firmware which file I want to copy

Hi Robert Nelson,

when bootloader boots 6sec extra takes before star login page how to remove this time bellow copied grabserial captured time and highlighted hopefully I am waiting for reply

[21.436136 0.235720] [ OK ] Started Login Service.

[21.619567 0.183431] [ OK ] Started OpenBSD Secure Shell server.

[22.057817 0.438250] [ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling.

[22.103397 0.045580] Starting LSB: set CPUFreq kernel parameters…

[22.477003 0.373606] [ OK ] Started LSB: set CPUFreq kernel parameters.

[23.067155 0.590152] [ OK ] Found device /dev/ttyS0.

[23.100613 0.033458] [ OK ] Started Serial Getty on ttyS0.

[23.115977 0.015364] [ OK ] Reached target Login Prompts.

[29.139019 6.023042]

[29.151516 0.012497] Debian GNU/Linux 9 ttrhvt.0941 ttyS0

[29.154867 0.003351]

[29.154939 0.000072] BeagleBoard.org Debian Image 2017-08-31

[29.158610 0.003671]

[29.158696 0.000086] Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

[29.164656 0.005960]

[29.164743 0.000087] default username:password is [debian:temppwd]

[29.168920 0.004177]

[29.174534 0.005614] ttrhvt login:

please tell me i am waiting for your replay

thanking you

Hi Robert Nelson,

when bootloader boots 6sec extra takes before star login page how to remove this time bellow copied grabserial captured time and highlighted , when booting it is directly jumping 23sec to 29sec hopefully I am waiting for reply

[21.436136 0.235720] [ OK ] Started Login Service.

[21.619567 0.183431] [ OK ] Started OpenBSD Secure Shell server.

[22.057817 0.438250] [ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling.

[22.103397 0.045580] Starting LSB: set CPUFreq kernel parameters…

[22.477003 0.373606] [ OK ] Started LSB: set CPUFreq kernel parameters.

[23.067155 0.590152] [ OK ] Found device /dev/ttyS0.

[23.100613 0.033458] [ OK ] Started Serial Getty on ttyS0.

[23.115977 0.015364] [ OK ] Reached target Login Prompts.

[29.139019 6.023042]

[29.151516 0.012497] Debian GNU/Linux 9 ttrhvt.0941 ttyS0

[29.154867 0.003351]

[29.154939 0.000072] BeagleBoard.org Debian Image 2017-08-31

[29.158610 0.003671]

[29.158696 0.000086] Support/FAQ: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

[29.164656 0.005960]

[29.164743 0.000087] default username:password is [debian:temppwd]

[29.168920 0.004177]

[29.174534 0.005614] ttrhvt login:

please tell me i am waiting for your replay

thanking you

Figure it out:

systemd-analyze plot > /var/www/html/startup.svg

Regards,

Hi Robert Nelson,

Thank you so much