On Sun, 23 Feb 2020 14:07:27 -0800 (PST), in
gmane.comp.hardware.beagleboard.user
[email protected] 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/m5v75f5dfojjq97f5t5hitisopcc4hrvpk%404ax.com.

Reply via email to