[beagleboard] Using Qemu with beaglebone images

2020-08-07 Thread Stephane Charette
I'd like to use Qemu to boot a a Beaglebone ARM image on my normal X86-64 
desktop.  I figure this will let me develop and debug the software I need 
without having to worry about the small disk space on the eMMC.

The software I develop can then be rsync'd to the beaglebone once 
everything is working.

Anyone know if there is a guide on how to do this?

Stéphane

-- 
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/0de88fc2-2433-4422-8d13-d106d36bdbacn%40googlegroups.com.


[beagleboard] Re: getting started with beaglebone black

2018-02-19 Thread Stephane Charette

>
> Also interface a 20x4 LCD display via the GPIO ports.
>

I had some fun and success in the past getting LCD screens working on my 
Beaglebones.

First up were some approximately 1" square (OLED096 and OLED112) Grove 
twigs that connected via I2C.

https://www.ccoderun.ca/sg++/api/classSG_1_1CommonOLED.html#details

Scroll down to see the picture in this link:

https://www.ccoderun.ca/sg++/api/classSG_1_1OLED112.html#details

This is one of the 128 x 64 pixel OLED112 running on my Beaglebone Green.

Then I also ordered some 5" and 7" touchscreen LCDs, such as these 
ones:  
https://www.seeedstudio.com/5-Inch-BeagleBone-Green-LCD-Cape-with-Resistive-Touch-p-2642.html

Linux recognized these on bootup, so it was relatively easy to use.  I also 
got the touch screen working which was nice.  Some of the buttons on the 
bottom only worked on some devices -- I don't recall the details.  I think 
the buttons worked on Beaglebone Green, but not all of them worked on 
Beaglebone Green Wireless.  The manufacturer was looking for a solution, 
and shortly afterwards the project I was working on didn't get funded so I 
never followed up to see if it was solved.

Stéphane

-- 
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/91bc126f-e187-41ed-a774-34b7a6fe5e9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BeagleBoard Black C++ Library

2018-02-19 Thread Stephane Charette

>
> Is there any recommended library for working with BBB PWM, GPIO, etc...
>

I had started building a C++ library a while back:

https://www.ccoderun.ca/sg++/api/namespaceSG_1_1BeagleBone.html

No guarantees.  Once I got enough of it working for my needs, some things 
were intentionally left unfinished.

Stéphane

-- 
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/5fc8f3cd-95f0-452c-b42f-b51d981e9fb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Extracting Beaglebone Image to be developed into a VM

2018-02-14 Thread Stephane Charette

>
> [...] I want to be able to take the extracted image and set up a virtual 
> machine for remote testing of certain software packages.
>


What VM software do you plan on using that emulates ARM?

Stephane

-- 
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/b41117d8-bbee-4774-86bd-b552ac0df553%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: How to use BBB watchdog timer - doesn't work as I expected

2018-01-22 Thread Stephane Charette
May want to take a look 
here:  https://www.ccoderun.ca/sg++/api/classSG_1_1BeagleBone_1_1Watchdog.html

Stéphane

On Sunday, January 21, 2018 at 6:48:45 AM UTC-8, Chris Green wrote:
>
> I am trying to use the BBB watchdog at /dev/watchdog but it's not 
> working quite as I expected. 
>
> Does one need to keep the /dev/watchdog device open for writing to 
> keep the watchdog function working?  This isn't made clear in the 
> various write-ups I've found. 
>
>
>
> -- 
> 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/0bad0dcf-f99a-450b-946a-c8b96a5029c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Bluetooth on BBBW and BBGW

2017-11-13 Thread Stephane Charette

>
> > Not familiar with Bluetooth. I own several BBBW and BBGW devices.  Is 
> there 
> > a way to interconnect the devices using Bluetooth? 
> ... 

Something like: 
>
> http://bluez.sourceforge.net/contrib/HOWTO-PAN



Thanks, Robert, I will try that today.

Meanwhile, I'm curious to know, are there other ways to inter-connect 
Beaglebone wireless devices using Bluetooth?

I see some files in /etc/bluetooth which I'm about to Google to get an 
understanding of Bluetooth -- are there other Bluetooth-related files on 
the BB I should look into?

Stéphane

-- 
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/e2102add-8c70-424b-ad47-4fa05181ff77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Bluetooth on BBBW and BBGW

2017-11-13 Thread Stephane Charette
Not familiar with Bluetooth. I own several BBBW and BBGW devices.  Is there 
a way to interconnect the devices using Bluetooth?

What would that mean -- does Bluetooth provide an IP address?  Is there an 
interface I can access from bash scripts?  An API from C/C++?

Thanks for pointers in the right direction, as I've obviously not played 
with Bluetooth before today.

Stéphane

-- 
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/d033b9c6-4d52-441d-a21a-d1bdce4132b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] did we change /proc/device-tree/compatible?

2017-10-09 Thread Stephane Charette
In the past, I used to identify the type of device by reading the file 
/proc/device-tree/compatible.  For example, see this:

> hexdump -C /proc/device-tree/compatible
  74 69 2c 61 6d 33 33 35  78 2d 62 6f 6e 65 2d 67  |ti,
am335x-bone-g|
0010  72 65 65 6e 00 74 69 2c  61 6d 33 33 35 78 2d 62  |reen
.ti,am335x-b|
0020  6f 6e 65 2d 62 6c 61 63  6b 00 74 69 2c 61 6d 33  
|one-black.ti,am3|
0030  33 35 78 2d 62 6f 6e 65  00 74 69 2c 61 6d 33 33  
|35x-bone.ti,am33|
0040  78 78 00  |xx.
 |

Last night I upgraded to a new build.  I installed this one:

https://rcn-ee.com/rootfs/bb.org/testing/2017-10-08/stretch-iot/BBB-blank-debian-9.2-iot-armhf-2017-10-08-4gb.img.xz

Now I see that same model no longer identifies itself as a BBG.  it now 
thinks it is a BBB:

> hexdump -C /proc/device-tree/compatible
  74 69 2c 61 6d 33 33 35  78 2d 62 6f 6e 65 2d 62  
|ti,am335x-bone-b|
0010  6c 61 63 6b 00 74 69 2c  61 6d 33 33 35 78 2d 62  
|lack.ti,am335x-b|
0020  6f 6e 65 00 74 69 2c 61  6d 33 33 78 78 00|one.ti,am33xx.|
002e

Did I install the wrong build?  Is this a bug, or is there a new/better way 
for me to identify the difference between BBB, BBG, BBGW, etc?

Stéphane

-- 
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/04c0a0a7-d986-444b-9a70-d7e707f961eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: can not able to ping from beagle bone black to PC

2017-05-06 Thread Stephane Charette
On Friday, May 5, 2017 at 7:57:43 AM UTC-7, kiran nayak wrote:
>
> Hello, 
> Sorry if it is too basic, but i want a urgent help, i am stuck after 
> trying everything 
>
> I am not able to ping back from BBB to host ( host to BBB works ), using 
> Ethernet over usb
> host is windows-7 PC
>
> That is,  from BBB this wont work : ping 192.168.7.1 
> This works from BBB : ping www.google.com 
>

Wild idea -- firewall on the Windows PC side?

Stéphane

-- 
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/453ff296-6b08-43b2-b4df-24bcf4f7e277%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] EPS (virtual network) for BeagleBone

2017-04-29 Thread Stephane Charette
I have a large number of Beaglebone (black, green, green wireless) deployed 
at various customer locations, and needed to stay in touch with each of 
these devices.  For example, to continue to update the software, make sure 
they're running correctly, etc.

So I compiled EPS Conduits for Beaglebone's ARM7 chipset.  The .deb file 
works on both Debian and Ubuntu.  I've been using it for over a year, but 
recently made some updates to it which is why I wanted to announce it.

EPS is open source.  Clients (e.g., the Beaglebones) connect to a server on 
the internet and form a virtual network.  All communication is encrypted. 
 On this virtual network they create, I can then SSH back into each 
Beaglebone as if it was on my local network, regardless of where in the 
world the device has been moved, client firewalls in between, etc.

Documentation is here:  https://www.ccoderun.ca/eps/api/index.html

Download is here:  https://www.ccoderun.ca/download/?C=M;O=D

Stéphane

-- 
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/9c7fbd98-73f4-4074-ab1d-bd8b3d48bc5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Tips on using a BBGW in a consumer product

2017-04-21 Thread Stephane Charette

>
> There is also no functional watchdog on this board. I do believe there is 
> one included on the processor, but it's not functional for whatever reason 
> I no longer remember. This means, you need to add a watchdog if you're 
> serious about your product.
>


Sorry for the resurrection.  Post is from 2 months ago.

Why do you say the watchdog is not functional?  I'm making use of it on all 
of my devices installed at various client locations.  I found it works 
great.  I also wrote some open-source code to manage it: 
 https://www.ccoderun.ca/sg++/api/classSG_1_1BeagleBone_1_1Watchdog.html

Stéphane

-- 
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/7626a4d5-6aab-48cc-872b-eda0660b6f03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: /etc/machine-id is not unique!

2017-04-14 Thread Stephane Charette

>
> What is the correct way to generate a new machine-id and/or a D-Bus 
> machine ID? 
>

