[beagleboard] Re: Remote Display with BeagleBone Black

2017-06-29 Thread sajeevan k
Hi all,

Remote Display finely working for desktop. I need to work it for display 
with x-window-manager also. Any comments ...
Thanks in advance for the help.


Thanks & Regards,
Sajeevan.K

On Wednesday, June 28, 2017 at 5:17:12 PM UTC+5:30, sajeevan k wrote:
>
> Hi all,
>
> We needed to implement a Remote Display in Beaglebone black with Debian 
> Jessie image.
>
> For that I proceeded as per the link 
> http://eionix.blogspot.in/2015/02/remote-access-your-beaglebone-black.html
> .
>
> And whatever displayed in BBB local HDMI desktop is displayed in the 
> remote laptop display also.
>
> As per the link mentioned above, we have to use the following command in 
> BBB(act as vnc server).
>
> x11vnc -auth /var/run/lightdm/root/:0 -forever
>
> And in remote laptop with Ubuntu 16.04 LTS, we have run the command
>
> vinagre 192.168.7.2::5900.
>
> But when I run my GUI application with startx command(and applications 
> will be called from the file ~/.xinitrc), the applications appear on local 
> BBB display, but it is not coming on Remote Laptop Display. Remote Display 
> shows only the previous Desktop of BBB.
>
> I think, it is showing the desktop, because of the X Authority file 
> /var/run/lightdm/root/:0. 
> When we execute startx, the display manager used is 
> /etc/alternatives/x-window-manager. What should be the X Authority file for 
> x-window-manager, that I should place in x11vnc command, for the remote 
> display of my application?
>
>
> Thanks in advance for the help.
>
>
> Thanks & Regards,
> Sajeevan.K
>
>
>

-- 
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/739257d7-1728-4b9e-ac49-e86931366022%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: DPRAM interface with BBB

2017-06-29 Thread sajeevan k
Hi all,

Any comments about the feasibility of DPRAM interface with BeagleBone Black 
will be highly appreciated? Please...


Thanks & Regards,
Sajeevan.K

On Tuesday, June 27, 2017 at 1:59:51 PM UTC+5:30, sajeevan k wrote:
>
> Hi all,
>
>
> Is it possible to interface an Asynchronous DPRAM (with 16 address lines 
> and 16 data lines) with BBB?
>
>
> Is there any block diagram (circuit diagram), which shows the connections, 
> available?
>
>
> Can we use GPMC_ADO-GPMC-AD15 pins as Address and Data mux pins with 
> GPMC_ADVN_ALE?
>
>
> Also I think GPMC_Ax pins are not required, since we can use Address-Data 
> multiplexing with ALE signal.
>
>
> I think all the required pins are coming out in P8 connector. 
>
> 1) GPMC_ADO-GPMC-AD15
>
> 2) GPMC_ADVN_ALE
>
> 3) GPMC_WEN
>
> 4) GPMC_OEN_REN
>
> 5) GPMC_BE1N
>
> 6) GPMC_CSN0
>
>
> But GMC_AD0-GPMC-AD7 are also connected to MMC1_D0 to MMC1_D7. Will this 
> cause any problem to the functoining of DPRAM? Or will the DPRAM 
> functioning cause any problem to MMC1.
>
>
> Have anybody interfaced DPRAM with BBB? Please share your experience. 
>
>
> Thanks and Regards,
>
> Sajeevan.K
>

-- 
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/d01d7261-4cad-49b1-965f-4bc3a0e847c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-29 Thread Mala Dies
Here are some print outs from a recent run from my software on the BBGW.

Seth


P.S. Here is the picture: 

On Thursday, June 29, 2017 at 10:05:07 PM UTC-5, Mala Dies wrote:
>
> Oh and my print out was 0.057.
>
> Seth
>
> On Thursday, June 29, 2017 at 10:04:01 PM UTC-5, Mala Dies wrote:
>>
>> Hello,
>>
>> I used cosole.log to print out the name and value of reading.value.
>>
>> Seth
>>
>> On Thursday, June 29, 2017 at 8:50:44 PM UTC-5, Jason Kridner wrote:
>>>
>>>
>>>
>>> On Jun 29, 2017, at 9:21 PM, Mala Dies  wrote:
>>>
>>> Hello Rob,
>>>
>>> Seth here. I am located in the states. There is a big fault and I am not 
>>> clued in, obviously. How is F == C? I figured that there would be a part to 
>>> the software, the section that displays the difference, that tells me/you 
>>> the C and F reads. 
>>>
>>> Seth
>>>
>>> P.S. I am in about an 80 degree temp. right now. So, do I need to 
>>> replace "reading.value" with an actual numerical value? I will keep trying.
>>>
>>>
>>> Try printing the reading.value. I expect you have a wiring issue. Double 
>>> check it is connected to P9.39. 
>>>
>>>
>>> On Thursday, June 29, 2017 at 8:06:01 PM UTC-5, RobertCNelson wrote:



 On Thu, Jun 29, 2017 at 7:46 PM, Mala Dies  wrote:

> var b = require('bonescript');
>
> function readTemp() {
> b.analogRead('P9_39', displayTemp);
> }
>
> function displayTemp(reading) {
> var millivolts = reading.value * 1800;
> var tempC = (millivolts - 500) / 10;
> var tempF = (tempC * 9/5) + 32
> console.log("TempC = " + tempC + "\t Temp F = " + tempF);
> }
>
> setInterval(readTemp, 10);
>
> Okay...
>
> This is my software from "Programming the BeagleBone Black" in the 
> "hardware interfacing" section. I am messing with a TMP36 sensor for 
> analog 
> temp. reads.
>
> The issue is this:
>
> I keep getting a similar read for my C and F reads. I should be able 
> to get the F read but unfortunately, I get the same as the C read.
>
> Seth
>
>
> 
> P.S. Try your TMP36 sensor and this software and get back to me. I 
> would love to know about the value(s) I am creating and why they are 
> returning the listed read(s). Oh and here is a photo. See!
>


 You must live near the equator... ;)

 -40F == -40C

 This is something norther folk in America & Canada run into every once 
 in awhile in January...

 Regards,

 -- 
 Robert Nelson
 https://rcn-ee.com/

>>> -- 
>>> For more options, visit http://beagleboard.org/discuss
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to beagleboard...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/beagleboard/8f5983df-3ad6-47c5-9bae-2f11230984af%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>

-- 
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/de32b5d9-8e1d-4aab-934d-afc7063e2a70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-29 Thread Mala Dies
Oh and my print out was 0.057.

Seth

On Thursday, June 29, 2017 at 10:04:01 PM UTC-5, Mala Dies wrote:
>
> Hello,
>
> I used cosole.log to print out the name and value of reading.value.
>
> Seth
>
> On Thursday, June 29, 2017 at 8:50:44 PM UTC-5, Jason Kridner wrote:
>>
>>
>>
>> On Jun 29, 2017, at 9:21 PM, Mala Dies  wrote:
>>
>> Hello Rob,
>>
>> Seth here. I am located in the states. There is a big fault and I am not 
>> clued in, obviously. How is F == C? I figured that there would be a part to 
>> the software, the section that displays the difference, that tells me/you 
>> the C and F reads. 
>>
>> Seth
>>
>> P.S. I am in about an 80 degree temp. right now. So, do I need to replace 
>> "reading.value" with an actual numerical value? I will keep trying.
>>
>>
>> Try printing the reading.value. I expect you have a wiring issue. Double 
>> check it is connected to P9.39. 
>>
>>
>> On Thursday, June 29, 2017 at 8:06:01 PM UTC-5, RobertCNelson wrote:
>>>
>>>
>>>
>>> On Thu, Jun 29, 2017 at 7:46 PM, Mala Dies  wrote:
>>>
 var b = require('bonescript');

 function readTemp() {
 b.analogRead('P9_39', displayTemp);
 }

 function displayTemp(reading) {
 var millivolts = reading.value * 1800;
 var tempC = (millivolts - 500) / 10;
 var tempF = (tempC * 9/5) + 32
 console.log("TempC = " + tempC + "\t Temp F = " + tempF);
 }

 setInterval(readTemp, 10);

 Okay...

 This is my software from "Programming the BeagleBone Black" in the 
 "hardware interfacing" section. I am messing with a TMP36 sensor for 
 analog 
 temp. reads.

 The issue is this:

 I keep getting a similar read for my C and F reads. I should be able to 
 get the F read but unfortunately, I get the same as the C read.

 Seth


 
 P.S. Try your TMP36 sensor and this software and get back to me. I 
 would love to know about the value(s) I am creating and why they are 
 returning the listed read(s). Oh and here is a photo. See!

