Lazarman: To answer your question, yes I have used the Google search in the group and I did not find something that applied directly to my questions: - The information I found on how to disable the timeout where either to vague for me to figure out, or did not seem to apply to the configuration on my board, - I did not find anything related to customizing the bootup, apart from enabling/disabling capes manually in uEnv.txt. My question is related to forcing states in the bootup scripts rather than automatic detection
Now since you seem to have written a tutorial on how to speed up boot time, and since this did not show up in the search results, would it be possible for you to link directly to it? This I feel, would be a useful piece of information to this thread. Regards, JS On Tuesday, October 25, 2016 at 11:40:50 AM UTC-5, Jean-Sebastien Stoezel wrote: > > Hi: > > I am running a Beagle Bone with a custom cape and I am looking for ways to > reduce its boot time. The cape will always be the same and so I'd like to > see what it is I can change to reduce or completely remove custom auto > detection scripts. > As of now, the board boots in 18s, 8s are spent in the kernel, 10s are > spent in user space. > > I have seen numbers out stating that the kernel can boot in less than 2s. > I'd be interested to know how this is possible. I am aware of a timeout > being used in the kernel, though I am not sure how to disable this (using > 4.1.33-bone-rt-r24). > > Currently generic-board-startup.service seems to be the service that takes > the longest to complete. Looking at what it does, it seems to be invoking > am335x_evm.h.sh. I am wondering if I could disable anything related to > detecting capes (including trying to read the eeprom). At this time I can > see lines 30 to 55 in the scripts being related to eeprom flashing/reading, > though I am not sure this is targetting the cape's eeprom. > > In general, how would I go about disabling auto detection of capes? Would > I need to edit these scripts? Or is there a cleaner way to disable features > by editing a config file? > > Regards, > JS > > -- 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/a8ddaef0-61e9-461a-9f69-a02f9b3a0e82%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
