Re: [beagleboard] boot time on image that ships on the Beaglebone AI

2020-04-27 Thread Robert Nelson
On Mon, Apr 27, 2020 at 1:48 PM John Allwine  wrote:
>
> I'm pretty much shooting in the dark here, but could this have anything to do 
> with it? I don't see a /dev/ttyGS0
>
> debian@beaglebone:/etc$ systemctl status serial-getty@ttyGS0.service
> ● serial-getty@ttyGS0.service - Serial Getty on ttyGS0
>Loaded: loaded (/lib/systemd/system/serial-getty@.service; enabled; vendor 
> preset: enabled)
>Active: inactive (dead)
>  Docs: man:agetty(8)
>man:systemd-getty-generator(8)
>http://0pointer.de/blog/projects/serial-console.html
>
> Apr 27 18:16:17 beaglebone systemd[1]: Dependency failed for Serial Getty on 
> ttyGS0.
> Apr 27 18:16:17 beaglebone systemd[1]: serial-getty@ttyGS0.service: Job 
> serial-getty@ttyGS0.service/start failed with result 'dependency'.

I tried just removing that today, no change..

https://github.com/RobertCNelson/boot-scripts/commits/master

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/CAOCHtYg2Yjm-9ophCs8KMajOnSnPxsCOQpihJTON5LsS19MZng%40mail.gmail.com.


[beagleboard] Re: can't ssh to BBAI after upgrading rt kernel

2020-04-27 Thread Dennis Lee Bieber
On Mon, 27 Apr 2020 13:42:44 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user
john-/83Ax2S01hhWk0Htik3J/w...@public.gmane.org wrote:

>I also don't see anything when I hook up a monitor and keyboard. Is there a 
>way to boot with an SD card and switch the kernel back? Any other options? 
>I'd like to be able to save everything that was in my home directory if 
>possible.

If you can successfully boot from SD card, you should be able to mount
the eMMC and then copy that home directory off to the SD card.


-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/h7jeafpp1rugrj6ia70m8ki94cc81s58sm%404ax.com.


[beagleboard] can't ssh to BBAI after upgrading rt kernel

2020-04-27 Thread john
I also don't see anything when I hook up a monitor and keyboard. Is there a 
way to boot with an SD card and switch the kernel back? Any other options? 
I'd like to be able to save everything that was in my home directory if 
possible.

-- 
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/24495d58-92ca-4115-af71-b2bbdbeae720%40googlegroups.com.


Re: [beagleboard] boot time on image that ships on the Beaglebone AI

2020-04-27 Thread John Allwine
I'm pretty much shooting in the dark here, but could this have anything to
do with it? I don't see a /dev/ttyGS0

debian@beaglebone:/etc$ systemctl status serial-getty@ttyGS0.service
● serial-getty@ttyGS0.service - Serial Getty on ttyGS0
   Loaded: loaded (/lib/systemd/system/serial-getty@.service; enabled;
vendor preset: enabled)
   Active: inactive (dead)
 Docs: man:agetty(8)
   man:systemd-getty-generator(8)
   http://0pointer.de/blog/projects/serial-console.html

Apr 27 18:16:17 beaglebone systemd[1]: Dependency failed for Serial Getty
on ttyGS0.
Apr 27 18:16:17 beaglebone systemd[1]: serial-getty@ttyGS0.service: Job
serial-getty@ttyGS0.service/start failed with result 'dependency'.

On Mon, Apr 27, 2020 at 11:51 AM John Allwine  wrote:

> Thanks for looking into it, Robert!
>
> On Mon, Apr 27, 2020 at 11:50 AM Robert Nelson 
> wrote:
>
>> On Mon, Apr 27, 2020 at 12:46 PM John Allwine  wrote:
>> >
>> > How can I disable that driver?
>>
>> The driver is: brcmfmac
>>
>> That was just an outlier, i moved it to be force loaded on startup
>> via: /etc/modules-load.d/modules.conf
>>
>> Which removed the 40second delay, but something else was still slowing
>> things down. So it didn't change anything.
>>
>> Anywho, i stopped for today, as day job was getting busy..
>>
>> 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/CAPEK9qZS0c_7kTNu_Eb2Xkf%3DwmnZF_7VV_5GUCtwghtUSmY3XQ%40mail.gmail.com.