I think I figured it out.  Robert, is this something that should be part of 
an image?  Either deleting the files from the image so new ones are 
auto-generated, or ensuring unique IDs are created?

Here is how I generated unique ID on each of my beaglebone devices:

sudo rm -f /var/lib/dbus/machine-id
sudo rm -f /etc/machine-id
sudo dbus-uuidgen --ensure
sudo systemd-machine-id-setup


Stéphane

-- 
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/d77df91c-a21c-4f60-9d4c-7500018ac143%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] /etc/machine-id is not unique!

2017-04-14 Thread Stephane Charette
I have some software that uses the unique /etc/machine-id as a key.  But I 
just noticed tonight that the machine-id is exactly the same on all 
beaglebones!

If this has been fixed recently, let me know.  The builds I'm using are 
from January 2017, though I don't recall exactly when.

All of the devices I have seem to be using this ID:

$ *cat /etc/machine-id*
31ed5be0bb5b4026a4c72cfcfe792e44


I tried to run the command I found online, but...:

$ *sudo systemd-machine-id-setup*
Initializing machine ID from D-Bus machine ID.
$ *cat /etc/machine-id*
31ed5be0bb5b4026a4c72cfcfe792e44


Does that mean the D-Bus machine ID should be unique and somehow isn't?

What is the correct way to generate a new machine-id and/or a D-Bus machine 
ID? 

Stéphane

-- 
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/416f142f-027c--b82d-2f3daea0fbde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBBL?

2017-01-14 Thread Stephane Charette
Anyone have a BBBL to run the following and email (or post) the output?

hexdump -C /proc/device-tree/model
> hexdump -C /proc/device-tree/compatible
>

Stéphane

-- 
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/58845eae-aa19-4ac2-a379-098665d2b706%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: SD Card Image for BBBW

2017-01-14 Thread Stephane Charette
On Saturday, January 14, 2017 at 9:52:17 AM UTC-8, tdlivings wrote:
>
> Is there an SD Card  image for BBBW similar to the Dec 5 or 18 testing 
> images that have the wireless
> changes for connecting to home wireless network using connman . I tried 
> 2017-01-08 last night and it did not boot. 
>

I've been using the recent RCN 2017 images without any problem on my BBBW. 
 I also use ConnMan to setup wireless.  Maybe the image didn't write 
correctly to your micro sd?

Images:  https://rcn-ee.com/rootfs/bb.org/testing/
How I setup WiFi: 
 https://www.ccoderun.ca/programming/2016-12-18_BBBW/index.html#wifi

Stéphane

-- 
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/d7383781-f291-4ce2-b8c5-7efec1222a95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] CCR Tools for BeagleBone

2017-01-14 Thread Stephane Charette
There are a number of things I do to my BeagleBone devices when setting 
them up for different projects.  To make it easier and more consistent, I 
created some .deb files that sets things up the way I need.  I've now 
published these .deb files if anyone else wants to make use of them. 
 Documentation is here:

https://www.ccoderun.ca/bbtools/doc/bbtools.html

Download the .deb files or the source.tar.gz files from here:

https://www.ccoderun.ca/bbtools/download/?C=M;O=A

If you can think of anything else that might need or benefit from some 
automation, let me know and I'll look into it.

Stéphane

-- 
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/c20615b5-fe2a-4423-8c5c-be568ada7471%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] invert LEDs

2017-01-13 Thread Stephane Charette
I see that usr0 has an entry called "invert":

/sys/devices/platform/leds/leds/beaglebone:green:usr0/invert

It works as expected, which is nice.  But I also noticed the "invert" 
functionality doesn't exist for usr1, usr2, or usr3.

Is that intentional, or is there something missing from usr1, usr2, and 
usr3?

Stéphane

-- 
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/8b109c70-cd21-45f0-8c48-40d100ed41a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBBL?

2017-01-12 Thread Stephane Charette

>
> > BBBL=? 
>
> It's for the blue: 
> http://beagleboard.org/blue 
>

Can someone with a BBBL please run these 2 commands for me and send me the 
output?  Thanks!

hexdump -C /proc/device-tree/model
hexdump -C /proc/device-tree/compatible

Stéphane

-- 
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/40a07323-06bd-49b6-b66b-e0ebab6376a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BBBL?

2017-01-11 Thread Stephane Charette
Acronyms:

BBB=BeagleBone Black
BBG=BeagleBone Green
BBGW=BeagleBone Green Wireless
BBBW=BeagleBone Black Wireless
BBBL=?

Seen here:  https://rcn-ee.com/rootfs/bb.org/testing/2017-01-11/iot/

Stéphane

-- 
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/0f13b0cf-ad04-4a9a-8009-d361c24c505f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] what build to use with BBBW?

2016-12-23 Thread Stephane Charette
What build is recommended for the BBBW?  I'm always confused by the naming 
conventions and the numerous build types available.

BeagleBoard on their "latest image" page recommends this one for BBBW:

   - 
   
https://debian.beagleboard.org/images/bone-debian-8.6-lxqt-4gb-armhf-2016-11-06-4gb.img.xz
   
But then they also have this one from the same date with BBBW in the name:

   - https://debian.beagleboard.org/images/BBBW
   -blank-debian-8.6-lxqt-4gb-armhf-2016-11-06-4gb.bmap
   
Should we prefer "*bone-debian*" over "*BBBW-blank-debian*"?  Is there a 
difference?

And if we want the latest build, **then** we go directly to RCN's site? 
 For example:


   - 
   
https://rcn-ee.com/rootfs/bb.org/testing/2016-12-18/lxqt-4gb/bone-debian-8.6-lxqt-4gb-armhf-2016-12-18-4gb.img.xz
   - https://rcn-ee.com/rootfs/bb.org/testing/2016-12-18/lxqt-4gb/BBBW
   -blank-debian-8.6-lxqt-4gb-armhf-2016-12-18-4gb.img.xz
   

If I can make a suggestion:  can a README.TXT be created at beaglebord 
and/or on rcn-ee which says:

If you have BBB rev C, start with BBB-something.img.xz
If you have BBBW, start with blahblah
If you have BBGW, start with blahblah

>From reading the forum, I know I'm not the only newbie to be confused as to 
which build I should be using.

Stéphane

-- 
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/e6ef8e7f-a202-4819-9367-c562db6c5700%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BBBW and X desktop

2016-12-23 Thread Stephane Charette

>
> [I'm using] this build:  
> https://rcn-ee.com/rootfs/bb.org/testing/2016-12-18/lxqt-4gb/BBBW-blank-debian-8.6-lxqt-4gb-armhf-2016-12-18-4gb.img.xz
>

When the BBBW boots up, I see this message on the serial console:

[FAILED] Failed to start Light Display Manager.
See 'systemctl status lightdm.service' for details.

If it matters, my hookup is like this:   BBBW -> micro HDMI -> 
HDMI-to-DVI-adapter -> DVI to old DELL flat screen display.

When I run "*systemctl status lightdm.service*", part of what I see is this:

Dec 23 00:39:16 beaglebone systemd[1]: lightdm.service: Start request 
repeated too quickly.
Dec 23 00:39:16 beaglebone systemd[1]: Failed to start Light Display 
Manager.
Dec 23 00:39:16 beaglebone systemd[1]: lightdm.service: Unit entered failed 
state.
Dec 23 00:39:16 beaglebone systemd[1]: lightdm.service: Failed with result 
'start-limit-hit'.

If I wait a minute or so and then manually run the command "sudo systemctl 
start lightdm" then the desktop starts fine.

After poking around, I found a solution.  Turns out the default pause 
between retries for systemd to restart a service is 100ms, and it only 
retries a maximum of 5 times within 10 seconds before it gives up forever. 
 So I added the following lines to 
*/etc/systemd/system/display-manager.service*:

RestartSec=5s
TimeoutSec=60s
StartLimitInterval=5min
StartLimitBurst=60

With this, the X desktop now starts up every time on my BBBW.

Robert, is the file */etc/systemd/system/display-manager.service* something 
that we control, or does it come from an upstream source?  Can we easily 
make modifications to it to increase the length between restarts, and 
increase the number of times systemd tries to restart it?

Stéphane

-- 
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/24000952-fa8b-4696-b2a4-752e5b79155b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BBBW and X desktop

2016-12-21 Thread Stephane Charette
My BBBW was working correctly when I received it a few days ago.  Maybe I 
should I have stopped there.  :)

Wanting to use the newest build, I downloaded and installed this build: 
 
https://rcn-ee.com/rootfs/bb.org/testing/2016-12-18/lxqt-4gb/BBBW-blank-debian-8.6-lxqt-4gb-armhf-2016-12-18-4gb.img.xz

Now it still boots, I can login to the debug serial console and poke around 
as usual.  But I'm no longer getting the graphical LXQT desktop on the 
micro HDMI.  Just a black screen with a flashing text mode cursor in the 
top left.

Before I dig further, I wanted to confirm I'm using the correct build. 
 Should the build I quoted above resulted in a graphical desktop once 
installed on a BBBW device?

Stéphane