>>>
>>>
>>> You must live near the equator... ;)
>>>
>>> -40F == -40C
>>>
>>> This is something norther folk in America & Canada run into every once 
>>> in awhile in January...
>>>
>>> Regards,
>>>
>>> -- 
>>> Robert Nelson
>>> https://rcn-ee.com/
>>>
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to beagleboard...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beagleboard/8f5983df-3ad6-47c5-9bae-2f11230984af%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>

-- 
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/f42a33e3-b23a-4b5e-a727-a2d6bad64f99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-29 Thread Mala Dies
Hello,

I used cosole.log to print out the name and value of reading.value.

Seth

On Thursday, June 29, 2017 at 8:50:44 PM UTC-5, Jason Kridner wrote:
>
>
>
> On Jun 29, 2017, at 9:21 PM, Mala Dies  
> wrote:
>
> Hello Rob,
>
> Seth here. I am located in the states. There is a big fault and I am not 
> clued in, obviously. How is F == C? I figured that there would be a part to 
> the software, the section that displays the difference, that tells me/you 
> the C and F reads. 
>
> Seth
>
> P.S. I am in about an 80 degree temp. right now. So, do I need to replace 
> "reading.value" with an actual numerical value? I will keep trying.
>
>
> Try printing the reading.value. I expect you have a wiring issue. Double 
> check it is connected to P9.39. 
>
>
> On Thursday, June 29, 2017 at 8:06:01 PM UTC-5, RobertCNelson wrote:
>>
>>
>>
>> On Thu, Jun 29, 2017 at 7:46 PM, Mala Dies  wrote:
>>
>>> var b = require('bonescript');
>>>
>>> function readTemp() {
>>> b.analogRead('P9_39', displayTemp);
>>> }
>>>
>>> function displayTemp(reading) {
>>> var millivolts = reading.value * 1800;
>>> var tempC = (millivolts - 500) / 10;
>>> var tempF = (tempC * 9/5) + 32
>>> console.log("TempC = " + tempC + "\t Temp F = " + tempF);
>>> }
>>>
>>> setInterval(readTemp, 10);
>>>
>>> Okay...
>>>
>>> This is my software from "Programming the BeagleBone Black" in the 
>>> "hardware interfacing" section. I am messing with a TMP36 sensor for analog 
>>> temp. reads.
>>>
>>> The issue is this:
>>>
>>> I keep getting a similar read for my C and F reads. I should be able to 
>>> get the F read but unfortunately, I get the same as the C read.
>>>
>>> Seth
>>>
>>>
>>> 
>>> P.S. Try your TMP36 sensor and this software and get back to me. I would 
>>> love to know about the value(s) I am creating and why they are returning 
>>> the listed read(s). Oh and here is a photo. See!
>>>
>>
>>
>> You must live near the equator... ;)
>>
>> -40F == -40C
>>
>> This is something norther folk in America & Canada run into every once in 
>> awhile in January...
>>
>> Regards,
>>
>> -- 
>> Robert Nelson
>> https://rcn-ee.com/
>>
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/8f5983df-3ad6-47c5-9bae-2f11230984af%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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/fd4ea981-c841-4184-9a0d-9b6b3e3991ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-29 Thread Mala Dies
Hello,

How can I print out the reading.value?

Seth

On Thursday, June 29, 2017 at 8:50:44 PM UTC-5, Jason Kridner wrote:
>
>
>
> On Jun 29, 2017, at 9:21 PM, Mala Dies  
> wrote:
>
> Hello Rob,
>
> Seth here. I am located in the states. There is a big fault and I am not 
> clued in, obviously. How is F == C? I figured that there would be a part to 
> the software, the section that displays the difference, that tells me/you 
> the C and F reads. 
>
> Seth
>
> P.S. I am in about an 80 degree temp. right now. So, do I need to replace 
> "reading.value" with an actual numerical value? I will keep trying.
>
>
> Try printing the reading.value. I expect you have a wiring issue. Double 
> check it is connected to P9.39. 
>
>
> On Thursday, June 29, 2017 at 8:06:01 PM UTC-5, RobertCNelson wrote:
>>
>>
>>
>> On Thu, Jun 29, 2017 at 7:46 PM, Mala Dies  wrote:
>>
>>> var b = require('bonescript');
>>>
>>> function readTemp() {
>>> b.analogRead('P9_39', displayTemp);
>>> }
>>>
>>> function displayTemp(reading) {
>>> var millivolts = reading.value * 1800;
>>> var tempC = (millivolts - 500) / 10;
>>> var tempF = (tempC * 9/5) + 32
>>> console.log("TempC = " + tempC + "\t Temp F = " + tempF);
>>> }
>>>
>>> setInterval(readTemp, 10);
>>>
>>> Okay...
>>>
>>> This is my software from "Programming the BeagleBone Black" in the 
>>> "hardware interfacing" section. I am messing with a TMP36 sensor for analog 
>>> temp. reads.
>>>
>>> The issue is this:
>>>
>>> I keep getting a similar read for my C and F reads. I should be able to 
>>> get the F read but unfortunately, I get the same as the C read.
>>>
>>> Seth
>>>
>>>
>>> 
>>> P.S. Try your TMP36 sensor and this software and get back to me. I would 
>>> love to know about the value(s) I am creating and why they are returning 
>>> the listed read(s). Oh and here is a photo. See!
>>>
>>
>>
>> You must live near the equator... ;)
>>
>> -40F == -40C
>>
>> This is something norther folk in America & Canada run into every once in 
>> awhile in January...
>>
>> Regards,
>>
>> -- 
>> Robert Nelson
>> https://rcn-ee.com/
>>
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/8f5983df-3ad6-47c5-9bae-2f11230984af%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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/31e69e96-2de3-4424-93c1-263e57c19a80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-29 Thread Jason Kridner


> On Jun 29, 2017, at 9:21 PM, Mala Dies  wrote:
> 
> Hello Rob,
> 
> Seth here. I am located in the states. There is a big fault and I am not 
> clued in, obviously. How is F == C? I figured that there would be a part to 
> the software, the section that displays the difference, that tells me/you the 
> C and F reads. 
> 
> Seth
> 
> P.S. I am in about an 80 degree temp. right now. So, do I need to replace 
> "reading.value" with an actual numerical value? I will keep trying.

Try printing the reading.value. I expect you have a wiring issue. Double check 
it is connected to P9.39. 

> 
>> On Thursday, June 29, 2017 at 8:06:01 PM UTC-5, RobertCNelson wrote:
>> 
>> 
>>> On Thu, Jun 29, 2017 at 7:46 PM, Mala Dies  wrote:
>>> var b = require('bonescript');
>>> 
>>> function readTemp() {
>>> b.analogRead('P9_39', displayTemp);
>>> }
>>> 
>>> function displayTemp(reading) {
>>> var millivolts = reading.value * 1800;
>>> var tempC = (millivolts - 500) / 10;
>>> var tempF = (tempC * 9/5) + 32
>>> console.log("TempC = " + tempC + "\t Temp F = " + tempF);
>>> }
>>> 
>>> setInterval(readTemp, 10);
>>> 
>>> Okay...
>>> 
>>> This is my software from "Programming the BeagleBone Black" in the 
>>> "hardware interfacing" section. I am messing with a TMP36 sensor for analog 
>>> temp. reads.
>>> 
>>> The issue is this:
>>> 
>>> I keep getting a similar read for my C and F reads. I should be able to get 
>>> the F read but unfortunately, I get the same as the C read.
>>> 
>>> Seth
>>> 
>>> 
>>> 
>>> P.S. Try your TMP36 sensor and this software and get back to me. I would 
>>> love to know about the value(s) I am creating and why they are returning 
>>> the listed read(s). Oh and here is a photo. See!
>> 
>> 
>> You must live near the equator... ;)
>> 
>> -40F == -40C
>> 
>> This is something norther folk in America & Canada run into every once in 
>> awhile in January...
>> 
>> Regards,
>> 
>> -- 
>> Robert Nelson
>> https://rcn-ee.com/
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/8f5983df-3ad6-47c5-9bae-2f11230984af%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/D239A851-180C-49AF-8106-B205214E3CA5%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-29 Thread Jason Kridner