[beagleboard] Re: BBB (Element14/Industrial) Fails to Boot off EMMC After Flash

2020-04-27 Thread biggi_
Got this fixed.  I didn't extract my image before flashing with Win32, 
Belina did it just fine.  I also somehow turned the bootloader to flash 
from BBB to SD card instead of the other way around.  This is all good now!

-- 
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/ee1dcce3-c52d-413b-8e44-08845b13b485%40googlegroups.com.


Re: [beagleboard] boot time on image that ships on the Beaglebone AI

2020-04-27 Thread John Allwine
Thanks for looking into it, Robert!

On Mon, Apr 27, 2020 at 11:50 AM Robert Nelson 
wrote:

> On Mon, Apr 27, 2020 at 12:46 PM John Allwine  wrote:
> >
> > How can I disable that driver?
>
> The driver is: brcmfmac
>
> That was just an outlier, i moved it to be force loaded on startup
> via: /etc/modules-load.d/modules.conf
>
> Which removed the 40second delay, but something else was still slowing
> things down. So it didn't change anything.
>
> Anywho, i stopped for today, as day job was getting busy..
>
> 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/CAPEK9qZvqRFfhCnxa79JkEOW8chww%3D%3D13XSF-CXOeOc7LUDCVQ%40mail.gmail.com.


Re: [beagleboard] boot time on image that ships on the Beaglebone AI

2020-04-27 Thread Robert Nelson
On Mon, Apr 27, 2020 at 12:46 PM John Allwine  wrote:
>
> How can I disable that driver?

The driver is: brcmfmac

That was just an outlier, i moved it to be force loaded on startup
via: /etc/modules-load.d/modules.conf

Which removed the 40second delay, but something else was still slowing
things down. So it didn't change anything.

Anywho, i stopped for today, as day job was getting busy..

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/CAOCHtYi_oGLv%2B9S0gB2fHTNStyPzj9neL%3DS5%2B6EmFpVQjRP9rQ%40mail.gmail.com.


Re: [beagleboard] boot time on image that ships on the Beaglebone AI

2020-04-27 Thread John Allwine
How can I disable that driver?

On Mon, Apr 27, 2020 at 8:57 AM Robert Nelson 
wrote:

