Boot time optimisation

177 views
Skip to first unread message

Raghavendra Bhovi

unread,
Oct 24, 2018, 10:46:10 AM10/24/18
to beagl...@googlegroups.com
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

Robert Nelson

unread,
Oct 24, 2018, 10:58:38 AM10/24/18
to Beagle Board, Raghavendra Bhovi
On Wed, Oct 24, 2018 at 9:46 AM Raghavendra Bhovi <rbhov...@gmail.com> wrote:
>
> 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

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,

--
Robert Nelson
https://rcn-ee.com/

Raghavendra Bhovi

unread,
Oct 24, 2018, 11:10:00 AM10/24/18
to Robert Nelson, Beagle Board
Thank you 

Raghavendra Bhovi

unread,
Oct 26, 2018, 10:49:47 AM10/26/18
to Robert Nelson, Beagle Board
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 

On 24-Oct-2018 8:28 PM, "Robert Nelson" <robert...@gmail.com> wrote:

Robert Nelson

unread,
Oct 26, 2018, 10:54:00 AM10/26/18
to Raghavendra Bhovi, Beagle Board
On Fri, Oct 26, 2018 at 9:49 AM Raghavendra Bhovi <rbhov...@gmail.com> wrote:
>
> 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

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

Raghavendra Bhovi

unread,
Oct 26, 2018, 10:58:41 AM10/26/18
to Robert Nelson, Beagle Board
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

Robert Nelson

unread,
Oct 26, 2018, 11:03:32 AM10/26/18
to Raghavendra Bhovi, Beagle Board
On Fri, Oct 26, 2018 at 9:58 AM Raghavendra Bhovi <rbhov...@gmail.com> wrote:
>
> 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..

Raghavendra Bhovi

unread,
Oct 26, 2018, 11:05:01 AM10/26/18
to Robert Nelson, Beagle Board
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

Raghavendra Bhovi

unread,
Oct 26, 2018, 11:08:58 AM10/26/18
to Robert Nelson, Beagle Board
Hi Robert Nelson,

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

Regards,
Raghavendra 

Raghavendra Bhovi

unread,
Oct 26, 2018, 11:11:43 AM10/26/18
to Robert Nelson, Beagle Board
Hi Robert Nelson,

Thank you so much 

Regards,
Raghavendra 

Raghavendra Bhovi

unread,
Oct 29, 2018, 3:18:07 AM10/29/18
to Robert Nelson, Beagle Board
Thank you so much Robert Nelson its working fine 

Raghavendra Bhovi

unread,
Oct 29, 2018, 9:02:30 AM10/29/18
to Robert Nelson, Beagle Board
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

Raghavendra Bhovi

unread,
Oct 29, 2018, 9:05:29 AM10/29/18
to Robert Nelson, Beagle Board
 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 

Robert Nelson

unread,
Oct 29, 2018, 10:16:00 AM10/29/18
to Raghavendra Bhovi, Beagle Board
On Mon, Oct 29, 2018 at 8:02 AM Raghavendra Bhovi <rbhov...@gmail.com> wrote:
>
> 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

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...

Raghavendra Bhovi

unread,
Oct 29, 2018, 10:44:54 AM10/29/18
to Beagle Board
Hi Robert Nelson,

Ok thank you  

--
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 beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYi1VQP%3DRquZc1Ee89Ww%2BehqPKQSZ07Vonj5nfJ62rn-Wg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Raghavendra Bhovi

unread,
Nov 2, 2018, 12:35:45 AM11/2/18
to Robert Nelson, Beagle Board
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

Raghavendra Bhovi

unread,
Nov 13, 2018, 8:25:28 AM11/13/18
to Robert Nelson, Beagle Board
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 


Raghavendra Bhovi

unread,
Nov 13, 2018, 8:29:00 AM11/13/18
to beagl...@googlegroups.com
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 


Robert Nelson

unread,
Nov 13, 2018, 10:13:56 AM11/13/18
to Beagle Board
On Tue, Nov 13, 2018 at 7:28 AM Raghavendra Bhovi <rbhov...@gmail.com> wrote:
>
> 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

Figure it out:

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

Raghavendra Bhovi

unread,
Nov 14, 2018, 2:35:52 AM11/14/18
to beagl...@googlegroups.com
Hi Robert Nelson,

Thank you so much
--
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 beagleboard+unsubscribe@googlegroups.com.

Raghavendra Bhovi