> On Jun 29, 2017, at 9:28 PM, Robert Nelson  wrote:
> 
> 
> 
>> On Thu, Jun 29, 2017 at 8:21 PM, Mala Dies  wrote:
>> Hello Rob,
>> 
>> Seth here. I am located in the states. There is a big fault and I am not 
>> clued in, obviously. How is F == C?
> 
> Your values are correct:
> 
> -39.58241C = -39.2483F
> 
> -40C = -40F
> 0C = 32F
> 100C = 212F
> 
>  
>> I figured that there would be a part to the software, the section that 
>> displays the difference, that tells me/you the C and F reads. 
>> 
>> Seth
>> 
>> P.S. I am in about an 80 degree temp. right now. So, do I need to replace 
>> "reading.value" with an actual numerical value? I will keep trying.
> 
> var millivolts = reading.value * 1800;
> 
> That's not right..
> 
> var millivolts = (reading.value / 4096.0) * 1800;
> 
> i think...

BoneScripts's analogRead tries to normalize the value from 0 to 1 (full scale, 
i.e. 1.8V). I don't rule out a bug as drivers have changed in reporting 
millivolts or raw values. 

> 
> Regards,
> 
> -- 
> Robert Nelson
> https://rcn-ee.com/
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/CAOCHtYhArOtm66Zf2vkCsSfjKzpqz7B9u6iGDYwhe4NUCx%3D17A%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/A3B93C68-11C0-4BFB-B670-0591F1B4C777%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: How to Install Coreboot on BeagleBone Black

2017-06-29 Thread Tuan Vu
Hi,

After some digging around on the Internet, I found that the BBB has 2 boot 
modes: SD mode and eMMC mode.

I believe that if you create a bootable coreboot image and put it on the SD 
card, you can test out the image without fear of bricking your BBB. You can 
also optionally flash the eMMC to make the image permanent. There should be 
plenty of resources out there on how to do either method.

Haven't tested it out myself though :)

On Saturday, April 1, 2017 at 7:23:13 AM UTC-4, Jan Jaap wrote:
>
> Hi!
>
> I noticed that Coreboot has added official support for the BeagleBone 
> Black but I could not find any information or instructions on how to 
> install it.
>
> http://www.phoronix.com/scan.php?page=news_item=MTM3ODg
> https://www.coreboot.org/ARM
>
>
> 
>
>
> I have the following question:
>
> Is an SPI programmer required to flash the bios of the BeagleBone? If not, 
> does anyone have a link to instructions on how to flash the bios of a 
> BeagleBone?
>
> Thanks in advance for the help!
>

-- 
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/753215c8-57c4-42fa-8d3c-30765283964c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-29 Thread Robert Nelson
On Thu, Jun 29, 2017 at 8:21 PM, Mala Dies  wrote:

> Hello Rob,
>
> Seth here. I am located in the states. There is a big fault and I am not
> clued in, obviously. How is F == C?
>

Your values are correct:

-39.58241C = -39.2483F

-40C = -40F
0C = 32F
100C = 212F



> I figured that there would be a part to the software, the section that
> displays the difference, that tells me/you the C and F reads.
>
> Seth
>
> P.S. I am in about an 80 degree temp. right now. So, do I need to replace
> "reading.value" with an actual numerical value? I will keep trying.
>

var millivolts = reading.value * 1800;

That's not right..

var millivolts = (reading.value / 4096.0) * 1800;

i think...

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYhArOtm66Zf2vkCsSfjKzpqz7B9u6iGDYwhe4NUCx%3D17A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] RE: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-29 Thread Robert Nelson
On Thu, Jun 29, 2017 at 7:46 PM, Mala Dies  wrote:

> var b = require('bonescript');
>
> function readTemp() {
> b.analogRead('P9_39', displayTemp);
> }
>
> function displayTemp(reading) {
> var millivolts = reading.value * 1800;
> var tempC = (millivolts - 500) / 10;
> var tempF = (tempC * 9/5) + 32
> console.log("TempC = " + tempC + "\t Temp F = " + tempF);
> }
>
> setInterval(readTemp, 10);
>
> Okay...
>
> This is my software from "Programming the BeagleBone Black" in the
> "hardware interfacing" section. I am messing with a TMP36 sensor for analog
> temp. reads.
>
> The issue is this:
>
> I keep getting a similar read for my C and F reads. I should be able to
> get the F read but unfortunately, I get the same as the C read.
>
> Seth
>
>
> 
> P.S. Try your TMP36 sensor and this software and get back to me. I would
> love to know about the value(s) I am creating and why they are returning
> the listed read(s). Oh and here is a photo. See!
>


You must live near the equator... ;)

-40F == -40C

This is something norther folk in America & Canada run into every once in
awhile in January...

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgH5k%3D7jqyqALHx_VNtTvgWDeKG1YGx9MTa9FrjLr%2BamQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] RE: Um...My Temp in F Degrees is the Same as the C Degrees/Dang!

2017-06-29 Thread Mala Dies
var b = require('bonescript');

function readTemp() {
b.analogRead('P9_39', displayTemp);
}

function displayTemp(reading) {
var millivolts = reading.value * 1800;
var tempC = (millivolts - 500) / 10;
var tempF = (tempC * 9/5) + 32
console.log("TempC = " + tempC + "\t Temp F = " + tempF);
}

setInterval(readTemp, 10);

Okay...

This is my software from "Programming the BeagleBone Black" in the 
"hardware interfacing" section. I am messing with a TMP36 sensor for analog 
temp. reads.

The issue is this:

I keep getting a similar read for my C and F reads. I should be able to get 
the F read but unfortunately, I get the same as the C read.

Seth


P.S. Try your TMP36 sensor and this software and get back to me. I would 
love to know about the value(s) I am creating and why they are returning 
the listed read(s). Oh and here is a photo. See!

-- 
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/0fc486b7-a15f-46bb-aa4a-622b847b70da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Can't import pyserial or serial in python 3.4 2017-03 Debian

2017-06-29 Thread zliudr
Thanks but this command produces an error:



*debian@beaglebone:~$ python3 -m pip list/usr/bin/python3: No module named 
pip*
How do I install a pip3 or pip for python3? I tried a few combinations with 
apt-get and couldn't find what to install. I thought that BBB is probably 
not optimized to run python3 code otherwise these facilities should have 
been in place for the average python person.

Best,

On Thursday, June 29, 2017 at 9:56:06 AM UTC-5, Brett Hamilton wrote:
>
> The python module in pyserial is called serial, so no mystery there.
>
> To run a version of pip for your python3.4 you can use "python3 -m pip 
> [pip args]".
>

-- 
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/96b2d069-44e8-4c26-9993-e7d78bbbe112%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connecting/configuring ublox M8n GPS to Mission Planner Passthrough with BBBlu

2017-06-29 Thread Timothy Litvin


Robert, Easy enough: I’ve deleted the dtb=am335x-boneblue-ArduPilot.dtb 
from /boot/uEnv.txt and rebooted. So, explicitly, the Blue-Ardupilot recipe 
line #3 Add BLUE DTB 

sudo sed -i 's/#dtb=$/dtb=am335x-boneblue-ArduPilot.dtb/' /boot/uEnv.txt

is now obsolete with Jason’s recent DTB fix.  Now I get: 


kimo@beaglebone:~$ sudo /opt/scripts/tools/version.sh

[sudo] password for kimo:

git:/opt/scripts/:[6d017b3c0902fd4e67fa6ef4801139da9a1726d6]

eeprom:[A335BNLTBLA21712EL005600]

dogtag:[BeagleBoard.org Debian Image 2017-02-19]

bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
2017.03-rc2-2-g11d4fd]

kernel:[4.4.68-ti-rt-r111]

nodejs:[v4.8.3]

However, having done so hasn’t yet gotten a GPS signal through. A query

desmg | grep tty 

returns the same Port report I’ve gotten all along (included in the 
original post). I’ve nevertheless tried the blue-arduplane/Mission Planner 
with various parameters, e.g., 

 sudo /usr/bin/ardupilot/blue-arduplane -C udp:192.168.8.132:14550 -B 
/dev/ttyO2

that continue to transmit telemetry without GPS.

I’ve verified that I’m updated on Debian, blue-arduplane and the RT kernel. 
 