-- 
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/d412b287-c513-4d52-b3ac-987bf89b42f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Connect BBB to VBOX running Ubuntu 14.04.02LTS on Windows 7 Proffesional Host

2016-12-20 Thread Stephane Charette
In the VB window where your guest is running, click on Devices -> USB -> 
Prolific Technology Inc (or whatever) USB device you want to share to your 
guest.  Once you do that, Ubuntu will "see" the USB connection and 
automatically create the necessary /dev/ttyUSB0 device.

Then you can use any of the normal tools to open up /dev/ttyUSB0.  Screen, 
minicom, gtkterm, etc.

The scenario you are describing is exactly how I do it as well, so I know 
it can be done.

Stéphane


On Tuesday, December 20, 2016 at 2:10:50 PM UTC-8, Eddy De Waegeneer wrote:
>
> I just recieved my BBB . I installed a Virtual box running Ubuntu 
> 14.04.02LTS on a Windows 7 Professional Host
> How can I connect to the BBB ?
> I would like to coonect to the BBB via  serial  connection,such that I can 
> see the bootlog of the BBB during boot and such I can stop the bootloader 
> of I want to.
>  
> Thanks in advance
> Eddy

-- 
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/72a8999c-9af8-497b-9816-8ac7dd7b1af1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BBBW product image

2016-12-20 Thread Stephane Charette
On Tuesday, December 20, 2016 at 4:13:41 PM UTC-8, Gregg Harrington wrote:
>
> I have been using the BBB image and haven't installed the BBBW one, 
> everything works correctly as far as I could tell. I asked in another 
> thread what the difference was, but didn't get a response. 
>

BBB = BeagleBone Black.
BBBW = BeagleBone Black Wireless.

If you have a BBB device, then yes, I imagine either image works.  But if 
you have a BBBW device, then you'll need the "wireless" build which 
contains the necessary drivers and related files to support bluetooth and 
wifi.

Stéphane

-- 
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/d5b4769f-94f6-4d81-9b30-80494640a53a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Wireless speed issues?

2016-12-19 Thread Stephane Charette
Do you mean sleep_auth?  If so, I've also run an issue with the default 
value of 2 ("extreme low power").  I place this file on all my BBGW devices:

$ *cat /etc/cron.d/wireless *
MAILTO=""
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
@reboot root sleep 60 ; echo 0 > 
/sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth


Looking through the wlcore source code, the possible values are:


   - 0 = active mode
   - 1 = low power
   - 2 = extreme low power
   

Stéphane


On Sunday, December 18, 2016 at 6:28:28 PM UTC-8, Jay Doobie wrote:
>
> I believe I've found the problem to be power management on the wifi.  I 
> have found a way to disable it manually, but not a method to disable it 
> automatically.  Any ideas?
>
> On Thursday, December 15, 2016 at 11:11:21 PM UTC-5, Jay Doobie wrote:
>>
>> I'm running with bone-debian-8.6-lxqt-4gb-armhf-2016-11-06-4gb.img.xz 
>> ,
>>  
>> and my wireless connected without a problem, however at times I feel like 
>> I'm back in the 80s typing on a 300baud modem.  I've checked log files and 
>> dmesg and see nothing.  My load average seems to stay high even though I 
>> see pretty much everything is idle.
>>
>>
>>

-- 
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/3f4af313-7d9c-4c1e-a999-8c2ddd2e1322%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BBBW product image

2016-12-19 Thread Stephane Charette
I wanted to make a blog post about the BBBW, and needed an image to use.

For sanity sake, I recommend that people do not make a Google image search 
for BBBW at work.  Definitely NSFW!

Stéphane

-- 
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/053eef8b-5c0b-481b-8d90-7f66a5c63ef5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] are there other ARMHF repos?

2016-12-18 Thread Stephane Charette
By default when I install a BB with one of the usual RCN builds, the repos 
as defined in /etc/apt/sources.list are set to the following:

deb http://httpredir.debian.org/debian/ jessie main contrib non-free
deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb https://deb.nodesource.com/node_0.12 jessie main
deb [arch=armhf] http://repos.rcn-ee.com/debian/ jessie main

Are there other well-known ARMHF repos that I can add if the package I'm 
looking for isn't there?

For example, I like to use "fish" as my shell.  When I try to install it, I 
get this:

$ *sudo apt-get install fish*
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Package fish 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
E: Package 'fish' has no installation candidate

Yes, I could build it myself, but that defeats the entire purpose of having 
package management, automatic updates when security fixes are available, 
etc.

Stéphane

-- 
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/35261e7b-143e-42c6-abbd-0e45fa385704%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BBBW and BBBW-NC

2016-12-13 Thread Stephane Charette
What is the difference between these two devices?


   - BBBW-SC-562-ND
   - BBBW-SC-562


http://www.digikey.com/product-detail/en/ghi-electronics-llc/BBBWL-SC-562-ND

I'm looking to buy a BeagleBone with both WiFi and HDMI capability.

Stéphane

-- 
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/4c62e2a5-30a9-40a9-907b-d134c96094f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] console output during flasher image installation logged to a file

2016-12-04 Thread Stephane Charette
Robert et al,

Idea I had today:  Any interest in having the flasher image duplicate 
stdout/stderr and tee it to a log file on the uSD card?  That way people 
without serial debug cables would have a log showing what happened during 
the installation?

Something along the lines of:
http://stackoverflow.com/questions/3173131/redirect-copy-of-stdout-to-log-file-from-within-bash-script-itself
http://unix.stackexchange.com/questions/67652/copy-stdout-and-stderr-to-a-log-file-and-leave-them-on-the-console-within-the-sc

If so, I'd be willing to look into it and provide a patch.

Stéphane

-- 
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/59e440b3-bd8e-4e57-991f-b1fdb7daca7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Startup Scripts

2016-11-28 Thread Stephane Charette

>
> I am trying to run some simple startup shell scripts when the system boots.
>

One thing I tend to use is the @reboot keyword in cron.  For example:

*cat /etc/cron.d/startup_scripts*
MAILTO=""
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

@reboot root /home/stephane/scripts/check_for_upgrade.sh
@reboot root /home/stephane/scripts/startup_commands.sh

Stéphane

-- 
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/d465bb3d-09c0-41e1-ae7c-0f77651249cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Connman and WiFi setup

2016-11-21 Thread Stephane Charette
On Sunday, November 20, 2016 at 6:49:08 AM UTC-8, Dave Keenan wrote:
>
> Mark, did you ever solve this? If so, how? I'm having the same problem but 
> with a USB WiFi dongle. It worked fine with the old method of editing 
> /etc/network/interfaces and installing the wifi-reset service. But I've 
> upgraded to Debian 8.6 for the beaglebone and the old method doesn't work 
> any more. As you say it connects just fine with connmanctl, but doesn't 
> reconnect after a reboot, even with "config wifi_*_* autoconnect on". Nor 
> does the old wifi-reset service solve the problem.
>
> https://learn.adafruit.com/setting-up-wifi-with-beaglebone-black/configuration#wifi-reset-service
>  
> 
>


This post I wrote in June needs to be refreshed, but the wifi part I 
believe is still correct:

https://www.ccoderun.ca/programming/2016-06-29_BBGW/index.html#wifi

See if this helps you get up and running correctly.

Stéphane

-- 
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/c60b57c5-95d5-4988-84ad-a965ffb768da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: how to enable i2c for beaglebone rev c.

2016-11-14 Thread Stephane Charette

>
> cannot detect address device thermal ..
>

What do you mean by "device thermal"...?

Like the Grove temperature sensor?  Or the Grove temperature & humidity 
sensor?  If so, you need the ADC grove as well.  Like this:

https://www.ccoderun.ca/sg++/api/sg_101020015_TemperatureSensor.jpg




Source:  https://www.ccoderun.ca/sg++/api/classSG_1_1I2CADC.html#details

Stéphane

-- 
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/51586f8f-0bbf-4aa0-96ae-8cca45e31d2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Removal of Components from BBBW for Custom PCB.

2016-11-11 Thread Stephane Charette

>
> I'm making a custom BBBW for a school project. I'm adding a few 
> peripherals but would like to strip down what is unnecessary in order to 
> save on BOM costs. The first to go is the large HDMI chip.
>

HDMI and the barrel connector was already removed from BBG and BBGW.  Out 
of curiosity, why not start with that instead?

Stéphane

-- 
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/b7e3627c-3773-4cd9-8ab0-13996ad82147%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Do I really need a USB-to-FTDI cable to see the U-boot prompt? Will it not work on micro-HDMI?

2016-11-11 Thread Stephane Charette
On Thursday, November 10, 2016 at 12:36:07 PM UTC-8, William Hermans wrote:
>
> You do not have to buy a FTDI cable. It could be any decent cable, that 
> does not necessarily cost as much as FTDI. For example my buddy and I 
> ordered a couple of PL2303HX cables off ebay for like $5-6 usd shipped.
>

The ones I found with shipping (to Canada) were in the $40-50 range, which 
was discouraging -- more expensive than buying a new BeagleBone! 
 Eventually found this one on Amazon for $3, including shipping, and it 
works great:

https://www.amazon.ca/gp/product/B00F167PWE

Stéphane