> On Mon, Apr 27, 2020 at 9:46 AM Robert Nelson 
> wrote:
> >
> > On Mon, Apr 27, 2020 at 8:48 AM John Allwine  wrote:
> > >
> > > Still taking about a minute and a half. Any ideas what happened since
> August last year?
> > >
> > > debian@beaglebone:~$ systemd-analyze
> > > Startup finished in 3.901s (kernel) + 1min 30.548s (userspace) = 1min
> 34.449s
> > > debian@beaglebone:~$ systemd-analyze blame
> > > 1min 28.412s generic-board-startup.service
> > >  46.345s bb-bbai-tether.service
> > >  42.818s dev-mmcblk1p1.device
> > >  14.048s systemd-rfkill.service
> > >927ms loadcpufreq.service
> > >861ms systemd-udev-trigger.service
> >
> > Quick comparison, between teh kernel from last august and today:
> >
> > debian@beaglebone:~$ uname -r ; systemd-analyze
> > 4.14.108-ti-r132
> > Startup finished in 6.013s (kernel) + 1min 30.734s (userspace) = 1min
> 36.747s
> >
> > debian@beaglebone:~$ uname -r ; systemd-analyze
> > 4.14.108-ti-r113
> > Startup finished in 4.517s (kernel) + 1min 30.544s (userspace) = 1min
> 35.062s
>
> It's taking 40+ seconds for the brcmfmac driver to load:
>
> Apr 27 14:50:27 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
> for /sys/class/net/wlan0
> Apr 27 14:50:32 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
> for /sys/class/net/wlan0
> Apr 27 14:50:37 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
> for /sys/class/net/wlan0
> Apr 27 14:50:42 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
> for /sys/class/net/wlan0
> Apr 27 14:50:48 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
> for /sys/class/net/wlan0
> Apr 27 14:50:52 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
> for /sys/class/net/wlan0
> Apr 27 14:50:57 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
> for /sys/class/net/wlan0
> Apr 27 14:51:02 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
> for /sys/class/net/wlan0
> Apr 27 14:51:07 beaglebone bb-bbai-tether[1610]: bbai:wlan0:Power
> Management:off
> Apr 27 14:51:07 beaglebone bb-bbai-tether[1610]: bbai:tether [iw phy
> phy0 interface add SoftAp0 type __ap]
> Apr 27 14:51:07 beaglebone bb-bbai-tether[1610]: bbai:tether [phy0 created]
> Apr 27 14:51:07 beaglebone bb-bbai-tether[1610]: bbai:tether [ip link
> set dev SoftAp0 down]
> Apr 27 14:51:07 beaglebone bb-bbai-tether[1610]: bbai:tether [ip link
> set dev SoftAp0 address 28:EC:9A:4C:63:D8]
> Apr 27 14:51:07 beaglebone bb-bbai-tether[1610]: bbai:tether [ip link
> set dev SoftAp0 up]
> Apr 27 14:51:08 beaglebone bb-bbai-tether[1610]: bbai:tether [ip addr
> add 192.168.8.1/24 broadcast 192.168.8.255 dev SoftAp0]
> Apr 27 14:51:08 beaglebone bb-bbai-tether[1610]: bbai:tether [iptables
> -w -t nat -A POSTROUTING -o wlan0 -j MASQUERADE]
> Apr 27 14:51:08 beaglebone bb-bbai-tether[1610]: bbai:tether [iptables
> -w -A FORWARD -i wlan0 -o SoftAp0 -m state --state RELATED,ESTABLISHE
> D -j ACCEPT]
> Apr 27 14:51:08 beaglebone bb-bbai-tether[1610]: bbai:tether [iptables
> -w -A FORWARD -i SoftAp0 -o wlan0 -j ACCEPT]
> Apr 27 14:51:10 beaglebone bb-bbai-tether[1610]: Configuration file:
> /tmp/hostapd-bbai.conf
> Apr 27 14:51:10 beaglebone bb-bbai-tether[1610]: SoftAp0: Could not
> connect to kernel driver
> Apr 27 14:51:10 beaglebone bb-bbai-tether[1610]: Using interface
> SoftAp0 with hwaddr 28:ec:9a:4c:63:d8 and ssid "BeagleBone-63D8"
> Apr 27 14:51:11 beaglebone bb-bbai-tether[1610]: SoftAp0: interface
> state UNINITIALIZED->ENABLED
> Apr 27 14:51:11 beaglebone bb-bbai-tether[1610]: SoftAp0: AP-ENABLED
>
> 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/CAPEK9qbfmFT%2BiWuc8iNZ7nLCDteOPrdvOj%3D8krW6JXL31kEGHA%40mail.gmail.com.


Re: [beagleboard] Re: Network setup taken over by something

2020-04-27 Thread Robert Nelson
On Mon, Apr 27, 2020 at 12:34 PM maxmike  wrote:
>
> My profuse and sincere apologies to everybody - a rotten RJ45 came off the 
> Internet router while I was working on the local subnet router.
> Mike

So a "real" hardware bug. ;)

That happens.

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/CAOCHtYiMZRObdX6f5QccJ6d_YgNtZvptYeMhqxGZjmqo_sXzpQ%40mail.gmail.com.


[beagleboard] Re: Network setup taken over by something

2020-04-27 Thread maxmike
My profuse and sincere apologies to everybody - a rotten RJ45 came off the 
Internet router while I was working on the local subnet router.
Mike