On Thursday, June 29, 2017 at 9:50:51 AM UTC-7, RobertCNelson wrote:
>
> On Thu, Jun 29, 2017 at 11:44 AM, Timothy Litvin  > wrote: 
> > debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh 
> > git:/opt/scripts/:[6d017b3c0902fd4e67fa6ef4801139da9a1726d6] 
> > eeprom:[A335BNLTBLA21712EL005600] 
> > dogtag:[BeagleBoard.org Debian Image 2017-02-19] 
> > bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
> > 2017.03-rc2-2-g11d4fd] 
> > kernel:[4.4.68-ti-rt-r111] 
> > nodejs:[v4.8.3] 
> > device-tree-override:[dtb=am335x-boneblue-ArduPilot.dtb] 
>
> You don't need this /boot/uEnv.txt dtb modification 
>
> Jason fixed the base/default: am335x-boneblue.dtb last week? (maybe 2 
> weeks ago) 
>
> So just remove the dtb=am335x-boneblue-ArduPilot.dtb from /boot/uEnv.txt 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/6e5146d2-2aa7-4b24-a373-4c93d84998b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBGW crash

2017-06-29 Thread Sebastián Sáez
ok, 

thanks for the answers

On Thursday, June 29, 2017 at 5:33:33 PM UTC-4, RobertCNelson wrote:
>
> On Thu, Jun 29, 2017 at 4:28 PM, Sebastián Sáez  > wrote: 
> > Robert, 
> > When converting a seeedstudio image, does it install bone101 or cloud9? 
> > I can not install it because it gives root access to anyone connecting 
> to AP 
>
> Yeah, seeed-wificonfig-installer requires bone101... 
>
>
> https://github.com/rcn-ee/repos/blob/master/seeed-wificonfig-installer/suite/jessie/debian/control#L11
>  
>
> so i see what you mean.. 
>
> ps, in stretch, cloud9 is locked down to the "debian" user.. it's no 
> longer root.. 
>
> > Please recommend me some network pwr relay ? 
>
> this is favorite one: 
>
> http://www.robot-electronics.co.uk/eth8020-20-x-16a-ethernet-relay.html 
>
> right now, the one i have has 17 bone/bone varients hooked up... 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/c1320014-8e88-4ae9-ac94-65770370e10e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBGW crash

2017-06-29 Thread Robert Nelson
On Thu, Jun 29, 2017 at 4:28 PM, Sebastián Sáez  wrote:
> Robert,
> When converting a seeedstudio image, does it install bone101 or cloud9?
> I can not install it because it gives root access to anyone connecting to AP

Yeah, seeed-wificonfig-installer requires bone101...

https://github.com/rcn-ee/repos/blob/master/seeed-wificonfig-installer/suite/jessie/debian/control#L11

so i see what you mean..

ps, in stretch, cloud9 is locked down to the "debian" user.. it's no
longer root..

> Please recommend me some network pwr relay ?

this is favorite one:

http://www.robot-electronics.co.uk/eth8020-20-x-16a-ethernet-relay.html

right now, the one i have has 17 bone/bone varients hooked up...

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYieZf35JhcRot%2BpPuQ20seUU1FB5SMODJzg14CnTCFrCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBGW crash

2017-06-29 Thread Sebastián Sáez
Robert,
When converting a seeedstudio image, does it install bone101 or cloud9?
I can not install it because it gives root access to anyone connecting to AP

Please recommend me some network pwr relay ?

On Thursday, June 29, 2017 at 5:00:26 PM UTC-4, RobertCNelson wrote:
>
> On Thu, Jun 29, 2017 at 3:49 PM, Sebastián Sáez  > wrote: 
> > Good tips Greg, thank you. 
> > I would like to use one of these IOT images but I need wifidog so my 
> users 
> > can configure the home wifi. 
> > 
> > I tried installing wifidog with these instructions without luck 
> > Https://github.com/Pillar1989/wifidog-server 
>
> sudo apt update 
> sudo apt install seeed-wificonfig-installer wifidog-gateway 
>
> (that's what converts an iot image to a seeed-iot image) 
>
> > Is there any alternative to wifidog ?, my users do not know linux how to 
> use 
> > connmanctl 
>
> I'd like to find a "simpler" nodejs app to talk from a web-browser and 
> connman.. 
>
> > 
> > Robert, I have another question for you, 
> > Is it convenient to remotely update the kernel on a machine that I do 
> not 
> > have physical access, is it possible to block it? 
>
> I do all the time. ;) 
>
> but i have a network pwr relay i can ping to reset the board's power.. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/76a44a25-9fc7-4913-94c8-5ebf024b012a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBGW crash

2017-06-29 Thread Robert Nelson
On Thu, Jun 29, 2017 at 3:49 PM, Sebastián Sáez  wrote:
> Good tips Greg, thank you.
> I would like to use one of these IOT images but I need wifidog so my users
> can configure the home wifi.
>
> I tried installing wifidog with these instructions without luck
> Https://github.com/Pillar1989/wifidog-server

sudo apt update
sudo apt install seeed-wificonfig-installer wifidog-gateway

(that's what converts an iot image to a seeed-iot image)

> Is there any alternative to wifidog ?, my users do not know linux how to use
> connmanctl

I'd like to find a "simpler" nodejs app to talk from a web-browser and connman..

>
> Robert, I have another question for you,
> Is it convenient to remotely update the kernel on a machine that I do not
> have physical access, is it possible to block it?

I do all the time. ;)

but i have a network pwr relay i can ping to reset the board's power..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjQNjyc0jw56fOkTzcA6FAsvNdwJ%2BDxvuNSuB43AhGQrw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BBGW crash

2017-06-29 Thread Sebastián Sáez
Good tips Greg, thank you.
I would like to use one of these IOT images but I need *wifidog *so my 
users can configure the home wifi.

I tried installing wifidog with these instructions without luck
Https://github.com/Pillar1989/wifidog-server

Is there any alternative to wifidog ?, my users do not know linux how to 
use connmanctl


Robert, I have another question for you,
Is it convenient to remotely update the kernel on a machine that I do not 
have physical access, is it possible to block it?


regards,
Sebastián

On Wednesday, June 28, 2017 at 6:29:49 PM UTC-4, Greg wrote:
>
> I've got a BBGW bolted to the side of my house exposed to a sub-tropical 
> climate.
> I'm running without benefit of a UPS.  My home has a "whole" house surge 
> suppressor.
> I suppose the little 5V "wall wart" switching power supply is providing 
> some isolation.
>
> The WIFI is solid and quite reliable.  I have seen a few instances where I 
> had to reboot the board when the WIFI dropped, however,
> with the board in its remote location I am less motivated to analyze the 
> problem.
> I reboot by flipping a breaker in the main house panel in the garage.
> WIFI has consistently come back up after reboot.
>
> This area is one of the top areas in the world for lightning strikes, and 
> the AC power is often very glitchy.
>
> I'm surprised it has survived this long.  I'm totally satisfied with the 
> level of reliability so far.
> It will be interesting to see if the BBGW survives the long, hot summer.
>
> The kernel info:
>
> Linux beaglebone 4.4.48-ti-r88 #1 SMP Sun Feb 12 01:06:00 UTC 2017 armv7l 
> GNU/Linux
>
> I think the above is from the March version IOT Debian image at 
> beagleboard.org.
>
> Greg
>

-- 
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/88a265eb-ce68-4d4f-9ffb-46d583f82a37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connecting/configuring ublox M8n GPS to Mission Planner Passthrough with BBBlu

2017-06-29 Thread Timothy Litvin
Easy enough: I've removed that line from /boot/uEnv.txt, confirmed updates 
and rebooted. Screenshot from subsequent "sudo 
opt/scripts/tools/version.sh" included with my reply to Jason. Restarted 
and reconnected everything. So far, still no GPS connection. BTW, from 
Jason's One-Liner GPS test, I tried using an blue-arduplane GPS parameter 
of -F /dev/ttyO2, but have tried monkeying with the originally posted 
guidelines -B and /dev/ttyO5, and -B /dev/ttyO2 . 


On Thursday, June 29, 2017 at 9:50:51 AM UTC-7, RobertCNelson wrote:
>
> On Thu, Jun 29, 2017 at 11:44 AM, Timothy Litvin  > wrote: 
> > debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh 
> > git:/opt/scripts/:[6d017b3c0902fd4e67fa6ef4801139da9a1726d6] 
> > eeprom:[A335BNLTBLA21712EL005600] 
> > dogtag:[BeagleBoard.org Debian Image 2017-02-19] 
> > bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
> > 2017.03-rc2-2-g11d4fd] 
> > kernel:[4.4.68-ti-rt-r111] 
> > nodejs:[v4.8.3] 
> > device-tree-override:[dtb=am335x-boneblue-ArduPilot.dtb] 
>
> You don't need this /boot/uEnv.txt dtb modification 
>
> Jason fixed the base/default: am335x-boneblue.dtb last week? (maybe 2 
> weeks ago) 
>
> So just remove the dtb=am335x-boneblue-ArduPilot.dtb from /boot/uEnv.txt 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/d954dd30-2e98-4fd9-bc99-7f48f40c7efa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to turn off the WL1835MOD of BBBW?