-- 
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/7726319f-98ac-4dff-8800-187e324270e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Flashing a BBB's EMC from uSD Card - problems

2016-11-10 Thread Stephane Charette

>
> I have spent hours Googling and trying just about everything I can think 
> of to re-falsh my BBB with Debian 8.4 (Jessie 2016-05-13) with no luck.
>

In case this helps, I documented how I got started a little while ago.  You 
can find my ramblings here: 
 https://www.ccoderun.ca/programming/2015-06-07_BeagleBoneBlack/index.html

Stéphane

-- 
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/d561f70c-34e7-46f5-83b0-3281c9533dea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: does the BBGW wifi hardware have a power saving mode?

2016-11-08 Thread Stephane Charette

>
> Yes WL18xx does have a power save mode which is on by default. It can be 
> disabled with
> echo 0 > /sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth
>

That seems to have made a difference, Iain.  My BBGW doesn't do it every 
time, so I cannot yet say for certain, but so far today the 2 times the 
BBGW boots up with those error messages and a non-working wlan0, I login 
through the serial console interface, run that command, and everything then 
starts working again.

The default value for /sys/kernel/debug/ieee80211/phy0/wlcore/sleep_auth 
seems to be 2. I eventually found WL1271_PSM_ELP = 2 (power saving move, 
extreme low power) in acx.h.  If anyone else is curious, the possible 
values 0, 1, and 2 are defined as:

/* Active mode */
WL1271_PSM_CAM = 0,

/* Power save mode */
WL1271_PSM_PS = 1,

/* Extreme low power */
WL1271_PSM_ELP = 2

Stéphane

-- 
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/34dc5b8d-00d8-4ae6-81e1-0e130d9fd068%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] hostapd on BBGW

2016-11-08 Thread Stephane Charette

>
> In the seeed-iot image it's:  wificonfig.service


Thanks, Robert, that got me where I needed.  For the sake of Google 
searches in the future, if anyone else is looking to change their SSID, see 
"options.ssid" in the file 
/usr/local/lib/node_modules/wificonfig/lib/wifi.js.

Stéphane

-- 
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/3074a14f-f643-4103-bb4f-ee791470ed41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] hostapd on BBGW

2016-11-08 Thread Stephane Charette
I'm still trying to figure out where the WIFI SSID is set on the BBGW so I 
can customize it.  I see this process running:

hostapd -B SoftAp0-hostapd.conf

The -B means "run in the background".  So that leaves the 
SoftAp0-hostapd.conf file.  Where is this configuration file?  From what I 
can see on my BBGW, such a file does not exist.

Stéphane

-- 
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/aa3c2b0e-ab8e-4699-939c-291622fb8dcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] does the BBGW wifi hardware have a power saving mode?

2016-11-06 Thread Stephane Charette
Does the BBGW or the wifi hardware on the BBGW have some sort of power 
saving mode?

Something interesting I noticed about those "*wlcore: ERROR SW watchdog 
interrupt received! starting recovery*" messages that fill up my serial 
console:  I get one almost every time the BBGW sends out a packet.  This 
corresponds to my ~95% packet loss.

But if I run this command on my BBGW to frequently ping the wifi router, I 
never see the error message, and wifi networking works correctly:

sudo ping -i 0.1 192.168.1.1

If I increase the length of time to 0.2 seconds or longer, then the problem 
happens and I lose wifi connectivity.  But as long as there is a steady 
stream of packets every 0.1 seconds or shorter, wifi works perfectly. 
 Which is why I was wondering -- could the wifi hardware be trying to go 
into some sort of power saving mode?

$ uname -a
Linux beaglebone 4.4.27-ti-r63 #1 SMP Thu Nov 3 19:58:15 UTC 2016 armv7l 
GNU/Linux

Stéphane

-- 
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/44d25155-f450-45f8-9687-895bf4227d37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BBGW: ERROR SW watchdog interrupt received! starting recovery.

2016-11-04 Thread Stephane Charette

When my BBGW boots up, the serial console gets flooded with this message 
every few seconds:

[ 1000.268493] wlcore: ERROR SW watchdog interrupt received! starting 
recovery.
[ 1002.334742] wlcore: ERROR SW watchdog interrupt received! starting 
recovery.
[ 1006.021489] wlcore: ERROR SW watchdog interrupt received! starting 
recovery.
[ 1014.865474] wlcore: ERROR SW watchdog interrupt received! starting 
recovery.

Because the frequency of this message, the log files /var/log/daemon.log, 
syslog, kern.log and messages are hundreds of MB in size.

If I run "sudo ifconfig wlan0 down" then the problem goes away...but so 
does network access.  :)

Network connectivity is nearly useless, with > 90% packet loss.

--- 192.168.1.1 ping statistics ---
247 packets transmitted, 8 received, +99 errors, 96% packet loss, time 
246985ms

Anyone know what this watchdog error message means?  Or how to fix wifi on 
the BBGW?

I'm using this build: 
 
https://rcn-ee.com/rootfs/bb.org/testing/2016-10-30/seeed-iot/BBGW-blank-debian-8.6-seeed-iot-armhf-2016-10-30-4gb.img.xz

Stéphane

-- 
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/9eb795cd-babf-4041-a6c2-453c0e0a1ee0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] how to use setup_sdcard.sh and the new oemflasher builds

2016-11-03 Thread Stephane Charette
I've read through the posts for the past few weeks, but don't see this as a 
topic discussed yet.  I downloaded the new oemflasher image I see on 
rcn-ee.com:

https://rcn-ee.com/rootfs/bb.org/testing/2016-10-31/oemflasher/debian-8.6-oemflasher-armhf-2016-10-31.tar.xz

This is what I tried:

unxz --verbose debian-8.6-oemflasher-armhf-2016-10-31.tar.xz

tar -xf debian-8.6-oemflasher-armhf-2016-10-31.tar

cd debian-8.6-oemflasher-armhf-2016-10-31/

sudo ./setup_sdcard.sh --mmc /dev/sde --bbgw-flasher -dtb bbb-blank-eeprom

Unfortunately, this did not produce a microsd image that works on my BBGW. 
 During the installation, the serial console on my BBGW reported this error:

chroot: failed to run command '/usr/bin/bb-wl18xx-wlan0': No such file or 
directory
Traceback (last called is first):
 _copy_rootfs() in 
/opt/scripts/tools/eMMC/init-eMMC-flasher-v3-bbgw.sh:98
 prepare_drive() in /opt/scripts/tools/eMMC/functions.sh:1034
 main() in /opt/scripts/tools/eMMC/init-eMMC-flasher-v3-bbgw.sh:114
The command chroot /tmp/rootfs/ /usr/bin/bb-wl18xx-wlan0 exited with exit 
code 127.

Tearing Down script environment
==> Unmounting /tmp
umount: /tmp: target is busy

Anyone know the correct parameters so the new setup_sdcard.sh script 
creates a BBGW image?

Stéphane

-- 
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/c1d23724-afa3-4f53-b1e4-5f58e4e7f4a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Ubuntu 14.04 for BBGW

2016-11-03 Thread Stephane Charette
Or Ubuntu 16.04?  Or 16.10?


On Sunday, October 23, 2016 at 8:34:39 AM UTC-7, Käptn Iglo wrote:
>
> Is there any Ubuntu 14.04 Image available for the Beagle Bone Green 
> Wireless which supports the Wifi Chip on the Board ?
>

-- 
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/039a6cd7-839f-45af-919a-641b48334af1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: tools for Commissioning and managing > 100 nodes

2016-11-02 Thread Stephane Charette
Munin for monitoring.  EPS Conduits for access through client firewalls.

Stéphane


On Wednesday, October 19, 2016 at 11:09:17 PM UTC-7, Neabex wrote:
>
> Hey guys,
> what are you guys using to manage software updates and performing health 
> checks of remote nodes? Are you using the standard linux sysadmin tools 
> like chef/puppet/ansible or is there anything more geared towards embedded 
> deployments?
>

-- 
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/13b28832-0794-43c8-9a16-c8bd7b8a78c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: wifi works when BBGW first powered on, but not after a warm reboot

2016-10-25 Thread Stephane Charette
On Friday, September 9, 2016 at 1:06:21 PM UTC-7, Stephane Charette wrote:
>
> When I first plug power into my BBGW, everything works great.  But if I 
> issue a "reboot" or "shutdown -r now" command, when the device boots back 
> up I have no wifi.
>


This morning, TI finally replied to me on their forum in regards to this 
ongoing wifi problem.  While I understand the meaning in the message, I 
don't have the skills to know what to do with this information.  Here is 
what they had to say:

I believe we have found the root cause for the BBGW wifi related issues.
Bottom line is that BT_AUD_OUT from wl1835 has to be pulled low when WL_EN 
is activated.
in case it isn't, wilink8 ends up in one of the test modes that introduces 
various issues (elp wakeup timeouts etc.)
On the BBGW this pin is routed through the level shifter (U21) that 
introduces a pullup on the line and wilink8 ends up in a bad state. 
To work around this, I have used a gpio hog to force this pin low. 
An alternative may be adding an external pulldown on U21 pin 4 but this 
would require an ECO.

Please see section 10.4 in the following document:
http://www.ti.com/lit/ug/swru437/swru437.pdf