-- 
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/5ebd16f3-d543-4973-a6c6-b1f38dd18a32%40googlegroups.com.


[beagleboard] Re: Network setup taken over by something

2020-04-27 Thread Dennis Lee Bieber
On Mon, 27 Apr 2020 09:27:19 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user maxmike
 wrote:

>root@beaglebone:/tmp# uname -a
>Linux beaglebone 4.19.94-ti-r42 #1buster SMP PREEMPT Tue Mar 31 19:38:29 
>UTC 2020 armv7l GNU/Linux
>root@beaglebone:/tmp# apt-get update
>Err:1 http://deb.debian.org/debian buster InRelease
>  Temporary failure resolving 'deb.debian.org'

Off-hand, that appears to be a problem in your network configuration
(do you have a network connection? Note that unless one fiddles with
"internet connection sharing" on the host computer, the USB access will not
work -- you'll need an actual ethernet cable connected to a router)


-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/s74eaf1ao40hmccsgf41mki6tvond83qhe%404ax.com.


Re: [beagleboard] Re: Network setup taken over by something

2020-04-27 Thread Robert Nelson
On Mon, Apr 27, 2020 at 11:27 AM maxmike  wrote:
>
> root@beaglebone:/tmp# uname -a
> Linux beaglebone 4.19.94-ti-r42 #1buster SMP PREEMPT Tue Mar 31 19:38:29 UTC 
> 2020 armv7l GNU/Linux
> root@beaglebone:/tmp# apt-get update
> Err:1 http://deb.debian.org/debian buster InRelease
>   Temporary failure resolving 'deb.debian.org'

You'll need to fix your network first.. Looks like a bad dns setting...

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/CAOCHtYisUDUVkcayZo0AopVXs9F6aFdVtR6mp9Qbtp9jn3t1xQ%40mail.gmail.com.


[beagleboard] Re: Network setup taken over by something

2020-04-27 Thread Dennis Lee Bieber
On Sun, 26 Apr 2020 17:23:50 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user maxmike
 wrote:

>
>Is there any way to get aptitude to access gdb in Buster? apt-get update 
>fails as does apt-get install gdb

To the best of my knowledge, "aptitude" is just a front-end using apt
in the background to perform actions. At the best, it is still using the
same package database.

A cut&paste of the actual failure messages would have been of help...

{An hour later, after formatting and writing the 10.3 image to an SD card}

No apparent problems on a fresh 10.3 Buster image.

debian@beaglebone:~$ sudo apt install gdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libbabeltrace1 libc6-dbg
Suggested packages:
  gdb-doc gdbserver
The following NEW packages will be installed:
  gdb libbabeltrace1 libc6-dbg
0 upgraded, 3 newly installed, 0 to remove and 12 not upgraded.
Need to get 13.8 MB of archives.
After this operation, 23.5 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian buster/main armhf libbabeltrace1 armhf
1.5.6-2+deb10u1 [152 kB]
Get:2 http://deb.debian.org/debian buster/main armhf gdb armhf 8.2.1-2+b3
[2,824 kB]
Get:3 http://deb.debian.org/debian buster/main armhf libc6-dbg armhf
2.28-10 [10.8 MB]
Fetched 13.8 MB in 10s (1,452 kB/s)
Selecting previously unselected package libbabeltrace1:armhf.
(Reading database ... 72570 files and directories currently installed.)
Preparing to unpack .../libbabeltrace1_1.5.6-2+deb10u1_armhf.deb ...
Unpacking libbabeltrace1:armhf (1.5.6-2+deb10u1) ...
Selecting previously unselected package gdb.
Preparing to unpack .../gdb_8.2.1-2+b3_armhf.deb ...
Unpacking gdb (8.2.1-2+b3) ...
Selecting previously unselected package libc6-dbg:armhf.
Preparing to unpack .../libc6-dbg_2.28-10_armhf.deb ...
Unpacking libc6-dbg:armhf (2.28-10) ...
Setting up libc6-dbg:armhf (2.28-10) ...
Setting up libbabeltrace1:armhf (1.5.6-2+deb10u1) ...
Setting up gdb (8.2.1-2+b3) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
debian@beaglebone:~$


-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/cfudaf5mh9mnaetou1sjj7otsnuvcbafrt%404ax.com.


[beagleboard] Re: Network setup taken over by something

2020-04-27 Thread maxmike
root@beaglebone:/tmp# uname -a
Linux beaglebone 4.19.94-ti-r42 #1buster SMP PREEMPT Tue Mar 31 19:38:29 
UTC 2020 armv7l GNU/Linux
root@beaglebone:/tmp# apt-get update
Err:1 http://deb.debian.org/debian buster InRelease
  Temporary failure resolving 'deb.debian.org'
Err:2 http://repos.rcn-ee.com/debian buster InRelease
  Temporary failure resolving 'repos.rcn-ee.com'
Err:3 http://deb.debian.org/debian buster-updates InRelease
  Temporary failure resolving 'deb.debian.org'
Err:4 http://deb.debian.org/debian-security buster/updates InRelease
  Temporary failure resolving 'deb.debian.org'
Reading package lists... Done
W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease  
Temporary failure resolving 'deb.debian.org'
W: Failed to fetch 
http://deb.debian.org/debian/dists/buster-updates/InRelease  Temporary 
failure resolving 'deb.debian.org'
W: Failed to fetch 
http://deb.debian.org/debian-security/dists/buster/updates/InRelease  
Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://repos.rcn-ee.com/debian/dists/buster/InRelease  
Temporary failure resolving 'repos.rcn-ee.com'
W: Some index files failed to download. They have been ignored, or old ones 
used instead.
root@beaglebone:/tmp# apt-get install gdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gdb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  gdb

E: Package 'gdb' has no installation candidate

-- 
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/3838f5c1-7e73-4ad7-8c70-23d6ee87c560%40googlegroups.com.


Re: [beagleboard] boot time on image that ships on the Beaglebone AI

2020-04-27 Thread Robert Nelson
On Mon, Apr 27, 2020 at 9:58 AM TJF  wrote:
>
>
>
> Am Montag, 27. April 2020 03:16:09 UTC+2 schrieb Bernard Fischer:
>>
>> My BBAI takes a minute and a half to boot as well.  The times look similar 
>> to what John Allwine posted.
>>
>> BB Blue is pretty pokey as well, but not as bad, I don't think (I'll have to 
>> double check).
>
>
> You must be in error! Take a BBB! The webside says: "Boot Linux in under 10 
> seconds ...":
>
> http://beagleboard.org/black