2017-06-29 Thread Robert Nelson
On Thu, Jun 29, 2017 at 2:08 PM, Michael Zou  wrote:
> Thank you very much. But how to Remove the FB1? Could you shed some light on
> how to do that?

Solder iron..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYiHYpx0ygbto1sQbck0Zy31ctpuk4HghAw3ipi4RRcF6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to turn off the WL1835MOD of BBBW?

2017-06-29 Thread Michael Zou
Thank you very much. But how to Remove the FB1? Could you shed some light
on how to do that?
On Thu, Jun 29, 2017 at 15:02 Robert Nelson  wrote:

> On Thu, Jun 29, 2017 at 1:08 PM,   wrote:
> > Hi, everyone. I'm testing the power consumption of the WL1835MOD of
> BBBW. So
> > I need to turn the WL1835MOD off and on to check the power consuming
> > difference. I have tried several ways to turn it off but failed. The
> ways I
> > tried:
> >
> > ifconfig wlan0 down. No power consuming difference is observed. The WL
> led
> > is still on after I tried the command. I guess the WiFi was not really
> off.
> > According to
> > (
> http://processors.wiki.ti.com/index.php/WiLink8_WLAN_Demo:_Linux#Configuring_the_Target
> ,
> > "For low-power modes, the WL18xx chip can be held in a suspend/shutdown
> mode
> > where it will draw minimal current in order to preserve battery
> > life/minimize power draw. These commands can be run on any supported
> > platform, including, but not limited to, the AM335x, AM437x, AM57x, and
> > BeagleBone." After I followed the below instructions, almost every thing
> on
> > the BBBW was turned off. But I only need the WL1835MOD to turn off.
> >
> > mount -t debugfs debugfs /tmp/
> > echo 1 > /tmp/pm_debug/enable_off_mode
> > mount -t debugfs debugfs /tmp/
> >
> > According to
> > (http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays),
> I
> > could disable WL1835MOD to boot by uncommenting
> > #disable_uboot_overlay_wireless=1, but the wifi and bluetooth still boot
> up
> > after I restarted the BBBW.
> >
> > Does anyone has any idea how to turn off the WL1835MOD? Thank you.
>
> Removing FB1 would do the trick:
>
>
> https://github.com/beagleboard/beaglebone-black-wireless/blob/master/BeagleBone_Black_Wireless_SCH.pdf
>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.com/
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAMGS9F7-5Z3KuQ12_XzH-w%2Bqia69x%3DYmOcQERObzKK9pQecQOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] How to turn off the WL1835MOD of BBBW?

2017-06-29 Thread Robert Nelson
On Thu, Jun 29, 2017 at 1:08 PM,   wrote:
> Hi, everyone. I'm testing the power consumption of the WL1835MOD of BBBW. So
> I need to turn the WL1835MOD off and on to check the power consuming
> difference. I have tried several ways to turn it off but failed. The ways I
> tried:
>
> ifconfig wlan0 down. No power consuming difference is observed. The WL led
> is still on after I tried the command. I guess the WiFi was not really off.
> According to
> (http://processors.wiki.ti.com/index.php/WiLink8_WLAN_Demo:_Linux#Configuring_the_Target,
> "For low-power modes, the WL18xx chip can be held in a suspend/shutdown mode
> where it will draw minimal current in order to preserve battery
> life/minimize power draw. These commands can be run on any supported
> platform, including, but not limited to, the AM335x, AM437x, AM57x, and
> BeagleBone." After I followed the below instructions, almost every thing on
> the BBBW was turned off. But I only need the WL1835MOD to turn off.
>
> mount -t debugfs debugfs /tmp/
> echo 1 > /tmp/pm_debug/enable_off_mode
> mount -t debugfs debugfs /tmp/
>
> According to
> (http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays), I
> could disable WL1835MOD to boot by uncommenting
> #disable_uboot_overlay_wireless=1, but the wifi and bluetooth still boot up
> after I restarted the BBBW.
>
> Does anyone has any idea how to turn off the WL1835MOD? Thank you.

Removing FB1 would do the trick:

https://github.com/beagleboard/beaglebone-black-wireless/blob/master/BeagleBone_Black_Wireless_SCH.pdf

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjKNs%2BAQrNRdAupmxMuH%3DgOxFamtG0cBsHqCQjVaTxo%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connecting/configuring ublox M8n GPS to Mission Planner Passthrough with BBBlu

2017-06-29 Thread Timothy Litvin




My ublox M8n has a blinking blue led which I’ve come to believe means it 
has at least a good “2D lock”, i.e., at least 3 satellites while here, 
belowdecks. My breadboard is portable; I took it topside and the GPS LED 
continues to blink blue, with no apparent change to status. 

The first One-Liner was straight copy/paste from the wiki; then as you can 
see, I tried a few 4800, 9600, and 38400 (uBlox shipped default baud). 


On Thursday, June 29, 2017 at 10:31:53 AM UTC-7, Jason Kridner wrote:
>
> On Thu, Jun 29, 2017 at 12:57 PM Timothy Litvin  > wrote:
>
>> Hi Jason, thanks for your support as well. The One-Liner tests should be 
>> a great help. When I try your GPS one-liner verbatim, or set to 9600, the 
>> line feeds, but then just sits until I ctrl-C. What does this tell me?
>>
>
> Can you copy the text out of the window to show what you typed and what 
> you got?
>
> I suspect it means you don't have a GPS lock, which is typical for 
> indoors. Most GPS devices I've played with tend to be a bit quiet when they 
> don't have a lock. They also typically have an LED pattern saying if they 
> have a lock or not.
>  
>
>>
>>

-- 
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/74e6efe6-d5b2-4fcb-ab54-bb344f465130%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] How to turn off the WL1835MOD of BBBW?

2017-06-29 Thread zouminhui . cqu
Hi, everyone. I'm testing the power consumption of the WL1835MOD of BBBW. 
So I need to turn the WL1835MOD off and on to check the power consuming 
difference. I have tried several ways to turn it off but failed. The ways I 
tried:

   1. ifconfig wlan0 down. No power consuming difference is observed. The 
   WL led is still on after I tried the command. I guess the WiFi was not 
   really off.
   2. According to 
   
(http://processors.wiki.ti.com/index.php/WiLink8_WLAN_Demo:_Linux#Configuring_the_Target,
 
   "For low-power modes, the WL18xx chip can be held in a suspend/shutdown 
   mode where it will draw minimal current in order to preserve battery 
   life/minimize power draw. These commands can be run on any supported 
   platform, including, but not limited to, the AM335x, AM437x, AM57x, and 
   BeagleBone." After I followed the below instructions, almost every thing 
   on the BBBW was turned off. But I only need the WL1835MOD to turn off.
   - mount -t debugfs debugfs /tmp/
  - echo 1 > /tmp/pm_debug/enable_off_mode
  - mount -t debugfs debugfs /tmp/
   3. According to 
   (http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays), I 
   could disable WL1835MOD to boot by uncommenting 
   #disable_uboot_overlay_wireless=1, but the wifi and bluetooth still boot up 
   after I restarted the BBBW.

Does anyone has any idea how to turn off the WL1835MOD? Thank you.


 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/44c02abf-ea4c-45b1-adb6-5a15c0413a8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Possible to remove eeprom?

2017-06-29 Thread William Hermans
https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot
Link to the bootloader source there. Along with the whole build process.

Then I do believe what you're asking about removing the eeprom check is
possible. Seems you have already done that, but I do remember some
discussion about that being possible. However Robert would have to confirm
that is possible on the Linux side of things. That, I'm not sure of.

On Wed, Jun 28, 2017 at 3:05 PM,  wrote:

> Hello,
>
> I know this thread is a bit stale but I could use some assistance. So I
> built I customboard referenced about the beaglebone black wireless. I am
> also looking for help bypassing the eeprom check in u-boot. I was able to
> successfully build and bypass the eeprom check using your tutorial here.
>
> https://eewiki.net/display/linuxonarm/BeagleBone+Black
>
> I would like to generate an SD card image with the jessie iot image found
> on beaglebone.org. Is it possible to use the same MLO and u-boot
> generated from the above tutorial? Is not, is the source for the u-boot
> used in the jessie iot image available?
>
> Thanks in advance!
>
> On Friday, December 16, 2016 at 7:38:14 PM UTC-8, RobertCNelson wrote:
>>
>> On Fri, Dec 16, 2016 at 6:29 PM, ferdster  wrote:
>> > We have a custom board based on a BBB. It has the eeprom on it, but
>> we'd
>> > like to get rid of it.
>> >
>> > Initially, to bring up the board, we programmed the eeprom as a BBB.
>> Now we
>> > want to remove it. I patched it with:
>> > https://github.com/RobertCNelson/Bootloader-Builder/blob/
>> master/patches/v2016.03/0002-NFM-Production-eeprom-assume-
>> device-is-BeagleBone-Bl.patch
>> >
>> > Now it boots with an empty eeprom. I thought the patch would be enough,
>> but
>> > after removing the eeprom from the board, I get nothing at all on the
>> > console.
>> >
>> > Something must be failing very early on in u-boot for it not to print
>> > anything.
>>
>> Yeah, your going to have to dig deeper in u-boot, for beaglebone
>> clone's an eeprom on the i2c bus is expected..
>>
>> You'll need to disable all those calls..
>>
>> Regards,
>>
>> --
>> Robert Nelson
>> https://rcn-ee.com/
>>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/12cb894b-447f-462d-897b-9e0d74801013%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CALHSORpNhXZasghRydCyEQp2doAL7VnO0c69UK%2B7bAxDbqZ6%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] which "arch" subdirectory to use?