You can see that AUD_OUT_BT has to be 0 when BT or WLAN enable bit is set 
to high.

BR,
Eyal



Stéphane

-- 
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/d19a8a29-f559-4cdd-ac09-3187eafa1f78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: where is the wifi ssid defined?

2016-10-08 Thread Stephane Charette
...anyone know?

On Sunday, October 2, 2016 at 4:19:14 AM UTC-7, Stephane Charette wrote:
>
> Where is the BBGW SSID defined?  For example, the SSID on my BBGW is named 
> "BeagleBone053927".
>
> Is there a configuration file where this can be set?
>
> Stéphane
>

-- 
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/72f455b8-217c-48d2-a591-91279c33f8f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] angstrom image

2016-10-02 Thread Stephane Charette
On Sunday, October 2, 2016 at 1:10:34 PM UTC-7, Wulf Man wrote:
>
> try a REAL OS and use Debian.
>


Not exactly the most helpful reply.  ;)

Mahmoud, you didn't specify what device you are using.  The most up-to-date 
Debian images are published by Robert C Nelson.  You can find them here:

https://rcn-ee.com/rootfs/

If you're just starting out, I have some instructions I've been putting 
together for BBB/BBG as well as for the newer BBGW:

https://www.ccoderun.ca/programming/2015-06-07_BeagleBoneBlack/index.html
https://www.ccoderun.ca/programming/2016-06-29_BBGW/index.html

Stéphane

-- 
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/074de032-850a-45b1-bb79-0207a91f1f1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] where is the wifi ssid defined?

2016-10-02 Thread Stephane Charette
Where is the BBGW SSID defined?  For example, the SSID on my BBGW is named 
"BeagleBone053927".

Is there a configuration file where this can be set?

Stéphane

-- 
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/3f634bae-e985-4b61-a03a-b916a6697956%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] cannot boot latest RCN image from 2016-09-28 on BBGW

2016-10-01 Thread Stephane Charette
On Saturday, October 1, 2016 at 8:46:16 PM UTC-7, RobertCNelson wrote:
>
> On Sat, Oct 1, 2016 at 9:42 PM, Stephane Charette 
> <stephane...@gmail.com > wrote: 
> > Trying to test the latest RCN image from 2016-09-28.  But I get a kernel 
> > panic before the flashing begins.  Serial debug console shows these 
> errors: 
> ...
> Just double checked ^... seems to be working correctly... 
>


Nevermind.  I tried several images over the past 2 months, and they were 
all failing the same way.  I completely shut down my desktop, rebooted it, 
re-wrote the latest image to my uSD card, and now it is all working again. 
 Latest image is up and running on my BBGW.  Lost half my evening to this 
issue.  I don't know why/how Linux sometimes seems to lose its shit when 
writing images, and when it happens, a complete reboot seems to be the only 
thing to fix it.

Sorry for the false alarm.

Stéphane

-- 
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/17f44729-ff68-4ef2-ab2a-0a1fcac7e4cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] cannot boot latest RCN image from 2016-09-28 on BBGW

2016-10-01 Thread Stephane Charette
Trying to test the latest RCN image from 2016-09-28.  But I get a kernel 
panic before the flashing begins.  Serial debug console shows these errors:

Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext4 for 
/dev/mmcblk1p1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[9.628045] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data 
mode. Opts: (null)
done.
Target filesystem doesn't have requested 
/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
switch_root: can't execute '/bin/sh': No such file or directory
[9.758682] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x0100
...insert kernel dump here...

At this point everything hangs.  Anyone else seeing the same thing?  Build 
used is this one: 
 
https://rcn-ee.com/rootfs/bb.org/testing/2016-09-28/seeed-iot/BBGW-blank-debian-8.6-seeed-iot-armhf-2016-09-28-4gb.img.xz

Stéphane

-- 
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/5966fb4f-9dec-4981-89ad-5d81c59321d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: bbgw wlan0 users

2016-09-28 Thread Stephane Charette
On Tuesday, September 27, 2016 at 10:25:55 AM UTC-7, Dani Sch wrote:
>
> This image for BBGW doesn't work for me at all. No wifi network pops up in 
> available connections, and when I try to run your commands under 
> connmanctl, I get the following:
>


I also reported in a different thread that wifi in the latest image doesn't 
work for me anymore.  Interface does not come up at all, and I cannot 
figure out why or how to fix it.  If it helps narrow it down, Robert, I 
believe this change in behaviour started after this comment/change:


Switching to using gpio-hog vs the regulators seem to have helped



Stéphane

-- 
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/7d83f230-ce09-42f8-9ec1-ea59682e66cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] wifi works when BBGW first powered on, but not after a warm reboot

2016-09-21 Thread Stephane Charette
I installed build BBGW-blank-debian-8.6-seeed-iot-armhf-2016-09-18-4gb 
tonight. But I cannot get WIFI to work at all with this build.  I think the 
most recent changes have made things worse.

On both cold and warm boot, the serial console spits out the same message 
every few seconds:

wlcore: ERROR firmware boot failed despite 3 retries

/var/log/syslog has lots of repeating messages, such as:

Sep 18 18:47:24 beaglebone wifidog_server[3940]: [3][Sun Sep 18 18:47:24 
2016][3943](gateway.c:397) Could not create web server: Cannot assign 
requested address
Sep 18 18:47:24 beaglebone systemd[1]: wifidog-gateway.service: Main 
process exited, code=exited, status=1/FAILURE
Sep 18 18:47:24 beaglebone systemd[1]: wifidog-gateway.service: Unit 
entered failed state.
Sep 18 18:47:25 beaglebone systemd[1]: wifidog-gateway.service: Failed with 
result 'exit-code'.
Sep 18 18:47:28 beaglebone systemd[1]: wifidog-pre-startup.service: Service 
hold-off time over, scheduling restart.

This is the latest build freshly installed on the BBGW.  I've not run any 
commands yet except for "cat" and "ifconfig" to see what interfaces are 
available (lo and usb0).

-- 
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/c6e7309c-7dfe-4a9b-af4f-f11af060f231%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Grove temperature sensor on Beaglebone Black

2016-09-14 Thread Stephane Charette
I have done some work with that sensor on a BBG: 
 https://www.ccoderun.ca/sg++/api/classSG_1_1TemperatureSensor.html#details

...connected to this Grove ADC: 
 https://www.ccoderun.ca/sg++/api/classSG_1_1I2CADC.html#details

The problem is the numbers I was retrieving didn't make sense, and I 
haven't gone back to it since.  Shortly after I moved on, I discovered that 
all the reference information for that sensor assumes 5v, and only 3.3v is 
available through the ADC.  But my memory is fuzzy, and I'm a newbie at 
this stuff, so double check.

Stéphane

-- 
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/b279f8b1-6997-4f3f-b3e1-06e5cfd4e4f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] wifi works when BBGW first powered on, but not after a warm reboot

2016-09-14 Thread Stephane Charette
On Saturday, September 10, 2016 at 2:09:16 PM UTC-7, Stephane Charette 
wrote:
>
> On Friday, September 9, 2016 at 1:15:42 PM UTC-7, RobertCNelson wrote:
>>
>> On Fri, Sep 9, 2016 at 2:45 PM, Stephane Charette 
>> <stephane...@gmail.com> wrote: 
>> > When I first plug power into my BBGW, everything works great.  But if I 
>> > issue a "reboot" or "shutdown -r now" command, when the device boots 
>> back up 
>> > I have no wifi. 
>> > 
>> > Anyone else having problems with wifi not working when doing a "warm" 
>> > reboot?  Is this a known problem, or is there a known workaround? 
>>
>> I still don't think we are properly resetting the wl18xx on startup. 
>> (in u-boot is the easiest place) 
>>
>

I tried on TI's forums to get help for this issue, but their only response 
is to contact the BBGW community here or on IRC since I'm using one of 
RCN's builds.


   1. Is anyone else seeing this problem where WIFI on BBGW doesn't work on 
   warm reboots?
   2. Can someone point me to where the source/scripts are located for Das 
   U-Boot used on recent BBGW builds?  Is there something like a github 
   project from which the BBGW builds are generated?


Thanks,

Stéphane

-- 
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/acb02ff4-408a-4797-a2ec-4406117fde35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] wifi works when BBGW first powered on, but not after a warm reboot

2016-09-10 Thread Stephane Charette
On Friday, September 9, 2016 at 1:15:42 PM UTC-7, RobertCNelson wrote:
>
> On Fri, Sep 9, 2016 at 2:45 PM, Stephane Charette 
> <stephane...@gmail.com > wrote: 
> > When I first plug power into my BBGW, everything works great.  But if I 
> > issue a "reboot" or "shutdown -r now" command, when the device boots 
> back up 
> > I have no wifi. 
> > 
> > Anyone else having problems with wifi not working when doing a "warm" 
> > reboot?  Is this a known problem, or is there a known workaround? 
>
> I still don't think we are properly resetting the wl18xx on startup. 
> (in u-boot is the easiest place) 
>


How can I help?  Are there BB specific files, scripts, or a fork of U-Boot 
that is used on the BB?  Can you point me in the right direction so I can 
start poking?