No, that was 10 years ago... Now we are running so much random
application on bootup, and every kernel module enabled...

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/CAOCHtYhxTaoN%2B0OiyHtWijvcRefemt13mSuLkJen-1KfrVTveQ%40mail.gmail.com.


Re: [beagleboard] boot time on image that ships on the Beaglebone AI

2020-04-27 Thread TJF


Am Montag, 27. April 2020 03:16:09 UTC+2 schrieb Bernard Fischer:
>
> My BBAI takes a minute and a half to boot as well.  The times look similar 
> to what John Allwine posted.  
>
> BB Blue is pretty pokey as well, but not as bad, I don't think (I'll have 
> to double check).
>

You must be in error! Take a BBB! The webside says: "Boot Linux in under 10 
seconds ...":

http://beagleboard.org/black

-- 
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/05c5d53f-0e0f-473d-ba43-a108a5cc2865%40googlegroups.com.


Re: [beagleboard] boot time on image that ships on the Beaglebone AI

2020-04-27 Thread Robert Nelson
On Mon, Apr 27, 2020 at 9:46 AM Robert Nelson  wrote:
>
> On Mon, Apr 27, 2020 at 8:48 AM John Allwine  wrote:
> >
> > Still taking about a minute and a half. Any ideas what happened since 
> > August last year?
> >
> > debian@beaglebone:~$ systemd-analyze
> > Startup finished in 3.901s (kernel) + 1min 30.548s (userspace) = 1min 
> > 34.449s
> > debian@beaglebone:~$ systemd-analyze blame
> > 1min 28.412s generic-board-startup.service
> >  46.345s bb-bbai-tether.service
> >  42.818s dev-mmcblk1p1.device
> >  14.048s systemd-rfkill.service
> >927ms loadcpufreq.service
> >861ms systemd-udev-trigger.service
>
> Quick comparison, between teh kernel from last august and today:
>
> debian@beaglebone:~$ uname -r ; systemd-analyze
> 4.14.108-ti-r132
> Startup finished in 6.013s (kernel) + 1min 30.734s (userspace) = 1min 36.747s
>
> debian@beaglebone:~$ uname -r ; systemd-analyze
> 4.14.108-ti-r113
> Startup finished in 4.517s (kernel) + 1min 30.544s (userspace) = 1min 35.062s

