I agree. RantMode := TRUE; It's not Linux per say which is an amazing environment that has brought so much. Not to mention the tremendous support from people like Robert. But the side effect is that 16 to 18 seconds appears to be the fastest it can wake up which means it's not always the best solution for a product. But in this world of Python and web based programming, embedded systems have taken a back seat. If you were a new grad from what now tends to be called "Computer Engineering" would you take a job that offered $100K per year as a web designer or $60K developing embedded systems that required assembler knowledge? So if your school used Linux and Raspberry Pi or Beagles as the learning environment and you were hired to develop a BluRay Player by Panasonic, would you pull out Microchip's MPLAB-X which you had never used along with a PIC32 or shoehorn in an ARM processor running Linux with all the support for online firmware upgrades and pre-written video decoding? And if it takes 20 seconds to open the drawer just say so "who cares?". When this BD30 player fails the first thing I will test on new hardware is how fast the drawer opens. But I might also not have a choice… RantMode := FALSE; John From: 'Mark Lazarewicz' via BeagleBoard [mailto:beagleboard@googlegroups.com] Sent: May-24-21 10:58 AM To: beagleboard@googlegroups.com Subject: RE: [beagleboard] Re: Reducing Boottime in Beaglebone Black John Ohh boy you got me started now. My Verizon hotspot jetpack (my 3rd purchase) resets very frequently sometimes 4 time's rebooting during important updates to my online database of vinyl. It also Freeze's up after 2 years intermittently for days. Linux and poor design. I suspect it's the wifi radio and software interface to Linux GUI. Has to be a serious bug to reset Chip. No watchdog to reset radio just goodbye reboot hello repeatedly. Cheap design by some low payed QT PC programmer who's never seen an oscilloscope in his life is my guess. I read them the riot act at Verizon. The Verizon manager was a computer science graduate who could not find a job 6 years ago. Yes as consumer's we have to demand better and boycott bad engineering with our wallets. Rant over Mark Sent from Yahoo Mail on Android <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature> On Mon, May 24, 2021 at 12:32 PM, John Dammeyer <jo...@autoartisans.com> wrote: Just a totally irrelevant side note here. I finally found out why my Panasonic DMP-BD30 is so incredibly annoying on power up. I can press the power button and the display lights up and a 'HELLO' message shows up instantly. Then noises come from inside. The 'HELLO' brightens and then changes to 'READING'. About 20 seconds later the button to open the disk drawer finally works. When went searching to see if there was a firmware upgrade I found out it was running Linux. The inability of the disk drawer to be opened immediately is bad human factors engineering IMHO. When a user turns on power they expect and should be rewarded with the drawer opening immediately if the eject button is pressed. If it weren't running Linux but an RTOS or even just co-operative multi-threading the drawer operation wouldn't be delayed. But that just isn't possible in a stock Linux system unless a special task is written that is loaded early and handles the tray. Which would be very complicated I suspect and beyond the ability of the normal software engineer. What is sad is we are seeing acceptance of this sort of poor behavior as perfectly alright. Again IMHO. John From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On Behalf Of robert.sty...@gmail.com Sent: May-24-21 9:27 AM To: BeagleBoard Subject: Re: [beagleboard] Re: Reducing Boottime in Beaglebone Black Can you start these services later? If you cannot just sleep, or hibinate to save power, and have to cold boot quickly. I would hope for something like: Initially load the kernel loader load the kernel (load root file-system service) (load IPC or network service) load the turnkey application Then as Needed load device and file-system services For a screen based turnkey app, you can only display a splash screen for a few seconds, before the user thinks it is broken, a bit longer for an animated splash screen. Imagine a car radio, something has happen immediately after power on (speaker click or LED indicator or screen backlight), then less than half a second "Tuning..." before music appears. On Monday, 24 May 2021 at 16:42:08 UTC+1 RobertCNelson wrote: On Sun, May 23, 2021 at 9:19 PM Karishma Jaiswal <karry....@gmail.com> wrote: > > @Dennis L Bieber Really thanks for your detailed explanation about the each > services. > I also updated ubuntu from 16 to 18 and done some modification in the > services. now my board's logs are as below > My system should be working as station mode but may be future, we will add AP > mode also. > I will also remove nginx services. > > > ubuntu@beaglebone:~$ systemd-analyze blame > 51.048s dev-mmcblk1p1.device > 28.951s generic-board-startup.service > 6.550s led-status.service > 6.133s systemd-hwdb-update.service > 4.805s grub-common.service > 4.611s loadcpufreq.service > 3.244s nginx.service > 3.053s systemd-udev-trigger.service > 2.971s avahi-daemon.service > 2.099s ssh.service > 1.958s archive_log.service > 1.839s keyboard-setup.service > 1.548s rsyslog.service > 1.512s connman.service > 1.438s systemd-user-sessions.service > 1.404s wpa_supplicant.service > 1.315s ofono.service > 1.291s systemd-logind.service > 1.275s cpufrequtils.service > 1.253s tacread-keymap.service > 887ms systemd-timesyncd.service > 786ms us...@0.service > 685ms systemd-journald.service > 508ms kmod-static-nodes.service > 498ms dev-mqueue.mount > 487ms fake-hwclock.service > 469ms sys-kernel-config.mount > 459ms systemd-fsck-root.service > 422ms systemd-tmpfiles-setup-dev.service > 406ms systemd-modules-load.service > 401ms systemd-sysctl.service > 390ms systemd-tmpfiles-setup.service > 387ms setvtrgb.service > 350ms nvda.service > 341ms sys-fs-fuse-connections.mount > > > Also want to know that in ubuntu 18, why below two task taking so much time > and how we can reduce it further to achieve the over all boot time as 30 sec. > Any suggestion will help me. > > 51.048s dev-mmcblk1p1.device > 28.951s generic-board-startup.service
as long as you don't use usb-serial, usb-flash, or usb-networking on the "OTG" USB port, you can nuke generic-board-startup.service Regards, -- Robert Nelson https://rcn-ee.com/ -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/f25766a9-4032-4466-a3b5-e42a5df485d5n%40googlegroups.com <https://groups.google.com/d/msgid/beagleboard/f25766a9-4032-4466-a3b5-e42a5df485d5n%40googlegroups.com?utm_medium=email&utm_source=footer> . -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/00b701d750c2%24bb5953b0%24320bfb10%24%40autoartisans.com <https://groups.google.com/d/msgid/beagleboard/00b701d750c2%24bb5953b0%24320bfb10%24%40autoartisans.com?utm_medium=email&utm_source=footer> . -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/1958141964.2239749.1621879085902%40mail.yahoo.com <https://groups.google.com/d/msgid/beagleboard/1958141964.2239749.1621879085902%40mail.yahoo.com?utm_medium=email&utm_source=footer> . -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/00ce01d750cb%2476dff190%24649fd4b0%24%40autoartisans.com.