unread,
Nov 19, 2018, 2:18:21 AM11/19/18
to Robert Nelson, Beagle Board
Hi Robert Nelson 

Generic-startup.sh and  and dev-mmcblk1p1.device takes more time 

Raghavendra Bhovi

unread,
Nov 26, 2018, 1:06:49 AM11/26/18
to beagl...@googlegroups.com
Hi Robert Nelson,

Thank you so much your support finaly i made it 24sec boot time 

How to convert os  files/folders to bootable image 

I am used imgburn tool to create image  but when i am tring to Flash to memory card its telling it is not a bootable image please suggest some solution 

Thanking you

--
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 beagleboard+unsubscribe@googlegroups.com.

Raghavendra Bhovi

unread,
Nov 27, 2018, 10:39:40 AM11/27/18
to Robert Nelson, Beagle Board
Hi Robert Nelson,

Using dd commands i made image creation thank you so much your support 

Raghavendra Bhovi

unread,
Dec 12, 2018, 9:35:48 AM12/12/18
to Beagle Board
Hi Robert Nelson,

If I enable ttyGS0 in am335xx_env.sh
Serial port taking 9sec how to reduce this time I want serial port also please tell me as much as early sir tomorrow project release this is my first project in Linux  hopefully I am waiting for your reply

Regards,
Raghavendra

--
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 beagleboard+unsubscribe@googlegroups.com.

Robert Nelson

unread,
Dec 12, 2018, 9:48:38 AM12/12/18
to Beagle Board, Raghavendra Bhovi
On Wed, Dec 12, 2018 at 8:35 AM Raghavendra Bhovi <rbhov...@gmail.com> wrote:
>
> Hi Robert Nelson,
>
> If I enable ttyGS0 in am335xx_env.sh
> Serial port taking 9sec how to reduce this time I want serial port also please tell me as much as early sir tomorrow project release this is my first project in Linux hopefully I am waiting for your reply

Correct, enabling ttyGS0 in am335xx_env.sh causes serious delays in bootup..

i've tried to work around that in the current default images, but it's
still not working any better..

Raghavendra Bhovi

unread,
Dec 12, 2018, 12:01:46 PM12/12/18
to Robert Nelson, Beagle Board
Hi Robert Nelson,

Thank you so much your reply 
how to use usb1 (usb host) as a serial port I am connected usb1 to desktop but it is not showing any serial port but I want serial communication through usb without increasing boot time
I am waiting for your reply sir

Regards,
Raghavendra

Robert Nelson

unread,
Dec 12, 2018, 12:03:48 PM12/12/18
to Raghavendra Bhovi, Beagle Board
On Wed, Dec 12, 2018 at 11:01 AM Raghavendra Bhovi <rbhov...@gmail.com> wrote:
>
> Hi Robert Nelson,
>
> Thank you so much your reply
> how to use usb1 (usb host) as a serial port I am connected usb1 to desktop but it is not showing any serial port but I want serial communication through usb

enable it in am335xx_env.sh

> without increasing boot time

disable it in am335xx_env.sh

> I am waiting for your reply sir

Why?

Raghavendra Bhovi

unread,
Dec 12, 2018, 12:07:19 PM12/12/18
to Robert Nelson, Beagle Board
Hi Robert Nelson,

How sir it is possible
Without increasing boot time possible I don't know please give me any hint sir

Regards,
Raghavendra

Raghavendra Bhovi

unread,
Dec 12, 2018, 12:10:33 PM12/12/18
to Robert Nelson, Beagle Board
Hi Robert Nelson,

How to enable and disable in am335x-evm.sh I don't know sir without increasing boot time please give me any hint clues sir please
I am waiting for your reply sir
Regards,
Raghavendra

Robert Nelson

unread,
Dec 12, 2018, 12:46:31 PM12/12/18
to Raghavendra Bhovi, Beagle Board
On Wed, Dec 12, 2018 at 11:07 AM Raghavendra Bhovi <rbhov...@gmail.com> wrote:
>
> Hi Robert Nelson,
>
> How sir it is possible
> Without increasing boot time possible I don't know please give me any hint sir

Let us know when you figure that out.. I'll gladly enable it by default..

Raghavendra Bhovi

unread,
Dec 12, 2018, 7:30:16 PM12/12/18
to Robert Nelson, Beagle Board
Hi Robert Nelson,

Thank you so much for your reply sir
I will try to enable and disable in am335x_evm.sh

Regards,
Raghavendra
Reply all
Reply to author
Forward
0 new messages