It's taking 40+ seconds for the brcmfmac driver to load:

Apr 27 14:50:27 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
for /sys/class/net/wlan0
Apr 27 14:50:32 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
for /sys/class/net/wlan0
Apr 27 14:50:37 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
for /sys/class/net/wlan0
Apr 27 14:50:42 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
for /sys/class/net/wlan0
Apr 27 14:50:48 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
for /sys/class/net/wlan0
Apr 27 14:50:52 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
for /sys/class/net/wlan0
Apr 27 14:50:57 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
for /sys/class/net/wlan0
Apr 27 14:51:02 beaglebone bb-bbai-tether[1610]: bbai:tether waiting
for /sys/class/net/wlan0
Apr 27 14:51:07 beaglebone bb-bbai-tether[1610]: bbai:wlan0:Power Management:off
Apr 27 14:51:07 beaglebone bb-bbai-tether[1610]: bbai:tether [iw phy
phy0 interface add SoftAp0 type __ap]
Apr 27 14:51:07 beaglebone bb-bbai-tether[1610]: bbai:tether [phy0 created]
Apr 27 14:51:07 beaglebone bb-bbai-tether[1610]: bbai:tether [ip link
set dev SoftAp0 down]
Apr 27 14:51:07 beaglebone bb-bbai-tether[1610]: bbai:tether [ip link
set dev SoftAp0 address 28:EC:9A:4C:63:D8]
Apr 27 14:51:07 beaglebone bb-bbai-tether[1610]: bbai:tether [ip link
set dev SoftAp0 up]
Apr 27 14:51:08 beaglebone bb-bbai-tether[1610]: bbai:tether [ip addr
add 192.168.8.1/24 broadcast 192.168.8.255 dev SoftAp0]
Apr 27 14:51:08 beaglebone bb-bbai-tether[1610]: bbai:tether [iptables
-w -t nat -A POSTROUTING -o wlan0 -j MASQUERADE]
Apr 27 14:51:08 beaglebone bb-bbai-tether[1610]: bbai:tether [iptables
-w -A FORWARD -i wlan0 -o SoftAp0 -m state --state RELATED,ESTABLISHE
D -j ACCEPT]
Apr 27 14:51:08 beaglebone bb-bbai-tether[1610]: bbai:tether [iptables
-w -A FORWARD -i SoftAp0 -o wlan0 -j ACCEPT]
Apr 27 14:51:10 beaglebone bb-bbai-tether[1610]: Configuration file:
/tmp/hostapd-bbai.conf
Apr 27 14:51:10 beaglebone bb-bbai-tether[1610]: SoftAp0: Could not
connect to kernel driver
Apr 27 14:51:10 beaglebone bb-bbai-tether[1610]: Using interface
SoftAp0 with hwaddr 28:ec:9a:4c:63:d8 and ssid "BeagleBone-63D8"
Apr 27 14:51:11 beaglebone bb-bbai-tether[1610]: SoftAp0: interface
state UNINITIALIZED->ENABLED
Apr 27 14:51:11 beaglebone bb-bbai-tether[1610]: SoftAp0: AP-ENABLED

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/CAOCHtYivB1iiy%3DTK-vaTwusQQ1Dr5_AH4htN9--3VHDzyFyNmg%40mail.gmail.com.