2017-06-29 Thread William Hermans
Missed a -o in there, but hopefully you get the point ;)

On Thu, Jun 29, 2017 at 10:36 AM, William Hermans  wrote:

>
> On Thu, Jun 29, 2017 at 10:12 AM, mzimmers  wrote:
>
>> Hey, William...thanks for the pointers. I actually do already have
>> cross-development working (for user space programs). I'm using Qt Creator,
>> and a Linaro toolchain and sysroot. I built Qt for the armhf in order to
>> get the right qmake.conf file, and I can cross-debug using gdbserver on the
>> BBB. So, I've got that going already.
>>
>> But, as you're aware, cross building for kernel stuff is more involved,
>> and I'm inclined to agree with you that I'm making this a bigger deal than
>> it is. I'm prepared to move on, though I'd really like to know why this
>> example program isn't working. But, as I mentioned, this isn't a BBB
>> problem, so I'm not going to pursue it here.
>>
>> Right. You want to know how much I personally cross compile ? Zero. When
> I was toying around with compiling my own kernel was about the only time.
> At one point I did setup the Linaro cross tool chain, with code::blocks(
> IDE ) on Windows and got that working. But IMHO time is much better spent
> learning how to compile natively, from the command line. Because that
> information can be used anywhere. Knowing your tool chain from the command
> line is a must in my opinion. After that, learning a build tool such as
> make is a must too. Quite honestly though, I hardly ever even use make.
> Most of my projects are modular in nature, and small applications that
> communicate with each other through files. Or other means like mqtt
> outbound to a server somewhere. So basically my whole process starts with
> writing the code then . . . $ gcc -Wall 
> 
>
> Keeping things modular and small makes life for me much easier . . .Not to
> be confused with kernel modules of course ;)
>

-- 
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/CALHSORpGvq6gjkBhYYKuWBmEJynSUOBt%2BGFgpnHhZ5UA0jSL%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Why do I get inconsistent clock rate for PRU 28-bit shift input mode?

2017-06-29 Thread Yogi Salomo
Hello everybody,

So I am trying to make a PRU program that reads Input to BBB in 28-bit 
shift mode. The following is my current code:

START:
//INITIALIZATION
// Enable the OCP master port -- allows transfer of data to Linux 
userspace
LBCOr0, C4, 4, 4 // * load SYSCFG reg into r0 (use c4 const addr)
CLR r0, r0, 4// * clear bit 4 (STANDBY_INIT)
SBCOr0, C4, 4, 4 // * store the modified r0 back at the load addr
//SETUP GPI FOR BIT-SHIFT INPUT
LBCO r0, C4, 8, 4 // * load SYSCFG reg into r0 (use c4 const addr)
LDI r0.b0, 0xAA // 0-1: 0x2 (01), 2: 0x0 (0), 3-7: 0x15 (10101)
LDI r0.b1, 0x2 // 8-12: 0x2 (01)
SBCO r0, C4, 8, 4 // * store the modified r0 back to the CFG register
MOV r1, 0x0001 // r1: Shared RAM Address
MOV r2, 1 // r2: High Value
MOV r4, 0 // r4: Low Value
MOV r3, 0 // r3: input value 
SBBO r4, r1, 0 , 2
//WAIT UNTIL START BIT IS SET
WBS r31.t29

READDATA:
QBBC READDATA,r31.t28
CALL TOGGLEFLAG
SBBO r31.w0, r1, 1, 2
LBCO r0, C4, 8, 4 // * load SYSCFG reg into r0 (use c4 const addr)
SET r0.t13
SBCO r0, C4, 8, 4
QBA READDATA

END:
MOV r31.b0, PRU0_R31_VEC_VALID | PRU_EVTOUT_0 
HALT // End of program -- below are the "procedures"

TOGGLEFLAG:
QBBC SETT2, r30.t2
CLR r30.t2
RET

SETT2:
SET r30.t2
RET

The idea behind this:

   - READDATA is the main loop
   - The program will wait until Cnt_16 flag is set and 16 bits are sampled
   - write the read value to RAM and toggle flag (for debugging)
   - Set Start Bit flag in GPCFG register to clear shift register

However, when I checked in oscilloscope, I found some weird behavior, that 
is every 4th iteration of this loop, the duration this program takes to 
toggle r30.t2 is different (e.q. 1.8626 microseconds, 1.8755 microseconds, 
1.8705 microseconds, *1.9818 microseconds*). Is this normal or is there any 
problem in my implementation?

Moreover, if you have any suggestion about best practice in implementing 
what I intended to do (or coding PRU program overall), please let me know. 
I am very new to PRU programming and there is nobody in my lab that has 
prior knowledge about this subject.

Thank you for your kind attention. Looking forward to hear from you all.

Regards,
Yogi Salomo

-- 
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/8401bb12-c9c1-4c52-93a3-d1e7a58860b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Possible to remove eeprom?

2017-06-29 Thread chasen
Hello, 

I know this thread is a bit stale but I could use some assistance. So I 
built I customboard referenced about the beaglebone black wireless. I am 
also looking for help bypassing the eeprom check in u-boot. I was able to 
successfully build and bypass the eeprom check using your tutorial here. 

https://eewiki.net/display/linuxonarm/BeagleBone+Black

I would like to generate an SD card image with the jessie iot image found 
on beaglebone.org. Is it possible to use the same MLO and u-boot generated 
from the above tutorial? Is not, is the source for the u-boot used in the 
jessie iot image available?

Thanks in advance!

On Friday, December 16, 2016 at 7:38:14 PM UTC-8, RobertCNelson wrote:
>
> On Fri, Dec 16, 2016 at 6:29 PM, ferdster  
> wrote: 
> > We have a custom board based on a BBB. It has the eeprom on it, but we'd 
> > like to get rid of it. 
> > 
> > Initially, to bring up the board, we programmed the eeprom as a BBB. Now 
> we 
> > want to remove it. I patched it with: 
> > 
> https://github.com/RobertCNelson/Bootloader-Builder/blob/master/patches/v2016.03/0002-NFM-Production-eeprom-assume-device-is-BeagleBone-Bl.patch
>  
> > 
> > Now it boots with an empty eeprom. I thought the patch would be enough, 
> but 
> > after removing the eeprom from the board, I get nothing at all on the 
> > console. 
> > 
> > Something must be failing very early on in u-boot for it not to print 
> > anything. 
>
> Yeah, your going to have to dig deeper in u-boot, for beaglebone 
> clone's an eeprom on the i2c bus is expected.. 
>
> You'll need to disable all those calls.. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/12cb894b-447f-462d-897b-9e0d74801013%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Embedded QT with QT-Creator,undefined symbols

2017-06-29 Thread kristiesss1
I have an application run from xterm that also displays the black boxes 
under the mouse, was there a solution?