And perhaps more importantly for me before I go further, do other people 
see this same problem, or is it just my BBGW which is messed up?  I only 
have 1 BBGW to test with, so i don't know if this is a common issue.

Stéphane

-- 
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/92cf3772-b296-414c-8529-f2f0615b0cb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] wifi works when BBGW first powered on, but not after a warm reboot

2016-09-09 Thread Stephane Charette
When I first plug power into my BBGW, everything works great.  But if I 
issue a "reboot" or "shutdown -r now" command, when the device boots back 
up I have no wifi.

*Anyone else having problems with wifi not working when doing a "warm" 
reboot?  Is this a known problem, or is there a known workaround?*

I've diff'd the output of the serial console when it works and when it 
doesn't, and I only see 1 line difference at the very start of the boot 
process.

When it works:

DRAM:  512 MiB
Reset Source: Power-on reset has occurred.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

When it doesn't work:

DRAM:  512 MiB
Reset Source: Global warm SW reset has occurred.
Reset Source: Power-on reset has occurred.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

When it doesn't work, I get this message logged in dmesg every few seconds 
after the boot has finished:

[  612.676285] wlcore: ERROR firmware boot failed despite 3 retries
[  620.458410] wlcore: ERROR timeout waiting for the hardware to complete 
initialization
[  622.558761] wlcore: ERROR timeout waiting for the hardware to complete 
initialization
[  624.634344] wlcore: ERROR timeout waiting for the hardware to complete 
initialization

The only other thing I've noticed is a 20-line error message and backtrace 
logged to /var/log/messages.  That start of which looks like this:

May 21 15:34:57 beaglebone kernel: [   31.978453] wlcore: wl18xx HW: 183x 
or 180x, PG 2.2 (ROM 0x11)
May 21 15:34:57 beaglebone kernel: [   32.067899] wlcore: loaded
May 21 15:34:57 beaglebone kernel: [   32.454957] wlcore: PHY firmware 
version: Rev 8.2.0.0.236
May 21 15:34:57 beaglebone kernel: [   32.494528] wlcore: firmware booted 
(Rev 8.9.0.0.69)
May 21 15:34:57 beaglebone kernel: [   32.511704] IPv6: 
ADDRCONF(NETDEV_UP): wlan0: link is not ready
May 21 15:34:57 beaglebone kernel: [   32.857933] [ cut here 
]
May 21 15:34:57 beaglebone kernel: [   32.858199] WARNING: CPU: 0 PID: 1781 
at drivers/net/wireless/ti/wlcore/main.c:797 
wl12xx_queue_recovery_work.part.8+0x46/0x48 [wlcore]()
May 21 15:34:57 beaglebone kernel: [   32.858207] Modules linked in: arc4 
wl18xx wlcore mac80211 snd_soc_evm snd_soc_wilink8_bt omap_aes_driver 
omap_sham omap_rng rng_core snd_soc_davinci_mcasp snd_soc_edma snd_soc_omap 
wlcore_sdio snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer snd soundcore 
evdev uio_pdrv_genirq uio usb_f_acm u_serial usb_f_rndis g_multi 
usb_f_mass_storage u_ether libcomposite cfg80211 rfkill
May 21 15:34:57 beaglebone kernel: [   32.858314] CPU: 0 PID: 1781 Comm: 
irq/54-wl18xx Not tainted 4.4.19-ti-r41 #1
May 21 15:34:57 beaglebone kernel: [   32.858321] Hardware name: Generic 
AM33XX (Flattened Device Tree)

I'm using this build: 
 
https://rcn-ee.com/rootfs/bb.org/testing/2016-09-04/seeed-iot/BBGW-blank-debian-8.5-seeed-iot-armhf-2016-09-04-4gb.img.xz

TIA.

Stéphane

-- 
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/09cb8c5b-da27-44a3-827f-633310143188%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: "invalid ELF header" error in latest RCN image?

2016-09-08 Thread Stephane Charette

>
> I tried to create myself a backup user account on my BBGW, but I'm getting 
> a "invalid ELF header" error:
>
> debian@beaglebone:~$ *sudo useradd --create-home --shell /bin/bash 
> --user-group --groups sudo backupuser*
> useradd: error while loading shared libraries: 
> /usr/lib/arm-linux-gnueabihf/libustr-1.0.so.1: invalid ELF header
>


Good news.  I've managed to fix a bunch of problems I was having, including 
this one last night with the "invalid ELF header".  Turns out there were 
some problems on my eMMC.  With the serial debug cable, I observed quite a 
few of these errors during the installation:

[  117.320212] blk_update_request: I/O error, dev mmcblk1, sector 4720648
[  117.326810] blk_update_request: I/O error, dev mmcblk1, sector 4720656
[  117.333405] blk_update_request: I/O error, dev mmcblk1, sector 4720664


The way I solved it was to do the following:


   1. insert the micro SD card with the installation image into a laptop or 
   desktop computer before using it on the BB device
   2. edit the file /opt/scripts/tools/eMMC/init-eMMC-flasher-v3-bbgw.sh on 
   the micro SD card (or whatever script is appropriate for your device)
   3. search for all instances of mkfs -- there are 3, all around lines 
   300-320
   4. add the extra parameter "-c -c" -- this calls badblocks(8) which will 
   run a lengthy test to discover and mark bad blocks

The three individual mkfs lines will look something like this:

LC_ALL=C mkfs.vfat -c -c -F 16 ${destination}p1 -n ${boot_label}
LC_ALL=C mkfs.ext4 -c -c ${ext4_options} ${destination}p2 -L ${rootfs_label}
LC_ALL=C mkfs.ext4 -c -c ${ext4_options} ${destination}p1 -L ${boot_label}

The installation takes much longer (an hour?) because it checks the eMMC 
for bad blocks, but in my case it resurrected a device that was no longer 
working.

Stéphane

-- 
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/0ba42f7c-a6e1-4b21-bd85-bb490fb05d33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] error messages on serial console during BBGW bootup

2016-09-08 Thread Stephane Charette
The serial debug cable I ordered for my BBGW finally got here.  I 
downloaded RCN's most recent 
build, BBGW-blank-debian-8.5-seeed-iot-armhf-2016-09-04-4gb.img.

I did see a few errors on the serial console during the installation:

Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done 
Formatting: /dev/mmcblk1 complete
...cut...
[  116.630830] 6144 pages cma reserved
[  116.634355] edma 4900.edma: edma_prep_slave_sg: Failed to allocate a 
descriptor
[  116.642061] omap_hsmmc 481d8000.mmc: prep_slave_sg() failed
[  116.647671] omap_hsmmc 481d8000.mmc: MMC start dma failure
[  117.305788] mmcblk1: unknown error -1 sending read/write command, card 
status 0x900
[  117.313590] blk_update_request: I/O error, dev mmcblk1, sector 4720640
[  117.320212] blk_update_request: I/O error, dev mmcblk1, sector 4720648
[  117.326810] blk_update_request: I/O error, dev mmcblk1, sector 4720656
[  117.333405] blk_update_request: I/O error, dev mmcblk1, sector 4720664

The installation does seem to continue, and it shuts down cleanly at the 
end.  Not sure if those I/O errors are important.

When I reboot it without the micro SD card, things seem OK, though I see 
this:

[2.169781] PM: Cannot get wkup_m3_ipc handle
[2.289107] bone_capemgr bone_capemgr: slot #0: No cape found
[2.333102] bone_capemgr bone_capemgr: slot #1: No cape found
[2.377098] bone_capemgr bone_capemgr: slot #2: No cape found
[2.421098] bone_capemgr bone_capemgr: slot #3: No cape found
Loading, please wait...
fsck: error 2 (No such file or directory) while executing fsck.ext4 for 
/dev/mmcblk1p1
fsck exited with status code 8

I'm then presented with the usual login prompt.  When I login and run 
ifconfig, I see no wireless device.  But if I wait a minute or so and try 
again, the wireless eventually does show up.

Is this par for the course?  Should I be worried about any of these errors?

Stéphane

-- 
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/5ccc31a6-ca03-42a0-ab2c-5e2e133dde01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] "invalid ELF header" error in latest RCN image?

2016-09-08 Thread Stephane Charette
Image: 
 
https://rcn-ee.com/rootfs/bb.org/testing/2016-09-04/seeed-iot/BBGW-blank-debian-8.5-seeed-iot-armhf-2016-09-04-4gb.img.xz

I tried to create myself a backup user account on my BBGW, but I'm getting 
a "invalid ELF header" error:

debian@beaglebone:~$ *sudo useradd --create-home --shell /bin/bash 
--user-group --groups sudo backupuser*
useradd: error while loading shared libraries: 
/usr/lib/arm-linux-gnueabihf/libustr-1.0.so.1: invalid ELF header
debian@beaglebone:~$ *file /usr/lib/arm-linux-gnueabihf/libustr-1.0.so.1*
/usr/lib/arm-linux-gnueabihf/libustr-1.0.so.1: symbolic link to 
libustr-1.0.so.1.0.4
debian@beaglebone:~$ *file 
/usr/lib/arm-linux-gnueabihf/libustr-1.0.so.1.0.4 *
/usr/lib/arm-linux-gnueabihf/libustr-1.0.so.1.0.4: data
debian@beaglebone:~$ ls -l 
/usr/lib/arm-linux-gnueabihf/libustr-1.0.so.1.0.4 
-rw-r--r-- 1 root root 108708 Dec  9  2014 
/usr/lib/arm-linux-gnueabihf/libustr-1.0.so.1.0.4