Re: [beagleboard] boot time on image that ships on the Beaglebone AI

2020-04-27 Thread Robert Nelson
On Mon, Apr 27, 2020 at 8:48 AM John Allwine  wrote:
>
> Still taking about a minute and a half. Any ideas what happened since August 
> last year?
>
> debian@beaglebone:~$ systemd-analyze
> Startup finished in 3.901s (kernel) + 1min 30.548s (userspace) = 1min 34.449s
> debian@beaglebone:~$ systemd-analyze blame
> 1min 28.412s generic-board-startup.service
>  46.345s bb-bbai-tether.service
>  42.818s dev-mmcblk1p1.device
>  14.048s systemd-rfkill.service
>927ms loadcpufreq.service
>861ms systemd-udev-trigger.service

Quick comparison, between teh kernel from last august and today:

debian@beaglebone:~$ uname -r ; systemd-analyze
4.14.108-ti-r132
Startup finished in 6.013s (kernel) + 1min 30.734s (userspace) = 1min 36.747s

debian@beaglebone:~$ uname -r ; systemd-analyze
4.14.108-ti-r113
Startup finished in 4.517s (kernel) + 1min 30.544s (userspace) = 1min 35.062s

So that isn't it..

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/CAOCHtYjiWGgajJM57_-i0GWdmHDSsBsfc-xXwQTWPmiht4H4bg%40mail.gmail.com.


Re: [beagleboard] boot time on image that ships on the Beaglebone AI

2020-04-27 Thread John Allwine
Still taking about a minute and a half. Any ideas what happened since
August last year?

debian@beaglebone:~$ systemd-analyze
Startup finished in 3.901s (kernel) + 1min 30.548s (userspace) = 1min
34.449s
debian@beaglebone:~$ systemd-analyze blame
1min 28.412s generic-board-startup.service
 46.345s bb-bbai-tether.service
 42.818s dev-mmcblk1p1.device
 14.048s systemd-rfkill.service
   927ms loadcpufreq.service
   861ms systemd-udev-trigger.service

On Fri, Apr 24, 2020 at 6:58 PM John Allwine  wrote:

> That is on the second boot.
>
> > On Apr 24, 2020, at 6:06 PM, Robert Nelson 
> wrote:
> >
>

-- 
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/CAPEK9qZ4nKmowGdFwW5xLxeVBYq4Q%3DiamnFxRcTJ9_4ez0M0ug%40mail.gmail.com.


[beagleboard] Getting Beaglebone console out of USB using ADB tool.

2020-04-27 Thread hareesh9415
Hi All,

I would like to know that, is there any way i can get the beaglebone black 
console out of USB using ADB tool.

Regards,
Hareesh.

-- 
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/418961cf-bf96-490e-a59b-146516d5a201%40googlegroups.com.


[beagleboard] How to set hardware watchdog on beaglebone black running debian?

2020-04-27 Thread quentinrapin
Hello,

I need to set an hardware watchdog on the Beaglebone Black for it to reboot 
upon a kernel hang after an update.

Where can I find the instruction to setup an hardware watchdog on the bbb ?

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/a17280fa-319f-452f-bb47-8ef1c0f27921%40googlegroups.com.


[beagleboard] Re: Network setup taken over by something

2020-04-27 Thread Chris Green
maxmike  wrote:
> 
> 
> Is there any way to get aptitude to access gdb in Buster? apt-get update 
> fails as does apt-get install gdb
> 
It would make it easier to help you if you told us the errors you get
when trying this.  .or even copy and paste what actually happens.

-- 
Chris Green
·

-- 
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/rkjing-cgh.ln1%40esprimo.zbmc.eu.