On Wednesday, November 4, 2015 at 10:17:48 AM UTC-6, ksc...@3ztelecom.com 
wrote:
>
> Some additional info.
> After replacing my libqtxxx libraries with the ones built on my 
> development system for the bbb (armhf) and running an application on the 
> BBB, adding the -qws command line option (and setting some environment 
> variables to define the terminal device) the application does launch and 
> display on the hdmi connected monitor on the bbb.  HOWEVER the entire 
> screen turns green and moving the mouse cursor creates black boxes that 
> erase the green under the cursor.  I can't click on the controls in the 
> application.  This behavior doesn't change when the application is launched 
> remotely via SSH, or a serial connected terminal, or via an xterm under 
> LXDE on the BBB.
>  
>

-- 
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/73570710-c86d-4458-b52a-d09390526175%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BBBlue support for CAN bus

2017-06-29 Thread wzih
Hey,

I am exploring BBBlue functions and would like to write a CAN bus logger 
program. Just curious is there any official support for CAN bus? I didn't 
find direct functions in roboticscape library. Does that mean we need to 
control it by some other libraries like can-utils or is there any other 
easy ways to do that? Any suggestions?

Thanks!
Aaron

-- 
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/3d3d104e-7940-423e-a9b0-3d279112b8e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] which "arch" subdirectory to use?

2017-06-29 Thread William Hermans
On Thu, Jun 29, 2017 at 10:12 AM, mzimmers  wrote:

> Hey, William...thanks for the pointers. I actually do already have
> cross-development working (for user space programs). I'm using Qt Creator,
> and a Linaro toolchain and sysroot. I built Qt for the armhf in order to
> get the right qmake.conf file, and I can cross-debug using gdbserver on the
> BBB. So, I've got that going already.
>
> But, as you're aware, cross building for kernel stuff is more involved,
> and I'm inclined to agree with you that I'm making this a bigger deal than
> it is. I'm prepared to move on, though I'd really like to know why this
> example program isn't working. But, as I mentioned, this isn't a BBB
> problem, so I'm not going to pursue it here.
>
> Right. You want to know how much I personally cross compile ? Zero. When I
was toying around with compiling my own kernel was about the only time. At
one point I did setup the Linaro cross tool chain, with code::blocks( IDE )
on Windows and got that working. But IMHO time is much better spent
learning how to compile natively, from the command line. Because that
information can be used anywhere. Knowing your tool chain from the command
line is a must in my opinion. After that, learning a build tool such as
make is a must too. Quite honestly though, I hardly ever even use make.
Most of my projects are modular in nature, and small applications that
communicate with each other through files. Or other means like mqtt
outbound to a server somewhere. So basically my whole process starts with
writing the code then . . . $ gcc -Wall 


Keeping things modular and small makes life for me much easier . . .Not to
be confused with kernel modules of course ;)

-- 
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/CALHSORrLStqHjABV%3DrqDiUFkfPc6Ze7DRe5Yrcq%3D869qv1A-UQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] which "arch" subdirectory to use?

2017-06-29 Thread mzimmers
Hey, William...thanks for the pointers. I actually do already have 
cross-development working (for user space programs). I'm using Qt Creator, 
and a Linaro toolchain and sysroot. I built Qt for the armhf in order to 
get the right qmake.conf file, and I can cross-debug using gdbserver on the 
BBB. So, I've got that going already.

But, as you're aware, cross building for kernel stuff is more involved, and 
I'm inclined to agree with you that I'm making this a bigger deal than it 
is. I'm prepared to move on, though I'd really like to know why this 
example program isn't working. But, as I mentioned, this isn't a BBB 
problem, so I'm not going to pursue it here.

-- 
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/64829bfe-07e9-4446-865d-16e9b94de06e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] which "arch" subdirectory to use?

2017-06-29 Thread William Hermans
Ah, something I unintentionally left out. The arch you'll need is armhf.
Granted, I'm not 100% sure that even applies to the kernel, or kernel
modules.

On Thu, Jun 29, 2017 at 9:58 AM, William Hermans  wrote:

> Then later, once you understand native module development much better,
> you'll be able to apply that information towards cross compiling much
> easier. Just be aware, this is not an overnight sort of situation. It could
> take years to grasp, but if you apply yourself, it'll probably take a lot
> less time.
>
>
>

-- 
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/CALHSORpCKrvbKM9rcwYnr3wmxp%2BAhcaCHcoCyQ8D4q4vWPrzsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] which "arch" subdirectory to use?

2017-06-29 Thread William Hermans
Then later, once you understand native module development much better,
you'll be able to apply that information towards cross compiling much
easier. Just be aware, this is not an overnight sort of situation. It could
take years to grasp, but if you apply yourself, it'll probably take a lot
less time.

-- 
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/CALHSORokbAH-gsOnwUGBVzJt_4b%3DdthTOqQFHwE1Gy5q9dpFWw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connecting/configuring ublox M8n GPS to Mission Planner Passthrough with BBBlu

2017-06-29 Thread Timothy Litvin
Hi Jason, thanks for your support as well. The One-Liner tests should be a 
great help. When I try your GPS one-liner verbatim, or set to 9600, the 
line feeds, but then just sits until I ctrl-C. What does this tell me?

On Wednesday, June 28, 2017 at 1:45:24 PM UTC-7, Jason Kridner wrote:
>
> With my latest device tree patches, it should be UART by default without 
> any config-pin calls. 
>
> Most of these GPS devices are 4800 or 9600 baud by default. 
>
> I've created a page for one-liner tests for various modules: 
> https://github.com/beagleboard/beaglebone-blue/wiki/One-Liner-Module-Tests 
> On Tue, Jun 27, 2017 at 9:52 PM Robert Nelson  > wrote:
>
>> On Tue, Jun 27, 2017 at 5:39 PM, Timothy Litvin > > wrote:
>> > Greetings from the steep learning curve.  I’m setting up my first 
>> Arduplane
>> > while learning Linux on my first AP (BBBlue) with my first GCS (Mission
>> > Planner) on Windows 10, for use in a custom vessel. Practically 
>> speaking,
>> > it's been a recipe for delayed gratification, uncomfortably akin to a 
>> monkey
>> > with a typewriter.
>> >
>> > I now have blue-arduplane running on the Bone (sudo
>> > /usr/bin/ardupilot/blue-arduplane -C udp:192.168.8.132:14550 -B 
>> /dev/ttyO5
>> > with telemetry reporting via wifi to my Windows 10 laptop, but no signal
>> > arrives from the GPS (booted, with flashing blue led). My GPS is a 
>> generic
>> > ublox neo-M8n (with compass), plugged into the GPS jst-sh (wired 
>> according
>> > to attached jpeg). Windows Device Manager reports ublox Virtual Com 
>> Port on
>> > COM5.
>> >
>> > I’m guessing the GPS needs to be further configured, i.e., I need to 
>> either
>> > download/install or create a new ublox-M8 configuration file. I've 
>> installed
>> > u-center to configure the GPS; u-center reports nothing.  That feed 
>> seems to
>> > imply/require a Passthrough connection in Mission Planner while running
>> > blue-arduplane) so, in the Flight Data screen, ctrl-F:
>> >
>> > It’s unclear whether the “MAVSerial pass” button is activated on click
>> > (doesn’t toggle color, just grays temporarily on rollover & click).
>> > u-center 8.25 doesn’t detect GPS on any port. Tried also creating a TCP
>> > connection in u-center through Network Connection, New, setting Address 
>> to
>> > tcp://localhost:500, set baud to 38400 (with and without AutoBaud) after
>> > which I get a Connection Error message.
>> >
>> > I then installed minicom on the Bone. When I run "dmesg | grep tty" I 
>> get:
>> >
>> >
>> >
>> > [0.00] Kernel command line: console=ttyO0,115200n8
>> > root=UUID=1b96dc8c-4e92-4f4f-86de-36d769439063 ro rootfstype=ext4 
>> rootwait
>> > coherent_pool=1M net.ifnames=0 quiet cape_universal=enable
>> >
>> > [0.002863] WARNING: Your 'console=ttyO0' has been replaced by 
>> 'ttyS0'
>> >
>> > [2.492065] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158,
>> > base_baud = 300) is a 8250
>> >
>> > [2.505478] console [ttyS0] enabled
>> >
>> > [2.506866] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159,
>> > base_baud = 300) is a 8250
>> >
>> > [2.507975] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 160,
>> > base_baud = 300) is a 8250
>> >
>> > [2.509094] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 161,
>> > base_baud = 300) is a 8250
>> >
>> > [2.510109] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 162,
>> > base_baud = 300) is a 8250
>> >
>> > [2.511416] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 163,
>> > base_baud = 300) is a 8250
>> >
>> > [9.819121] systemd[1]: Created slice system-getty.slice.
>> >
>> > [9.831852] systemd[1]: Created slice system-serial\x2dgetty.slice.
>> >
>> >
>> >
>> > In Minicom I took a blind whack at setting Serial Port ttyS5 (and 
>> ttyS4) to
>> > 38400 Baud, 8N1 and Hardware control on/off, to my chagrin, no effect 
>> on the
>> > non-existent GPS connection. U-center still can't connect, so I can't
>> > configure the GPS...if that's what i need to do. Minicom reports the 
>> port's
>> > values have been changed, but  "dmesg | grep tty" reports the same as 
>> above,
>> > unchanged. I've also tried using the -B /dev/ttyS5 alternative for GPS 
>> when
>> > starting blue-arduplane. At this point it occurs to me that I could've
>> > steered wrong repeatedly, or just missed a step.
>> >
>> > If you know what you’re doing, by now it’s probably clear that I don’t.
>> > Helpful hints anyone?
>>
>> so you need to connect the pin to the peripheral:
>>
>> #uart 2 (gps)
>> config-pin P9.21 uart
>> config-pin P9.22 uart
>>
>> #uart 1
>> config-pin P9.24 uart
>> config-pin P9.26 uart
>>
>> PS, i just pushed an arduplane deb update today too..
>>
>> Regards,
>>
>> --
>> Robert Nelson
>> https://rcn-ee.com/
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To 