Looking at the library in question, it is 106 KiB of NULLs.  It is not a 
valid library:

debian@beaglebone:~$ *hexdump -vx 
/usr/lib/arm-linux-gnueabihf/libustr-1.0.so.1.0.4 *
000
010
020
...etc...

Can someone else confirm if they see the same thing, or is my device hosed?

Stéphane

-- 
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/f66ab0fb-dc07-4154-9ad2-6094049f690a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] error trying to enable BBGW wifi on newest build

2016-09-03 Thread Stephane Charette
I'm using this image on my BBGW: 
 
https://rcn-ee.com/rootfs/bb.org/testing/2016-08-28/seeed-iot/BBGW-blank-debian-8.5-seeed-iot-armhf-2016-08-28-4gb.img.xz

Initial image write seems to work.  Then I login with the debian username, 
and try to enable wifi, but I'm getting this:

$ sudo connmanctl enable wifi
Error wifi: Method "SetProperty" with signature "sv" on interface 
"net.connman.Technology" doesn't exist

Google searches for this error seems to indicate that a driver does not 
exist (or wasn't loaded) for the wifi hardware.

The only mention of the wl device I see in dmesg is the following:

[   21.097679] input: ti-tsc as 
/devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input4
[   22.655200] wl1271_sdio: probe of mmc2:0001:2 failed with error -16
[   22.965578] omap_rng 4831.rng: OMAP Random Number Generator ver. 20

Anyone know what this could be or how to fix it?

Stéphane

-- 
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/be879be7-4aa0-44b9-a8d3-7d0a3d4bb296%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] What is the difference between these builds?

2016-08-31 Thread Stephane Charette
In reference to BBB, BBG, and BBGW (I own some of all 3 models) what is the 
difference between:


   - bbgw blank debian 8.5 seeed-iot
   - bone debian 8.5 seeed-iot
   - debian 8.5 seeed-iot


...found in this directory: 
 https://rcn-ee.com/rootfs/bb.org/testing/2016-08-28/seeed-iot/

?

Stéphane

-- 
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/b171fa57-23ca-4d67-b794-431b7b77b117%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] flashing lights and failed installation on BBGW

2016-08-10 Thread Stephane Charette
On Wednesday, August 10, 2016 at 8:09:08 PM UTC-7, Wulf Man wrote:
>
> what power supply are you using?
>


The USB micro (the only power option on a BBGW) plugged into a Certified 
Data 4-port powered USB hub: 
 
http://www.londondrugs.com/certified-data-usb-3.0-4-port-hub---hy-hb-8517/L8469843.html

I've successfully installed and configured about 20 BBB and BBG devices 
using this USB hub for power.  But this is my first (and only) BBGW.

Stéphane

-- 
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/7ca7a0ec-ec4f-4b4f-9026-c698c7a1e885%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] flashing lights and failed installation on BBGW

2016-08-10 Thread Stephane Charette
Trying to install BBGW-blank-debian-8.5-seeed-iot-armhf-2016-08-07-4gb.img 
onto a new BBGW.  Had problems, so I went out and bought a new micro SD 
card and a new card reader just in case.

When I hold the boot button down as I plug in power, I get one of two 
scenarios happening:


   - User LEDs #0 and 2 turn on, then lights 1 and 3 turn on, and back to 
   #0 and 2, then 1 and 3.  I've left it like that for over an hour thinking 
   maybe that was a new pattern.
   - All 4 LEDs turn on, then off, then on again, at the same rate as the 
   normal "heartbeat".  So blink twice, then 1/2 second pause, and blink twice 
   again.
   - User LED #0 (heartbeat) blinks maybe 3 or 4 times, then nothing else. 
No other activity.


Is there a page where the blink patterns are explained?  If not, does 
someone know where in the code to look so I can find the different blink 
patterns and their explanation?

Stéphane

-- 
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/577055f6-c7f5-4e07-9c5f-c610f14822b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] meaning of BeagleBone build names from RCN

2016-08-10 Thread Stephane Charette
Thanks for the reply, Robert.  Knowing that I have a BBGW where I want to 
enable WIFI, which build would you recommend from the following:


> I did find several Debian builds with BBGW in the name, but I don't
> > know the difference between them.  For example:
> >
> > 
> https://rcn-ee.com/rootfs/bb.org/testing/2016-08-05/seeed-gcp-iot/BBGW-blank-debian-8.5-seeed-gcp-iot-armhf-2016-08-05-4gb.img.xz
>   ("gcp"?)
> > 
> https://rcn-ee.com/rootfs/bb.org/testing/2016-08-07/seeed-iot/BBGW-blank-debian-8.5-seeed-iot-armhf-2016-08-07-4gb.img.xz
>   ("blank"?)
> > 
> https://rcn-ee.com/rootfs/bb.org/testing/2016-08-07/iot/BBBW-blank-debian-8.5-iot-armhf-2016-08-07-4gb.img.xz
>  
>  (What is the difference between seeed-iot and iot?)
>


(I just noticed that last one is BBBW, not BBGW...?)

Once I understand the difference between these builds, I'll update the BBGW 
installation instructions 
 that I posted a 
while back.

Stéphane

-- 
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/bdfcd436-dc76-42ab-b3c3-3556137ce17b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] meaning of BeagleBone build names from RCN

2016-08-10 Thread Stephane Charette
Can someone help explain the name of various builds available on RCN's 
site?  I have a hard time guessing the meaning or difference between 
builds.  What I was looking for is a *Ubuntu 16.04* build that I can 
install on my Seeed Studio *BBGW*, and which includes everything necessary 
to use WIFI on the device.

For example take this build:

   - https://rcn-ee.com/rootfs/2016-06-09/flasher/
   *BBB-eMMC-flasher-ubuntu-16.04*-console-armhf-2016-06-09-2gb.img.xz


What I was hoping to find is something similar to this:

   - https://rcn-ee.com/rootfs/2016-xx-yy/flasher/
   *BBGW-eMMC-flasher-ubuntu-16.04*-console-armhf-2016-xx-yy-2gb.img.xz


But I did not find any Ubuntu builds that also had the letters "bbgw" in 
the title.  I did find several *Debian* builds with BBGW in the name, but I 
don't know the difference between them.  For example:

   - https://rcn-ee.com/rootfs/bb.org/testing/2016-08-05/seeed-gcp-iot/BBGW-
   blank-debian-8.5-seeed-gcp-iot-armhf-2016-08-05-4gb.img.xz  *("gcp"?)*
   - https://rcn-ee.com/rootfs/bb.org/testing/2016-08-07/seeed-iot/BBGW-
   blank-debian-8.5-seeed-iot-armhf-2016-08-07-4gb.img.xz  *("blank"?)*
   - 
https://rcn-ee.com/rootfs/bb.org/testing/2016-08-07/iot/BBBW-blank-debian-8.5-iot-armhf-2016-08-07-4gb.img.xz
 
*(What is the difference between seeed-iot and iot?)*
   

While on the topic of build names from RCN, can someone explain the meaning 
of these words/builds:

   - bb.org (?)
   - eewiki (?)
   - barefs (bare file system?)
   - minifs  (mini file system?)
   - blank (?)
   - console  (?)
   - iot  (internet of things?)
   - lxqt-2gb (?)
   - lxqt-4gb (?)
   - seeed-gcp (Seeed Studio?)
   - seeed-iot  (Seeed Studio?)
   - seeed-lxqt-4gb (Seeed Studio?)
   - usbflasher (?)


TIA,

Stéphane

-- 
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/0f9b10a5-839d-49b3-831b-2b1aa0365a1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BeagleBoard.org Latest Firmware Images - suggest pointing to 8.3 image rather than 8.4

2016-07-14 Thread Stephane Charette
On Wednesday, July 13, 2016 at 8:21:47 AM UTC-7, Jeff Albrecht wrote:

> ...
> In my thread "jessie moved my WiFi cheese" 
>  
> I document that 8.4 and 8.5 images don't work for wifi setup via connmanctl 
> and that 8.3 does.
>
>
I have a page I wrote up where I document how I got everything working with 
the Debian 8.5 image.  I'm not sure this is what you're asking about, but 
in case it is useful: 
 https://www.ccoderun.ca/programming/2016-06-29_BBGW/index.html

Stéphane

-- 
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/e755ab1b-02d6-4f0d-8261-785281a281e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Seeed Studio's 5" touch screen LCD for BeagleBone

2016-07-10 Thread Stephane Charette
Anyone else try Seeed's 5" or 7" LCDs? 
 http://www.seeedstudio.com/item_detail.html?p_id=2642

I have the 5" model hooked up to my BBGW­.  I have the screen working.  I 
have touch working.

But when it comes to the 5 buttons below the screen (LEFT, RIGHT, UP, DOWN, 
ENTER) I can only get RIGHT and UP to work.

