My r127 seems very different from your r113! Would mounting the EXT4-fs set the lower limit on what I can hope for? I also have a major jump at 45s to 95s.
Mike ... [ 1.385532] ALSA device list: [ 1.385540] No soundcards found. [ 1.392228] Freeing unused kernel memory: 1024K [ 1.847501] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 1.848225] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 1.848327] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 30.019624] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null) [ 30.463662] systemd[1]: System time before build time, advancing clock. [ 30.534304] ip_tables: (C) 2000-2006 Netfilter Core Team [ 30.568706] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 30.569470] systemd[1]: Detected architecture arm. [ 30.575682] systemd[1]: Set hostname to <beaglebone>. [ 31.174199] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 31.175075] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 31.175446] systemd[1]: Listening on fsck to fsckd communication Socket. [ 31.175897] systemd[1]: Listening on Journal Socket (/dev/log). [ 31.176334] systemd[1]: Listening on udev Control Socket. [ 31.176550] systemd[1]: Reached target Remote File Systems. [ 31.176704] systemd[1]: Reached target Swap. [ 31.615583] EXT4-fs (mmcblk1p1): re-mounted. Opts: errors=remount-ro [ 32.714627] systemd-journald[873]: Received request to flush runtime journal from PID 1 [ 34.166674] random: crng init done [ 34.166698] random: 7 urandom warning(s) missed due to ratelimiting [ 39.624602] nf_conntrack version 0.5.0 (8192 buckets, 32768 max) [ 41.169342] using random self ethernet address [ 41.169362] using random host ethernet address [ 41.238422] net eth0: initializing cpsw version 1.12 (0) [ 41.315227] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL) [ 41.344681] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 42.089601] Mass Storage Function, version: 2009/09/11 [ 42.089624] LUN: removable file: (no medium) [ 42.723517] using random self ethernet address [ 42.723537] using random host ethernet address [ 43.094457] usb0: HOST MAC 74:e1:82:62:fc:20 [ 43.098695] usb0: MAC 74:e1:82:62:fc:21 [ 43.117882] usb1: HOST MAC 74:e1:82:62:fc:23 [ 43.118204] usb1: MAC 74:e1:82:62:fc:24 [ 43.359164] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 43.359253] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 43.509508] configfs-gadget gadget: high-speed config #1: c [ 43.735440] 8021q: 802.1Q VLAN Support v1.8 [ 43.736197] 8021q: adding VLAN 0 to HW filter on device eth0 [ 44.594345] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready [ 95.541078] pvrsrvkm: loading out-of-tree module taints kernel. [ 95.572136] pruss 4a300000.pruss: creating PRU cores and other child platform devices [ 95.603724] remoteproc remoteproc1: 4a334000.pru is available [ 95.603854] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully [ 95.617530] remoteproc remoteproc2: 4a338000.pru is available [ 95.617648] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully [ 95.717866] [drm:drm_minor_register] [ 95.717885] [drm:drm_minor_register] [ 95.718403] [drm:drm_minor_register] new minor registered 128 [ 95.718415] [drm:drm_minor_register] [ 95.724539] [drm:drm_minor_register] new minor registered 1 [ 95.730470] [drm] Initialized pvr 1.14.3699939 20110701 for 56000000.sgx on minor 1 On Monday, February 24, 2020 at 11:46:53 AM UTC-5, Dennis Bieber wrote: > > On Sun, 23 Feb 2020 14:07:27 -0800 (PST), in > gmane.comp.hardware.beagleboard.user > [email protected] <javascript:> wrote: > > > > > > > > >My application uses a beaglebone black rev C. The application is written > in > >python and uses serial ports, Adafruit_BBIO.PWM and GPIO and is started > by > >systemctl as a service. There is no graphical interface, just an LCD > >controlled with GPIO. It takes 90 seconds after boot up before the > program > >sounds the 'greeting' with PWM. I need to reduce this to <10 seconds. I > had > >high hopes for an older 2Gb image, but I think it predated the universal > >cape and I was having trouble getting it to work. There is also an IOT > >image, but some gpio's didn't work. After update_kernal.sh the gpio's > >worked and I'm on 4.14.108. I'm not sure this is even the IOT image > >anymore. I've tried various tweaks I've found on the web without much > >success. Can I make a standard image work and if so how? Must I create my > >own image? Where do I start? Thank you, Mike. > > While it won't catch pre-kernel activity, have you checked the > dmesg > list for what may be taking a long time in the start up sequence. > > debian@beaglebone:~$ dmesg > [ 0.000000] Booting Linux on physical CPU 0x0 > [ 0.000000] Linux version 4.14.108-ti-r113 > (root@x1-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian > 6.3.0-18+deb9u1)) #1 SMP PREEMPT Wed Jul 31 00:01:10 UTC 2019 > [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), > cr=10c5387d > > <SNIP> > > [ 1.403928] of_cfs_init > [ 1.404112] of_cfs_init: OK > [ 1.405499] ALSA device list: > [ 1.405510] No soundcards found. > [ 1.412495] Freeing unused kernel memory: 1024K > [ 23.407696] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data > mode. Opts: (null) > [ 24.075336] systemd[1]: System time before build time, advancing clock. > > <SNIP> > > Some 20+ seconds seem to have been lost in mounting the uSD file > system > > [ 24.172908] ip_tables: (C) 2000-2006 Netfilter Core Team > > <SNIP> > > [ 25.507732] pru-rproc 4a338000.pru: PRU rproc node > /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully > [ 26.566698] systemd-journald[1665]: Received request to flush runtime > journal from PID 1 > [ 33.501536] nf_conntrack version 0.5.0 (8192 buckets, 32768 max) > [ 33.810548] pvrsrvkm: loading out-of-tree module taints kernel. > > <SNIP> > > Another 6+ seconds going from the flush to nf_conntrack > > > <SNIP. > > [ 38.310254] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready > [ 38.365824] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready > [ 38.718825] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready > debian@beaglebone:~$ > > And 39 seconds, it is all ready. That is on an IoT image. > > > > -- > Dennis L Bieber > > -- 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/51cc565d-2c54-4972-9752-fcbd34d93424%40googlegroups.com.