Re: [beagleboard] which "arch" subdirectory to use?

2017-06-29 Thread William Hermans
mz,

You know what I'd do in your shoes ? I'd just setup a development sdcard
for your bb, and compile modules natively. on the bb. Much simpler, no
hassle, no pain in the butt. Compiling a kernel on a bb may take a few
days, but a kernel module should not take very long.

Another thing you should be aware of when it comes to DR Molloy's book. Is
that the information is dated, and not how one would go about doing things
with current versions of Debian. For instance, with Jessie there are some
mechanisms built in now. That allow for much easier cross compiling. With
that said, asking anyone on the group here to help you with that process,
would be asking too much. But suffice it to say, multi arch on Debian is
much better than with previous versions of debian. The best way to start
learning with that in my mind is to create, and use an x64 debian virtual
machine from something like virtual box. Then just start experimenting with
instructions off the web. Until you find a process that works.

Anyway, you just start getting your hands dirty, and experimenting. Then
things should eventually start working out. google "cross compile kernel
module deb" Then just start reading guides that only talk about armhf, and
Debian Jessie. Things to be aware of, is that you'll need to apt-get
install , and you'll need to be able to compile
those sources from your version of gcc ( gcc --version). The only
additional package you'll need to install on that image aside from the
kernel headers is build-essential. Unless you need something specific like
libusb-dev for USB development, or the like.

-- 
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/CALHSORoRG-hQjoXcJQ4cU1oLgQLp644nd%2Brq0nz%3DCThMUx_Ytg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connecting/configuring ublox M8n GPS to Mission Planner Passthrough with BBBlu

2017-06-29 Thread Robert Nelson
On Thu, Jun 29, 2017 at 11:44 AM, Timothy Litvin  wrote:
> debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
> git:/opt/scripts/:[6d017b3c0902fd4e67fa6ef4801139da9a1726d6]
> eeprom:[A335BNLTBLA21712EL005600]
> dogtag:[BeagleBoard.org Debian Image 2017-02-19]
> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot
> 2017.03-rc2-2-g11d4fd]
> kernel:[4.4.68-ti-rt-r111]
> nodejs:[v4.8.3]
> device-tree-override:[dtb=am335x-boneblue-ArduPilot.dtb]

You don't need this /boot/uEnv.txt dtb modification

Jason fixed the base/default: am335x-boneblue.dtb last week? (maybe 2 weeks ago)

So just remove the dtb=am335x-boneblue-ArduPilot.dtb from /boot/uEnv.txt

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYiRBQMwFrf%2B8oA5_duOYViDjKcpGDjOXXh48KwMQpnb-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connecting/configuring ublox M8n GPS to Mission Planner Passthrough with BBBlu

2017-06-29 Thread Timothy Litvin
debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
git:/opt/scripts/:[6d017b3c0902fd4e67fa6ef4801139da9a1726d6]
eeprom:[A335BNLTBLA21712EL005600]
dogtag:[BeagleBoard.org Debian Image 2017-02-19]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
2017.03-rc2-2-g11d4fd]
kernel:[4.4.68-ti-rt-r111]
nodejs:[v4.8.3]
device-tree-override:[dtb=am335x-boneblue-ArduPilot.dtb]
debian@beaglebone:~$


On Thursday, June 29, 2017 at 8:23:59 AM UTC-7, RobertCNelson wrote:
>
> On Thu, Jun 29, 2017 at 10:20 AM, Timothy Litvin  > wrote: 
>
> Please run: 
>
> sudo /opt/scripts/tools/version.sh 
>
> and copy the output to us for review 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/3be419aa-be0c-4fb5-a836-42d9e47dc7a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connecting/configuring ublox M8n GPS to Mission Planner Passthrough with BBBlu

2017-06-29 Thread Robert Nelson
On Thu, Jun 29, 2017 at 10:20 AM, Timothy Litvin  wrote:
> Thanks Robert, I've loaded your update. I had assumed the BBBlue had those
> pins pre-allocated (as the PCB silkscreen indicates).  Mirko's instructions
> made the GPS sound like plug-n-play, not referencing additional setup. I’ve
> installed the config-pin utility, and a command-line entry of the line sudo
> config-pin P9.21 uart informs me “P9_21 pinmux file not found! Please verify
> your Device Tree File.”  From this I take it that I need to load
> cape-universala…

it's actually installed by default, and our local version has a few
changes from Charles' original.

it was only a recent kernel that has the uart change by default..

Please run:

sudo /opt/scripts/tools/version.sh

and copy the output to us for review

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgJWOigYYT%2B2QXgs%2BmhJrg75DZjCR8GgP1cXn0ZfEzvZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Connecting/configuring ublox M8n GPS to Mission Planner Passthrough with BBBlu

2017-06-29 Thread Timothy Litvin


Thanks Robert, I've loaded your update. I had assumed the BBBlue had those 
pins pre-allocated (as the PCB silkscreen indicates).  Mirko's instructions 
made the GPS sound like plug-n-play, not referencing additional setup. I’ve 
installed the config-pin utility, and a command-line entry of the line sudo 
config-pin P9.21 uart informs me “P9_21 pinmux file not found! Please 
verify your Device Tree File.”  From this I take it that I need to load 
cape-universala… 


>
>
>
>
>
>
>
>
>
>
>
> *so you need to connect the pin to the peripheral: #uart 2 (gps) 
> config-pin P9.21 uart config-pin P9.22 uart #uart 1 config-pin P9.24 uart 
> config-pin P9.26 uart PS, i just pushed an arduplane deb update today too.. 
> *
>
>

-- 
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/0b265e33-b2b8-4f51-b0cd-559f1136b96a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Can't import pyserial or serial in python 3.4 2017-03 Debian

2017-06-29 Thread Brett Hamilton
The python module in pyserial is called serial, so no mystery there.

To run a version of pip for your python3.4 you can use "python3 -m pip [pip 
args]".

-- 
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/43f0580d-4bbf-4347-934b-4811974d617a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] which "arch" subdirectory to use?

2017-06-29 Thread mzimmers
Hi John -

I understand, and your advice was excellent, and much appreciated. I think 
that part of the reason I'm spinning my wheels is that I don't know enough 
about what I'm doing to even properly word the questions. In this 
particular example, despite everyone's help, I'm no closer to solving the 
original problem than I was at the outset. It's my lack of knowledge in 
this area that's the culprit, not the assistance I'm getting.

In any event, it's pretty clear that this isn't a BBB problem. I've tried 
running it on my host, and the test program blows up on the write 
statement. So, I'm going to quit pestering the people here about a problem 
that's proven to be somewhat off-topic.

Thanks again.

On Wednesday, June 28, 2017 at 9:37:40 PM UTC-6, john3909 wrote:
>
> Well the purpose of my advise what to show you how to cross compile kernel 
> modules without having to worry about kernel version, kernel headers and 
> compiler versions. By using Robert’s build tool, he does all that for you. 
> Better still, if you use source indexing with Eclipse, you get function 
> code completion and can jump to those function using "ctrl left mouse 
> click” and “alt left arrow” to return to your code. There are also lots of 
> example in the Kernel/samples folder. 
>
> Regards,
> John
>
>

-- 
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/fe369866-260c-4369-9f54-aad33f8bb0d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.