The other buttons -- LEFT, DOWN, and ENTER -- are not generating any events 
that I've seen:

https://www.ccoderun.ca/programming/2016-07-07_Seeed_5_inch_lcd/index.html#buttons

I don't know at this point if the problem is the LCD I purchased, or if I 
have to enable/disable something on the BBGW to gain access to all the 
keyboard events.  Was hoping someone might know.

Stéphane

-- 
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/b8420034-0e9a-4a84-8663-a5448c08a65e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BeagleBone, AM335X, USB, and memory location 0x47401c60

2016-07-03 Thread Stephane Charette
On BB, or rather on the TI AM335x, memory location 0x47401c60 can be used 
to turn the USB power on and off.  I've used this successfully on my BBB 
and BBG. 
 E.g., 
https://www.ccoderun.ca/sg++/api/namespaceSG_1_1BeagleBone_1_1USB.html#afd15ab8e9d038c6c870f3b90e6b245ec

However, on BBGW, this technique works for turning USB power off, but hangs 
the device when attempting to turn it back on.

Does anyone know the meaning of the individual bits at that memory 
location, or the memory location before and after?  Anyone know where I 
might go looking for such documentation?

The AM335X Technical Reference Manual (page 156) has this description:

Block NameStart AddressEnd Address
USB1 Core 0x4740_1C00  0x4740_1FFF

Unfortunately, there are no details other than "USB1 Core".

-- 
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/7b775cf2-1e67-4d0e-bd37-77c343979c0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to disable SoftAp0 with address 192.168.8.1 on BBGW?

2016-07-03 Thread Stephane Charette

>
> And if like me you don't have a cell phone or other *bluetooth* device to 
> configure the wlan0 interface, I have that figured out and documented here: 
>  https://www.ccoderun.ca/programming/2016-06-29_BBGW/index.html#wifi
>


I meant to say *wifi*, not *bluetooth*.

Stéphane

-- 
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/99ad934e-9d3e-4045-9280-86d46b9cf0b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to disable SoftAp0 with address 192.168.8.1 on BBGW?

2016-07-03 Thread Stephane Charette

>
> SoftAp0 is created by the wifidog service: 
>
> wifidog-pre-startup.service 
> & 
> wifidog-gateway.service 
>
>
> https://github.com/rcn-ee/repos/blob/master/seeed-wificonfig-installer/suite/jessie/debian/wifidog_pre
>  
>
>

Thanks, Robert.

For anyone else running into this, here is the simplest solution I found to 
ensure wlan0 still comes up, SoftAp0 doesn't, and the nodejs process isn't 
started at bootup:

https://www.ccoderun.ca/programming/2016-06-29_BBGW/index.html#softap0


   - edit /usr/bin/wifidog_pre
   - at the top of the script, add this line:  touch /tmp/wifi.up
   - at the bottom of the script, comment out systemctl start of 
   wificonfig.service
   - at the bottom of the script, append these 2 additional lines:
   systemctl stopwificonfig.service || true
   systemctl disable wificonfig.service || true
   - save the file and reboot the device


And if like me you don't have a cell phone or other bluetooth device to 
configure the wlan0 interface, I have that figured out and documented here: 
 https://www.ccoderun.ca/programming/2016-06-29_BBGW/index.html#wifi

Stéphane

-- 
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/05a37a94-89f1-4e3c-8bff-b04f32e8e213%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] What is the latest BBGW image?

2016-07-02 Thread Stephane Charette
>> cannot seem to find one. The most recent Ubuntu image I see is this: 
>> 
>> 
http://rcn-ee.net/rootfs/2016-06-09/flasher/BBB-eMMC-flasher-ubuntu-16.04-console-armhf-2016-06-09-2gb.img.xz
 
>> 
>> But from the name, this image seems to be for the BBB, not BBGW. 
>
>It'll work fine for the bbgw, it's really for anything with an eMMC.. 


When I first tried it, I couldn't get the BBGW wifi working. Now that I've 
got it working with the 
BBGW-blank-debian-8.5-seeed-iot-armhf-2016-06-19-4gb image, I'll try my 
luck again with the Ubuntu image, since Ubuntu is what I want to eventually 
run on these devices. If there is an extra trick or package needed to get 
wireless working with your latest Ubuntu image, kindly point me to it.

Thank you, Robert.

Stéphane

-- 
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/8461fb5a-318a-4719-9eaf-0946ffbc2721%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] How to disable SoftAp0 with address 192.168.8.1 on BBGW?

2016-07-02 Thread Stephane Charette
I'm running  BBGW-blank-debian-8.5-seeed-iot-armhf-2016-06-19-4gb.img on a 
BBGW.  I've used connmanctl to configure the wifi network to which I want 
to connect, and everything is working OK so far.  On bootup, my BBGW does 
DHCP an address and I can ssh into it.

What I'd like to do now is disable the SoftAp0 interface with the 
192.168.8.1 address.  What is the correct/clean way to do this?

If I run "sudo systemctl disable wificonfig.service", then wifi doesn't 
come up at all the next time I reboot.

-- 
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/6e3aaf3a-5b52-47e2-819b-78d73a32108b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] What is the latest BBGW image?

2016-07-02 Thread Stephane Charette
Where would I find the most recent BBGW image?  Am I looking at the right 
place when I look at this:

http://rcn-ee.net/rootfs/bb.org/testing/2016-06-19/seeed-iot/BBGW-blank-debian-8.5-seeed-iot-armhf-2016-06-19-4gb.img.xz

Related question:  where would the latest BBGW *Ubuntu* image be located? 
 I cannot seem to find one.  The most recent Ubuntu image I see is this:

http://rcn-ee.net/rootfs/2016-06-09/flasher/BBB-eMMC-flasher-ubuntu-16.04-console-armhf-2016-06-09-2gb.img.xz

But from the name, this image seems to be for the BBB, not BBGW.

Thanks for pointers!

-- 
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/2030c7af-cb68-44d9-83da-d8e66bab0d08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] where to find config-pin?

2016-06-22 Thread Stephane Charette
I see some posts and examples that includes references to running 
config-pin.  But where is this tool?

root@bbg /# *config-pin --help*
fish: Unknown command 'config-pin'
root@bbg /# *find / | grep -i -c config-pin*
0

I'm running Robert C Nelson's Ubuntu 16.04 image on a BBG.

Stéphane

-- 
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/af014893-2c2e-475f-acd2-4e5d11f538c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Please suggest. How to disable kernel loading uart2 ?

2016-06-22 Thread Stephane Charette
On Sunday, February 7, 2016 at 10:37:04 AM UTC-8, RobertCNelson wrote:
>
> On Sun, Feb 7, 2016 at 11:15 AM, Pinit Asavanuchit  > wrote: 
> > 
> > I am using Debian 8.3 (BeagleBone, BeagleBone Black, Seeed BeagleBone 
> Green, 
> > Arrow BeagleBone Black Industrial - 4GB SD) 2016-01-24. on BBG 
> > I have notice that the kernel load ttyS1, ttyS2 at beginning of boot. 
> How 
> > can I tell the kernel stop doing that ? 
>
> Remove "cape_universal=enable" from /boot/uEnv.txt 
>


Is this the recommended way to get the right-hand-side Grove UART port to 
work in GPIO mode?  (Is that the correct terminology?)  I'm using Robert C 
Nelson's Ubuntu 16.04 image on a BBG.

I've tried various things I found over the web, including commenting out 
the cape_universal=enable text and reboot, but it doesn't seem to make a 
difference.  Code that I wrote to use the right-hand-side Grove UART port 
in GPIO mode was working with the older Ubuntu 14.04 image, but I cannot 
figure out what I need to change to make it work in the newer Ubuntu 16.04 
images.  Problem is I'm a newbie at BB and Groves, and not even sure what 
to try and debug.

Stéphane

-- 
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/10670159-e2c2-44bf-8b97-4c61a13d89e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] How to use the Grove-UART port for GPIO on BBG?

2016-06-21 Thread Stephane Charette
I see several examples on the web on how to use the Grove-UART port for 
GPIO.  They talk about modifying a line in /boot/uEnv.txt:

For example, this 
page 
http://www.seeedstudio.com/recipe/index.php?controller=recipe=show_id=362=product

...states in somewhat broken English:

Then blocking “cape_enable=capemgr.enable_partno=BB-UART2” just as the 
> picture below shows.
> #cape_enable=capemgr.enable_partno=BB-UART2


But looking in /boot/uEnv.txt, I'm not seeing this exact line to comment 
out.  I'm running Robert Nelson's Ubuntu 16.04 image.

There are hints that a better method exists to do what I want.  References 
like this one from 10 months ago:

"Using cape-universal is a better way to enable UART2 these days, rather 
> than forcing it in uEnv.txt. Most of the Python libraries know how to load 
> the required cape overlay to enable UART2 and this should be checked."


Can someone point me to the right place for me to understand what I need to 
do?  In the end, I want to do is connect a Grove GPIO twig (such as Seeed's 
chainable RGB LED) to the right-hand-side Grove port.

Thanks.

-- 
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/9ac7ce03-d60b-49fe-b6b6-4f73a4c4fe77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.