Re: [beagleboard] Video device not found error.

2021-06-09 Thread jonnymo
Things that would help to understand the issue are:

1. The output of the version.sh script:
  Ex:
sudo  /opt/scripts/tools/version.sh

2. Provide the Make/Model of USB camera used

3. What application is used when seeing the error?

4. Does the camera show in the 'dmesg' output and/or /var/log/syslog?

5. What troubleshooting steps have you taken thus far?


I think this would be a start in helping to understand your issue.

Cheers,

Jon

On Wed, Jun 9, 2021 at 10:43 AM evilwulfie  wrote:

> I love the beaglebone, dont get me wrong
> but the r-pi has a nice video input and it just works.
>
> On 6/9/2021 9:12 AM, Ujjval Rathod wrote:
>
> I am trying to capture the images from the USB camera. I get an error that
> no device has been found on the /dev/video0 on beaglebone black running
> debian.
>
> Does anyone has an idea? How to deal with this kind of error?
>
> Regards,
> Ujjval
> --
> 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/961dfac4-3482-44a2-b12e-6ad524cb564en%40googlegroups.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/8de7257a-229b-9972-113f-41c1080d7c17%40gmail.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/CAG99bkou00c_vmh52aKgHo%2BtTbr2%2BNmYFL7X82Ug192JLk_aRQ%40mail.gmail.com.


Re: [beagleboard] How to copy BeagleBoard image to a windows PC

2021-06-16 Thread jonnymo
One option is to use something like DiskInternals:
https://www.diskinternals.com/linux-reader/mount-linux-drive-on-windows/

I have never tried this myself though.

The other option is to use either VirtualBox or VMware Workstation Player
to create a Debian or Ubuntu VM on your Windows system and use that to read
the image from the eMMC.
Ex:
https://elinux.org/BeagleBone_Black_Extracting_eMMC_contents


I would suspect  there is a Docker example of this somewhere.

Cheers,

Jon


On Wed, Jun 16, 2021 at 9:38 AM Nigel Beckles  wrote:

> Hello Vinicius,
>
> Thanks for responding to me. I have an emmc image on a SD card, I want to
> copy the image from the SD card to my PC.
> When I put the SD card in the Pc, windows says it needs to format the
> drive, What am I doing wrong?
>
> Thanks,
> Nigel
>
>
>
> On Wednesday, June 16, 2021 at 12:23:54 PM UTC-4 vinicius...@gmail.com
> wrote:
>
>> Imgdiskwriter32 is an excellent tool to duplicate cards or generate images
>>
>> Sent from my iPhone
>>
>>
>> Em 16 de jun. de 2021, à(s) 13:21, Nigel Beckles 
>> escreveu:
>>
>> How to copy BeagleBoard image to a windows PC so that I can send it to a
>> coworker?
>>
>> --
>> 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/3679506a-ba97-469f-97fb-3f4bb0d2bbd2n%40googlegroups.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/27691646-1a3e-4f3d-9b06-5059736e9476n%40googlegroups.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/CAG99bkr%3DrnGkZdoNrXUyJ9XjZAcJGKJU1iDdSbchVO1Ha7Ce6w%40mail.gmail.com.


Re: [beagleboard] Beaglebone Black libraries for GPIO access in C/C++?

2021-06-16 Thread jonnymo
Perhaps use the NVIDIA Jetson Nano forum for questions regarding this board.
https://forums.developer.nvidia.com/c/agx-autonomous-machines/jetson-embedded-systems/jetson-nano/76


On Wed, Jun 16, 2021 at 9:59 AM Mohammad Walihullah 
wrote:

> what is the process to access gpio for Jetson nano using qt creator
>
> On Thursday, June 5, 2014 at 4:20:43 AM UTC+6 brando...@gmail.com wrote:
>
>> Two other features of going low level with mmap:
>>
>>  Open drain output: By controlling the output enable registers, you
>> can do open drain by setting the output to drive 0, then enable output to
>> pull low, disable output to for high (with external pullup or internal
>> through pin muxing).
>>
>>  Simultaneous toggling: You can set the pin states of a whole gpio
>> bank at once. This is nice if you're bit banging.
>>
>> 2.8MHz seems slow. I was at 4MHz through an mmap in *Python*. Make sure
>> you're using the set registers rather than doing a read-modify-write and
>> only opening the mmap once...and I suppose your clock scaling will matter
>> too, so maybe it's the same.
>>
>> --Brandon
>>
>> On Wednesday, June 4, 2014 2:26:32 PM UTC-7, john3909 wrote:
>>>
>>>
>>> From: Tony DiCola 
>>> Reply-To: 
>>> Date: Wednesday, June 4, 2014 at 8:29 AM
>>> To: 
>>> Subject: Re: [beagleboard] Beaglebone Black libraries for GPIO access
>>> in C/C++?
>>>
>>> Thanks for the replies everyone--looks like some nice libraries to check
>>> out.
>>>
>>> Regarding memory mapped GPIO, check out this nice blog post for more
>>> info:
>>> http://vabi-robotics.blogspot.com/2013/10/register-access-to-gpios-of-beaglebone.html
>>>  You can effectively map the GPIO registers to a process' memory space and
>>> directly access them so there's no overhead of making the system calls to
>>> read, write, etc. the sysfs-based GPIO.
>>>
>>> I actually just tried out a couple quick tests and saw toggling a pin
>>> high and low in a tight loop with sysfs is pretty slow, only a few hunded
>>> khz.  However using memory mapped GPIO registers it's much, much faster.
>>> I'm seeing around 2.8 mhz toggling a pin with this approach.  Now neither
>>> approach is technically going to ever give you a real time guarantee of
>>> course, but it's nice to have the ability to read and write GPIO fairly
>>> quickly in some cases with memory mapped GPIO.
>>>
>>> The downside is you cannot support GPIO interrupts.
>>>
>>> Regards,
>>> John
>>>
>>>
>>>
>>> On Wed, Jun 4, 2014 at 5:00 AM, Micka  wrote:
>>>
 William Hermans, how did you controlled the GPIO ?

 The only way that I know is with :


 /sys/class/gpio/gpio%d/value


 but you talk about mmap ? How did you use it with this
 /sys/class/gpio/gpio%d/value ?

 Thx you,

 Micka,




 On Tue, Jun 3, 2014 at 11:57 PM, William Hermans 
 wrote:

> sysfs, and mmap. I've seen mention of both on the web ( including for
> the BB white ).
>
> *wiringPi*
>>
>
> Whats this ? The Arduino IDE for the rPI ? Nothing like this exists
> for the BBB that I am aware of.
>
>
> On Tue, Jun 3, 2014 at 2:45 PM, Jacek Radzikowski <
> jacek.ra...@gmail.com> wrote:
>
>> 
>> https://github.com/piranha32/IOoo
>> 
>>
>> j.
>>
>>
>> On Tue, Jun 3, 2014 at 5:42 PM, Tony DiCola 
>> wrote:
>> > Sorry if this is a common question, but I've searched around the
>> web and the
>> > forum here and am curious are there any somewhat mature or popular
>> libraries
>> > for simple digital GPIO access on the Beaglebone Black in C/C++?
>> I'm
>> > curious if there's anything like wiringPi or similar for the BBB
>> yet.  If
>> > not, are folks just rolling their own thing with access to sysfs or
>> mmap?
>> >
>> > --
>> > 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.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Given a choice between two theories, take the one which is funnier
>>
>> --
>> 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.
>> 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 grou

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

2020-04-29 Thread jonnymo
Although a bit off track from the original subject, you may what to look at
some sort of lint tool to check you code for syntax errors.  If you use an
editor such as Eclipse or Atom, this may do this for you already.
https://en.wikipedia.org/wiki/Lint_(software)

You could also look at the warning and error level settings and options to
increase the level of complaints when the code is compiled.

Jon

On Wed, Apr 29, 2020 at 9:28 AM maxmike  wrote:

>
> Without  much longer belabouring the point, in my case gcc did not check
>> my .h file; instead of checking it
>
> for syntax (a semicolon missing in a function definition) it accepted it
> and  reported what the effect was of trusting it - totally incomprehensible
> errors.
>
> However, I have learned from this that before I compile the .c files I
> will compile the .h's separately first - that would have prevented the
> issue.
>
> --
> 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/b27b924a-9ca3-44cf-bceb-a355d002da2f%40googlegroups.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/CAG99bkqBbS6drEkBK8FnvGXzfR8Zj6igu%3DVx47Z2HAN49t6EYQ%40mail.gmail.com.


Re: [beagleboard] Is it possible to run TI-RTOS or any RTOS on beaglebone blue?

2020-05-02 Thread jonnymo
For Ti-RTOS, you might want to start here.
http://www.ti.com/tool/PROCESSOR-SDK-AM335X

This looks interesting:
http://huesmanbros.com/marc/2017/09/22/getting-ti-rtos-running-on-the-beaglebone-black/


There is a page for QNX on the Beagleboard site, but perhaps more specific
for the BB Black or EVM.  It could be possible to try it with the Blue, but
I am not sure how they compare though.
https://beagleboard.org/project/QNX+Neutrino+on+OMAP/
http://www.qnx.com/products/reference-design/index.html

There are JTAG pads on the back of the Blue so you would have to carefully
solder headers to it and then use a JTAG programmer to load it. Again, all
theory in my case since I have not attempted this with my dead Blue.
https://github.com/beagleboard/beaglebone-blue/blob/master/BeagleBone_Blue_sch.pdf

Cheers,

Jon


On Sat, May 2, 2020 at 8:53 AM 'Mark Lazarewicz' via BeagleBoard <
beagleboard@googlegroups.com> wrote:

> Hello
> What I meant is learning TI  RTOS us typically done using CCS and loading
> via JTAG. So using a board without JTAG isn't smart.
>
> As far as your board I didn't see it in the supported hardware doc's you
> must dig deeper to find.
>
> QNX and Free RTOS might support the board.
>
> Any RTOS typically provide Architecture Support Package (ARM) and Board
> Support Package (Beaglbone) so assuming the processor is supported as it's
> same also bad idea.
> If you search group for RTOS you see others asking to use Beaglbone (
> white or black or BBAI
>
> As I mentioned it works on TI EVM hardware which is the am35xx I have one
> it's $250 this group is beagleboard org hardware. The board support is
> different. TI RTOS lists 4 boards no mention of Beaglbone.
>
> RTOS vendor test on specific board's typically in TI RTOS official TI EVM
> boards.
> Here's Link
> http://www.ti.com/tool/TMDSEVM3517C
>
> Board Support Package Engineers port BSP to customer hardware sometimes
> easy (your board) sometimes very hard ( custom hardware design's)
> I was BSP consultant I know This
>
> RTOS vendor like Greenhills sell BSP packages.
>
> Google group and see someone asking about BBAI won't boot using TI RTOS
>
> I'm not such a nice Guy 😂
>
> So I tell you you want to be a BSP porting Engineer or learn RTOS please
> dig deeper in RTOS docs or your never going to learn.
>
> I'm amazed you didn't Google TI RTOS Beaglbone in group and didn't find
> supported hardware in RTOS docs TI documents are world class very
> thorough.Did you post this question in E2E forum?
> They support TI products this group support beaglbone.org
>
> The Short answer is buy a TI EVM or find another RTOS (required ability to
> read docs supplied by vendor), Port RTOS BSP yourself or pay big $$ to
> someone to Port RTOS.
>
> Learning RTOS can be done by watching wonderful Tutorial on TI site but
> after doing you will wish you had $$$ to buy the correct hardware.
>
> Good Luck
>
>
>
>
>
>
>
>
>
>
> Sent from Yahoo Mail on Android
> 
>
> On Sat, May 2, 2020 at 8:34 AM, prtee...@gmail.com
>  wrote:
> Hi,
>
> I seqrched the group and couldn't find anything relevant. Also, when you
> say JTAG is enabled by default, so you mean it is available on BBBlue via
> USB interface?  If ye it would be very surprising as I couldn't find any
> material online. Could you please point meto the relevant resources?
>
> Many Thanks,
> Prateek
>
> On Monday, April 27, 2020 at 2:33:19 AM UTC+5:30, lazarman wrote:
>
> This has been asked in here. The RTOS docs list boards supported.
> The TI EVM is supported always
> RTOS have ASAP & BSP and yes jtag support is default.
> Whether TI adds board's is best asked in E2E forums
>
>
> Sent from Yahoo Mail on Android
> 
>
> On Sun, Apr 26, 2020 at 2:01 PM, prte...@gmail.com
>  wrote:
> Since the processor on Blue is same as the one on Black, theoretically it
> should be possible. But I don't see any JTAG pins on Blue and they are used
> in all the tutorials I came across for Black. I'm really unsure on if is at
> all possible to get it done with the USB interface, either on Blue or Black
> and if yes, what's the procedure?. Has anyone ever tried this? I'm trying
> to get some hand-on experience with RTOS but getting a new hardware at
> current time just isn't possible.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagl...@ googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/20922878- f3b9-4ff7-9c10-7d9d398e31ba% 40googlegroups.com
> 

Re: [beagleboard] Is it possible to run TI-RTOS or any RTOS on beaglebone blue?

2020-05-02 Thread jonnymo
The Segger J-Link EDU Mini is only like $20US.
https://www.adafruit.com/product/3571


On Sat, May 2, 2020 at 9:21 AM 'Mark Lazarewicz' via BeagleBoard <
beagleboard@googlegroups.com> wrote:

> Right looks like a black or white is best. A board with USB JTAG is
> cheaper as if $$$ are a problem the JTAG is $100+ the EVM supports JTAG
> over USB that's why they support no soldering.
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>
> On Sat, May 2, 2020 at 11:10 AM, jonnymo
>  wrote:
> For Ti-RTOS, you might want to start here.
> http://www.ti.com/tool/PROCESSOR-SDK-AM335X
>
> This looks interesting:
>
> http://huesmanbros.com/marc/2017/09/22/getting-ti-rtos-running-on-the-beaglebone-black/
>
>
> There is a page for QNX on the Beagleboard site, but perhaps more specific
> for the BB Black or EVM.  It could be possible to try it with the Blue, but
> I am not sure how they compare though.
> https://beagleboard.org/project/QNX+Neutrino+on+OMAP/
> http://www.qnx.com/products/reference-design/index.html
>
> There are JTAG pads on the back of the Blue so you would have to carefully
> solder headers to it and then use a JTAG programmer to load it. Again, all
> theory in my case since I have not attempted this with my dead Blue.
>
> https://github.com/beagleboard/beaglebone-blue/blob/master/BeagleBone_Blue_sch.pdf
>
> Cheers,
>
> Jon
>
>
> On Sat, May 2, 2020 at 8:53 AM 'Mark Lazarewicz' via BeagleBoard <
> beagleboard@googlegroups.com> wrote:
>
> Hello
> What I meant is learning TI  RTOS us typically done using CCS and loading
> via JTAG. So using a board without JTAG isn't smart.
>
> As far as your board I didn't see it in the supported hardware doc's you
> must dig deeper to find.
>
> QNX and Free RTOS might support the board.
>
> Any RTOS typically provide Architecture Support Package (ARM) and Board
> Support Package (Beaglbone) so assuming the processor is supported as it's
> same also bad idea.
> If you search group for RTOS you see others asking to use Beaglbone (
> white or black or BBAI
>
> As I mentioned it works on TI EVM hardware which is the am35xx I have one
> it's $250 this group is beagleboard org hardware. The board support is
> different. TI RTOS lists 4 boards no mention of Beaglbone.
>
> RTOS vendor test on specific board's typically in TI RTOS official TI EVM
> boards.
> Here's Link
> http://www.ti.com/tool/TMDSEVM3517C
>
> Board Support Package Engineers port BSP to customer hardware sometimes
> easy (your board) sometimes very hard ( custom hardware design's)
> I was BSP consultant I know This
>
> RTOS vendor like Greenhills sell BSP packages.
>
> Google group and see someone asking about BBAI won't boot using TI RTOS
>
> I'm not such a nice Guy 😂
>
> So I tell you you want to be a BSP porting Engineer or learn RTOS please
> dig deeper in RTOS docs or your never going to learn.
>
> I'm amazed you didn't Google TI RTOS Beaglbone in group and didn't find
> supported hardware in RTOS docs TI documents are world class very
> thorough.Did you post this question in E2E forum?
> They support TI products this group support beaglbone.org
>
> The Short answer is buy a TI EVM or find another RTOS (required ability to
> read docs supplied by vendor), Port RTOS BSP yourself or pay big $$ to
> someone to Port RTOS.
>
> Learning RTOS can be done by watching wonderful Tutorial on TI site but
> after doing you will wish you had $$$ to buy the correct hardware.
>
> Good Luck
>
>
>
>
>
>
>
>
>
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>
> On Sat, May 2, 2020 at 8:34 AM, prtee...@gmail.com
>  wrote:
> Hi,
>
> I seqrched the group and couldn't find anything relevant. Also, when you
> say JTAG is enabled by default, so you mean it is available on BBBlue via
> USB interface?  If ye it would be very surprising as I couldn't find any
> material online. Could you please point meto the relevant resources?
>
> Many Thanks,
> Prateek
>
> On Monday, April 27, 2020 at 2:33:19 AM UTC+5:30, lazarman wrote:
>
> This has been asked in here. The RTOS docs list boards supported.
> The TI EVM is supported always
> RTOS have ASAP & BSP and yes jtag support is default.
> Whether TI a

Re: [beagleboard] Is it possible to run TI-RTOS or any RTOS on beaglebone blue?

2020-05-02 Thread jonnymo
Segger is an industry standard and if TI  does not support it with CCS then
I would suggest another MCU vendor.
There is this though:
https://wiki.segger.com/TI_Code_Composer_Studio

Besides, CCS is just a TI version of Eclipse, so anything that can be done
in CCS can be done in Eclipse.  It may take some work to get the project
set-up, but it is possible.



On Sat, May 2, 2020 at 10:10 AM 'Mark Lazarewicz' via BeagleBoard <
beagleboard@googlegroups.com> wrote:

> More how quickly they suggest using their Segger IDE. That's been my
> experience.🙈 Good luck building TI RTOS in anything besides CCS.
> This is there high end JTAG as well.
>
>
>
> https://forum.segger.com/index.php/Thread/4869-SOLVED-J-Link-on-Code-Composer-Studio/
>
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>
> On Sat, May 2, 2020 at 12:05 PM, 'Mark Lazarewicz' via BeagleBoard
>  wrote:
> Make Sure Segger comes with .gel file for CCS and driver's for CCS.
>
>  When you buy all TI products less head aches and better support as well
> adding the JTAG support to CCS. All this must be verified before buying.
>
>
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>
> On Sat, May 2, 2020 at 11:54 AM, jonnymo
>  wrote:
> The Segger J-Link EDU Mini is only like $20US.
> https://www.adafruit.com/product/3571
>
>
> On Sat, May 2, 2020 at 9:21 AM 'Mark Lazarewicz' via BeagleBoard <
> beagleboard@googlegroups.com> wrote:
>
> Right looks like a black or white is best. A board with USB JTAG is
> cheaper as if $$$ are a problem the JTAG is $100+ the EVM supports JTAG
> over USB that's why they support no soldering.
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>
> On Sat, May 2, 2020 at 11:10 AM, jonnymo
>  wrote:
> For Ti-RTOS, you might want to start here.
> http://www.ti.com/tool/PROCESSOR-SDK-AM335X
>
> This looks interesting:
>
> http://huesmanbros.com/marc/2017/09/22/getting-ti-rtos-running-on-the-beaglebone-black/
>
>
> There is a page for QNX on the Beagleboard site, but perhaps more specific
> for the BB Black or EVM.  It could be possible to try it with the Blue, but
> I am not sure how they compare though.
> https://beagleboard.org/project/QNX+Neutrino+on+OMAP/
> http://www.qnx.com/products/reference-design/index.html
>
> There are JTAG pads on the back of the Blue so you would have to carefully
> solder headers to it and then use a JTAG programmer to load it. Again, all
> theory in my case since I have not attempted this with my dead Blue.
>
> https://github.com/beagleboard/beaglebone-blue/blob/master/BeagleBone_Blue_sch.pdf
>
> Cheers,
>
> Jon
>
>
> On Sat, May 2, 2020 at 8:53 AM 'Mark Lazarewicz' via BeagleBoard <
> beagleboard@googlegroups.com> wrote:
>
> Hello
> What I meant is learning TI  RTOS us typically done using CCS and loading
> via JTAG. So using a board without JTAG isn't smart.
>
> As far as your board I didn't see it in the supported hardware doc's you
> must dig deeper to find.
>
> QNX and Free RTOS might support the board.
>
> Any RTOS typically provide Architecture Support Package (ARM) and Board
> Support Package (Beaglbone) so assuming the processor is supported as it's
> same also bad idea.
> If you search group for RTOS you see others asking to use Beaglbone (
> white or black or BBAI
>
> As I mentioned it works on TI EVM hardware which is the am35xx I have one
> it's $250 this group is beagleboard org hardware. The board support is
> different. TI RTOS lists 4 boards no mention of Beaglbone.
>
> RTOS vendor test on specific board's typically in TI RTOS official TI EVM
> boards.
> Here's Link
> http://www.ti.com/tool/TMDSEVM3517C
>
> Board Support Package Engineers port BSP to customer hardware sometimes
> easy (your board) sometimes very hard ( custom hardware design's)
> I was BSP consultant I know This
>
> RTOS vendor like Greenhills sell BSP packages.
>
> Google group and see someone asking about BBAI won't boot using TI RTOS
>
> I'm not such a nice Guy 😂
>
> So I tell you you want to be a BSP porting Engineer or le

Re: [beagleboard] Is it possible to run TI-RTOS or any RTOS on beaglebone blue?

2020-05-02 Thread jonnymo
Do You have experience with TI RTOS?
Yes

Do you have experience building TI RTOS without CCS?
Yes

And lastly have you successfully used this $20 JTAG in CCS?
Not yet.



On Sat, May 2, 2020 at 6:46 PM 'Mark Lazarewicz' via BeagleBoard <
beagleboard@googlegroups.com> wrote:

> Hello Johnny
>
> Three questions
>
> Do You have experience with TI RTOS?
> Do you have experience building TI RTOS without CCS?
> And lastly have you successfully used this $20 JTAG in CCS?
>
>
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>
> On Sat, May 2, 2020 at 12:27 PM, jonnymo
>  wrote:
> Segger is an industry standard and if TI  does not support it with CCS
> then I would suggest another MCU vendor.
> There is this though:
> https://wiki.segger.com/TI_Code_Composer_Studio
>
> Besides, CCS is just a TI version of Eclipse, so anything that can be done
> in CCS can be done in Eclipse.  It may take some work to get the project
> set-up, but it is possible.
>
>
>
> On Sat, May 2, 2020 at 10:10 AM 'Mark Lazarewicz' via BeagleBoard <
> beagleboard@googlegroups.com> wrote:
>
> More how quickly they suggest using their Segger IDE. That's been my
> experience.🙈 Good luck building TI RTOS in anything besides CCS.
> This is there high end JTAG as well.
>
>
>
> https://forum.segger.com/index.php/Thread/4869-SOLVED-J-Link-on-Code-Composer-Studio/
>
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>
> On Sat, May 2, 2020 at 12:05 PM, 'Mark Lazarewicz' via BeagleBoard
>  wrote:
> Make Sure Segger comes with .gel file for CCS and driver's for CCS.
>
>  When you buy all TI products less head aches and better support as well
> adding the JTAG support to CCS. All this must be verified before buying.
>
>
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>
> On Sat, May 2, 2020 at 11:54 AM, jonnymo
>  wrote:
> The Segger J-Link EDU Mini is only like $20US.
> https://www.adafruit.com/product/3571
>
>
> On Sat, May 2, 2020 at 9:21 AM 'Mark Lazarewicz' via BeagleBoard <
> beagleboard@googlegroups.com> wrote:
>
> Right looks like a black or white is best. A board with USB JTAG is
> cheaper as if $$$ are a problem the JTAG is $100+ the EVM supports JTAG
> over USB that's why they support no soldering.
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>
> On Sat, May 2, 2020 at 11:10 AM, jonnymo
>  wrote:
> For Ti-RTOS, you might want to start here.
> http://www.ti.com/tool/PROCESSOR-SDK-AM335X
>
> This looks interesting:
>
> http://huesmanbros.com/marc/2017/09/22/getting-ti-rtos-running-on-the-beaglebone-black/
>
>
> There is a page for QNX on the Beagleboard site, but perhaps more specific
> for the BB Black or EVM.  It could be possible to try it with the Blue, but
> I am not sure how they compare though.
> https://beagleboard.org/project/QNX+Neutrino+on+OMAP/
> http://www.qnx.com/products/reference-design/index.html
>
> There are JTAG pads on the back of the Blue so you would have to carefully
> solder headers to it and then use a JTAG programmer to load it. Again, all
> theory in my case since I have not attempted this with my dead Blue.
>
> https://github.com/beagleboard/beaglebone-blue/blob/master/BeagleBone_Blue_sch.pdf
>
> Cheers,
>
> Jon
>
>
> On Sat, May 2, 2020 at 8:53 AM 'Mark Lazarewicz' via BeagleBoard <
> beagleboard@googlegroups.com> wrote:
>
> Hello
> What I meant is learning TI  RTOS us typically done using CCS and loading
> via JTAG. So using a board without JTAG isn't smart.
>
> As far as your board I didn't see it in the supported hardware doc's you
> must dig deeper to find.
>
> QNX and Free RTOS might support the board.
>
> Any RTOS typically provide Architecture Support Package (ARM) and Board
> Support Package (Beaglbone) so assuming the processor is supported as it's
> same also bad idea.
> If you search group for RTOS you see others a

Re: [beagleboard] Re: SGX - OPENGL - Buildroot

2020-05-03 Thread jonnymo
I've seen the "Unable to create surface" error when OpenGL can not attach
to a display.  Are you doing this remote or do you have some sort of
display attached to the board and running locally?Also, have you
checked the output of glxinfo or run glxgears to see if it can display the
gears demo?

Cheers,

Jon

On Sun, May 3, 2020 at 5:18 AM Fran H. Sena  wrote:

> https://elinux.org/BeagleBoneBlack/SGX_%2B_Qt_EGLFS_%2B_Weston
>
> El miércoles, 19 de febrero de 2020, 20:40:28 (UTC+1),
> s.cl...@guinault.com escribió:
>>
>> Hello,
>>
>> I'm currently trying to work with the latest configuration for the black
>> beaglebone on buildroot (beaglebone_qt5_defconfig).
>>
>> I am able to build and run the image on the board and the sgx module is
>> loaded :
>>
>>  lsmod | grep pvr
>> pvrsrvkm  389120  0
>>
>> When I try to run sgx demo like OGLES2Water, I get the error : *PVRShell:
>> Unable to initialise EGL*
>>
>> I saw on a forum that error is due to the absence of the mesa EGL
>> library. So I installed the package mesa3d from buildroot with the *DRI
>> swrast driver.*
>>
>> And now I have a new error :* PVRShell: Unable to create surface*
>>
>> I haven't found the cause of this new error and I am stuck at this stage.
>>
>> What is my error to make opengl work with buildroot for the black
>> beaglebone?
>>
>> 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/4860fc70-8804-4b0d-8356-ef183b351ad3%40googlegroups.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/CAG99bkoF98oLSjxrxKMLD9h6yFbQ33Fvz2tOrGS6y-yjMkRYbA%40mail.gmail.com.


Re: [beagleboard] Is it possible to run TI-RTOS or any RTOS on beaglebone blue?

2020-05-03 Thread jonnymo
You must be reading a different Release note then I am reading.
This seems to show more than just cortex-m support.
https://www.segger.com/products/debug-probes/j-link/models/model-overview/#supported-cores

 Segger does lists the J-Link EDU Mini with full J-Link support though.
There is also the $60 J-Link EDU which is basically the same as the Base
without all the extra software.

However, the mini was just tossed out as a suggestion.  Its up the
individual to do the proper research to see what works best for their
environment.

Cheers.

Jon

On Sun, May 3, 2020 at 8:13 AM Iain Hunter  wrote:

> Hi Jonny,
> Looking at that link from Segger it appears that they only support the
> cortex-M core devices from TI, so that wouldn't help on a BBB.
> The other factor that is important for some of us is that the Segger EDU
> emulators are explicitly for non-commercial use. If you are commercial use
> then you are looking at $400 which makes the TI emulators look like a
> bargain.
> Iain
>
> On Saturday, May 2, 2020 at 6:27:29 PM UTC+1, jonnymo wrote:
>>
>> Segger is an industry standard and if TI  does not support it with CCS
>> then I would suggest another MCU vendor.
>> There is this though:
>> https://wiki.segger.com/TI_Code_Composer_Studio
>>
>> Besides, CCS is just a TI version of Eclipse, so anything that can be
>> done in CCS can be done in Eclipse.  It may take some work to get the
>> project set-up, but it is possible.
>>
>>
>>
>> On Sat, May 2, 2020 at 10:10 AM 'Mark Lazarewicz' via BeagleBoard <
>> beagl...@googlegroups.com> wrote:
>>
>>> More how quickly they suggest using their Segger IDE. That's been my
>>> experience.🙈 Good luck building TI RTOS in anything besides CCS.
>>> This is there high end JTAG as well.
>>>
>>>
>>>
>>> https://forum.segger.com/index.php/Thread/4869-SOLVED-J-Link-on-Code-Composer-Studio/
>>>
>>>
>>> Sent from Yahoo Mail on Android
>>> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>>>
>>> On Sat, May 2, 2020 at 12:05 PM, 'Mark Lazarewicz' via BeagleBoard
>>>  wrote:
>>> Make Sure Segger comes with .gel file for CCS and driver's for CCS.
>>>
>>>  When you buy all TI products less head aches and better support as well
>>> adding the JTAG support to CCS. All this must be verified before buying.
>>>
>>>
>>>
>>> Sent from Yahoo Mail on Android
>>> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>>>
>>> On Sat, May 2, 2020 at 11:54 AM, jonnymo
>>>  wrote:
>>> The Segger J-Link EDU Mini is only like $20US.
>>> https://www.adafruit.com/product/3571
>>>
>>>
>>> On Sat, May 2, 2020 at 9:21 AM 'Mark Lazarewicz' via BeagleBoard <
>>> beagl...@googlegroups.com> wrote:
>>>
>>> Right looks like a black or white is best. A board with USB JTAG is
>>> cheaper as if $$$ are a problem the JTAG is $100+ the EVM supports JTAG
>>> over USB that's why they support no soldering.
>>>
>>> Sent from Yahoo Mail on Android
>>> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>>>
>>> On Sat, May 2, 2020 at 11:10 AM, jonnymo
>>>  wrote:
>>> For Ti-RTOS, you might want to start here.
>>> http://www.ti.com/tool/PROCESSOR-SDK-AM335X
>>>
>>> This looks interesting:
>>>
>>> http://huesmanbros.com/marc/2017/09/22/getting-ti-rtos-running-on-the-beaglebone-black/
>>>
>>>
>>> There is a page for QNX on the Beagleboard site, but perhaps more
>>> specific for the BB Black or EVM.  It could be possible to try it with the
>>> Blue, but I am not sure how they compare though.
>>> https://beagleboard.org/project/QNX+Neutrino+on+OMAP/
>>> http://www.qnx.com/products/reference-design/index.html
>>>
>>> There are JTAG pads on the back of the Blue so you would have to
>>> carefully solder headers to it and then use a JTAG programmer to load it.
>>> Again, all theory in my case since I have not attempted this with my dead
>>> Blue.
>>>
>>> htt

Re: [beagleboard] Is it possible to run TI-RTOS or any RTOS on beaglebone blue?

2020-05-03 Thread jonnymo
You asked, if I had experience with TI-RTOS and if I had experience
with TI-RTOS with other IDEs and I answered yes to those.  However,  I have
nothing to prove to you or anyone else for that matter that does not
provide me with a paycheck.  Believe what you want, I could not care less.

However, you don't need an IDE to use any programmer, be it a Segger or
other. But, then again you know all so I would expect you already have done
this.

Good luck.

Jon

On Sun, May 3, 2020 at 1:28 PM 'Mark Lazarewicz' via BeagleBoard <
beagleboard@googlegroups.com> wrote:

> Right Ian and I've had trouble with Segger.
> They work well for some IDE.
>  I don't want people wasting Money like I did.
> I'm very skeptical Johnny has gotten TI RTOS working on any Beaglbone it's
> not supported.
> And his claims that SYS BIOS( now TI RTOS) which uses autogenerated files
> compiles outside of CCS are dubious. If you stick with one vendor you won't
> waste weeks of Time fighting tool's. I agree 💯 with your assessment.
> Perhaps I will send Johnny a $20 JTAG and ask him to share his BBAI TI RTOS
> projects online using this $20 JTAG 🙈 with the group.
>
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>
> On Sun, May 3, 2020 at 2:50 PM, jonnymo
>  wrote:
> You must be reading a different Release note then I am reading.
> This seems to show more than just cortex-m support.
>
> https://www.segger.com/products/debug-probes/j-link/models/model-overview/#supported-cores
>
>  Segger does lists the J-Link EDU Mini with full J-Link support though.
> There is also the $60 J-Link EDU which is basically the same as the Base
> without all the extra software.
>
> However, the mini was just tossed out as a suggestion.  Its up the
> individual to do the proper research to see what works best for their
> environment.
>
> Cheers.
>
> Jon
>
> On Sun, May 3, 2020 at 8:13 AM Iain Hunter  wrote:
>
> Hi Jonny,
> Looking at that link from Segger it appears that they only support the
> cortex-M core devices from TI, so that wouldn't help on a BBB.
> The other factor that is important for some of us is that the Segger EDU
> emulators are explicitly for non-commercial use. If you are commercial use
> then you are looking at $400 which makes the TI emulators look like a
> bargain.
> Iain
>
> On Saturday, May 2, 2020 at 6:27:29 PM UTC+1, jonnymo wrote:
>
> Segger is an industry standard and if TI  does not support it with CCS
> then I would suggest another MCU vendor.
> There is this though:
> https://wiki.segger.com/TI_Code_Composer_Studio
>
> Besides, CCS is just a TI version of Eclipse, so anything that can be done
> in CCS can be done in Eclipse.  It may take some work to get the project
> set-up, but it is possible.
>
>
>
> On Sat, May 2, 2020 at 10:10 AM 'Mark Lazarewicz' via BeagleBoard <
> beagl...@googlegroups.com> wrote:
>
> More how quickly they suggest using their Segger IDE. That's been my
> experience.🙈 Good luck building TI RTOS in anything besides CCS.
> This is there high end JTAG as well.
>
>
>
> https://forum.segger.com/index.php/Thread/4869-SOLVED-J-Link-on-Code-Composer-Studio/
>
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>
> On Sat, May 2, 2020 at 12:05 PM, 'Mark Lazarewicz' via BeagleBoard
>  wrote:
> Make Sure Segger comes with .gel file for CCS and driver's for CCS.
>
>  When you buy all TI products less head aches and better support as well
> adding the JTAG support to CCS. All this must be verified before buying.
>
>
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>
> On Sat, May 2, 2020 at 11:54 AM, jonnymo
>  wrote:
> The Segger J-Link EDU Mini is only like $20US.
> https://www.adafruit.com/product/3571
>
>
> On Sat, May 2, 2020 at 9:21 AM 'Mark Lazarewicz' via BeagleBoard <
> beagl...@googlegroups.com> wrote:
>
> Right looks like a black or white is best. A board with USB JTAG is
> cheaper as if $$$ are a problem the JTAG is $100+ the EVM supports JTAG
> over USB that's why they support no soldering.
>
> Sent from Yahoo Mail on Android
> <https

Re: [beagleboard] RE: Trying to Understand Complicated Source w/ Classes from the ServoCape and Python3/ServoCape and the PCA9685

2020-05-05 Thread jonnymo
If you provide a link to the source of this that would help.

But, basically in your own Python code you would first import the class

Ex:
  * from source_file import Pca9685*

The you could create an instance of this like:

  * my_servo_control =  Pca9685(bus_num, addr_val)*

You could need to know the value of bus_num and addr_val to set these.

Then you could call the methods as such:
   *my_servo_control.read_reg(reg_val)*

 Again, you would need to know what the value of reg_val is to set the
'reg' parameter for the 'read_reg' method.

You still need to know where it is getting the '*write_i2c_block_data*' and
*'read_i2c_block_data*' methods from though.
Perhaps 'import smbus' is missing?
https://learn.sparkfun.com/tutorials/python-programming-tutorial-getting-started-with-the-raspberry-pi/experiment-4-i2c-temperature-sensor


A course in Python wouldn't hurt.


Cheers,

Jon


On Tue, May 5, 2020 at 1:29 PM Mala Dies  wrote:

> Hello,
>
> I have a, to me, piece of complicated text in Python3 format.
>
> Anyway...
>
> I have been unable to make the conversion of the wrapper to another
> Python3 file.
>
> So, here is the source in case you are interested:
>
> from time import sleep
>
> # relevant registers
> MODE1   = 0x00
> MODE2   = 0x01
> LED = 0x06
> ALL_LED = 0xFA
> PRE_SCALE   = 0xFE
>
> class Pca9685:
> def __init__( self, bus, addr ):
> self.addr = 0b1000 | addr
> self.bus = bus
> self.write_reg( MODE1, 1 << 5 )  # initialize MODE1 register
> sleep( 500e-6 )  # wait 500us to allow oscillator to power up
>
> def read_reg( self, reg )
> return self.read_regs( reg, 1 )[0]
>
> def write_reg( self, reg, value ):
> return self.write_regs( reg, [ value ] )
>
> def read_regs( self, reg, count ):
> assert reg in range( 0, 256 )
> assert count in range( 1, 257-reg )
> return self.bus.read_i2c_block_data( self.addr, reg, count )
>
> def write_regs( self, reg, values ):
> assert reg in range( 0, 256 )
> return self.bus.write_i2c_block_data( self.addr, reg, values )
>
> def get_pwm( self, output ):
> assert output in range( 0, 16 )
> reg = LED + 4 * output
>
> [ on_l, on_h, off_l, off_h ] = self.read_regs( reg, 4 )
> on = on_l | on_h << 8
> off = off_l | off_h << 8
>
> phase = on
> duty = ( off - on ) & 0xfff
> if off & 0x1000:
> duty = 0
> elif on & 0x1000:
> duty = 4096
>
> return ( duty, phase )
>
> def set_pwm( self, output, duty, phase=0 ):
> assert duty in range( 0, 4097 )
> assert phase in range( 0, 4096 )
>
> if output == 'all':
> reg = ALL_LED
> else:
> assert output in range( 0, 16 )
> reg = LED + 4 * output
>
> on = phase
> off = ( duty + phase ) & 0xfff
> if duty == 0:
> off |= 0x1000
> elif duty == 4096:
> on |= 0x1000
>
> on_l = on & 0xff
> on_h = on >> 8
> off_l = off & 0xff
> off_h = off >> 8
> self.write_regs( reg, [ on_l, on_h, off_l, off_h ] )
>
> Now...
>
> How would I actually use this source to promote a servo movement with the
> ServoCape?
>
> I have tried particular source from different tutorials, the python.org
> site, and examples of classes online.
>
> None really cover the BBB and expansion Capes like this source is listed.
> Anyway...
>
> What steps if any would you take to make a servo move w/ this Cape and
> source?
>
>
>- Would I need a Adafruit_BBIO library for GPIO/PWM or a similar
>library?
>
> Seth
>
> --
> 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/5e42131b-733f-413d-91e9-eb204e204f84%40googlegroups.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/CAG99bkp%3Dx9QNdd_rfPWxhCxWJ9vFHzXjt3PtvsoLsrymO-WNwQ%40mail.gmail.com.


Re: [beagleboard] RE: Trying to Understand Complicated Source w/ Classes from the ServoCape and Python3/ServoCape and the PCA9685

2020-05-05 Thread jonnymo
When you call the methods in the Pca9685 you need to pass the appropriate
parameters.

 Ex:
 read_reg( self, reg )

  You need to pass a reg value to this.

*   reg_val = some_reg_val*

*   read_result = x.read_reg(reg_val) *

*   print(read_result)*


I can't see the rest of your code so I am not sure if it will work or not.

Search the web for Python3 tutorials.

Jon

On Tue, May 5, 2020 at 3:01 PM Mala Dies  wrote:

> Hello,
>
> Okay.
>
> So, I am using smbus2 in python3 for the communication of the i2c
> interface on the ServoCape (PCA9685).
>
> So:
>
> from smbus2 import SMBus
> from ServoLib import Pca9685
> from time import sleep
>
>
> i2c2 = SMBus("/dev/i2c-2")
> x = Pca9685(i2c2, 0b11)
>
> So, everything under this first section of my python source should work as
> described:
>
> x.__init__
> x.read_reg
> x.write_reg
> x.read_regs
> x.write_regs
> x.get_pwm
> x.set_pwm
>
>
> Is this correct?
>
> Seth
>
>
>
> On Tuesday, May 5, 2020 at 4:09:33 PM UTC-5, jonnymo wrote:
>>
>> If you provide a link to the source of this that would help.
>>
>> But, basically in your own Python code you would first import the class
>>
>> Ex:
>>   * from source_file import Pca9685*
>>
>> The you could create an instance of this like:
>>
>>   * my_servo_control =  Pca9685(bus_num, addr_val)*
>>
>> You could need to know the value of bus_num and addr_val to set these.
>>
>> Then you could call the methods as such:
>>*my_servo_control.read_reg(reg_val)*
>>
>>  Again, you would need to know what the value of reg_val is to set the
>> 'reg' parameter for the 'read_reg' method.
>>
>> You still need to know where it is getting the '*write_i2c_block_data*'
>> and *'read_i2c_block_data*' methods from though.
>> Perhaps 'import smbus' is missing?
>>
>> https://learn.sparkfun.com/tutorials/python-programming-tutorial-getting-started-with-the-raspberry-pi/experiment-4-i2c-temperature-sensor
>>
>>
>> A course in Python wouldn't hurt.
>>
>>
>> Cheers,
>>
>> Jon
>>
>>
>> On Tue, May 5, 2020 at 1:29 PM Mala Dies  wrote:
>>
>>> Hello,
>>>
>>> I have a, to me, piece of complicated text in Python3 format.
>>>
>>> Anyway...
>>>
>>> I have been unable to make the conversion of the wrapper to another
>>> Python3 file.
>>>
>>> So, here is the source in case you are interested:
>>>
>>> from time import sleep
>>>
>>> # relevant registers
>>> MODE1   = 0x00
>>> MODE2   = 0x01
>>> LED = 0x06
>>> ALL_LED = 0xFA
>>> PRE_SCALE   = 0xFE
>>>
>>> class Pca9685:
>>> def __init__( self, bus, addr ):
>>> self.addr = 0b1000 | addr
>>> self.bus = bus
>>> self.write_reg( MODE1, 1 << 5 )  # initialize MODE1 register
>>> sleep( 500e-6 )  # wait 500us to allow oscillator to power up
>>>
>>> def read_reg( self, reg )
>>> return self.read_regs( reg, 1 )[0]
>>>
>>> def write_reg( self, reg, value ):
>>> return self.write_regs( reg, [ value ] )
>>>
>>> def read_regs( self, reg, count ):
>>> assert reg in range( 0, 256 )
>>> assert count in range( 1, 257-reg )
>>> return self.bus.read_i2c_block_data( self.addr, reg, count )
>>>
>>> def write_regs( self, reg, values ):
>>> assert reg in range( 0, 256 )
>>> return self.bus.write_i2c_block_data( self.addr, reg, values )
>>>
>>> def get_pwm( self, output ):
>>> assert output in range( 0, 16 )
>>> reg = LED + 4 * output
>>>
>>> [ on_l, on_h, off_l, off_h ] = self.read_regs( reg, 4 )
>>> on = on_l | on_h << 8
>>> off = off_l | off_h << 8
>>>
>>> phase = on
>>> duty = ( off - on ) & 0xfff
>>> if off & 0x1000:
>>> duty = 0
>>> elif on & 0x1000:
>>> duty = 4096
>>>
>>> return ( duty, phase )
>>>
>>> def set_pwm( self, output, duty, phase=0 ):
>>> assert duty in range( 0, 4097 )
>>> assert phase in range( 0, 4096 )
>>>
>>> if output == 'all':
>&

Re: [beagleboard] RE: Trying to Understand Complicated Source w/ Classes from the ServoCape and Python3/ServoCape and the PCA9685

2020-05-05 Thread jonnymo
My reference to  reg_val  was just a reference and an example. I have no
idea what you need for the value which is something you need to research.

I have no idea where you got the original code from, but you should start
there.

Jon

On Tue, May 5, 2020 at 5:08 PM Mala Dies  wrote:

> from smbus2 import SMBus
> from ServoLib import Pca9685
> from time import sleep
>
> i2c2 = SMBus("/dev/i2c-2")
> x = Pca9685(i2c2, 0b11)
>
> x.read_reg(2)
> x.write_reg(2, 1)
> x.read_regs(2, 5)
> x.write_regs(2, len(int(0))
>
> angle  = int(input("What would your favorite angle be now? ")
> if angle <= 180 or angle >=0:
> angle = x.get_pwm(1)
> f = angle + x.set_pwm(0, 2000, 0)
> print("Your angle is " + angle)
>
> Jon,
>
> Seth here. Yep. Here is some source. I am not sure if you have the Cape or
> not but I was wrangling w/ getting the basics to work first, e.g:
>
> read_reg
> write_reg
> read_regs
> write_regs
> get_pwm
> set_pwm
>
> and so on...
>
> I got the first couple of functions from the class being called to not
> give any errors. Then, https://pastebin.com/bXWhdrzA, this link is the
> error I received.
>
> I then made some changes as you can tell in the source for write_regs w/
> len(int).
>
> Seth
>
> P.S. I know this is partial source and not worth showing off but I wanted
> to see if you can configure what exactly it is that I am doing incorrectly.
>
> When you typed reg_val before in this post, were you referring to
> hexadecimal register values?
>
>
>
>
>
> On Tuesday, May 5, 2020 at 5:22:17 PM UTC-5, jonnymo wrote:
>>
>> When you call the methods in the Pca9685 you need to pass the appropriate
>> parameters.
>>
>>  Ex:
>>  read_reg( self, reg )
>>
>>   You need to pass a reg value to this.
>>
>> *   reg_val = some_reg_val*
>>
>> *   read_result = x.read_reg(reg_val) *
>>
>> *   print(read_result)*
>>
>>
>> I can't see the rest of your code so I am not sure if it will work or not.
>>
>> Search the web for Python3 tutorials.
>>
>> Jon
>>
>> On Tue, May 5, 2020 at 3:01 PM Mala Dies  wrote:
>>
>>> Hello,
>>>
>>> Okay.
>>>
>>> So, I am using smbus2 in python3 for the communication of the i2c
>>> interface on the ServoCape (PCA9685).
>>>
>>> So:
>>>
>>> from smbus2 import SMBus
>>> from ServoLib import Pca9685
>>> from time import sleep
>>>
>>>
>>> i2c2 = SMBus("/dev/i2c-2")
>>> x = Pca9685(i2c2, 0b11)
>>>
>>> So, everything under this first section of my python source should work
>>> as described:
>>>
>>> x.__init__
>>> x.read_reg
>>> x.write_reg
>>> x.read_regs
>>> x.write_regs
>>> x.get_pwm
>>> x.set_pwm
>>>
>>>
>>> Is this correct?
>>>
>>> Seth
>>>
>>>
>>>
>>> On Tuesday, May 5, 2020 at 4:09:33 PM UTC-5, jonnymo wrote:
>>>>
>>>> If you provide a link to the source of this that would help.
>>>>
>>>> But, basically in your own Python code you would first import the class
>>>>
>>>> Ex:
>>>>   * from source_file import Pca9685*
>>>>
>>>> The you could create an instance of this like:
>>>>
>>>>   * my_servo_control =  Pca9685(bus_num, addr_val)*
>>>>
>>>> You could need to know the value of bus_num and addr_val to set these.
>>>>
>>>> Then you could call the methods as such:
>>>>*my_servo_control.read_reg(reg_val)*
>>>>
>>>>  Again, you would need to know what the value of reg_val is to set the
>>>> 'reg' parameter for the 'read_reg' method.
>>>>
>>>> You still need to know where it is getting the '*write_i2c_block_data*'
>>>> and *'read_i2c_block_data*' methods from though.
>>>> Perhaps 'import smbus' is missing?
>>>>
>>>> https://learn.sparkfun.com/tutorials/python-programming-tutorial-getting-started-with-the-raspberry-pi/experiment-4-i2c-temperature-sensor
>>>>
>>>>
>>>> A course in Python wouldn't hurt.
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Jon
>>>>
>>>>
>>>> On Tue, May 5, 2020 at 1:29 PM Mala Dies  wrote:
>>>>

Re: [beagleboard] RE: Trying to Understand Complicated Source w/ Classes from the ServoCape and Python3/ServoCape and the PCA9685

2020-05-05 Thread jonnymo
Oh, the error you are seeing is that 'int' does not have a len.  What you
may try is to convert it to a string and then get the len:

Ex:
  int_len =  len(str(0)

or
Ex: For values greater than 0.
  int_len = int(math.log10(int_val)) + 1

But I am not sure why you are getting the length of 0.

I don't have a cape, so I can not help you there.

Cheers,

Jon


On Tue, May 5, 2020 at 5:13 PM jonnymo  wrote:

> My reference to  reg_val  was just a reference and an example. I have no
> idea what you need for the value which is something you need to research.
>
> I have no idea where you got the original code from, but you should start
> there.
>
> Jon
>
> On Tue, May 5, 2020 at 5:08 PM Mala Dies  wrote:
>
>> from smbus2 import SMBus
>> from ServoLib import Pca9685
>> from time import sleep
>>
>> i2c2 = SMBus("/dev/i2c-2")
>> x = Pca9685(i2c2, 0b11)
>>
>> x.read_reg(2)
>> x.write_reg(2, 1)
>> x.read_regs(2, 5)
>> x.write_regs(2, len(int(0))
>>
>> angle  = int(input("What would your favorite angle be now? ")
>> if angle <= 180 or angle >=0:
>> angle = x.get_pwm(1)
>> f = angle + x.set_pwm(0, 2000, 0)
>> print("Your angle is " + angle)
>>
>> Jon,
>>
>> Seth here. Yep. Here is some source. I am not sure if you have the Cape
>> or not but I was wrangling w/ getting the basics to work first, e.g:
>>
>> read_reg
>> write_reg
>> read_regs
>> write_regs
>> get_pwm
>> set_pwm
>>
>> and so on...
>>
>> I got the first couple of functions from the class being called to not
>> give any errors. Then, https://pastebin.com/bXWhdrzA, this link is the
>> error I received.
>>
>> I then made some changes as you can tell in the source for write_regs w/
>> len(int).
>>
>> Seth
>>
>> P.S. I know this is partial source and not worth showing off but I wanted
>> to see if you can configure what exactly it is that I am doing incorrectly.
>>
>> When you typed reg_val before in this post, were you referring to
>> hexadecimal register values?
>>
>>
>>
>>
>>
>> On Tuesday, May 5, 2020 at 5:22:17 PM UTC-5, jonnymo wrote:
>>>
>>> When you call the methods in the Pca9685 you need to pass the
>>> appropriate parameters.
>>>
>>>  Ex:
>>>  read_reg( self, reg )
>>>
>>>   You need to pass a reg value to this.
>>>
>>> *   reg_val = some_reg_val*
>>>
>>> *   read_result = x.read_reg(reg_val) *
>>>
>>> *   print(read_result)*
>>>
>>>
>>> I can't see the rest of your code so I am not sure if it will work or
>>> not.
>>>
>>> Search the web for Python3 tutorials.
>>>
>>> Jon
>>>
>>> On Tue, May 5, 2020 at 3:01 PM Mala Dies  wrote:
>>>
>>>> Hello,
>>>>
>>>> Okay.
>>>>
>>>> So, I am using smbus2 in python3 for the communication of the i2c
>>>> interface on the ServoCape (PCA9685).
>>>>
>>>> So:
>>>>
>>>> from smbus2 import SMBus
>>>> from ServoLib import Pca9685
>>>> from time import sleep
>>>>
>>>>
>>>> i2c2 = SMBus("/dev/i2c-2")
>>>> x = Pca9685(i2c2, 0b11)
>>>>
>>>> So, everything under this first section of my python source should work
>>>> as described:
>>>>
>>>> x.__init__
>>>> x.read_reg
>>>> x.write_reg
>>>> x.read_regs
>>>> x.write_regs
>>>> x.get_pwm
>>>> x.set_pwm
>>>>
>>>>
>>>> Is this correct?
>>>>
>>>> Seth
>>>>
>>>>
>>>>
>>>> On Tuesday, May 5, 2020 at 4:09:33 PM UTC-5, jonnymo wrote:
>>>>>
>>>>> If you provide a link to the source of this that would help.
>>>>>
>>>>> But, basically in your own Python code you would first import the class
>>>>>
>>>>> Ex:
>>>>>   * from source_file import Pca9685*
>>>>>
>>>>> The you could create an instance of this like:
>>>>>
>>>>>   * my_servo_control =  Pca9685(bus_num, addr_val)*
>>>>>
>>>>> You could need to know the value of bus_num and addr_val to set these.
>>>>>
>>>>> Then you could call the meth

Re: [beagleboard] Re: accessing P9.13 on Beaglebone AI

2020-05-12 Thread jonnymo
There is an open issue for the BBAI in reference to adding AB10 GPIO
support but states being added with rev. A2 which I thought was the current
rev board:
This is also mentioned in the System Reference Manual:
https://github.com/beagleboard/beaglebone-ai/wiki/System-Reference-Manual

HW: P9.13 does not have a GPIO:
https://github.com/beagleboard/beaglebone-ai/issues/22

Perhaps it was not implemented yet?

Cheers,

Jon



On Tue, May 12, 2020 at 6:11 AM John Allwine  wrote:

> Thanks for the suggestions. Here's what I get when I run show_pins.pl
> when I use the device tree overlay linked above
> 
> :
> $ sudo /opt/scripts/device/bone/show-pins.pl | grep "P9.13"
> P9.13b   160 AB10 e fast rx  up  gpio6_12
> P9.13a   204  C17 f fast rx  Driver off
>
> That seems right, but unfortunately I can't seem to properly read from it.
> When I take out the line that configures P9.13b from my device tree, it
> also does what would be expected so it seems like I'm configuring my device
> tree correctly.
> $ sudo /opt/scripts/device/bone/show-pins.pl  | grep P9.13
> P9.13b   160 AB10 f fastdown Driver off
> P9.13a   204  C17 f fast rx  Driver off
>
> Maybe Jason can chime in here. Why is P9.13b not blue in your spreadsheet?
> Does that mean it's not a usable pin?
>
> On Mon, May 11, 2020 at 11:27 PM Jon Morss  wrote:
>
>> According to the spreadsheet that Jason sent some time back, P9.13 does
>> not have the gpio value highlighted in blue but I am not sure what that
>> really means.  However, it seems the pins with a gpio value in blue seem to
>> work fine, such as P9.12 (gpio5_0).
>>
>> https://docs.google.com/spreadsheets/d/1fE-AsDZvJ-bBwzNBj1_sPDrutvEvsmARqFwvbw_HkrE/edit?usp=sharing
>>
>> You could check the output of showpins to see what P9.13x is set to:
>> sudo /opt/scripts/device/bone/show-pins.pl |grep "P9.13"
>> P9.13b   160 AB10 e fast rx  gpio6_12
>> P9.13a   204  C17 e fastdown
>>
>> With P9.12 set, it looks as such:
>> sudo /opt/scripts/device/bone/show-pins.pl |grep "P9.12"
>> P9.12171  B14 e fast rx  gpio5_0
>>
>> Also,  I do add this in the .dts file:
>>
>> cape_pins: cape_pins {
>> compatible = "gpio-leds";
>> pinctrl-names = "default";
>> gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>,
>> <&gpio5 0 GPIO_ACTIVE_HIGH>;
>> pinctrl-0 = <&cape_pins_default>;
>> };
>>
>>
>> Perhaps there is another trick to get P9.13b to work as a GPIO pin.
>>
>> Cheers,
>>
>> Jon
>>
>>
>> On Monday, May 11, 2020 at 3:25:59 PM UTC-7, John Allwine wrote:
>>>
>>> When I manually wire a pull up resistor, I still am not able to detect a
>>> high signal using the methods I listed, though I can verify with a
>>> multimeter that P9.13 is high.
>>>
>>> On Monday, May 11, 2020 at 3:17:36 PM UTC-6, John Allwine wrote:

 I'm trying to configure P9.13 on the Beaglebone AI as an input pull up,
 but am not having any success. In the System Manual
 
 it lists P9.13a as not being bound to a GPIO port, but P9.13b is bound to
 GPIO6_12. This is the device tree overlay I'm using
 
  with
 line 56 showing how I'm attempting to configure P9.13b (and P9.13a the line
 above it). Am I doing something wrong in my device tree overlay? I've had
 success configuring many other pins, but P9.13 is giving me trouble for
 some reason.

 I'm testing it a couple ways:
 1) with sysfs
 echo 172 > /sys/class/gpio/export
 cat /sys/class/gpio/gpio172/value

 2) with libgpio
 gpioget gpiochip5 12

 Both return a value of 0, when I'd expect it to be 1 (I don't have
 anything wired to it). Any idea what I'm doing wrong?

>>> --
>> 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/d808c9de-7abd-42bd-ab24-a697fb5f1913%40googlegroups.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

Re: [beagleboard] Re: how to reinstall base OS on bbb if purge command has been used to uninstall all packages

2020-05-12 Thread jonnymo
Etcher works with Linux and Mac:
https://www.balena.io/etcher/

It's fine for uSD cards less than 64GB, otherwise you need to format the
card as  ExFAT first.

Jon

On Tue, May 12, 2020 at 6:10 PM Amrinder Singh 
wrote:

> i used dd. i only have linux/mac.
>
> --
> 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/f0c56bd8-070d-43a5-9889-ca4e78eea349%40googlegroups.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/CAG99bkpUWWPTrpJ67wANw7jL80cAjd%2BcqVpxRFXp1SqCzFZzrA%40mail.gmail.com.


Re: [beagleboard] Re: Can not connect via USB

2020-05-12 Thread jonnymo
You may need to install the missing arptables and ebtables if they are not
already installed:

  *sudo apt-get install -y iptables arptables ebtables*

Cheers,

Jon

On Tue, May 12, 2020 at 10:41 PM Rajesh Kulkarni 
wrote:

> Hi Robert,
> I tried the script on my PC Ubunutu host .
> All commands went through except for the last two, for which the error
> message was something like :
>
> *update-alternatives: error: alternative /usr/sbin/arptables-legacy for
> arptables not registered; not setting*
>
> *update-alternatives: error: alternative /usr/sbin/ebtables-legacy for
> ebtables not registered; not setting*
>
> And after that when I ran the script on my BBB all I got was :
>
> *debian@beaglebone:~$ sudo /opt/scripts/network/usb_linux_usb0_ics.sh
>   *
> *SIOCADDRT: File exists
>   *
> *PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
>   *
> *From 192.168.7.1 icmp_seq=1 Destination Host Unreachable*
>
> And the IP was unreachable. Is it something which is trivial and I am
> doing wrong ?.
>
> One more question in the following command :
>
> sudo iptables --table nat --append POSTROUTING --out-interface eth0 -j 
> MASQUERADE
> sudo iptables --append FORWARD --in-interface eth1 -j ACCEPT
>
> I would want to use my wifi id instead of eth0 if I want the internet to go 
> through PC Host wifi , right ?And my eth0 is 192.168.7.1 & eth1 is 
> 192.168.6.1. Is it encouraged to use eth1 for BBB on Linux instead of 
> 192.168.7.1 ?
>
>
>
> On Tuesday, May 12, 2020 at 9:09:53 PM UTC-7, RobertCNelson wrote:
>>
>>
>>
>> On Tue, May 12, 2020, 10:58 PM Rajesh Kulkarni 
>> wrote:
>>
>>> I have installed the latest debian image on my BBB. And I don't know how
>>> to proceed with getting the internet to work via USB .
>>>
>>> Does making the following changes in /etc/default/bb-boot get you a
>>> internet connection ? (I mean via Wifi as a gateway BBB via
>>> USB<-->UBUNTU<-> Wifi  )
>>>
>>
>>
>> Just use iptables on your Ubuntu host:
>>
>>
>> https://github.com/RobertCNelson/boot-scripts/blob/master/network/doc-debian-setup.md
>>
>> And run this script on the beagle
>>
>> sudo /opt/scripts/network/usb_linux_usb0_ics.sh
>>
>>
>> Regards,
>>
> --
> 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/68dfb039-f96d-4a87-b1db-d107c8dd5939%40googlegroups.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/CAG99bkp4LxYPBWQH%3DYg_ixWt-K7wR2VGtekjtqb-YBxEz_d4fA%40mail.gmail.com.


Re: [beagleboard] Re: Can not connect via USB

2020-05-16 Thread jonnymo
I'm seeing a similar issue with a BBAI.
However, on my host Ubuntu 18 system, I am seeing the network ports from
the BB in the routing table.

*$ sudo netstat -rn*
*Kernel IP routing table*
*Destination Gateway Genmask Flags   MSS Window  irtt
Iface*
*0.0.0.0 192.168.2.1 0.0.0.0 UG0 0  0
wlan0*
*169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
wlan0*
*172.17.0.0  0.0.0.0 255.255.0.0 U 0 0  0
docker0*
*192.168.2.0 0.0.0.0 255.255.255.0   U 0 0  0
wlan0*
*192.168.6.0 0.0.0.0 255.255.255.0   U 0 0  0
usb0*
*192.168.7.0 0.0.0.0 255.255.255.0   U 0 0  0
eth1*


   On the BB:
  *# netstat -rn*







*Kernel IP routing tableDestination Gateway Genmask
Flags   MSS Window  irtt Iface0.0.0.0 192.168.7.1 0.0.0.0
  UG0 0  0 usb0192.168.6.0 0.0.0.0
255.255.255.0   U 0 0  0 usb1192.168.7.0 0.0.0.0
  255.255.255.0   U 0 0  0 usb0192.168.8.0 0.0.0.0
255.255.255.0   U 0 0  0 SoftAp0*

Running tcpdump on my Ubuntu system, I can see where the incoming traffic
from the BB is reaching the correct IP on the host but does not seem to be
getting routed out.

On BB:

*# ping -I usb0 8.8.8.8*

On Host:

*$ sudo tcpdump -nvvi wlan0 'icmp[icmptype] == icmp-echo or icmp[icmptype]
== icmp-echoreply'*
*tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size
262144 bytes*
*08:55:34.027628 IP (tos 0x0, ttl 115, id 44071, offset 0, flags [DF],
proto ICMP (1), length 84)*
*192.168.2.216 > 8.8.8.8 : ICMP echo request, id 1402,
seq 1, length 64*
*08:55:34.049037 IP (tos 0x20, ttl 52, id 0, offset 0, flags [none], proto
ICMP (1), length 84)*
*8.8.8.8 > 192.168.2.216 : ICMP echo reply, id
1402, seq 1, length 64*
*08:55:35.049654 IP (tos 0x0, ttl 115, id 44297, offset 0, flags [DF],
proto ICMP (1), length 84)*
*192.168.2.216 > 8.8.8.8 : ICMP echo request, id 1402,
seq 2, length 64*
*08:55:35.067301 IP (tos 0x20, ttl 52, id 0, offset 0, flags [none], proto
ICMP (1), length 84)*

It seems that something either on the Ubuntu side or in the network is
blocking the traffic.

Cheers,

Jon

On Sat, May 16, 2020 at 7:07 AM KenUnix  wrote:

>
> I too am having problems today. In your regard
>
> The following is my netstat -rn for my Ubuntu Linux host PC:
>
> Kernel IP routing table
>|||---
> Destination Gateway Genmask Flags   MSS Window  irtt
> Iface
> 0.0.0.0 192.168.1.1 0.0.0.0 UG0 0  0
> wlp8s0
> 10.42.0.0   0.0.0.0 255.255.255.0   U 0 0  0
> eth0
> 10.42.1.0   0.0.0.0 255.255.255.0   U 0 0  0
> eth1
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
> eth0
> 192.168.1.0 0.0.0.0 255.255.255.0   U 0 0  0
> wlp8s0  (wlp8s0 is my wifi)
>
> And my BBB routing table looks like
>   |||---
> Destination Gateway Genmask Flags   MSS Window  irtt
> Iface
> 0.0.0.0 192.168.7.1 0.0.0.0 UG0 0  0
> usb0
> 192.168.6.0 0.0.0.0 255.255.255.0   U 0 0  0
> usb1
> 192.168.7.0 0.0.0.0 255.255.255.0   U 0 0  0
> usb0
>
> The gateway address on BOTH sides of the connection should match
> with one side being .1 and the other side being 2  If they do not
> line up each side will not see the other side.
>
> --
> 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/21cc8527-1fd9-4f9f-bd7d-7d6f46f25f58%40googlegroups.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/CAG99bkr7RGpa_wmvtjbw1JFkHe381xE%3Dn9-pJ0EmuD4W2itMDQ%40mail.gmail.com.


Re: [beagleboard] Re: Can not connect via USB

2020-05-16 Thread jonnymo
I can ssh between the PC and the BB via 192.168.7.x and back without
issue.
However, no traffic is sent out passed the wireless connection.

Jon


On Sat, May 16, 2020 at 9:44 AM Kenneth Martin 
wrote:

>
> *On the Beaglebone can you ping* * 192.168.7.1 ?*
>
> *On my Beaglebone here is what I get*
>
>
>
>
>
>
>
> *debian@beaglebone:~$ netstat -rnKernel IP routing tableDestination
> Gateway Genmask Flags   MSS Window  irtt Iface0.0.0.0
>   192.168.7.1   0.0.0.0 UG0 0  0
> usb0192.168.6.0   0.0.0.0 255.255.255.0   U 0 0
>  0 usb1192.168.147.0   0.0.0.0 255.255.255.0   U 0 0
>0 usb0*
>
> *Looking at your setup I would say the ping will fail*
>
> *$ sudo netstat -rn*
> *Kernel IP routing table*
> *Destination Gateway Genmask Flags   MSS Window  irtt
> Iface*
> *0.0.0.0 192.168.2.1 0.0.0.0 UG0 0  0
> wlan0*
> *169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
> wlan0*
> *172.17.0.0  0.0.0.0 255.255.0.0 U 0 0  0
> docker0*
> *192.168.2.0 0.0.0.0 255.255.255.0   U 0 0  0
> wlan0*
> *192.168.6.0 0.0.0.0 255.255.255.0   U 0 0  0
> usb0*
> *192.168.7.0 0.0.0.0 255.255.255.0   U 0 0      0
> eth1*
>
>
> *Unfortunately my only Linux hosts are on VM's.*
>
> On Sat, May 16, 2020 at 12:11 PM jonnymo  wrote:
>
>> I'm seeing a similar issue with a BBAI.
>> However, on my host Ubuntu 18 system, I am seeing the network ports from
>> the BB in the routing table.
>>
>> *$ sudo netstat -rn*
>> *Kernel IP routing table*
>> *Destination Gateway Genmask Flags   MSS Window  irtt
>> Iface*
>> *0.0.0.0 192.168.2.1 0.0.0.0 UG0 0  0
>> wlan0*
>> *169.254.0.0 0.0.0.0 255.255.0.0 U 0 0  0
>> wlan0*
>> *172.17.0.0  0.0.0.0 255.255.0.0 U 0 0  0
>> docker0*
>> *192.168.2.0 0.0.0.0 255.255.255.0   U 0 0  0
>> wlan0*
>> *192.168.6.0 0.0.0.0 255.255.255.0   U 0 0  0
>> usb0*
>> *192.168.7.0 0.0.0.0 255.255.255.0   U 0 0  0
>> eth1*
>>
>>
>>On the BB:
>>   *# netstat -rn*
>>
>>
>>
>>
>>
>>
>>
>> *Kernel IP routing tableDestination Gateway Genmask
>> Flags   MSS Window  irtt Iface0.0.0.0 192.168.7.1 0.0.0.0
>>   UG0 0  0 usb0192.168.6.0 0.0.0.0
>> 255.255.255.0   U 0 0  0 usb1192.168.7.0 0.0.0.0
>>   255.255.255.0   U 0 0  0 usb0192.168.8.0 0.0.0.0
>> 255.255.255.0   U 0 0  0 SoftAp0*
>>
>> Running tcpdump on my Ubuntu system, I can see where the incoming traffic
>> from the BB is reaching the correct IP on the host but does not seem to be
>> getting routed out.
>>
>> On BB:
>>
>> *# ping -I usb0 8.8.8.8*
>>
>> On Host:
>>
>> *$ sudo tcpdump -nvvi wlan0 'icmp[icmptype] == icmp-echo or
>> icmp[icmptype] == icmp-echoreply'*
>> *tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size
>> 262144 bytes*
>> *08:55:34.027628 IP (tos 0x0, ttl 115, id 44071, offset 0, flags [DF],
>> proto ICMP (1), length 84)*
>> *192.168.2.216 > 8.8.8.8 <http://8.8.8.8>: ICMP echo request, id
>> 1402, seq 1, length 64*
>> *08:55:34.049037 IP (tos 0x20, ttl 52, id 0, offset 0, flags [none],
>> proto ICMP (1), length 84)*
>> *8.8.8.8 > 192.168.2.216 <http://192.168.2.216>: ICMP echo reply, id
>> 1402, seq 1, length 64*
>> *08:55:35.049654 IP (tos 0x0, ttl 115, id 44297, offset 0, flags [DF],
>> proto ICMP (1), length 84)*
>> *192.168.2.216 > 8.8.8.8 <http://8.8.8.8>: ICMP echo request, id
>> 1402, seq 2, length 64*
>> *08:55:35.067301 IP (tos 0x20, ttl 52, id 0, offset 0, flags [none],
>> proto ICMP (1), length 84)*
>>
>> It seems that something either on the Ubuntu side or in the network is
>> blocking the traffic.
>>
>> Cheers,
>>
>> Jon
>>
>> On Sat, May 16, 2020 at 7:07 AM KenUnix  wrote:
>>
>>>
>>> I too am having problems today. In your regard
>>>
>>> The following is my netstat -rn for my Ubuntu Linux host PC:
>>>
>>> Kernel IP routing table
>>> 

Re: [beagleboard] Re: Can not connect via USB

2020-05-16 Thread jonnymo
Okay, I solved my issue by adding an iptable entry for the return from
wlan0 to eth1 (BB).

* sudo iptables -A FORWARD -i wlan0 -o eth1 -j ACCEPT*


Now pinging '8.8.8.8' from the BB works as expected.

*root@beaglebone:~# ping -I usb0 8.8.8.8*
*PING 8.8.8.8 (8.8.8.8) from 192.168.7.2 usb0: 56(84) bytes of data.*
*64 bytes from 8.8.8.8 <http://8.8.8.8>: icmp_seq=1 ttl=103 time=17.9 ms*
*64 bytes from 8.8.8.8 <http://8.8.8.8>: icmp_seq=2 ttl=103 time=15.8 ms*
*64 bytes from 8.8.8.8 <http://8.8.8.8>: icmp_seq=3 ttl=103 time=15.3 ms*
*64 bytes from 8.8.8.8 <http://8.8.8.8>: icmp_seq=4 ttl=103 time=15.7 m*


Cheers,

Jon

On Sat, May 16, 2020 at 12:29 PM Robert Heller  wrote:

> At Sat, 16 May 2020 13:32:03 -0400 beagleboard@googlegroups.com wrote:
>
> >
> > Jon,
> >
> > So you can ssh from the PC to the BB and ssh to the PC from the BB...
> >
> > So the two are talking. Hum.
> >
> > Have you checked the firewall on the PC side to make sure it is allowing
> > traffic from 192.168.7 out?
>
> And is it set to forward IP packets?  You might need to have the PC
> implement
> NAT and/or Masquading.  And yes, check the firewall.
>
> >
> >
> > On Sat, May 16, 2020 at 12:53 PM jonnymo  wrote:
> >
> > > I can ssh between the PC and the BB via 192.168.7.x and back without
> > > issue.
> > > However, no traffic is sent out passed the wireless connection.
> > >
> > > Jon
> > >
> > >
> > > On Sat, May 16, 2020 at 9:44 AM Kenneth Martin  >
> > > wrote:
> > >
> > >>
> > >> *On the Beaglebone can you ping* * 192.168.7.1 ?*
> > >>
> > >> *On my Beaglebone here is what I get*
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> *debian@beaglebone:~$ netstat -rnKernel IP routing tableDestination
> > >> Gateway Genmask Flags   MSS Window  irtt Iface0.0.0.0
> > >>   192.168.7.1   0.0.0.0 UG0 0  0
> > >> usb0192.168.6.0   0.0.0.0 255.255.255.0   U 0 0
> > >>  0 usb1192.168.147.0   0.0.0.0 255.255.255.0   U 0 0
> > >>0 usb0*
> > >>
> > >> *Looking at your setup I would say the ping will fail*
> > >>
> > >> *$ sudo netstat -rn*
> > >> *Kernel IP routing table*
> > >> *Destination Gateway Genmask Flags   MSS Window
> irtt
> > >> Iface*
> > >> *0.0.0.0 192.168.2.1 0.0.0.0 UG0 0
>   0
> > >> wlan0*
> > >> *169.254.0.0 0.0.0.0 255.255.0.0 U 0 0
>   0
> > >> wlan0*
> > >> *172.17.0.0  0.0.0.0 255.255.0.0 U 0 0
>   0
> > >> docker0*
> > >> *192.168.2.0 0.0.0.0 255.255.255.0   U 0 0
>   0
> > >> wlan0*
> > >> *192.168.6.0 0.0.0.0 255.255.255.0   U 0 0
>   0
> > >> usb0*
> > >> *192.168.7.0 0.0.0.0 255.255.255.0   U 0 0
>   0
> > >> eth1*
> > >>
> > >>
> > >> *Unfortunately my only Linux hosts are on VM's.*
> > >>
> > >> On Sat, May 16, 2020 at 12:11 PM jonnymo  wrote:
> > >>
> > >>> I'm seeing a similar issue with a BBAI.
> > >>> However, on my host Ubuntu 18 system, I am seeing the network ports
> from
> > >>> the BB in the routing table.
> > >>>
> > >>> *$ sudo netstat -rn*
> > >>> *Kernel IP routing table*
> > >>> *Destination Gateway Genmask Flags   MSS Window
> > >>>  irtt Iface*
> > >>> *0.0.0.0 192.168.2.1 0.0.0.0 UG0 0
> > >>>  0 wlan0*
> > >>> *169.254.0.0 0.0.0.0 255.255.0.0 U 0 0
> > >>>  0 wlan0*
> > >>> *172.17.0.0  0.0.0.0 255.255.0.0 U 0 0
> > >>>  0 docker0*
> > >>> *192.168.2.0 0.0.0.0 255.255.255.0   U 0 0
> > >>>  0 wlan0*
> > >>> *192.168.6.0 0.0.0.0 255.255.255.0   U 0 0
> > >>>  0 usb0*
> > >>> *192.168.7.0 0.0.0.0 255.255.255.0   U 0 0
> > >>>  0 eth1*
> > >>>
> > >>>
> > >>>On the BB:
> > >>>   *# netstat -

Re: [beagleboard] 2GB linux image

2020-06-24 Thread jonnymo
Have you tried the BeagleBoard image site. There are a few there but a bit
dated.
https://beagleboard.org/latest-images

Cheers,

Jon

On Wednesday, June 24, 2020, Bill Barnett  wrote:

> Where are these 2GB images archived?
>
> On Mon, Jun 22, 2020 at 1:33 PM Bill Barnett 
> wrote:
>
>> Are there 2GB Linux images available?  I have an older B-version and
>> would like to use it in a small application.
>>
>> --
>>
>> *Bill Barnett*
>>
>>
>
> --
>
> *Bill Barnett*
>
> --
> 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/CAP4vyaeK1uruD5P41GnWzNkdoBDYVSAj%2BNHygKUkjjP4sL-u6g%
> 40mail.gmail.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/CAG99bkr9nmUH7cX9riS9BZvvuTZKszeHPm3xohQyVeXL885c9w%40mail.gmail.com.


Re: [beagleboard] Re: BB Ai dead after first upgrade

2020-06-25 Thread jonnymo
Can you describe what you did to upgrade the BB AI?

How are you powering the board?

Cheers,


On Thu, Jun 25, 2020 at 7:40 AM Robert Forsyth <
robert.styles.fors...@gmail.com> wrote:

> I assume you tried another SD-Card with another image (
> https://beagleboard.org/latest-images) for AM5729
>
> On Thursday, 25 June 2020 12:55:50 UTC+1, Raf wrote:
>>
>> Hello,
>> I purchased a BB Ai from DigiKey. It arrived today. I updated, connected
>> to wireless and reboot. The unit does nothing but get hot, only the LED
>> that turns on is the one next to the USB C connector. any idea? can I get
>> it returned, exchanged or something?
>>
>> thx
>>
> --
> 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/942f24e8-ea21-4a55-92f1-00b72868e189o%40googlegroups.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/CAG99bkpgmoB7Kayc-VfQhd%3D8Pf%3DUo7OWOCuWZPBhF3hLs_hogA%40mail.gmail.com.


Re: [beagleboard] Not able to test node.js first demo program. Run throws error

2020-06-30 Thread jonnymo
Where are you getting the example from?

Also, can you post the code you are using?

Cheers,

Jon

On Tue, Jun 30, 2020 at 8:35 PM jennifer Dsilva 
wrote:

> Not able to test node.js first demo program. Run throws error
>
> I am getting below error when I have executed the first demo program:
>
> Bonescript: initialized
>
> Exception: TypeError: require is not a function
>
> Bonescript: initialized
>
> How to solve this?
>
> 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/db0e3f88-8904-461e-bc73-680c7023b72bo%40googlegroups.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/CAG99bko%3D0QkyNBJ_x0ahUqW3uNmbx23rhLtKFCxh%2Bspcxo%2Br2A%40mail.gmail.com.


Re: [beagleboard] Re: Not able to test node.js first demo program. Run throws error

2020-07-01 Thread jonnymo
Sorry, I can't get that site to connect to my BBAI so I can not check to
see if it works on my end.
Perhaps someone else will chime in.

Cheers

On Wed, Jul 1, 2020 at 12:09 AM jennifer Dsilva 
wrote:

>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/424446bc-019a-45e5-8e13-8e39f6ee6c1eo%40googlegroups.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/CAG99bkpn%2BmzdML3PBMOWc8UVtJJ_XG23cjsXWymoY8rmkkZzaw%40mail.gmail.com.


Re: [beagleboard] Re: Not able to test node.js first demo program. Run throws error

2020-07-01 Thread jonnymo
Perhaps when posting code it would be best to use the Highlight Code Syntax
in Google.  Not sure what formatting is used in the email but looks like
from a README.

For me, I just went to the site that is in the images that Jennifer
provided.  The code could be pulled from there.

However, I believe the issue is with the BeagleBoard site and not with the
Cloud9 IDE on the board but could be related.

Jon

On Wed, Jul 1, 2020 at 11:31 AM Dennis Lee Bieber 
wrote:

> On Wed, 1 Jul 2020 11:28:30 +0530, in gmane.comp.hardware.beagleboard.user
> jennifer Dsilva 
> wrote:
>
>
> Please don't post screen IMAGES... Select the TEXT, copy, and then
> paste it in a message.
>
> A screen image is useless for people using text-to-speech engines
> or
> text-only news clients (note: I read this via gmane's news server, not as
> email), and also useless for responders who would comment on specific
> lines.
>
> For me to be able to read a screen image, I have /save/ the file
> to my
> computer, then open it using some graphics editor, and finally delete the
> file to avoid cluttering up my system with spurious junk.
>
>
> Having said all that...
>
> If I try to navigate to that apparent path (starting from the
> "getting
> started" page, I end up on beaglebone.org web server, with some option
> apparently to provide the route to my beagle.
>
> https://beagleboard.org/Support/BoneScript/demo_blinkled/
>
> Problem #1: My BBB is connected to my NAT router/firewall.
> Providing my
> BBB internal LAN private IP is not going to result in a connection:
> 192.168.1.69
>
> """
> Exception: Please perform setTargetAddress on a valid target
> """
>
> Try connecting to Cloud9 http://beaglebone.local:3000/ide.html
> (if that
> doesn't work -- ie; you only have a USB connection -- replace
> beaglebone.local with the IP number of the USB connection 192.168.7.2
> [Windows: use .6. rather than .7. for Mac]).
>
> Navigate down to cloud9/BeagleBone/pru; (double-) click
> blinkLED.js to
> open the editor window.
> """
> #!/usr/bin/env node
> 
> //  blinkLED.js
> //  Blinks the USR LEDs and P9_14.
> //  Wiring: P9_14 connects to the plus lead of an LED.  The negative
> lead
> of the
> //  LED goes to a 220 Ohm resistor.  The other lead of
> the resistor
> goes
> //  to ground.
> //  Setup:
> //  See:
> 
> const b = require('bonescript');
>
> const leds = ["USR0", "USR1", "USR2", "USR3", "P9_14"];
>
> for(var i in leds) {
> b.pinMode(leds[i], b.OUTPUT);
> }
>
> var state = b.HIGH;
> for(var i in leds) {
> b.digitalWrite(leds[i], state);
> }
>
> setInterval(toggle, 250);
>
> function toggle() {
> if(state == b.LOW)
> state = b.HIGH;
> else
> state = b.LOW;
> for(var i in leds) {
> b.digitalWrite(leds[i], state);
> }
> }
> """
> (see how friendlier cut/paste of the /text/ is)
>
> Click >Run
> (Ignore debugger warnings -- the Beagle should be flashing all four
> on-board LEDs).
>
>
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/bjlpff5dacu71scdjg20s2vnoqsk1ced1h%404ax.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/CAG99bkr7TYiOyO0-Keogjk_FRr%2BiRDCR4Bky59reONeqCjypPg%40mail.gmail.com.


Re: [beagleboard] Re: Not able to test node.js first demo program. Run throws error

2020-07-01 Thread jonnymo
I connected a BBBlack to my Ubuntu Box via USB and I still can not get the
BeagleBoard.org page to connect to it. I even tried it to a Windows 10
system and still no go.
I've updated the Cloud9 code so I am not sure what the issue is.

I looked at the Chromium debug output and this is what I see:

*  Uncaught SyntaxError: Unexpected token '<'*
*bonescript.js:16 GET http://192.168.7.2/bonescript.js
<http://192.168.7.2/bonescript.js> net::ERR_ABORTED 404 (Not Found)*

However, my BBBlack gets connected at the following link, which looks like
a mirror of the beagleboard.org.
http://va3wdg.gw.ircddb.net/bone101/Support/BoneScript/

I can run the scripts from the site but I don't feel comfortable with the
funky URL but I at least know it is not the BBBlack nor my PC connection.

Perhaps there is an issue with the BeagleBoard.org Learn site?

Cheers,

Jon


On Wed, Jul 1, 2020 at 12:21 PM Dennis Lee Bieber 
wrote:

> On Wed, 1 Jul 2020 12:03:59 -0700, in gmane.comp.hardware.beagleboard.user
> jonnymo  wrote:
>
> >Perhaps when posting code it would be best to use the Highlight Code
> Syntax
> >in Google.  Not sure what formatting is used in the email but looks like
> >from a README.
>
> I read and post using Forte Agent, accessing the "forum" via
> gmane's
> NNTP server as
> Newsgroups: gmane.comp.hardware.beagleboard.user (though due to some
> glitch, the reply via gmane fails to post on the end host, so I have to
> remember to reply-to-email -- I only have that problem with this forum; the
> other nine that I handle via gmane post properly)
>
> The """ is a convention I use (from Python; my alternative marker
> is
> -=-=-) to isolate cut&paste items from console windows. The code is
> directly from the cloud9 editor of that demo file.
>
> There is no option for colorizing text in my news clients
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/apnpfftu4kcn77kcbga2gi2bbrgk2ra0i1%404ax.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/CAG99bkrtT2pbnyHnKBS6mzWiZr3tFRreL0eTKEx2hfDFgExRaA%40mail.gmail.com.


Re: [beagleboard] micro - sd card

2020-07-06 Thread jonnymo
Are you referring to using a micro SD-card as a boot device?  I use a 32Gb
micro SD-card, and 64Gb on a BBAI..
If you use a 64Gb or greater card, then you'll need to format it as an
exFat drive.

Cheers,

Jon

On Mon, Jul 6, 2020 at 5:36 AM frajo.kropp via BeagleBoard <
beagleboard@googlegroups.com> wrote:

> Hi everybody,
>
> is a BBB able to address a 16GB micro SD-card?
>
> Thanks a lot
>
> frajokro
>
> --
> 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/b35ccf14-8258-4d48-a3f6-859a740c375ao%40googlegroups.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/CAG99bkr68Gxx_9xPhg4HcwcOgs1LxbXR-GxM0n2zFX77S-riAg%40mail.gmail.com.


Re: [beagleboard] Query on Beaglebone Black Rev C

2020-07-07 Thread jonnymo
You might need to disable the driver signing check on your Windows 8 system:
https://stackoverflow.com/questions/52065512/cannot-install-the-driver-of-beaglebone-on-the-windows-10

What image is installed on your BBB?

Also, I have been having an issue getting the BeagleBoard site to recognize
my BBB so I think there is an issue with the site.  I have filed an issue
for this on the BeagleBoard github but have not seen anything posted about
it.  You might want to check Developers Tools in your browser to see an
issue, but if the board is not connecting to your Windows system I do not
think the BeagleBoard site will pick it up.

Cheers,

Jon

On Tue, Jul 7, 2020 at 7:28 AM siva abap  wrote:

> Hi Abhijit,
>
> Are you seeing any errors in device manager? does your BBB recognised by
> your PC?
>
> On Tue, Jul 7, 2020 at 10:18 AM Abhijit Chatterjee 
> wrote:
>
>> I have recently purchased Beaglebone Black Rev C from Arrow and am facing
>> following problems when interfacing with a Windows 10 pc. I have updated my
>> BBB with latest Debian image (Linux 10) and installed the drivers for
>> Windows. But when I am connecting the BBB with my PC through USB, there is
>> a CDC ECM error in device manager. Also I am trying to open Getting Started
>> page in beagleboard.org, but it is not detecting my BBB (options on the
>> left side not become green).
>> Kindly suggest some solution.
>>
>> Thanks & Regards,
>> Abhijit Chatterjee
>>
>> --
>> 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/CANU_%3Dky%3DDxuDJ0pZ8Td%2Bv_1aVPbmytsqabA1%2B4ePrYdh_9rt3Q%40mail.gmail.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/CADVNwA68A2S8r%3DQhU11ynmR2qTzkoPqXdBxy_uR5nU-YeN3KVg%40mail.gmail.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/CAG99bkrKS%2B2J2BEm4mOJoNv1rF5_5XGos66dkv51pLRLFJeJ3g%40mail.gmail.com.


Re: [beagleboard] Re: Query on Beaglebone Black Rev C

2020-07-07 Thread jonnymo
You might have a look at this as well.

https://groups.google.com/forum/#!msg/beagleboard/fIaV30Rk1eM/M-SYaE1TDQAJ

Jon

On Tue, Jul 7, 2020 at 2:38 PM Mala Dies  wrote:

> Hello,
>
> I am pretty sure that the BeagleBoard.org people made their own drivers
> for the newer images they produce.
>
> Seth
>
> P.S. That CDC ECM error shows on my Win 10 computer also. I just boot the
> board, sign in via debian/tmppwd, and then I can alter the BBB.
>
> On Tuesday, July 7, 2020 at 9:18:11 AM UTC-5 Abhijit Chatterjee wrote:
>
>> I have recently purchased Beaglebone Black Rev C from Arrow and am facing
>> following problems when interfacing with a Windows 10 pc. I have updated my
>> BBB with latest Debian image (Linux 10) and installed the drivers for
>> Windows. But when I am connecting the BBB with my PC through USB, there is
>> a CDC ECM error in device manager. Also I am trying to open Getting Started
>> page in beagleboard.org, but it is not detecting my BBB (options on the
>> left side not become green).
>> Kindly suggest some solution.
>>
>> Thanks & Regards,
>> Abhijit Chatterjee
>>
> --
> 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/c58caef3-a8fc-4751-bb90-b12f91faec02n%40googlegroups.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/CAG99bkoBDYK9UvRb6pHdwC9yBGh%3D-m%2B_pFfe8GAgu3mKU%3DPBSA%40mail.gmail.com.


Re: [beagleboard] Re: WiFi connectivity and possible external power supplies for BBAI

2020-07-09 Thread jonnymo
I suspect your resolv.conf got set back to the default with no nameservers
listed when the USB ethernet port went offline.

How do you have your wlan0 configured?
If you used connman, you can add the following to your connman settings:
 Ex:

*   IPv4.gateway=192.168.2.1   Nameservers=8.8.8.8;8.8.4.4;4.4.4.4;*

Typing 'route' should show your which network device the traffic is going
down.

Also, you can test this by using ping and specifying the ethernet port to
use:
Ex:
*ping -I wlan0 google.com *

Cheers,

Jon


On Thu, Jul 9, 2020 at 4:10 PM Dennis Lee Bieber 
wrote:

> On Thu, 9 Jul 2020 11:55:02 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user Manderson
>  wrote:
>
> >Hi all,
> >
> >I typically take the wired approach when connecting to my Beaglebone
> (plug
> >in USB-C power to a port on my laptop and ssh with the 192.168.6.2 IP).
>
> What type of computer are you using (OS)? I ask as Windows normally
> uses 192.168.7.x, Mac the 192.168.6.x, and Linux apparently works with both
> (they are, I believe, slightly different USB<>Ethernet protocols).
>
> >I've noticed, however, in the past several days that my BBAI loses wlan
> >connectivity if my host computer goes to sleep (e.g. overnight). Pinging
>
> Odds are very good that the USB port powers off when the host
> sleeps.
> That means the BBAI is getting a very rude power drop -- risking file
> system corruption, and who knows what may happen when the host wakes up and
> the BB AI reboots.
>
> Also, it may be that you aren't even using the WiFi connection --
> if
> the host is performing the equivalent of "Internet Connection Sharing" your
> ...
>
> >google.com after this happens results in
> >debian ~ $ ping google.com
> >ping: google.com: Temporary failure in name resolution
> >debian ~ $ ping 8.8.8.8
> >connect: Network is unreachable
>
> would be trying to go through the USB gadget (though I'd think if that was
> active before the sleep, it would reactivate after the sleep also).
>
> >
> >2) If my board's wlan is dependent on my computer also being connected to
> >wifi, then would it be detrimental to power my BBAI off a wall outlet and
> >USB-C wall charger instead of plugging into my computer? Or would I not
> >even be able to ssh into it?
>
> Nothing in your post confirms that you even had a WiFi connection
> to
> some shared router (if you had, you wouldn't be using 192.168.6.x to
> connect to the BB AI, but instead be using an IP number -- or hostname:
> beaglebone or beaglebone.local -- to connect using a path through the
> router. Does your router even show the BBAI as a Wireless client?
>
> Even if the USB port remains powered while the host sleeps, if you
> were
> going via ICS (BBAI<>USB gadget<>host WiFi [or cable]<>router<>ISP), the
> host WiFI may go down when the host sleeps, and possibly it gets a
> different DHCP assignment on wake-up which is not being reflected in
> routing tables for the USB gadget.
>
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/c58fgfp0p35v399encr2d1v1i6han23eov%404ax.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/CAG99bkrn%2Bu%3DtfGBM8nJtBxzH_0xcVadmmNVxhFM%3DjDXVpTrqTg%40mail.gmail.com.


Re: [beagleboard] Re: 192.168.7.2 is NOT opening or reachable

2020-07-13 Thread jonnymo
What image are you running on the BBB?

Also, are you seeing an "192.168.7.1" ip created on your Ubuntu PC?
You can check this using:
  * ifconfig -a*

You can check the 'dmesg' out on your PC to see if there are any errors
connecting to the BBB.

Jon

On Mon, Jul 13, 2020 at 10:13 AM Pankaj Rai  wrote:

> Hi,
>
> Pc does play a sound while connecting BBB to pc. And I've not changed any
> configuration of the BBB.
>
> Thanks.
>
> On Mon, Jul 13, 2020, 22:40 KenUnix  wrote:
>
>> If you have not modified it's configuration you should ssh to 196.168.7.2
>>
>> 192.168.7.1 is the P.C. side.of the connection.
>>
>> When powering the BBB up and connecting the USB cable does the PC play
>> the UP tone?
>>
>>
>> --
>> 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/e25cf4ca-1c8b-445a-aef8-f7168aafc48do%40googlegroups.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/CAMGKZz5qEJXS%2BbH_0PJ1drM%2BX8-fWQaaKRoruUcEZV4ACKxmsw%40mail.gmail.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/CAG99bkqmVz9EuZGmsAjwuPAV_OKLGKm%3DvuFiBY3xp4Mai3sCjg%40mail.gmail.com.


Re: [beagleboard] Re: WiFi connectivity and possible external power supplies for BBAI

2020-07-13 Thread jonnymo
The values I provided should set the /etc/resolv.conf for the wlan0
interface. The gateway you would want to set for your config.  I typically
run with a static ip on my wlan0 so I edit the connman settings manually
for my environment.  The other option is to do it manually or with some
script that detects the loss of your usb network connection and then set
resolv.conf accordingly.  This does take root access, so I find it best to
just add it to the connman settings.

You could check your /etc/resolv.conf on your BBAI after you experience the
USB sleep mode on your laptop to see if there are any settings still in
there. If not, then that might explain why you can not reach google.com
when the usb interface is offline.

Cheers,

Jon

On Mon, Jul 13, 2020 at 3:08 PM Manderson 
wrote:

> Hi Jon - thanks for your input.
>
> This is a snapshot of my working wlan0
>
> wlan0: flags=-28605  mtu 1500
> inet 192.168.1.50  netmask 255.255.255.0  broadcast 192.168.1.255
> inet6 fe80::8291:33ff:fe4a:4223  prefixlen 64  scopeid 0x20
> ether 80:91:33:4a:42:23  txqueuelen 1000  (Ethernet)
> RX packets 20004  bytes 4482231 (4.2 MiB)
> RX errors 0  dropped 375  overruns 0  frame 0
> TX packets 2130  bytes 245657 (239.8 KiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
> I am indeed using connman -- what do those two additional settings do?
>
> Output of `route`:
> debian ~ $ route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse
> Iface
> default 192.168.1.1 0.0.0.0 UG0  00
> wlan0
> 192.168.1.0 0.0.0.0 255.255.255.0   U 0  00
> wlan0
> 192.168.1.1 0.0.0.0 255.255.255.255 UH0  00
> wlan0
> 192.168.6.0 0.0.0.0 255.255.255.0   U 0  00
> usb1
> 192.168.7.0 0.0.0.0 255.255.255.0   U 0  00
> usb0
> 192.168.8.0 0.0.0.0 255.255.255.0   U 0  00
> SoftAp0
>
>
> Best,
> Matt
>
> On Thursday, July 9, 2020 at 5:02:44 PM UTC-7, jonnymo wrote:
>>
>> I suspect your resolv.conf got set back to the default with no
>> nameservers listed when the USB ethernet port went offline.
>>
>> How do you have your wlan0 configured?
>> If you used connman, you can add the following to your connman settings:
>>  Ex:
>>
>> *   IPv4.gateway=192.168.2.1   Nameservers=8.8.8.8;8.8.4.4;4.4.4.4;*
>>
>> Typing 'route' should show your which network device the traffic is going
>> down.
>>
>> Also, you can test this by using ping and specifying the ethernet port to
>> use:
>> Ex:
>> *ping -I wlan0 google.com <http://google.com>*
>>
>> Cheers,
>>
>> Jon
>>
>>
>> On Thu, Jul 9, 2020 at 4:10 PM Dennis Lee Bieber 
>> wrote:
>>
>>> On Thu, 9 Jul 2020 11:55:02 -0700 (PDT), in
>>> gmane.comp.hardware.beagleboard.user Manderson
>>>  wrote:
>>>
>>> >Hi all,
>>> >
>>> >I typically take the wired approach when connecting to my Beaglebone
>>> (plug
>>> >in USB-C power to a port on my laptop and ssh with the 192.168.6.2 IP).
>>>
>>> What type of computer are you using (OS)? I ask as Windows
>>> normally
>>> uses 192.168.7.x, Mac the 192.168.6.x, and Linux apparently works with
>>> both
>>> (they are, I believe, slightly different USB<>Ethernet protocols).
>>>
>>> >I've noticed, however, in the past several days that my BBAI loses wlan
>>> >connectivity if my host computer goes to sleep (e.g. overnight).
>>> Pinging
>>>
>>> Odds are very good that the USB port powers off when the host
>>> sleeps.
>>> That means the BBAI is getting a very rude power drop -- risking file
>>> system corruption, and who knows what may happen when the host wakes up
>>> and
>>> the BB AI reboots.
>>>
>>> Also, it may be that you aren't even using the WiFi connection
>>> -- if
>>> the host is performing the equivalent of "Internet Connection Sharing"
>>> your
>>> ...
>>>
>>> >google.com after this happens results in
>>> >debian ~ $ ping google.com
>>> >ping: google.com: Temporary failure in name resolution
>>> >debian ~ $ ping 8.8.8.8
>>> >connect: Network is unreachable
>>>
>>> would be trying to go through the USB gadget (though I'd think if that
>>> was
>>> 

Re: [beagleboard] Re: 192.168.7.2 is NOT opening or reachable

2020-07-14 Thread jonnymo
I believe Pankaj is using Ubuntu and not Windows.

Pankaj :
I would suggest checking that your Ubuntu system is creating a 192.168.7.1
ipaddress and is not having an issue connecting to the board via 'dmesg'.

Jon

On Tue, Jul 14, 2020 at 10:03 AM Dennis Lee Bieber <
dennis.l.bie...@gmail.com> wrote:

> On Tue, 14 Jul 2020 20:48:49 +0530, in gmane.comp.hardware.beagleboard.user
> Pankaj Rai  wrote:
>
>
> >Is there any way we can update the eMMC OS? So that it may able to connect
> >to 192.168.7.2 or 192.168.6.2 ( this is because somewhere i've seen that
> >Linux system uses this ip to connect with BBB).
> >
>
> It uses those addresses only for the USB Gadget. If your computer
> shows
> an RNDIS device under network adapters (in device manager) you HAVE the
> 192.168.7.x connection. If (in a command prompt)
>
> ssh debian@192.168.7.2
>
> gives you a prompt for the beaglebone password
> -=-=-=-
> C:\Users\Wulfraed>ssh debian@192.168.7.2
> The authenticity of host '192.168.7.2 (192.168.7.2)' can't be established.
> ECDSA key fingerprint is
> SHA256:PLZds8/FuHaVEqsTatoE6YFgSC+cakdD0OfPqEoTDQ8.
> Are you sure you want to continue connecting (yes/no)? y
> Please type 'yes' or 'no': yes
> Warning: Permanently added '192.168.7.2' (ECDSA) to the list of known
> hosts.
> Debian GNU/Linux 10
>
> BeagleBoard.org Debian Buster IoT Image 2020-04-06
>
> Support: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
>
> default username:password is [debian:temppwd]
>
> debian@192.168.7.2's password:
> -=-=-=-
> then you HAVE a connection.
>
>
> The problem you are having is that your host computer is not a
> router,
> and is NOT passing traffic from the BBB to the WiFi. You have to configure
> your host computer to route traffic between the WiFi and the device. Open
> "Network & Internet Settings" -- does it show more than one network? (I
> have "Ethernet" [my cable to router] and "Ethernet 2" [the BBB USB
> connection]). If it does, try...
>
> Click "Network and Sharing Center"
>
> Click on the blue "connection" for your primary network (mine shows
> "Ethernet", yours might show WiFi -- I'm not going to try to activate WiFi
> for mine).
>
> Click "Properties", Click on the "Sharing" tab
>
> [X] Allow other network users to connect through the computer's Internet
> connection.
>
> Home networking connection: select the BBB (mine is Ethernet 2)
>
>
> The above steps /might/ activate ICS for that linkage. I repeat
> that I
> have never used ICS myself.
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/o8orgfhknfma92askv83em9n7k6ojsgmav%404ax.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/CAG99bko5bU%3D0DQWgXV5Pe8yBT4Mj3-g2ode8xr7N96zgiUAGBQ%40mail.gmail.com.


Re: [beagleboard] Re: 192.168.7.2 is NOT opening or reachable

2020-07-15 Thread jonnymo
Unplug and plug the BBB back in and then check the output of running the
command : dmesg

Jon

On Wed, Jul 15, 2020 at 8:25 AM Pankaj Rai  wrote:

> Hi,
>
> It seems I'm not getting the 192.168.6.1 or 192.168.7.1 on command
> ifconfig -a
>
>
> Thanks
>
> On Wed, Jul 15, 2020, 20:19 amf  wrote:
>
>> Only way to update the emmc os without a ethernet connection is by using
>> a USB-to-SERIAL adapter, make sure to get the 3.3 volt version.
>> Not sure if you answered the prior question. does your laptop show
>> 192.168.6.1 and/or 192.168.7.1 when doing 'ifconfig -a' from a terminal
>> window?
>> If it does, I don't see any reason why you cannot at least ping the BBB
>> at 6.2 or 7.2.
>>
>> On Tuesday, July 14, 2020 at 10:19:21 AM UTC-5, Pankaj Rai wrote:
>>>
>>> Hi,
>>> Currently I'm working with my personal laptop only. And also i've
>>> ordered a 16 gb sd card for sure. But meanwhile i was trying to make it
>>> work with with preinstalled os in eMMC only.
>>>
>>> Is there any way we can update the eMMC OS? So that it may able to
>>> connect to 192.168.7.2 or 192.168.6.2 ( this is because somewhere i've seen
>>> that Linux system uses this ip to connect with BBB).
>>>
>>> Thanks
>>> Pankaj
>>>
>>> On Tue, Jul 14, 2020, 20:25 amf  wrote:
>>>
 connecting the ethernet to the computer will not provide you with an IP
 address on the BBB. BBB wants to use dhcp to get an IP, which what happens
 when connected to the router.
 You should be able to ping 192.168.7.2 from the laptop, if you see
 192.168.7.1 on the laptop.
 Is this your personal laptop or a company laptop? companies tend to
 secure laptops such that ping and ssh aren't allowed (My personal
 experience)
 Would recommend getting an sdcard, again if this is a company laptop,
 it may not help.



 On Monday, July 13, 2020 at 9:58:28 PM UTC-5, Pankaj Rai wrote:
>
> Hi,
> Can we connect the BBB using ethernet cable to the computers ethernet
> port?
> ( It's because I'm living in hostel and here we have the hostel wifi
> available)
>
> And can we power the BBB using 5 V charger?
>
>
> If not, then will it work out on using the flashed sd card as boot?
> (I'm thinking to buy one(16gb) for this if doesn't work)
>
> Thanks
> Pankaj
>
> On Tue, Jul 14, 2020, 00:19 Dennis Lee Bieber 
> wrote:
>
>> On Mon, 13 Jul 2020 23:24:06 +0530, in
>> gmane.comp.hardware.beagleboard.user
>> Pankaj Rai <> wrote:
>>
>> >Hi,
>> >I've enabled the port 22 on my pc and I'm not using sd card for
>> flashing so
>> >I don't think i need to press the s2 button.
>> >And also i don't have any debugger and i tried pinging the BBB on
>> that
>> >address but it shows all the sent packets are lost so i think I'm
>> unable to
>> >ping.
>> >
>> >Is there any other way to work this out?
>> >
>>
>> The surest is to NOT USE THE USB "network".
>>
>> I presume your main computer is connected to some router.
>>
>> Run an ethernet cable from the BBB to the same router.
>> Connect a 5V
>> power supply to the barrel connector on the BBB. (If you must, you
>> might be
>> able to use a 5V USB phone charger connected to the USB port -- but
>> for
>> this debugging you do NOT want the USB port connected to the main
>> computer!)
>>
>> Check the router configuration pages for what IP # it
>> assigned to the
>> BBB (note: if the router is modern enough, it may do DNS and have
>> assigned
>> the host name beaglebone.local to the BBB, in which case you can
>> connect
>> using the host name instead of the router assigned IP #).
>>
>> -=-=-=-
>> IP Allocation
>> IPv4 Address / Name MAC Address Status  Allocation  Action
>> 192.168.1.68 / EPSONF4EF32  00:26:ab:f4:ef:32   on  DHCP
>> Allocation
>> 192.168.1.65 / DIRECTV-HR54-C94828D718:16:c9:48:28:d9   on
>>   DHCP
>> Allocation
>> 192.168.1.93 / unknown5ca39d084ab9  5c:a3:9d:08:4a:b9   on
>>   DHCP Allocation
>> 192.168.1.74 / unknown64c6670531d3  64:c6:67:05:31:d3   off
>>DHCP
>> Allocation
>> 192.168.1.70 / Galaxy-S98c:45:00:6d:1a:4c   on  DHCP
>> Allocation
>> 192.168.1.79 / pi-star-3b   b8:27:eb:4b:0b:d5   on  DHCP
>> Allocation
>> 192.168.1.252 / microdiversity  b8:27:eb:ce:b1:eb   on  DHCP
>> Allocation
>> 192.168.1.66 / ElusiveUnicorn   b8:ca:3a:79:0c:36   on  DHCP
>> Allocation
>> 192.168.1.84 / HP7C548D c4:65:16:7c:54:8d   on  DHCP
>> Allocation
>> 192.168.1.69 / beaglebone   d0:39:72:18:3e:e5   on  DHCP
>> Allocation
>> -=-=-=-
>>
>> (my router does not show the .local, but access from Win10 works with
>> or
>>

Re: [beagleboard] Re: 192.168.7.2 is NOT opening or reachable

2020-07-15 Thread jonnymo
Yeah, I am only guessing that the power or cable is the issue, but it does
seem like it based on what I had seen in your dmesg output.

For upgrading the eMMC, I believe it would depend on how comfortable you
are running through the process.  It would be much easier via an SD card,
but I did find the following links related to this.
https://www.meetup.com/MKETechEngine/messages/boards/thread/37061872
https://e2e.ti.com/support/processors/f/791/t/404919?Writing-linux-image-to-MMC-without-SD-Card-on-BBB

Others might have better advice for you though.

Good luck.

Jon

On Wed, Jul 15, 2020 at 10:48 AM Pankaj Rai  wrote:

> Thanks for letting me know the reasons, why its not working.
> I've already ordered a 16 gb sd card to use the latest image using sd card
> boot.
> Anyway could please tell me how can i upgrade the emmc?
>
> Thank you so much!
>
> On Wed, Jul 15, 2020, 23:12 Jon Morss  wrote:
>
>> It is possible that you either have a bad USB cable or your PC can not
>> provide enough power to properly power up the BBB.
>> The preference would be to upgrade you eMMC, however, this message does
>> appear in your files though:
>>
>>
>>
>>
>> [ 8428.112630] sd 2:0:0:0: [sdb] Synchronize Cache(10) failed: Result:
>> hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
>> [ 8428.408057] usb 2-1: new high-speed USB device number 8 using xhci_hcd
>> [ 8428.536147] usb 2-1: Device not responding to setup address.
>> [ 8428.744111] usb 2-1: Device not responding to setup address.
>> [ 8428.952095] usb 2-1: device not accepting address 8, error -71
>> [ 8429.924105] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
>> [ 8429.924193] usb usb2-port1: attempt power cycle
>> [ 8431.272034] usb 2-1: new high-speed USB device number 10 using xhci_hcd
>> [ 8431.293196] usb 2-1: New USB device found, idVendor=1d6b,
>> idProduct=0104, bcdDevice= 4.01
>> [ 8431.293200] usb 2-1: New USB device strings: Mfr=3, Product=4,
>> SerialNumber=5
>> [ 8431.293202] usb 2-1: Product: BeagleBoneBlack
>> [ 8431.293205] usb 2-1: Manufacturer: Circuitco
>> [ 8431.293206] usb 2-1: SerialNumber: C0-5018BBBK0C2
>>
>>
>> Jon
>>
>>
>> On Wednesday, July 15, 2020 at 9:57:56 AM UTC-7, Pankaj Rai wrote:
>>>
>>> PFA for screenshots of the output message on running the command dmesg
>>> with plugged in BBB.
>>>
>>> thanks.
>>>
>>> On Wed, Jul 15, 2020 at 10:15 PM Pankaj Rai  wrote:
>>>
>>>> Hi,
>>>> I could see couple of errors listed out with and without BBB connected
>>>> to my laptop using mini USB cable(given in box). But i couldn't figure out
>>>> totally, the difference between plugged and unplugged BBB.
>>>>
>>>> I'm attaching the output file hereby for your reference. thanks for
>>>> your help.
>>>>
>>>> pankaj
>>>>
>>>> On Wed, Jul 15, 2020 at 9:35 PM jonnymo  wrote:
>>>>
>>>>> Unplug and plug the BBB back in and then check the output of running
>>>>> the command : dmesg
>>>>>
>>>>> Jon
>>>>>
>>>>> On Wed, Jul 15, 2020 at 8:25 AM Pankaj Rai 
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> It seems I'm not getting the 192.168.6.1 or 192.168.7.1 on command
>>>>>> ifconfig -a
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Wed, Jul 15, 2020, 20:19 amf  wrote:
>>>>>>
>>>>>>> Only way to update the emmc os without a ethernet connection is by
>>>>>>> using a USB-to-SERIAL adapter, make sure to get the 3.3 volt version.
>>>>>>> Not sure if you answered the prior question. does your laptop show
>>>>>>> 192.168.6.1 and/or 192.168.7.1 when doing 'ifconfig -a' from a terminal
>>>>>>> window?
>>>>>>> If it does, I don't see any reason why you cannot at least ping the
>>>>>>> BBB at 6.2 or 7.2.
>>>>>>>
>>>>>>> On Tuesday, July 14, 2020 at 10:19:21 AM UTC-5, Pankaj Rai wrote:
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>> Currently I'm working with my personal laptop only. And also i've
>>>>>>>> ordered a 16 gb sd card for sure. But meanwhile i was trying to make it
>>>>>>>> work with with preinstalled os in e

Re: [beagleboard] Re: Beagleboard X15 Microsoft Visual Studio GUI example project

2020-07-16 Thread jonnymo
Actually, Visual Studio is a good platform for cross compiling especially
with the newer versions of VS.  There is a built in Linux feature that lets
you create Linux based projects and then you can just reference your ARM
based toolchain in the VS config. I use this with the RasPi but it should
be the same for the BB products.

Here are a couple of links that might help, although they are for BBB.
https://www.youtube.com/watch?v=af-1hDfoRcg
https://elinux.org/images/d/df/Using_VS_and_VS_Code_for_Embedded_Development.pdf


Using VisualGDB although I am not sure if this is needed any more.
https://visualgdb.com/tutorials/beaglebone/qt5/cross-compile/

You could toss in GTK or Qt or even OpenGL ES for graphics dev.

The other option is Qt Creator as Tarmo mentioned.

Eclipse is another good option.

Cheers,

Jon


On Thu, Jul 16, 2020 at 3:36 AM Tarmo  wrote:

> Hi Kevin,
>
> On Thursday, 16 July 2020 04:31:40 UTC+3, Kevin Hudson wrote:
>>
>> I am working on a project that uses the Beagleboard X15 as the hardware
>> platform.  My task is to write a GUI that runs on the X15 using Microsoft
>> Visual Studio 2017.  Do you know of any example project code that is
>> available anywhere that I can use to get started and as a reference?  Thank
>> you for your help.
>>
>
> Note that from an application developer's perspective the wildly popular
> Raspberry Pi and the Beagles are mostly the same platform - a Debian
> GNU/Linux system on armhf architecture. You can use this to your advantage
> to google for something like "cross develop raspberry on windows" which
> will bring up quite a few more articles than searching for beagle-specific
> stuff.
>
> Visual Studio is a great tool for developing against x86/Windows targets.
> If you're developing with VS against a ARM/Linux target using third-party
> GUI libraries, it's probably possible (according to some articles Google
> spit out) but setting up cross-development GUI libraries is going to be a
> bit of a pain, I suspect. You could also take a more traditional cross
> platform approach, which involves setting up a GNU gcc toolchain from
> linaro with your favourite editor/IDE and required GUI dependencies.
> Haven't done either, though, so can't offer solid advice.
>
> An alternative with much less set-up effort - you can write, compile and
> run code of almost any language and GUI framework directly on the
> Beagleboard itself, especially if the project is small. Just install
> package 'build-essential' (assuming we're talking about a C/C++
> application), the development packages for your chosen GUI framework (e.g.
> 'qtbase5-dev' for QT) and your favourite Linux editor/IDE.
>
> --
> Kind regards,
> Tarmo
>
> --
> 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/e41f096b-9eef-4ea2-a9a4-f65cc428e13do%40googlegroups.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/CAG99bkpbR7VjP-rKnEdr%3D-AM0D-f%2B0CEBYeHdkWAjhu%3DJgoP-A%40mail.gmail.com.


Re: [beagleboard] Re: Beaglebone Black does not startup automatically when power is supplied

2020-07-17 Thread jonnymo
What power supply with a switch are you using?  Did you add a switch inline
with a barrel jack power supply or is it part of the power supply adapter
you are using?

Cheers,

Jon

On Fri, Jul 17, 2020 at 1:06 PM Reiner Buehl  wrote:

> The power supply is on all the time. I just switch the 5V on/off with a
> switch. After switching on, the power LED is not on. If I then press the
> Power button, the power LED switches on and the board boots.
>
> Dennis Lee Bieber  schrieb am Fr., 17. Juli
> 2020, 20:22:
>
>> On Fri, 17 Jul 2020 08:22:59 -0700 (PDT), in
>> gmane.comp.hardware.beagleboard.user
>> reiner.buehl-re5jqeeqqe8avxtiumw...@public.gmane.org wrote:
>>
>>
>> >switches off but if I then switch off and switch on the 5V power (via
>> the
>> >barrel jack), the board does not boot up again. Only after I manually
>> press
>> >the power button it boots again. Is there a way to configure it to boot
>> >without a manual key press once power is back?
>>
>> Possibly your 5V power supply is not coming on in a way that the
>> on-board distribution system is detecting it correctly. Does the power LED
>> come on?
>>
>> My revC with a 5V 2A wall-wart supply, stuck into a wall socket
>> controlled with a lamp switch, powered up nicely when I flipped the wall
>> switch.
>>
>>
>> --
>> Dennis L Bieber
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beagleboard/h5q3hf9pbsmdctggcmrpp882dc888ncbag%404ax.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/CAHP2pF_vy8unwHuFQGzz7HzQEivgJasO%2B8-cpGX7Yiyd_XKBDw%40mail.gmail.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/CAG99bkp6N1JtZrzsSxENO-eKmPAiPPgfL9zTN_N%2BDS4GQSgqzQ%40mail.gmail.com.


Re: [beagleboard] Re: BBW not booting when serial to USB cable connected

2020-07-19 Thread jonnymo
Are you plugging both USB cables directly to your PC or are you using a
Powered USB Hub?
I would suggest using a powered USB hub in this case if you were not using
one already or power the BBW via the barrel jack.


Cheers,

Jon




On Sun, Jul 19, 2020 at 7:07 PM 'Mark Lazarewicz' via BeagleBoard <
beagleboard@googlegroups.com> wrote:

>
> Try disabling the driver in win10 before starting virtual  box before
> starting VM then in Linux VM check which try enumerated and connect  to it
> was the fix I think.  With multiple USB devices it would change if I
> remember and you  might  Google which VB version supports SUB best, Again
> that was several years back
> This phenomenon was easily  found and described  by googling
>
> Sent from Yahoo Mail on Android
> 
>
> On Sun, Jul 19, 2020 at 9:01 PM, 'Mark Lazarewicz' via BeagleBoard
>  wrote:
> Virtual Box support of SUB driver's was squirrelly 2 years ago.
> If I'm not mistaken at one point Mr Robert refused to support builds.
>
> I was  able to get it to work but the flakiness of serial output wasn't
> worth the aggravation
>
> Sent from Yahoo Mail on Android
> 
>
> On Sun, Jul 19, 2020 at 7:51 PM, Dennis Lee Bieber
>  wrote:
> On Sun, 19 Jul 2020 12:15:09 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user Rishabh
>  wrote:
>
> >I am running Ubuntu 18.04 inside a VM using VirtualBox hosted on Windows
> >10. I am trying to use a PL2303HXA serial to USB cable to get the serial
> >output to my terminal in Ubuntu. I am doing this to view U-Boot.
> >
>
> Wonder if Win10 may be getting in the way... The driver for the HXA is
> no longer supported in Win10.
> http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41
> """
> NOTE:
>
> Windows 8/8.1/10 are NOT supported in PL-2303HXA and PL-2303X EOL chip
> versions.
> """
>
> I don't know how VirtualBox handles USB devices -- if they pass through
> to the guest OS as raw devices, or if VBox is intercepting the guest I/O
> and mapping through the host OS...
>
> https://www.google.com/search?q=PL2303HXA+&oq=PL2303HXA
>
>
> --
> Dennis L Bieber
>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
>
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/58q9hfdcb0idakr5a77iamv34qm4cb4ilc%404ax.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/1350777360.2861083.1595210466223%40mail.yahoo.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/1930140602.2868269.1595210819228%40mail.yahoo.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/CAG99bkoxYfQ2Q0qFFstWgKgQOEoTeAg358Zytx3F1qDS0qnj8A%40mail.gmail.com.


Re: [beagleboard] Re: BBW not booting when serial to USB cable connected

2020-07-21 Thread jonnymo
That error you are seeing appears to come from your USB to Serial interface.
Note:
http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41

Jon

On Tue, Jul 21, 2020 at 6:48 AM  wrote:

> I got to know that the driver is no longer supported when I first
> connected the cable. The driver still seems to work though.
>
>
> [image: PL2303HXA-driver-properties.png]
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Also, I added filters in the VM's settings and that is how picocom was
> able to connect to /dev/ttyUSB0.
>
>
> On Monday, July 20, 2020 at 2:51:55 AM UTC+2, Dennis Bieber wrote:
>
>> On Sun, 19 Jul 2020 12:15:09 -0700 (PDT), in
>> gmane.comp.hardware.beagleboard.user Rishabh
>>  wrote:
>>
>> >I am running Ubuntu 18.04 inside a VM using VirtualBox hosted on Windows
>> >10. I am trying to use a PL2303HXA serial to USB cable to get the serial
>> >output to my terminal in Ubuntu. I am doing this to view U-Boot.
>> >
>>
>> Wonder if Win10 may be getting in the way... The driver for the
>> HXA is
>> no longer supported in Win10.
>> http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41
>> """
>>  NOTE:
>>
>> Windows 8/8.1/10 are NOT supported in PL-2303HXA and PL-2303X EOL
>> chip
>> versions.
>> """
>>
>> I don't know how VirtualBox handles USB devices -- if they pass
>> through
>> to the guest OS as raw devices, or if VBox is intercepting the guest I/O
>> and mapping through the host OS...
>>
>> https://www.google.com/search?q=PL2303HXA+&oq=PL2303HXA
>>
>>
>> --
>> Dennis L Bieber
>>
>>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/590f7b0d-7cfb-4e0f-99e6-0efe7deb3c4fo%40googlegroups.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/CAG99bkr%2BfOS8VF3p8t9%2BCehD75uRAkQjjE_omfe%3D%3DtWLshBCWg%40mail.gmail.com.


Re: [beagleboard] sudo problem

2020-07-22 Thread jonnymo
Looks like you posted this twice.

Did you make a change to your sudoers file? If not, then have you tried
changing to root via "sudo su -" ?

As far as the install issue, you need to run that with sudo when running as
the debian user:
Ex:
   *sudo apt-get install -y policykit-1-gnome*


Cheers,

Jon

On Wed, Jul 22, 2020 at 10:59 AM jayasudhaa t.n 
wrote:

> when i execute sudo syscheck ,
> i get the following:
> sudo: /etc/sudoers is world writable
> sudo: no valid sudoers sources found, quitting
> sudo: unable to initialize policy plugin
>
> tried resolving using bash pkexec: pkexec: command not found
>
> not able to install policy kit , i get error as below:
>
> debian@beaglebone:/etc$ apt-get install -y policykit-1-gnome.
> E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13:
> Permission denied)
> E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend),
> are you root?
>
> kindly help. very urgent.
>
> --
> 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/4241d5ce-fd8e-4f0a-a3dd-5144a92ab391o%40googlegroups.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/CAG99bkroWdSYX--g9hQwYikwQHDXZMLmtF%3DuT-4ZgD_8%3DsCDRw%40mail.gmail.com.


Re: [beagleboard] Re: Network error: Software caused connection abort

2020-07-24 Thread jonnymo
You might want to check the host that is running MobaXterm.  Also, have a
look at the Moba site for some hints:
https://mobaxterm.mobatek.net/documentation.html#6_8_3


Cheers,

Jon

On Fri, Jul 24, 2020 at 12:00 PM Christopher Hansen 
wrote:

> I didn't see anything on dmesg.  I'll look for other log files.
>
> Chris
>
> On Friday, July 24, 2020 at 11:49:39 AM UTC-7 Dennis Bieber wrote:
>
>> On Fri, 24 Jul 2020 11:10:31 -0700 (PDT), in
>> gmane.comp.hardware.beagleboard.user Christopher Hansen
>>  wrote:
>>
>> >My ssh connections to my beaglebone black crash periodically and I get
>> this
>> >error in my ssh window. Any ideas to keep this from happening? I'm
>> >running debian with kernel 4.14.71-ti-r80 on the bone. I connect in from
>> a
>> >windows machine running MobaXterm.
>>
>> Not enough information to tell -- ie; /what/ software?
>>
>> If it was something on the Beagle, I'd think checking log files might
>> show something.
>>
>> OTOH: Maybe it is something in your MobaXterm crashing. Have you tried
>> PuTTY?
>>
>>
>> --
>> Dennis L Bieber
>>
>> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/117f42cd-9c05-4e2f-b4fe-3c76fb7789c4n%40googlegroups.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/CAG99bkpCRZzzkTdiw1zDwNvwu02xzRYORQbVM3GiWpPqj5Q%3D-A%40mail.gmail.com.


Re: [beagleboard] Re: BBB network adapter connection failed, can't access board via ssh

2020-08-06 Thread jonnymo
Who does the output of 'ip a' show on your host Ubuntu computer with the BB
plugged in?
Also, when you plug the BB into the host, check the output of 'dmesg' to
see if there are any errors reported for the USB device or the usb ethernet
interface.

Cheers,

Jon

On Thu, Aug 6, 2020 at 8:30 AM Michael  wrote:

> Dennis
>
> yes sir, I'm aware of the changes for windows to .7.x. I verified the
> communication is still an issue with the difference.
>
> with the non-wifi board yes I can communicate with the board via the
> ethernet cable.  That works just fine, the issue really ends up being
> related to the usb communication. In the end I'll be using the USB as
> primary communications with the board. Using the wifi is not an option.
>
> I agree the behavior does sound like faulty drivers. However, what makes
> it strange is the fact I've used both windows and linux to attempt to
> connect to the board, which kinda makes me feel its hardware related.
>
> I attempted to connect on a co-workers computer as well. and nothing. We
> see the BBB in file exployer, but I wasn't really expecting to being able
> to communicate with the BBB on my co-workers computer as I didn't think he
> had the drivers.
>
> with that said, I tried looking for driver information for linux, but
> nothing was listed on bbb.org, as it appears that it should need specific
> drivers. is there something i should look for, or I can updated related to
> drivers on the linux side?
>
> I'm going to go back to my windows boot and delete and resinstall the
> windows drivers in a bit. to see if that does anything.
>
> On Thursday, August 6, 2020 at 10:11:32 AM UTC-4, Dennis Bieber wrote:
>>
>> On Thu, 6 Aug 2020 05:51:47 -0700 (PDT), in
>> gmane.comp.hardware.beagleboard.user Michael
>>
>>
>> >I want to add that I just tried it on windows 10 and I'm having the same
>> >issue.
>>
>> FYI: on Windows, the USB network uses 192.168.7.x
>>
>> The behavior you describe sounds more like faulty drivers on the
>> host
>> side. Have you tried connecting an Ethernet (CAT-5/6) cable between the
>> board and your router, and then attempting to connect to the board using
>> the IP the router assigned to it? (Or, if the router is modern enough,
>> use
>> hostname beaglebone or beaglebone.local [some systems will append the
>> .local automatically]).
>>
>>
>> --
>> Dennis L Bieber
>>
>> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/1c435bd2-d49c-4db7-b934-c401be9e176do%40googlegroups.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/CAG99bkom_8pD_NF-5Q_gasZMzuY8RFV%3Dn3R5KT_NoYaaZYFhEQ%40mail.gmail.com.


Re: [beagleboard] Re: Networking setup on robot with multiple debian SBCs

2020-08-10 Thread jonnymo
There does not seem to be any mention of a BBAI in the original post, but a
BBBlue is which does not have a wired Ethernet port.

However, it should be possible, that is if there are the necessary drivers,
to connect the RasPi and the BBBlue via USB network and then the Pi to
other devices via the wired ethernet port, but this does require some sort
of wired network in your config and/or a device acting as an AP, such as
the BBBlue,  if it is a mobile platform.

The other option I suppose would be to do something similar to ROS Serial
between the RasPi and the BBBlue to avoid any network stuff between the
two.

Jon

On Mon, Aug 10, 2020 at 12:06 PM Dennis Lee Bieber <
dennis.l.bie...@gmail.com> wrote:

> On Mon, 10 Aug 2020 10:23:40 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user Peter Gaskell
>  wrote:
>
>
> >The Beaglebone creates its default SoftAP and connects to a WiFi router
> >that has internet.  By default, computers connecting to the SoftAP get
> the
> >internet forwarded to them so both the laptop and the RPi can connect to
> >the internet and I can ssh and remote desktop into the RPi from the
> laptop
> >and ssh into the Beaglebone as well.  All three appear on the same LAN
> >(192.168.8.0) and all the LCM traffic is visible on the network.
> >
>
> Personally, to reduce interference I'd have all the devices
> connect to
> the router... If I understand your description, you have the BBbl running
> as an access point for other WiFi clients, and also connecting to the
> router -- so every WiFi packet it receives from a client has to be resent
> to the router. But...
>
> >The problem I have is this.  I would rather have the network connection
> >between the Pi and BBBlue be over USB so there is higher bandwidth/lower
> >latency connection between them because ultimately the largest share of
> >data is going to be produced on the Pi (video / LIDAR messages / maps
> >etc.), not the Beaglebone and I would like to be able to decode it on the
> >laptop with as little latency as possible.
>
> ... I wouldn't even use WiFi between the R-Pi and the BBbl. While the
> BBx
> USB client port does set up a USB network gadget (rndis on 192.168.7.x), I
> don't know what it would take to have an R-Pi set up a matching USB gadget
> on its host port (plug them together and see if a new network device
> appears on the R-Pi?).
>
> Simpler might be to use a USB<>Ethernet adapter on the BBbl, and a
> short length of CAT-5/6 cable to connect to the R-Pi. Since I doubt either
> machine is running a DHCPd, you'd have to manually configure the
> hostname/IP #s to make a two-node network.
>
> Once the two nodes are talking, you'd have to configure the BBbl
> to use
> the R-Pi as the gateway, and configure the R-Pi to route traffic from the
> BBbl port to the WiFi port, which is connected to your router. You'd have
> the laptop connect to the router also -- the R-Pi should appear on your LAN
> list, and you can talk between them. With luck, the BBbl will be reachable
> too -- if the R-Pi passes hostname information from it to the router.
>
> The only way to reduce the latency further would maybe be to use a
> small four-port switch and CABLE the BBbl, R-Pi, AND laptop through the
> switch (and maybe run DHCP on one of the nodes, so it can assign IP #s to
> the other two). After all, the R-Pi4 has gigabit ethernet -- which probably
> out-performs WiFi, and would be the fastest connection between the R-Pi and
> laptop (unless the laptop only has 100 speed).
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/me53jf55hgs0i1b3t3k18hgo21qbgii1p5%404ax.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/CAG99bkptxLaauB14b6ec%3DaRy9hHeGXCwh1cvR213tjqUPXcc_g%40mail.gmail.com.


Re: [beagleboard] Re: libpruio (fast and easy D/A - I/O)

2020-08-13 Thread jonnymo
You could try adding the following to your Python 2 script to add Python 3
print  support.
"from __future__ import print_function"

However, there should be an effort to move from Python 2 to Python 3.

Cheers,

Jon

On Thu, Aug 13, 2020 at 6:47 AM Dennis Lee Bieber 
wrote:

> On Wed, 12 Aug 2020 16:00:14 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user TJF
>  wrote:
>
> >I forgot to mention that the modified file doesn't work in python2 any
> more:
> >
> >src/test$ python 1.py
> >>   File "1.py", line 32
> >> print("%4X" % AdcV[i], end=" ") #output one channel in hex
> >>   ^
> >> SyntaxError: invalid syntax
> >>
> >>
> Without looking at the original source, I predict you were using
>
> print "%4X" % AdcV[i] ,
>
> where the trailing comma suppressed the automatic new-line of "print" and
> just left a trailing space. Try replacing that line with
>
> sys.stdout.write("%4X " % AdcV[i])
>
> I've moved the space separator into the "..." format string.
>
> .write() doesn't add line terminators, they are all up to the
> coder to
> put in.
>
> Personally -- I'd probably replace all the "print" calls with
> equivalent sys.stdout.write() (inserting the proper line ending \n where
> needed). For "deliverable" packages I tend to save "print" for
> development/debug tracing information -- one can easily identify what is to
> be removed when delivering the package.
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/6jgajf1aiseb5bc3e4h5ukmf5h367fl8ta%404ax.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/CAG99bkrkJ3WAoifNR0bo8S%3DQP8nMTHafJujjndqxvMng-0_JGA%40mail.gmail.com.


Re: [beagleboard] disable logging in beaglebone black

2020-08-13 Thread jonnymo
You could look at '/etc/rsyslog.conf' and disable any logging you do not
wish to keep track of.
You would have to either restart the board or restart the service for it to
take.

Ex:
  * sudo /etc/init.d/rsyslogd stop*
   *sudo /etc/init.d/rsyslogd start*

The other option would be to remove any .gz file under /var/log that you do
not want or create a script that purges these.

However, if you are getting an excessive amount of logging on something
particular like messages, then it might be best to find what that issue is
and see if it can be resolved.   Just a suggestion.


Cheers,

Jon

On Thu, Aug 13, 2020 at 4:15 AM jennifer Dsilva 
wrote:

>
> how can we disable logging in bbb? my bbb writes log files into /var/log/
> directory and consumes a lot of space
>
> --
> 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/bc51ea4c-f240-426a-a24a-9aedaeed457ao%40googlegroups.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/CAG99bkogxRm1bNx1x0XLCCMzH6bkYvG9kPn%2Bjo%3DPrzqSYfTHsg%40mail.gmail.com.


Re: [beagleboard] Re: Connecting Two BBBWs to One Another and Using One Script?

2020-08-16 Thread jonnymo
You could use something like MQTT where you run the Mosquitto MQTT server
on one of the BBBW and then publish and subscribe to shared topics between
the two.  I believe Node-RED might be another option.



On Sun, Aug 16, 2020 at 8:56 AM Dennis Lee Bieber 
wrote:

> On Sat, 15 Aug 2020 20:47:51 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user set_
>  wrote:
>
> >
> >I mean, I can test UART connections b/t the two boards. This is not my
> >concern. I am trying to use one script to control both boards. I mean, I
> >can break them up and try that setup too.
> >
> >I would rather have _ work to make one script compiled
> communicate
> >my interests to the boards at my disposal.
> >
>
> I believe you are going to have to define some sort of distributed
> communication protocol, and run some sort of command interpreter on the
> second board. The first board would then have to format and send commands
> over the link to the second board for execution. The command definitions
> will have to cover all operation categories you want to perform on the
> second board (set motor speed, or whatever it is supposed to do), and
> probably include return values too.
>
> Depending upon how you create this protocol library, it may be
> possible
> to, say, run the command processor on each board using TCP/IP and listening
> on "commandport", and your master script would open sockets to
> "localhost:commandport" and "otherhost:commandport". This way, you use the
> same command sequences for both boards (and can expand if needed --
> "anotherhost:commandport").
>
> Your top-level control script only needs to know the IP/port for
> each
> controller board. You run the same processor code as a server on each
> board.
>
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/36lijf9tr63qecfjj9j982oom5snk9apqu%404ax.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/CAG99bkrPgw%2BM1-Sc1AyrS%2BB3bG7fFSVRTtFME1cBLjv%2BpJ2jjg%40mail.gmail.com.


Re: [beagleboard] IDE (eclipse) for Beaglebone on Windows

2020-08-18 Thread jonnymo
Yes, you can cross compile from Windows 10 to the Beaglebone but your best
option would be Eclipse since you can compile on Windows and then scp the
code over from Eclipse.  You can use Visual Studio but you would end up
having to build on the remote target and not on Windows.  However, with
Visual Studio you could use something like VisualGDB but will cost an extra
$99 US. You can download and use it for a month for free though.

Here are a couple of links that might help.
http://exploringbeaglebone.com/chapter7/
http://jkuhlm.bplaced.net/hellobone/

https://www.youtube.com/watch?v=af-1hDfoRcg
https://elinux.org/images/d/df/Using_VS_and_VS_Code_for_Embedded_Development.pdf


Using VisualGDB although I am not sure if this is needed any more.
https://visualgdb.com/tutorials/beaglebone/qt5/cross-compile/


Cheers,

Jon

On Tue, Aug 18, 2020 at 10:54 AM  wrote:

> Are you running Ubuntu under the Windows Subsystem for Linux?  (  WSL )
>
> If so WSL1 or WSL2? Also,  if so I wasn’t aware you could run a GUI
> this way.Can GNOME 3 be run under WSL?
>
>
>
>
>
> *From:* beagleboard@googlegroups.com  *On
> Behalf Of *NAGABHOOSHANAM VEMULA
> *Sent:* Tuesday, August 18, 2020 12:42 PM
> *To:* BeagleBoard 
> *Subject:* [spam] [beagleboard] IDE (eclipse) for Beaglebone on Windows
>
>
>
> Hi,
>
> As a newbie to Linux, looking for IDE and debuggers.
>
>
>
> my setup,
>
> a) I have windows10 PC with ubuntu as application, (ubuntu on Windwos)
>
> b) Connected to Beaglebone with SSH,
>
> c) beaglebone has an internet-over-USB connection.
>
>
>
> I am inclined towards an IDE and debugger (like eclipse) instead of Vi
> editor
>
>
>
> My question:
>
> 1) What are the various IDE options on Windows (eclipse and any other?)
>
> 2) Can we install any IDE on my Ubuntu--on-Windows? (may be stupid
> question)
>
> 3)  If I install eclipse IDE on windows. Does it help to connect to
> targetboard?
>
> to run the program and debug.
>
>
>
> Please guide me, Thanks in advance
>
> .
>
>
>
> --
> 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/5444751e-64a6-48a4-8a9d-eaf04c1e81c9n%40googlegroups.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/486e01d67588%2499d910b0%24cd8b3210%24%40ddennis.net
> 
> .
>

-- 
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/CAG99bkoRNikNuKJ%3Dd5TyL7jBMkmTgWsm0ixpc%2BsLfApJsqtq4w%40mail.gmail.com.


Re: [beagleboard] IDE (eclipse) for Beaglebone on Windows

2020-08-18 Thread jonnymo
In Eclipse, just create a Run Configuration and set it to 'SSH' for your
target which is basically like SCP.  This should deploy the code and run it
on the remote target.

Jon

On Tue, Aug 18, 2020 at 11:47 AM NAGABHOOSHANAM VEMULA <
nagabhooshana...@gmail.com> wrote:

> Thanks John,
>  As per your clarification, It helped me, let me proceed with eclipse on
> Windows and use scp to file transfers to target system.
>
> Thanks Dave, Yes, I am using WSL, the link is
> https://www.microsoft.com/store/productId/9N6SVWS3RX71
>
>
> Thanks and regards,
> Nagabhooshanam Vemula
> email :  nagabhooshana...@gmail.com
> +91 83741 82839- HYD
>
>
> On Tue, Aug 18, 2020 at 11:47 PM jonnymo  wrote:
>
>> Yes, you can cross compile from Windows 10 to the Beaglebone but your
>> best option would be Eclipse since you can compile on Windows and then scp
>> the code over from Eclipse.  You can use Visual Studio but you would end up
>> having to build on the remote target and not on Windows.  However, with
>> Visual Studio you could use something like VisualGDB but will cost an extra
>> $99 US. You can download and use it for a month for free though.
>>
>> Here are a couple of links that might help.
>> http://exploringbeaglebone.com/chapter7/
>> http://jkuhlm.bplaced.net/hellobone/
>>
>> https://www.youtube.com/watch?v=af-1hDfoRcg
>>
>> https://elinux.org/images/d/df/Using_VS_and_VS_Code_for_Embedded_Development.pdf
>>
>>
>> Using VisualGDB although I am not sure if this is needed any more.
>> https://visualgdb.com/tutorials/beaglebone/qt5/cross-compile/
>>
>>
>> Cheers,
>>
>> Jon
>>
>> On Tue, Aug 18, 2020 at 10:54 AM  wrote:
>>
>>> Are you running Ubuntu under the Windows Subsystem for Linux?  (  WSL )
>>>
>>> If so WSL1 or WSL2? Also,  if so I wasn’t aware you could run a GUI
>>> this way.Can GNOME 3 be run under WSL?
>>>
>>>
>>>
>>>
>>>
>>> *From:* beagleboard@googlegroups.com  *On
>>> Behalf Of *NAGABHOOSHANAM VEMULA
>>> *Sent:* Tuesday, August 18, 2020 12:42 PM
>>> *To:* BeagleBoard 
>>> *Subject:* [spam] [beagleboard] IDE (eclipse) for Beaglebone on Windows
>>>
>>>
>>>
>>> Hi,
>>>
>>> As a newbie to Linux, looking for IDE and debuggers.
>>>
>>>
>>>
>>> my setup,
>>>
>>> a) I have windows10 PC with ubuntu as application, (ubuntu on Windwos)
>>>
>>> b) Connected to Beaglebone with SSH,
>>>
>>> c) beaglebone has an internet-over-USB connection.
>>>
>>>
>>>
>>> I am inclined towards an IDE and debugger (like eclipse) instead of Vi
>>> editor
>>>
>>>
>>>
>>> My question:
>>>
>>> 1) What are the various IDE options on Windows (eclipse and any other?)
>>>
>>> 2) Can we install any IDE on my Ubuntu--on-Windows? (may be stupid
>>> question)
>>>
>>> 3)  If I install eclipse IDE on windows. Does it help to connect to
>>> targetboard?
>>>
>>> to run the program and debug.
>>>
>>>
>>>
>>> Please guide me, Thanks in advance
>>>
>>> .
>>>
>>>
>>>
>>> --
>>> 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/5444751e-64a6-48a4-8a9d-eaf04c1e81c9n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/beagleboard/5444751e-64a6-48a4-8a9d-eaf04c1e81c9n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> --
>>> 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/486e01d67588%2499d910b0%24cd8b3210%24%40ddennis.net
>>> <https://groups.google.com/d/msgid/beagleboard/486e01d67588%2499d910b0%24

Re: [beagleboard] IDE (eclipse) for Beaglebone on Windows

2020-08-19 Thread jonnymo
Try downloading
the gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf toolchain and
set the Cross Settings to reference this:
https://releases.linaro.org/components/toolchain/binaries/latest-7/arm-linux-gnueabihf/

Just unpack the file and reference it in Exlipse.
Ex:
Prefix: arm-linux-gnueabihf-
Path: "Path to the toolchain"
Ex:

PATH: 
H:\Development\BeagleBoard\Toolchain\gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf\bin

Set Tool Chain Editor to:
  Current toolchains: Cross GCC
   Current builder: CDT Internal Builder

This works for me with Eclipse 2019

Cheers,

Jon




On Wed, Aug 19, 2020 at 11:52 AM NAGABHOOSHANAM VEMULA <
nagabhooshana...@gmail.com> wrote:

> Hi,
> In continuation of this discussion.  I am progressing, but yet to make the
> environment to work.
> With this eclipse, I am successful to build and run c program (Hello
> world) in the native/host platform, windows machine.
> But I am unable to add cross -compile option to "*arm-linux-gnueabihf*-"
> as per the video below.
> Ofcourse video was made for linux host.
> http://exploringbeaglebone.com/chapter7/  ( i am working on wondows host)
>
> I am thinking settings at::  Project-properties->Settings->Tool Settings,
> But it looks be not correct .
>
> I guess my eclipse 2020-06 version has changed a bit on setting options
> (unable to find a location, where to change).
> Anyone using this new version on windows host?, where to make changes for
> *arm-linux-gnueabihf*-
>
> My environment,
> 1) Installed Eclipse 2020-06 version (latest) for C/C++ Development, as
> IDE.
> 2) installed JDK 14.02 as required for eclipse.
> 3) installed tdm64-gcc-5.1.0-2 (MinGW gcc ) for cross compiler support
> 4) Using WIndows 10 machine as host
>
> Thanks in advance.
>
> Thanks and regards,
> Nagabhooshanam Vemula
> Project-properties->Settings->Tool Settings
>
>
> On Wednesday, August 19, 2020 at 12:45:44 AM UTC+5:30 jonn...@gmail.com
> wrote:
>
>> In Eclipse, just create a Run Configuration and set it to 'SSH' for your
>> target which is basically like SCP.  This should deploy the code and run it
>> on the remote target.
>>
>> Jon
>>
>> On Tue, Aug 18, 2020 at 11:47 AM NAGABHOOSHANAM VEMULA <
>> nagabhoo...@gmail.com> wrote:
>>
>>> Thanks John,
>>>  As per your clarification, It helped me, let me proceed with eclipse on
>>> Windows and use scp to file transfers to target system.
>>>
>>> Thanks Dave, Yes, I am using WSL, the link is
>>> https://www.microsoft.com/store/productId/9N6SVWS3RX71
>>>
>>>
>>> Thanks and regards,
>>> Nagabhooshanam Vemula
>>> email :  nagabhoo...@gmail.com
>>> +91 83741 82839 <+91%2083741%2082839>- HYD
>>>
>>>
>>> On Tue, Aug 18, 2020 at 11:47 PM jonnymo  wrote:
>>>
>>>> Yes, you can cross compile from Windows 10 to the Beaglebone but your
>>>> best option would be Eclipse since you can compile on Windows and then scp
>>>> the code over from Eclipse.  You can use Visual Studio but you would end up
>>>> having to build on the remote target and not on Windows.  However, with
>>>> Visual Studio you could use something like VisualGDB but will cost an extra
>>>> $99 US. You can download and use it for a month for free though.
>>>>
>>>> Here are a couple of links that might help.
>>>> http://exploringbeaglebone.com/chapter7/
>>>> http://jkuhlm.bplaced.net/hellobone/
>>>>
>>>> https://www.youtube.com/watch?v=af-1hDfoRcg
>>>>
>>>> https://elinux.org/images/d/df/Using_VS_and_VS_Code_for_Embedded_Development.pdf
>>>>
>>>>
>>>> Using VisualGDB although I am not sure if this is needed any more.
>>>> https://visualgdb.com/tutorials/beaglebone/qt5/cross-compile/
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Jon
>>>>
>>>> On Tue, Aug 18, 2020 at 10:54 AM  wrote:
>>>>
>>>>> Are you running Ubuntu under the Windows Subsystem for Linux?  (  WSL
>>>>> )
>>>>>
>>>>> If so WSL1 or WSL2? Also,  if so I wasn’t aware you could run a
>>>>> GUI this way.Can GNOME 3 be run under WSL?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *From:* beagl...@googlegroups.com  *On
>>>>> Behalf Of *NAGABHOOSHANAM VEMULA
>>>>> *Sent:* Tuesday, August 18, 2020 12:42 PM
>>>>> *To

Re: [beagleboard] IDE (eclipse) for Beaglebone on Windows

2020-08-20 Thread jonnymo
When you create your project, ensure you are selecting "Cross GCC" and not
"MinGW GCC".  The MinGW is for windows dev.

Ex:
[image: image.png]

Jon

On Thu, Aug 20, 2020 at 7:07 AM Jan Cumps  wrote:

> You may need to unpack the archive as administrator on windows.
> Run your extract program as admin, then select the archive and extract it
> ...
>
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>  Virusvrij.
> www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_-2204324553301015565_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> On Thu, Aug 20, 2020 at 3:51 PM NAGABHOOSHANAM VEMULA <
> nagabhooshana...@gmail.com> wrote:
>
>> Thanks John,
>>
>> As suggested, this time, I have tried with "gcc-linaro-7.5.0-2019.12-"
>> and eclipse 2019, I am able to build and run the project, again on host.
>> But still unable to find the options to change *cross -compiler s*ettings
>> in eclipse 2019. Please see the pic attached,
>> Can you please share pic where to change settings in eclipse.
>>
>> *Where to enter the following.*
>> Prefix: arm-linux-gnueabihf-
>> Path: "Path to the toolchain"
>>
>>
>> thanks in advance.
>>
>>
>>
>> On Thursday, August 20, 2020 at 12:59:14 AM UTC+5:30 jonn...@gmail.com
>> wrote:
>>
>>> Try downloading
>>> the gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf toolchain and
>>> set the Cross Settings to reference this:
>>>
>>> https://releases.linaro.org/components/toolchain/binaries/latest-7/arm-linux-gnueabihf/
>>>
>>> Just unpack the file and reference it in Exlipse.
>>> Ex:
>>> Prefix: arm-linux-gnueabihf-
>>> Path: "Path to the toolchain"
>>> Ex:
>>>
>>> PATH: 
>>> H:\Development\BeagleBoard\Toolchain\gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf\bin
>>>
>>> Set Tool Chain Editor to:
>>>   Current toolchains: Cross GCC
>>>Current builder: CDT Internal Builder
>>>
>>> This works for me with Eclipse 2019
>>>
>>> Cheers,
>>>
>>> Jon
>>>
>>>
>>>
>>>
>>> On Wed, Aug 19, 2020 at 11:52 AM NAGABHOOSHANAM VEMULA <
>>> nagabhoo...@gmail.com> wrote:
>>>
>>>> Hi,
>>>> In continuation of this discussion.  I am progressing, but yet to make
>>>> the environment to work.
>>>> With this eclipse, I am successful to build and run c program (Hello
>>>> world) in the native/host platform, windows machine.
>>>> But I am unable to add cross -compile option to "*arm-linux-gnueabihf*-"
>>>> as per the video below.
>>>> Ofcourse video was made for linux host.
>>>> http://exploringbeaglebone.com/chapter7/  ( i am working on wondows
>>>> host)
>>>>
>>>> I am thinking settings at::  Project-properties->Settings->Tool
>>>> Settings, But it looks be not correct .
>>>>
>>>> I guess my eclipse 2020-06 version has changed a bit on setting options
>>>> (unable to find a location, where to change).
>>>> Anyone using this new version on windows host?, where to make changes
>>>> for *arm-linux-gnueabihf*-
>>>>
>>>> My environment,
>>>> 1) Installed Eclipse 2020-06 version (latest) for C/C++ Development, as
>>>> IDE.
>>>> 2) installed JDK 14.02 as required for eclipse.
>>>> 3) installed tdm64-gcc-5.1.0-2 (MinGW gcc ) for cross compiler support
>>>> 4) Using WIndows 10 machine as host
>>>>
>>>> Thanks in advance.
>>>>
>>>> Thanks and regards,
>>>> Nagabhooshanam Vemula
>>>> Project-properties->Settings->Tool Settings
>>>>
>>>>
>>>> On Wednesday, August 19, 2020 at 12:45:44 AM UTC+5:30 jonn...@gmail.com
>>>> wrote:
>>>>
>>>>> In Eclipse, just create a Run Configuration and set it to 'SSH' for
>>>>> your target which is basically like SCP.  This should deploy the code and
>>>>> run it on the remote target.
>>>>>
>>>>> Jon
>>>>>
>>>>> On Tue, Aug 18, 2020 at 11:47 AM NAGABHOOSHANAM VEMULA <
>>>>> nagabhoo...@gmail.com> wrote:
>>>>>

Re: [beagleboard] Re: Connecting Two BBBWs to One Another and Using One Script?

2020-08-20 Thread jonnymo
I've used both a BBB and a RasPi for the Mosquitto server.  It is a
lightweight server so it should not be too taxing on a system.

Cheers,

Jon

On Thu, Aug 20, 2020 at 8:17 PM set_  wrote:

> Hello,
>
> I got the Mosquitto and paho-mqtt testing on my BBBW and BBGW. I can run a
> broker on each of them so far. I can also run some extra scripts in python
> to make them "almost work."
>
> ...
>
> Should I be using the BBGW/BBBW as a broker or should I use a larger
> computer as the broker?
>
> Seth
>
> P.S. I started to use this idea w/ websockets too.
>
> On Sunday, August 16, 2020 at 1:45:16 PM UTC-5 jonn...@gmail.com wrote:
>
>> You could use something like MQTT where you run the Mosquitto MQTT server
>> on one of the BBBW and then publish and subscribe to shared topics between
>> the two.  I believe Node-RED might be another option.
>>
>>
>>
>> On Sun, Aug 16, 2020 at 8:56 AM Dennis Lee Bieber 
>> wrote:
>>
>>> On Sat, 15 Aug 2020 20:47:51 -0700 (PDT), in
>>> gmane.comp.hardware.beagleboard.user set_
>>>  wrote:
>>>
>>> >
>>> >I mean, I can test UART connections b/t the two boards. This is not my
>>> >concern. I am trying to use one script to control both boards. I mean,
>>> I
>>> >can break them up and try that setup too.
>>> >
>>> >I would rather have _ work to make one script compiled
>>> communicate
>>> >my interests to the boards at my disposal.
>>> >
>>>
>>> I believe you are going to have to define some sort of
>>> distributed
>>> communication protocol, and run some sort of command interpreter on the
>>> second board. The first board would then have to format and send commands
>>> over the link to the second board for execution. The command definitions
>>> will have to cover all operation categories you want to perform on the
>>> second board (set motor speed, or whatever it is supposed to do), and
>>> probably include return values too.
>>>
>>> Depending upon how you create this protocol library, it may be
>>> possible
>>> to, say, run the command processor on each board using TCP/IP and
>>> listening
>>> on "commandport", and your master script would open sockets to
>>> "localhost:commandport" and "otherhost:commandport". This way, you use
>>> the
>>> same command sequences for both boards (and can expand if needed --
>>> "anotherhost:commandport").
>>>
>>> Your top-level control script only needs to know the IP/port for
>>> each
>>> controller board. You run the same processor code as a server on each
>>> board.
>>>
>>>
>>>
>>> --
>>> Dennis L Bieber
>>>
>>> --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to beagleboard...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/beagleboard/36lijf9tr63qecfjj9j982oom5snk9apqu%404ax.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/c7c8ea82-41d4-4244-bb08-7f13fb8d4742n%40googlegroups.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/CAG99bkpYsizTVNyHBGyKYguSPf5L8hwKbVOkL1uurz0nw6v36w%40mail.gmail.com.


Re: [beagleboard] Unable to boot after 'apt upgrade' to Debian 9.13

2020-08-22 Thread jonnymo
This may help:

https://forum.digikey.com/t/beablebone-black-boot-issue-dev-mmcblk1p1-does-not-exist/7717


Cheers,

Jon

On Sat, Aug 22, 2020 at 10:47 AM Hartley Sweeten 
wrote:

> Hello all,
>
> I had an old Debian 9.9 console image on my BBB and did an apt upgrade
> that bumped it to Debian 9.13. Now the board does not boot.
>
> If I hook up a serial console I see it keeps stopping at:
>
> Starting kernel ...
>
> [0.001033] clocksource_probe: no matching clocksources found
> [1.312908] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
> [1.487471] omap_hsmmc 481d8000.mmc: prop pinctrl-0 index 0 invalid
> phandle
> [1.522392] omap_voltage_late_init: Voltage driver support not added
> [1.529573] PM: Cannot get wkup_m3_ipc handle
> [1.807980] bone_capemgr bone_capemgr: slot #0: No cape found
> [1.839062] bone_capemgr bone_capemgr: slot #1: No cape found
> [1.871759] bone_capemgr bone_capemgr: slot #2: No cape found
> [1.904436] bone_capemgr bone_capemgr: slot #3: No cape found
> Gave up waiting for root file system device.  Common problems:
>  - Boot args (cat /proc/cmdline)
>- Check rootdelay= (did the system wait long enough?)
>  - Missing modules (cat /proc/modules; ls /dev)
> ALERT!  /dev/mmcblk1p1 does not exist.  Dropping to a shell!
> (initramfs)
>
> Is there any way to fix this other than reflashing?
>
> 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/960431ee-a19f-4425-b2c5-b06f4ec63229o%40googlegroups.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/CAG99bkoshx%2B9%2BasqdC-cj6TJriw0wgt_U8amQ2sVMrwq61YCDA%40mail.gmail.com.


Re: [beagleboard] Unable to boot after 'apt upgrade' to Debian 9.13

2020-08-22 Thread jonnymo
Could you post the strange message you are seeing regarding the uSD card?

For me, going from 9.9 to 9.13 and beyond, I would just do a reflash of the
image.

Which rev of BBB do you have?  Rev B or Rev C?

Robert is the master of this so I would think his suggestions would clear
the issue.

Cheers,

Jon

On Sat, Aug 22, 2020 at 1:04 PM Hartley Sweeten 
wrote:

>
> Hi Jon,
>
> I have already seen that post. It doesn't help since it requires
> reflashing the board.
>
> I had another board that I did the same 'apt update/upgrade' on and had
> the same problem.
>
> BTW, If have not been able to get that board to reflash, it keeps giving
> me some strange error message about the SD-Card, still have not figured
> that out. The SD-Card worked fine on a different BBB.
>
> I would like to know if there is a way to fix this without reflashing the
> board.
>
> I guess a bigger question is - Does upgrading the console image from
> Debian 9.9 to 9.13 actually work?
>
> Hartley
>
> On Saturday, August 22, 2020 at 11:28:22 AM UTC-7 jonn...@gmail.com wrote:
>
>> This may help:
>>
>>
>> https://forum.digikey.com/t/beablebone-black-boot-issue-dev-mmcblk1p1-does-not-exist/7717
>>
>>
>> Cheers,
>>
>> Jon
>>
>> On Sat, Aug 22, 2020 at 10:47 AM Hartley Sweeten 
>> wrote:
>>
>>> Hello all,
>>>
>>> I had an old Debian 9.9 console image on my BBB and did an apt upgrade
>>> that bumped it to Debian 9.13. Now the board does not boot.
>>>
>>> If I hook up a serial console I see it keeps stopping at:
>>>
>>> Starting kernel ...
>>>
>>> [0.001033] clocksource_probe: no matching clocksources found
>>> [1.312908] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc
>>> handle
>>> [1.487471] omap_hsmmc 481d8000.mmc: prop pinctrl-0 index 0 invalid
>>> phandle
>>> [1.522392] omap_voltage_late_init: Voltage driver support not added
>>> [1.529573] PM: Cannot get wkup_m3_ipc handle
>>> [1.807980] bone_capemgr bone_capemgr: slot #0: No cape found
>>> [1.839062] bone_capemgr bone_capemgr: slot #1: No cape found
>>> [1.871759] bone_capemgr bone_capemgr: slot #2: No cape found
>>> [1.904436] bone_capemgr bone_capemgr: slot #3: No cape found
>>> Gave up waiting for root file system device.  Common problems:
>>>  - Boot args (cat /proc/cmdline)
>>>- Check rootdelay= (did the system wait long enough?)
>>>  - Missing modules (cat /proc/modules; ls /dev)
>>> ALERT!  /dev/mmcblk1p1 does not exist.  Dropping to a shell!
>>> (initramfs)
>>>
>>> Is there any way to fix this other than reflashing?
>>>
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/beagleboard/960431ee-a19f-4425-b2c5-b06f4ec63229o%40googlegroups.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/a55e5f2b-e111-4624-ae1c-41419050a951n%40googlegroups.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/CAG99bkqAMNPGsruTihkOjT9cykvcUycrgc8%3DXj7zGV5yoH%2BwUA%40mail.gmail.com.


Re: [beagleboard] Switching a GPIO to and LED via the device tree

2020-08-27 Thread jonnymo
Very cool Mark.

A couple of notes:
1.  It might be a good idea to put a note in there for the folks to back up
their currently booted dts/dtb files before editing them.

2. Under "Finding which device tree to edit" I believe there is a typo:
 Note: If you want to edit the source using cloud9 us the following
trick ...
   Should be:
 Note: If you want to edit the source using cloud9 *use* the following
trick ...

3. When you run make, would it be best to just run it against the file that
was edited rather than the whole folder?
 Maybe the build script is smart enough to figure this out.

4.  Under "Adding our LED" there is the following without explaining the
why.  Was this intentional?
"How did I know to use *gpio1* and *18*?"

This is a nice series.  Thanks for sharing.

Cheers,

Jon

On Thu, Aug 27, 2020 at 8:31 AM Renaud Waldura  wrote:

> Good stuff, thank you Mark!
>
> How are the triggers defined? They're more or less self explanatory, I'm
> just curious how it works.
>
>
> On Thu, Aug 27, 2020, 6:06 AM Mark A. Yoder 
> wrote:
>
>>
>> Yup, years for facing blank stares has taught me a few things.
>>
>> This particular example touched on so many different things it could be a
>> nice final exam.
>>
>> --Mark
>> On Wednesday, August 26, 2020 at 9:59:23 PM UTC-4 lazarman wrote:
>>
>>>
>>> Well presented I like your approach at documentation I bet that comes
>>> from teaching
>>>
>>>
>>> Sent from Yahoo Mail on Android
>>> 
>>>
>>> On Wed, Aug 26, 2020 at 5:30 PM, Mark A. Yoder
>>>  wrote:
>>>
>>> Beagler's:
>>>   I just wrote up some notes on how to edit the device tree to change a
>>> GPIO into an LED.
>>>
>>> Switching_a_GPIO_to_an_LED
>>> 
>>>
>>> It's are rather involved process that requires understanding some deeper
>>> magic.
>>>
>>> Let me know what you think.
>>>
>>> --Mark
>>>
>>> --
>>> 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/61317cde-fb07-4c98-bc56-c968e58e7a10n%40googlegroups.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/6203e02e-107b-4404-b952-0ef40ad12118n%40googlegroups.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/CAN%2B%3DRhG066CY6W8sC8M%3D2-fPbqEv8uTHJEShNiAU4_CgN2pJWw%40mail.gmail.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/CAG99bkp8xq%3D%2BZDHLJQ2qqaTg4d0_bkJy_AcYOU%2BztnN2Quow2Q%40mail.gmail.com.


Re: [beagleboard] Welcome the Fall 2020 Embedded Linux Class

2020-09-01 Thread jonnymo
I would be interested in checking out your class.

Is there a site to sign up for this?

Cheers,

Jon

On Tue, Sep 1, 2020 at 1:05 PM Mark A. Yoder  wrote:

> The purpose of this posting is to announce that I'm once again teaching
> an Embedded Linux class based on the BeagleBone[1]. This time I'm using
> the  *BeagleBone Black.*
> I'm teaching as open-source as I can and have have posted many of course
> materials on eLinux.org [2] and github[3].
>
> I'm always open to ideas on what topics to include in the class and
> suggestions for interesting course projects.  For example we are starting
> Python this week and hope to be writing simple kernel module 5 weeks from
> now.  That will be followed by a week of PRU programming.
>
> Class, please respond to this posting.  Others, please welcome my class.
>
> --Mark
>
> --Prof. Mark A. Yoder
>   Rose-Hulman Institute of Technology [4]
>
> [1] http://elinux.org/Embedded_Linux,_Rose-Hulman
> [2] http://elinux.org/index.php?title=Category:ECE497
> [3] https://github.com/MarkAYoder/BeagleBoard-exercises
> [4] http://www.rose-hulman.edu
>
> --
> 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/e7663106-85ab-4e88-9863-6c66676af9e1n%40googlegroups.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/CAG99bkrPJfYvmTv3NZ2mrodgOB3rJrC7vaSVb9qHuCy9yEWhyg%40mail.gmail.com.


Re: [beagleboard] Re: Syntax highlight in nano

2020-09-08 Thread jonnymo
I usually put the .vimrc under my user folder.
Ex:
   touch ~/.vimrc

Then edit it there.

Cheers,

Jon

On Tue, Sep 8, 2020 at 2:00 AM Pavel Yermolenko  wrote:

> Yes the absence of colors is only when using serial terminal.
> With *ssh *it's Ok, both in *vim* and *nano*.
> Thanks !
>
> On Tuesday, September 8, 2020 at 10:40:15 AM UTC+2, jose...@gmail.com
> wrote:
>>
>> Have you installed the full *vim* version ?
>>
>> $ sudo apt install vim
>>
>> By default, some Debian images only have installed the *vim-tiny* package,
>> that does not have support to syntax highlight.
>>
>> Other thing that may affect the presentation of color is the usage of a
>> serial terminal.
>> If you can, login via SSH to test if, in this way, you get colors on your
>> terminal.
>>
>> A terça-feira, 8 de setembro de 2020 à(s) 08:38:06 UTC+1,
>> py.o...@sunrise.ch escreveu:
>>
>>> Thanks.
>>> I edited */etc/vim/vimrc*.
>>> Here is what I get.
>>> Where are colors in this so-called highlighting.
>>> Regards,
>>> Pavel.
>>>
>>> [image: Screenshot from 2020-09-08 09-34-18.png]
>>>
>>>
>>> On Monday, September 7, 2020 at 4:19:58 PM UTC+2, jose...@gmail.com
>>> wrote:

 If you provide appropriate config, *vim* will give you syntax
 highlight.
 I always add in my boards the following config in
 */etc/vim/vimrc.local*:

 let g:skip_defaults_vim = 1
 syntax on
 set background=dark
 set modeline
 set modelines=3
 set mouse=

 BR,
 José Gonçalves

 A segunda-feira, 7 de setembro de 2020 à(s) 14:02:32 UTC+1,
 py.o...@sunrise.ch escreveu:

> BTW, the *vim* editor does not provide syntax highlighting either.
>
>
> On Monday, September 7, 2020 at 1:41:44 PM UTC+2, Pavel Yermolenko
> wrote:
>>
>> In the file */etc/nanorc *there is following line:
>>
>> ## To include all existing syntax definitions, you can do:
>> include "/usr/share/nano/*.nanorc"
>>
>> Here is the content of */usr/share/nano/*:
>>
>> debian@beaglebone:~$ ls /usr/share/nano/ -l
>> total 180
>> -rw-r--r-- 1 root root  882 Jun 12  2019 asm.nanorc
>> -rw-r--r-- 1 root root  555 Jun 12  2019 autoconf.nanorc
>> -rw-r--r-- 1 root root 1342 Jun 12  2019 awk.nanorc
>> -rw-r--r-- 1 root root  712 Jun 12  2019 changelog.nanorc
>> -rw-r--r-- 1 root root  788 Jun 12  2019 cmake.nanorc
>> -rw-r--r-- 1 root root 1748 Jun 12  2019 c.nanorc
>> -rw-r--r-- 1 root root  344 Jun 12  2019 css.nanorc
>> -rw-r--r-- 1 root root  757 Jun 12  2019 debian.nanorc
>> -rw-r--r-- 1 root root  414 Jun 12  2019 default.nanorc
>> -rw-r--r-- 1 root root 1108 Jun 12  2019 elisp.nanorc
>> -rw-r--r-- 1 root root 1967 Jun 12  2019 fortran.nanorc
>> -rw-r--r-- 1 root root 4226 Jun 12  2019 gentoo.nanorc
>> -rw-r--r-- 1 root root 1317 Jun 12  2019 go.nanorc
>> -rw-r--r-- 1 root root  710 Jun 12  2019 groff.nanorc
>> -rw-r--r-- 1 root root  587 Jun 12  2019 guile.nanorc
>> -rw-r--r-- 1 root root 1211 Jun 12  2019 html.nanorc
>> -rw-r--r-- 1 root root  653 Jun 12  2019 java.nanorc
>> -rw-r--r-- 1 root root  763 Jun 12  2019 javascript.nanorc
>> -rw-r--r-- 1 root root  878 Jun 12  2019 json.nanorc
>> -rw-r--r-- 1 root root 2459 Jun 12  2019 lua.nanorc
>> -rw-r--r-- 1 root root  535 Jun 12  2019 makefile.nanorc
>> -rw-r--r-- 1 root root  453 Jun 12  2019 man.nanorc
>> -rw-r--r-- 1 root root  198 Jun 12  2019 mgp.nanorc
>> -rw-r--r-- 1 root root  185 Jun 12  2019 mutt.nanorc
>> -rw-r--r-- 1 root root  388 Jun 12  2019 nanohelp.nanorc
>> -rw-r--r-- 1 root root 2675 Jun 12  2019 nanorc.nanorc
>> -rw-r--r-- 1 root root  791 Jun 12  2019 nftables.nanorc
>> -rw-r--r-- 1 root root 1696 Jun 12  2019 objc.nanorc
>> -rw-r--r-- 1 root root  859 Jun 12  2019 ocaml.nanorc
>> -rw-r--r-- 1 root root  590 Jun 12  2019 patch.nanorc
>> -rw-r--r-- 1 root root 1457 Jun 12  2019 perl.nanorc
>> -rw-r--r-- 1 root root 1070 Jun 12  2019 php.nanorc
>> -rw-r--r-- 1 root root  919 Jun 12  2019 po.nanorc
>> -rw-r--r-- 1 root root 3046 Jun 12  2019 postgresql.nanorc
>> -rw-r--r-- 1 root root  632 Jun 12  2019 pov.nanorc
>> -rw-r--r-- 1 root root 1199 Jun 12  2019 python.nanorc
>> -rw-r--r-- 1 root root 1506 Jun 12  2019 ruby.nanorc
>> -rw-r--r-- 1 root root 1116 Jun 12  2019 rust.nanorc
>> -rw-r--r-- 1 root root 1489 Jun 12  2019 sh.nanorc
>> -rw-r--r-- 1 root root 1924 Jun 12  2019 spec.nanorc
>> -rw-r--r-- 1 root root 2181 Jun 12  2019 tcl.nanorc
>> -rw-r--r-- 1 root root  463 Jun 12  2019 texinfo.nanorc
>> -rw-r--r-- 1 root root  200 Jun 12  2019 tex.nanorc
>> -rw-r--r-- 1 root root  527 Jun 12  2019 xml.nanorc
>> debian@beaglebone:~$
>>
>> But there is no syntax coloring for any of languages.
>> Where is the problem ?
>> Thanks
>>
>> On Friday, September 4, 2020 at 4:35:23 PM UTC+2, Pavel Yermolenko
>> wrote:

Re: [beagleboard] Re: where is "syscall" function is declared ?

2020-09-08 Thread jonnymo
What worked for you?  I cloned the code from the link you provided and the
syscall code has build errors.

What I did to clear this out was:
1. In "syscall.cpp", I added 'unistd.h' to the includes:
  Ex:
  #include 

2. I did the same in callchmod.cpp,

3. Run ./build

Apparently there is an issue with unistd.h not being added in certain areas
with gcc.

Cheers,

Jon



On Tue, Sep 8, 2020 at 9:05 AM Pavel Yermolenko  wrote:

>
>
> On Tuesday, September 8, 2020 at 4:35:43 PM UTC+2, Dennis Bieber wrote:
>>
>> On Tue, 08 Sep 2020 10:24:06 -0400, in
>> gmane.comp.hardware.beagleboard.user
>> Dennis Lee Bieber <
>> dennis.l.bieber-re5jqeeqqe8avxtiumw...@public.gmane.org>
>> wrote:
>>
>>
>> As a follow-up, using YOUR source, I added one line (and changed
>> the
>> file name)
>>
>> -=-=-=-
>> debian@beaglebone:~/exploring$ cat test.cpp
>> #include
>> #include
>> #include
>> #include
>> #include
>>
>> #include
>>  <===
>>
>> using namespace std;
>>
>> int main(){
>>//gnu_get_libc_version() returns a string that identifies the
>>//glibc version available on the system.
>>cout << "The GNU libc version is " << gnu_get_libc_version() << endl;
>>
>>// process id tid is thread identifier
>>// look inside sys/syscall.h for System Call Numbers
>>pid_t tid;//pid_t is of type integer
>>tid = syscall(SYS_gettid);   // make a system call to get the process
>> id
>>cout << "The Current PID is: " << tid << endl;
>>//can also get by calling getpid() function from signal.h
>>cout << "The Current PID is: " << getpid() << endl;
>>
>>// Can get current UserID by using:
>>int uid = syscall(SYS_getuid);
>>cout << "It is being run by user with ID: " << uid << endl;
>>   // or getting the value from syscalls.kernelgrok.com
>>uid = syscall(0xc7);
>>cout << "It is being run by user with ID: " << uid << endl;
>>
>>return 0;
>> }
>> debian@beaglebone:~/exploring$
>> -=-=-=-
>> debian@beaglebone:~/exploring$ g++ test.cpp -o test
>> debian@beaglebone:~/exploring$ ./test
>> The GNU libc version is 2.28
>> The Current PID is: 2396
>> The Current PID is: 2396
>> It is being run by user with ID: 1000
>> It is being run by user with ID: 1000
>> debian@beaglebone:~/exploring$
>>
>>
>> The example program in the second edition has that line.
>>
>>
>> --
>> Dennis L Bieber
>>
>
> Works ! Thanks.
> Concerning 2nd ed, as I mentioned, I used link form 2nd edition.
>
> --
> 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/d28ca569-05a8-4d40-845b-385f89105ea2o%40googlegroups.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/CAG99bkpYwhePT95%2BrGREzmPYzNE4xhX81ZVzx0WMcGTPbBqzOA%40mail.gmail.com.


Re: [beagleboard] Re: where is "syscall" function is declared ?

2020-09-09 Thread jonnymo
Yeah, I missed where this was shown in the email.

As far as the link for Drerk's web page is concerned, I suspect it is a
reference to the first ed of his book.

>From what I gathered, syscall is not POSIX compliant and could cause
compatibility issues so it's use is discouraged. This I would suspect is
why there are suggestions from the error when running the example to use
'swscanf' and 'getpt' instead.

However, as you found, 'syscall' is defined in 'unistd.h' so having this
included is required which does not seem that new. Then again, the code on
Derek's site is at least 6 years old and may not be kept up to date which
could explain the use of syscall there.


Cheers,

Jon

On Wed, Sep 9, 2020 at 8:30 AM Dennis Lee Bieber 
wrote:

> On Tue, 8 Sep 2020 08:57:45 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user Pavel Yermolenko
>  wrote:
> >>
> >
> >2nd Ed. I cloned the source from github.com/derekmolloy/exploringbb.git
> >This link is proposed in the 2nd edidtion of the book (p. xxxiv)
> >
>
> Interesting... the program shown on
>
> http://exploringbeaglebone.com/chapter5/#Using_a_System_Call_to_use_the_chmod_command
> also does not have the include -- but as I mentioned, the program in the
> actual book does have the needed include.
>
> Note that the web example version of the library is a bit older, and the OS
> may have distributed things differently.
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/g3thlf15sthqjajpiia5q64opdadr915vp%404ax.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/CAG99bkpdhZJc7WRD3chd%2B_0RK%2Byru%2BW1UKNou7TZ3CGLny2nNw%40mail.gmail.com.


Re: [beagleboard] Re: where is "syscall" function is declared ?

2020-09-09 Thread jonnymo
The only real references I have seen is in the following gnulib manual :
https://www.gnu.org/software/gnulib/manual/gnulib.pdf

And the subsequence link:
https://www.gnu.org/software/libc/manual/html_node/System-Calls.html

Cheers,

Jon


On Wed, Sep 9, 2020 at 10:31 AM Robert Nelson 
wrote:

> On Wed, Sep 9, 2020 at 12:28 PM jonnymo  wrote:
> >
> > Yeah, I missed where this was shown in the email.
> >
> > As far as the link for Drerk's web page is concerned, I suspect it is a
> reference to the first ed of his book.
> >
> > From what I gathered, syscall is not POSIX compliant and could cause
> compatibility issues so it's use is discouraged. This I would suspect is
> why there are suggestions from the error when running the example to use
> 'swscanf' and 'getpt' instead.
> >
> > However, as you found, 'syscall' is defined in 'unistd.h' so having this
> included is required which does not seem that new. Then again, the code on
> Derek's site is at least 6 years old and may not be kept up to date which
> could explain the use of syscall there.
>
> I've found a few references to 4.7.x gcc and C89/C99  that this
> changed, but haven't found the git commit/explanation..
>
> 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/CAOCHtYjC3jsb-F%2BJoCWkNT0aKRxtKFxO75AuJD%2BcT8KSvyn4cQ%40mail.gmail.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/CAG99bkozqU3u0qb9SGNv3n0Lh%3Dug2FJ_d_PwXFiHL8-vTj3FZQ%40mail.gmail.com.


Re: [beagleboard] pygame displaying on /dev/fb0

2020-09-10 Thread jonnymo
Are you running it as sudo?

https://learn.adafruit.com/pi-video-output-using-pygame/pointing-pygame-to-the-framebuffer

Jon

On Thu, Sep 10, 2020 at 10:00 AM Mark A. Yoder 
wrote:

> Yup, I think before it would grap fbcon, but not now.
>
> --Mark
>
> On Thursday, September 10, 2020 at 12:21:35 PM UTC-4 RobertCNelson wrote:
>
>> On Thu, Sep 10, 2020 at 11:16 AM Mark A. Yoder 
>> wrote:
>> >
>> > I have a ili9341 2.4" TFT display wired to SP1 on my BeagleBone Black
>> and it's working fine when I run fbi to display images, or mplayer to play
>> movies.
>> >
>> > I'm unable to get pygame to display on it. I'm trying to get my
>> clock.py[1] to work and all I get is:
>> > pygame 1.9.4.post1
>> > Hello from the pygame community. https://www.pygame.org/contribute.html
>> > Driver: fbcon failed.
>>
>> I'd expect it to use fbcon..
>>
>> But why didn't it pick it 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/d43c767e-987b-49a5-91d2-ffc8f95132cen%40googlegroups.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/CAG99bkrSDCz8Ky%2BFHtCXXnavp66X%2B-3zTZLnBeDDjrNi%2B7Qs7A%40mail.gmail.com.


Re: [beagleboard] pygame displaying on /dev/fb0

2020-09-10 Thread jonnymo
Have you checked the output of the following command?

   "*fbset -i -fb /dev/**fb0*"

Have you tried to force the video driver to fbcon as an environment
variable such as:
 *SDL_VIDEODRIVER="fbcon"*

I suppose you could try to force it in your pygame code as such:
   *os.putenv('SDL_VIDEODRIVER', 'fbcon')*

Cheers,

Jon

On Thu, Sep 10, 2020 at 11:10 AM Mark A. Yoder 
wrote:

> Yes, I've tried it with and without sudo.  Same results.
>
> --Mark
>
> On Thursday, September 10, 2020 at 2:07:47 PM UTC-4 jonn...@gmail.com
> wrote:
>
>> Are you running it as sudo?
>>
>>
>> https://learn.adafruit.com/pi-video-output-using-pygame/pointing-pygame-to-the-framebuffer
>>
>> Jon
>>
>> On Thu, Sep 10, 2020 at 10:00 AM Mark A. Yoder 
>> wrote:
>>
>>> Yup, I think before it would grap fbcon, but not now.
>>>
>>> --Mark
>>>
>>> On Thursday, September 10, 2020 at 12:21:35 PM UTC-4 RobertCNelson wrote:
>>>
 On Thu, Sep 10, 2020 at 11:16 AM Mark A. Yoder 
 wrote:
 >
 > I have a ili9341 2.4" TFT display wired to SP1 on my BeagleBone Black
 and it's working fine when I run fbi to display images, or mplayer to play
 movies.
 >
 > I'm unable to get pygame to display on it. I'm trying to get my
 clock.py[1] to work and all I get is:
 > pygame 1.9.4.post1
 > Hello from the pygame community.
 https://www.pygame.org/contribute.html
 > Driver: fbcon failed.

 I'd expect it to use fbcon..

 But why didn't it pick it 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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/beagleboard/d43c767e-987b-49a5-91d2-ffc8f95132cen%40googlegroups.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/77088527-8d7e-480f-98fd-9680347f706dn%40googlegroups.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/CAG99bkqZFRn_gazEmVXwCSXiZ8K%3D7Kt_QQ0rov8n_vKC8a-K8A%40mail.gmail.com.


Re: [beagleboard] How to check exact model of CPU on BBB

2020-09-10 Thread jonnymo
Have you tried this?
https://github.com/omapconf

On Thu, Sep 10, 2020 at 11:44 AM Pavel Yermolenko 
wrote:

> Works. Thanks !
> root@am335x-evm:~# sudo omapconf --cpuinfo
> OMAPCONF (rev v1.74-1-g40ab0a2 built Sun Apr 19 07:10:00 UTC 2020)
>
> HW Platform:
>   Generic AM33XX (Flattened Device Tree)
>   AM3358 ES2.1 GP Device (UNKNOWN performance ZCZ package (1.0GHz))
> Error: I2C Read failed
> Error: I2C Read failed
> Error: I2C Read failed
>   TPS65217B  ES1.2
> Error: I2C Read failed
>   UNKNOWN AUDIO IC
>
> root@am335x-evm:~#
>
> Before I tried on eMMC images. I've two Linux images:
>
>- downloaded from BeagleBone site (in eMMC)
>- flashed on SD card using TI SDK utility (on SD card)
>
> Where can I find *omapconf* to install it on eMMC ?
> Sincerely,
> Pavel.
>
> On Thursday, September 10, 2020 at 8:00:32 PM UTC+2, RobertCNelson wrote:
>>
>> On Thu, Sep 10, 2020 at 12:47 PM Pavel Yermolenko 
>> wrote:
>> >
>> >  It doesn't work on my board:
>> >
>> > debian@beaglebone:~$ sudo omapconf --cpuinfo
>> > [sudo] password for debian:
>> > sudo: omapconf: command not found
>> > debian@beaglebone:~$
>>
>> It's not installed by default in the BeagleBoard.org image's, as it
>> doesn't provide very much useful information for the average user.
>>
>> I had merely reference TI's sdk as that is what you posted in this
>> thread.
>>
>> 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/e50ed685-21eb-42ed-a3ce-6377f22ea3b6o%40googlegroups.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/CAG99bkoMz6i92_rf2Z1kGXQ2xuwM4%2B%2B1GJLeDiLibmHAGW2cTQ%40mail.gmail.com.


Re: [beagleboard] pygame displaying on /dev/fb0

2020-09-10 Thread jonnymo
Have you tried running it as root? Not 'sudo' but su to root and try it
there.  It could still be a permission issue.

Cheers,

Jon

On Thu, Sep 10, 2020 at 11:50 AM Mark A. Yoder 
wrote:

> I tried the 4.14 and 5.6 kernels, but no luck.
>
> --Mark
>
> On Thursday, September 10, 2020 at 2:38:08 PM UTC-4 RobertCNelson wrote:
>
>> On Thu, Sep 10, 2020 at 12:00 PM Mark A. Yoder 
>> wrote:
>> >
>> > Yup, I think before it would grap fbcon, but not now.
>>
>> Was it with v4.14.x before? i wonder if the new tinydrm driver in
>> v4.19.x is causing a fun issue?
>>
>> 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/31150241-e86b-4a41-a7e8-769ec7cbc490n%40googlegroups.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/CAG99bkqwk%3DcAniWUY2iqgJJ5uf3Y97SfmF%3DKzGMc5Ta24sNWOg%40mail.gmail.com.


Re: [beagleboard] pygame displaying on /dev/fb0

2020-09-10 Thread jonnymo
Just a thought, is your user part of the 'video' group?  I would suspect it
is since you were able to run the fbi stuff but it wouldn't hurt to check.

Cheer,

Jon

On Thu, Sep 10, 2020 at 11:59 AM jonnymo  wrote:

> Have you tried running it as root? Not 'sudo' but su to root and try it
> there.  It could still be a permission issue.
>
> Cheers,
>
> Jon
>
> On Thu, Sep 10, 2020 at 11:50 AM Mark A. Yoder 
> wrote:
>
>> I tried the 4.14 and 5.6 kernels, but no luck.
>>
>> --Mark
>>
>> On Thursday, September 10, 2020 at 2:38:08 PM UTC-4 RobertCNelson wrote:
>>
>>> On Thu, Sep 10, 2020 at 12:00 PM Mark A. Yoder 
>>> wrote:
>>> >
>>> > Yup, I think before it would grap fbcon, but not now.
>>>
>>> Was it with v4.14.x before? i wonder if the new tinydrm driver in
>>> v4.19.x is causing a fun issue?
>>>
>>> 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/31150241-e86b-4a41-a7e8-769ec7cbc490n%40googlegroups.com
>> <https://groups.google.com/d/msgid/beagleboard/31150241-e86b-4a41-a7e8-769ec7cbc490n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/CAG99bkp9_QWcvaRJuVrv853f9%2Bun5bdJz3oCj0N3iyOfKXLYsA%40mail.gmail.com.


Re: [beagleboard] pygame displaying on /dev/fb0

2020-09-10 Thread jonnymo
If you run 'lsmod" does the fbcon module show in the output?

If not, try to load it manually:
  #* modprobe fbcon*

Does this show an error?

Check

On Thu, Sep 10, 2020 at 5:52 PM Mark A. Yoder 
wrote:

> Good idea, but I'm in group video.
>
> On Thursday, September 10, 2020 at 5:15:32 PM UTC-4 jonn...@gmail.com
> wrote:
>
>> Just a thought, is your user part of the 'video' group?  I would suspect
>> it is since you were able to run the fbi stuff but it wouldn't hurt to
>> check.
>>
>> Cheer,
>>
>> Jon
>>
>> On Thu, Sep 10, 2020 at 11:59 AM jonnymo  wrote:
>>
>>> Have you tried running it as root? Not 'sudo' but su to root and try it
>>> there.  It could still be a permission issue.
>>>
>>> Cheers,
>>>
>>> Jon
>>>
>>> On Thu, Sep 10, 2020 at 11:50 AM Mark A. Yoder 
>>> wrote:
>>>
>>>> I tried the 4.14 and 5.6 kernels, but no luck.
>>>>
>>>> --Mark
>>>>
>>>> On Thursday, September 10, 2020 at 2:38:08 PM UTC-4 RobertCNelson wrote:
>>>>
>>>>> On Thu, Sep 10, 2020 at 12:00 PM Mark A. Yoder 
>>>>> wrote:
>>>>> >
>>>>> > Yup, I think before it would grap fbcon, but not now.
>>>>>
>>>>> Was it with v4.14.x before? i wonder if the new tinydrm driver in
>>>>> v4.19.x is causing a fun issue?
>>>>>
>>>>> 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/31150241-e86b-4a41-a7e8-769ec7cbc490n%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/beagleboard/31150241-e86b-4a41-a7e8-769ec7cbc490n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
> 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/a965806b-842c-4443-9340-603d201538a3n%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/a965806b-842c-4443-9340-603d201538a3n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

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


Re: [beagleboard] pygame displaying on /dev/fb0

2020-09-11 Thread jonnymo
There is a fbcon module as is referenced in the pygame script you listed
from Adafruit.  I would suspect that none of the drivers listed in the
script ('fbcon', 'directfb', 'svgalib') would be loadable on your system.
>From what I have gathered, fbcon is enabled by enabling the Framebuffer
console feature in the kernel as in the .config.  I'm not 100% sure how to
do this with the BB kernel.

When my BBBlue was still alive (R.I.P.), I did connect a ili9341 display to
it and had to run the following to get a QT app to run on the screen:
   #  -platform linuxfb:fb=/dev/fb0

This is the example I followed which was posted by Jason.
https://gist.github.com/jadonk/0e4a190fc01dc5723d1f183737af1d83

Perhaps something similar would work for the BB Black and pygame.


Cheers,

Jon

On Fri, Sep 11, 2020 at 4:56 AM Mark A. Yoder 
wrote:

> bone$ *lsmod*
> Module  Size  Used by
> fb_ili9341 16384  3
> fbtft_device   49152  0
> fbtft  45056  2 fbtft_device,fb_ili9341
> pru_rproc  28672  0
> irq_pruss_intc 20480  1 pru_rproc
> pruss  16384  1 pru_rproc
> pm33xx 16384  0
> wkup_m3_ipc16384  1 pm33xx
> wkup_m3_rproc  16384  1
> remoteproc 57344  3 pru_rproc,wkup_m3_rproc,wkup_m3_ipc
> virtio 16384  1 remoteproc
> virtio_ring28672  1 remoteproc
> pruss_soc_bus  16384  0
> usb_f_acm  16384  2
> u_serial   20480  3 usb_f_acm
> usb_f_ncm  28672  2
> uio_pdrv_genirq16384  0
> usb_f_mass_storage 53248  2
> uio20480  1 uio_pdrv_genirq
> usb_f_rndis32768  4
> u_ether20480  2 usb_f_ncm,usb_f_rndis
> libcomposite   65536  18
> usb_f_acm,usb_f_ncm,usb_f_mass_storage,usb_f_rndis
> spidev 20480  0
>
> bone$ *sudo modprobe fbcon*
> sudo: unable to resolve host ece434: No address associated with hostname
> modprobe: FATAL: Module fbcon not found in directory
> /lib/modules/4.19.94-ti-r50
>
> Are you sure there is a fbcon module?
> On Friday, September 11, 2020 at 1:09:11 AM UTC-4 jonn...@gmail.com wrote:
>
>> If you run 'lsmod" does the fbcon module show in the output?
>>
>> If not, try to load it manually:
>>   #* modprobe fbcon*
>>
>> Does this show an error?
>>
>> Check
>>
>> On Thu, Sep 10, 2020 at 5:52 PM Mark A. Yoder 
>> wrote:
>>
>>> Good idea, but I'm in group video.
>>>
>>> On Thursday, September 10, 2020 at 5:15:32 PM UTC-4 jonn...@gmail.com
>>> wrote:
>>>
>>>> Just a thought, is your user part of the 'video' group?  I would
>>>> suspect it is since you were able to run the fbi stuff but it wouldn't hurt
>>>> to check.
>>>>
>>>> Cheer,
>>>>
>>>> Jon
>>>>
>>>> On Thu, Sep 10, 2020 at 11:59 AM jonnymo  wrote:
>>>>
>>>>> Have you tried running it as root? Not 'sudo' but su to root and try
>>>>> it there.  It could still be a permission issue.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Jon
>>>>>
>>>>> On Thu, Sep 10, 2020 at 11:50 AM Mark A. Yoder 
>>>>> wrote:
>>>>>
>>>>>> I tried the 4.14 and 5.6 kernels, but no luck.
>>>>>>
>>>>>> --Mark
>>>>>>
>>>>>> On Thursday, September 10, 2020 at 2:38:08 PM UTC-4 RobertCNelson
>>>>>> wrote:
>>>>>>
>>>>>>> On Thu, Sep 10, 2020 at 12:00 PM Mark A. Yoder 
>>>>>>> wrote:
>>>>>>> >
>>>>>>> > Yup, I think before it would grap fbcon, but not now.
>>>>>>>
>>>>>>> Was it with v4.14.x before? i wonder if the new tinydrm driver in
>>>>>>> v4.19.x is causing a fun issue?
>>>>>>>
>>>>>>> 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,

Re: [beagleboard] Re: pygame displaying on /dev/fb0

2020-09-11 Thread jonnymo
In my config, BBAI running 4.14 kernel, I found two instances of fbcon:
$ sudo find / -name fbcon

* /sys/devices/virtual/graphics/fbcon*
* /sys/class/graphics/fbcon*


The framebuffer console seems to be attached to the console layer.

*$ cat /sys/class/vtconsole/vtcon1/bind*
*1*
*$ cat /sys/class/vtconsole/vtcon0/bind*
*0*


Info on fbcon:
https://www.kernel.org/doc/html/latest/fb/fbcon.html


Not sure if this helps at all.

Cheers,

Jon


On Fri, Sep 11, 2020 at 11:24 AM Robert Nelson 
wrote:

> On Fri, Sep 11, 2020 at 12:56 PM Dennis Lee Bieber
>  wrote:
> >
> > On Fri, 11 Sep 2020 04:56:42 -0700 (PDT), in
> > gmane.comp.hardware.beagleboard.user "Mark A. Yoder"
> >  wrote:
> >
> >
> > >
> > >Are you sure there is a fbcon module?
> >
> > https://www.kernel.org/doc/html/latest/fb/fbcon.html#a-configuration
> >
> > ... seems to imply it may not have been built for the standard release
> BBB
> > kernels.
>
> It's enabled:
>
> │
> ┌───┐ │
>   │ │[*] Framebuffer Console support
>  │ │
>   │ │-*-   Map the console to the primary display device
>  │ │
>   │ │[*]   Framebuffer Console Rotation
>  │ │
>   │ │[ ]   Framebuffer Console Deferred Takeover
>   │
>
> 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/CAOCHtYgkXSOoJQ%3D_iBLcYBuFc4Q0%3D%2B6y29EXzABPn5uK-Qbqdw%40mail.gmail.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/CAG99bkot-SENZ4uf231CdXpU4QqujKZ%2BLdHsS-cmUSv0o8Xc0g%40mail.gmail.com.


Re: [beagleboard] Robooic Application in Beagle Bone Black

2020-09-12 Thread jonnymo
The Logitech C920 with OpenCV is a common combo with the Beaglebone Black
as far as cameras are concerned.

The BeagleBoard site has some Robotics examples but not all are for the BB
Black:
https://beagleboard.org/p/projects/tags/robotics

There is an example from Derek Molloy on his website/books using the
Logitech C920  however it is a bit dated:
http://exploringbeaglebone.com/chapter14/

The Packt book Mastering BeagleBone Robotics has an example using a
Logitech 720.
https://subscription.packtpub.com/book/hardware_and_creative/9781783988907/4/ch04lvl1sec21/connecting-a-webcam-to-the-beaglebone-black

  Here is an example using a Microsoft Web Cam which looks interesting.
http://einsteiniumstudios.com/beaglebone-opencv-line-following-robot.html

The Robotics Cape might be of interest to you for the motor control and
sensor section.
http://www.strawsondesign.com/#!board-default

I'm sure there are more.

Cheers,

Jon



On Sat, Sep 12, 2020 at 2:35 AM Megha Bhirade 
wrote:

> Hi,
> I am using Beagle Bone Black in Linux Ubuntu platform.
>
> I want to develop the robotic application using Beagle Bone Black
> controller. application has navigation, tracking and obstacle avoidance
> features.
>
> I want to know which camera is suitable for navigation in Beagle Bone
> Black and what are the additional tools and libraries required for this
> application?
>
> Please suggest me any related link...
>
> --
> 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/2b6590c1-855a-426f-ac34-53afd6bcff56o%40googlegroups.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/CAG99bko%2B04OsF4HQY2GvG%3DoH-p%3DwAGqbCuQCWdRsB9H7a%3DuHyA%40mail.gmail.com.


Re: [beagleboard] Re: External USB 2TB HD not spinning up.

2020-09-12 Thread jonnymo
I vote for using a Powered USB Hub attached to the BeagleBone.  I've had to
do the same thing when using a separate Bluetooth and WiFi module and for
just basic USB expansion.   However, I found that not all Powered USB hubs
worked with the BBB; at least not so a few years back.

I did have luck with the Belkin P-F4U041 though:
https://www.belkin.com/us/p/P-F4U041/

Cheers,

Jon

On Sat, Sep 12, 2020 at 9:38 AM Ren W  wrote:

> https://beagleboard.org/Support/FAQ
>
>
>- *What power peripherals are required/desirable?*
>   - There are several ways to power a Beagle. The option exists to
>   feed the on-board regulators through either the 5V barrel connector 
> input
>   or USB input. When powered up over USB, the regulators are somewhat 
> limited
>   in what they can supply the system. Power over USB is sufficient as 
> long as
>   the software and system running perform some management to keep it under
>   the USB current limit threshold. For simplicity and maximum capability,
>   powering over the 5V barrel connector is typically recommended.
>- The power adapter is required to provide 5V over a 5.5mm outer
>   diameter and 2.1mm inner diameter barrel connector (a barrel connector
>   length of 9.5mm is more than sufficient). The recommended supply 
> current is
>   at least 1.2A (or 6W), but at least 2A (or 10W) is recommended if you 
> are
>   going to connect up anything over the USB. The actual power consumption
>   will vary greatly with changes on the USB load.
>
>
>
> On Saturday, September 12, 2020 at 5:42:26 AM UTC-7 Dan and Ann Barber
> wrote:
>
>> A further note of interest. I experienced this problem when the BBB
>> itself was powered by USB connection to my laptop. However, I discovered
>> that when I plugged the BBB in with the power adapter, the external USB
>> drive spun up no problem.
>>
>> Is this expected behavior? Just curious. Thanks for the pointers.
>>
>> On Fri, Sep 11, 2020 at 9:47 AM Dan and Ann Barber 
>> wrote:
>>
>>> Thanks for the help! I really appreciate it! I'll check out a powered hub
>>>
>>> On Thursday, September 10, 2020 at 10:55:10 AM UTC-7
>>> robert.sty...@gmail.com wrote:
>>>
 If it is drawing too much current, I suggest a powered hub between BBB
 and HDD

 The HDD is USB 2.0 which means max 500mA, but BBB can only supply 100mA
 https://github.com/beagleboard/beaglebone-black/wiki/System-Reference-Manual#usb1-host-port

 The format is Microsoft NTFS, which Linux cannot repair

 On Thursday, 10 September 2020 at 17:59:10 UTC+1 dan.ann...@gmail.com
 wrote:

> I have a WD 2TB external USB drive. It mounts fine on my linux laptop.
> When I plug it into the beagleboneblack, it times out.  Any help would be
> appreciated!
>
> lsusb finds the device:
> Bus 001 Device 003: ID 1058:2626 Western Digital Technologies, Inc.
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> dmesg:
> [ 3965.568158] musb-hdrc musb-hdrc.1: VBUS_ERROR in a_wait_bcon (89,
>  [ 3966.776484] usb 1-1: new high-speed USB device number 3 using
> musb-hdrc
> [ 3966.977419] usb 1-1: New USB device found, idVendor=1058,
> idProduct=2626, bcdDevice=10.28
> [ 3966.977438] usb 1-1: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [ 3966.977446] usb 1-1: Product: My Passport 2626
> [ 3966.977454] usb 1-1: Manufacturer: Western Digital
> [ 3966.977461] usb 1-1: SerialNumber: 5758573245313048344E394B
> [ 3966.985267] usb-storage 1-1:1.0: USB Mass Storage device detected
> [ 3967.008783] scsi host0: usb-storage 1-1:1.0
> [ 3968.041574] scsi 0:0:0:0: Direct-Access WD   My Passport
> 2626 1028 PQ: 0 ANSI: 6
> [ 3968.042213] scsi 0:0:0:1: Enclosure WD   SES
> Device   1028 PQ: 0 ANSI: 6
> [ 3968.055140] sd 0:0:0:0: Attached scsi generic sg0 type 0
> [ 3968.061239] scsi 0:0:0:1: Attached scsi generic sg1 type 13
> [ 3968.063025] sd 0:0:0:0: [sda] Spinning up disk...
> [ 3969.096578] ...not responding...
>
>
> The BBB specs:
>
> System:Host: DataIntegrity-Secondary Kernel: 4.19.94-ti-r42 armv7l
> bits: 32 compiler: gcc v: 8.3.0 Console: tty 1 dm: N/A
>Distro: Debian GNU/Linux 10 (buster)
> Machine:   Type: ARM Device System: TI AM335x BeagleBone Black
> details: Generic AM33XX rev: N/A serial: 1516BBBK13E1
> Memory:RAM: total: 483.4 MiB used: 128.3 MiB (26.5%)
>RAM Report: unknown-error: dmidecode was unable to generate
> data
> PCI Slots: ARM: No ARM data found for this feature.
> CPU:   Topology: Single Core model: ARMv7 v7l variant: cortex-a8
> bits: 32 type: UP arch: v7l family: 7 model-id: 3
>stepping: 2 microcode: N/A bogomips: 995
>Speed: 1000 MHz min/max: 300/1000 MHz Core speed (MHz): 1:
> 1000
>  

Re: [beagleboard] Re: pygame displaying on /dev/fb0 - Solved

2020-09-12 Thread jonnymo
Cool.

  I am unable to get your pygame or other fb examples to work but I can get
the 'usr' examples to work.

Perhaps this is for another post, but in your examples, are you using SPI0
or SPI1?  It seems some of the setup for the examples are set for SPI0 and
some are set for SPI1 yet the wiring listing in "EBC Exercise 12a 2.4 TFT
LCD display via SPI" seems to indicate SPI0.


Cheers,

Jon

On Sat, Sep 12, 2020 at 1:20 PM Mark A. Yoder 
wrote:

> I now have it working with sudo.  I just added
> https://github.com/MarkAYoder/BeagleBoard-exercises/blob/a531dca3a5f52813623bd40ea42bc733decfc70d/displays/ili9341/fb/pygame/clock.py#L26
>
> I needed to set SDL_NOMOUSE to 1.
>
> --Mark
>
> On Saturday, September 12, 2020 at 3:33:23 PM UTC-4 Mark A. Yoder wrote:
>
>> Jon:
>>   Well.  su does give different results than sudo.  I tried su again
>> and it works!
>>
>> So, how can I set permissions so I don't have to su or sudo?
>>
>> --Mark
>>
>> p.s.  Thanks for all the suggestions.
>>
>> On Friday, September 11, 2020 at 6:23:45 PM UTC-4 jonn...@gmail.com
>> wrote:
>>
>>> In my config, BBAI running 4.14 kernel, I found two instances of fbcon:
>>> $ sudo find / -name fbcon
>>>
>>> * /sys/devices/virtual/graphics/fbcon*
>>> * /sys/class/graphics/fbcon*
>>>
>>>
>>> The framebuffer console seems to be attached to the console layer.
>>>
>>> *$ cat /sys/class/vtconsole/vtcon1/bind*
>>> *1*
>>> *$ cat /sys/class/vtconsole/vtcon0/bind*
>>> *0*
>>>
>>>
>>> Info on fbcon:
>>> https://www.kernel.org/doc/html/latest/fb/fbcon.html
>>>
>>>
>>> Not sure if this helps at all.
>>>
>>> Cheers,
>>>
>>> Jon
>>>
>>>
>>> On Fri, Sep 11, 2020 at 11:24 AM Robert Nelson 
>>> wrote:
>>>
 On Fri, Sep 11, 2020 at 12:56 PM Dennis Lee Bieber
  wrote:
 >
 > On Fri, 11 Sep 2020 04:56:42 -0700 (PDT), in
 > gmane.comp.hardware.beagleboard.user "Mark A. Yoder"
 >  wrote:
 >
 >
 > >
 > >Are you sure there is a fbcon module?
 >
 > https://www.kernel.org/doc/html/latest/fb/fbcon.html#a-configuration
 >
 > ... seems to imply it may not have been built for the standard
 release BBB
 > kernels.

 It's enabled:

 │
 ┌───┐ │
   │ │[*] Framebuffer Console support
  │ │
   │ │-*-   Map the console to the primary display device
  │ │
   │ │[*]   Framebuffer Console Rotation
  │ │
   │ │[ ]   Framebuffer Console Deferred Takeover
 │

 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/CAOCHtYgkXSOoJQ%3D_iBLcYBuFc4Q0%3D%2B6y29EXzABPn5uK-Qbqdw%40mail.gmail.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/ea2cc40d-aa9e-462e-a454-b0bea9a7da4cn%40googlegroups.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/CAG99bkpmOzGqg0dYRRJiOeWKeA9j6V_s%3DW4T%2BBchniUEfae9vA%40mail.gmail.com.


Re: [beagleboard] Robooic Application in Beagle Bone Black

2020-09-13 Thread jonnymo
I personally do not have experience with the Intel RealSense cameras.  You
might try following this thread where the person is using a Berry Board
example with a BeagleBone Black.
https://github.com/IntelRealSense/librealsense/issues/3394

Cheers,

Jon

On Sun, Sep 13, 2020 at 7:43 AM Megha Bhirade 
wrote:

>
>
>
>
> Hi Jon,
>
> Thanks for your precious suggestion.
>
> I want some more suggestions about camera, I saw Intel real sense
> camera(tracking and depth camera) which will use for navigation purpose.
>
> Are these cameras will suitable for Beagle Bone Black controller??
>
> Is there any related links about this application?
>
>
>>> --
> 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/7d36856f-6db8-41ba-b57f-06fe6a942d0do%40googlegroups.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/CAG99bkpezpuHsFgF4hWu44OpWE6qS-HgVQcsUXa2M_Bob%3D%2BkSw%40mail.gmail.com.


Re: [beagleboard] Re: pygame displaying on /dev/fb0 - Solved

2020-09-13 Thread jonnymo
I was able to resolve the issue I was having with your fb and pygame
examples.  I had to ensure the BUS was set to '0' and the pin GPIO values
were set properly in 'on.sh'. The same was true in reset.sh with 'busnum=0'

Also, it seemed that if I ran the examples in 'usr', I had to reboot the
board for the 'fb' examples to work.

It's all working now.
Nice job.

Jon

On Sat, Sep 12, 2020 at 5:05 PM jonnymo  wrote:

> Cool.
>
>   I am unable to get your pygame or other fb examples to work but I can
> get the 'usr' examples to work.
>
> Perhaps this is for another post, but in your examples, are you using SPI0
> or SPI1?  It seems some of the setup for the examples are set for SPI0 and
> some are set for SPI1 yet the wiring listing in "EBC Exercise 12a 2.4 TFT
> LCD display via SPI" seems to indicate SPI0.
>
>
> Cheers,
>
> Jon
>
> On Sat, Sep 12, 2020 at 1:20 PM Mark A. Yoder 
> wrote:
>
>> I now have it working with sudo.  I just added
>> https://github.com/MarkAYoder/BeagleBoard-exercises/blob/a531dca3a5f52813623bd40ea42bc733decfc70d/displays/ili9341/fb/pygame/clock.py#L26
>>
>> I needed to set SDL_NOMOUSE to 1.
>>
>> --Mark
>>
>> On Saturday, September 12, 2020 at 3:33:23 PM UTC-4 Mark A. Yoder wrote:
>>
>>> Jon:
>>>   Well.  su does give different results than sudo.  I tried su again
>>> and it works!
>>>
>>> So, how can I set permissions so I don't have to su or sudo?
>>>
>>> --Mark
>>>
>>> p.s.  Thanks for all the suggestions.
>>>
>>> On Friday, September 11, 2020 at 6:23:45 PM UTC-4 jonn...@gmail.com
>>> wrote:
>>>
>>>> In my config, BBAI running 4.14 kernel, I found two instances of fbcon:
>>>> $ sudo find / -name fbcon
>>>>
>>>> * /sys/devices/virtual/graphics/fbcon*
>>>> * /sys/class/graphics/fbcon*
>>>>
>>>>
>>>> The framebuffer console seems to be attached to the console layer.
>>>>
>>>> *$ cat /sys/class/vtconsole/vtcon1/bind*
>>>> *1*
>>>> *$ cat /sys/class/vtconsole/vtcon0/bind*
>>>> *0*
>>>>
>>>>
>>>> Info on fbcon:
>>>> https://www.kernel.org/doc/html/latest/fb/fbcon.html
>>>>
>>>>
>>>> Not sure if this helps at all.
>>>>
>>>> Cheers,
>>>>
>>>> Jon
>>>>
>>>>
>>>> On Fri, Sep 11, 2020 at 11:24 AM Robert Nelson 
>>>> wrote:
>>>>
>>>>> On Fri, Sep 11, 2020 at 12:56 PM Dennis Lee Bieber
>>>>>  wrote:
>>>>> >
>>>>> > On Fri, 11 Sep 2020 04:56:42 -0700 (PDT), in
>>>>> > gmane.comp.hardware.beagleboard.user "Mark A. Yoder"
>>>>> >  wrote:
>>>>> >
>>>>> >
>>>>> > >
>>>>> > >Are you sure there is a fbcon module?
>>>>> >
>>>>> > https://www.kernel.org/doc/html/latest/fb/fbcon.html#a-configuration
>>>>> >
>>>>> > ... seems to imply it may not have been built for the standard
>>>>> release BBB
>>>>> > kernels.
>>>>>
>>>>> It's enabled:
>>>>>
>>>>> │
>>>>> ┌───┐ 
>>>>> │
>>>>>   │ │[*] Framebuffer Console support
>>>>>  │ │
>>>>>   │ │-*-   Map the console to the primary display device
>>>>>  │ │
>>>>>   │ │[*]   Framebuffer Console Rotation
>>>>>  │ │
>>>>>   │ │[ ]   Framebuffer Console Deferred Takeover
>>>>>   │
>>>>>
>>>>> 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/CAOCHtYgkXSOoJQ%3D_iBLcYBuFc4Q0%3D%2B6y29EXzABPn5uK-Qbqdw%40mail.gmail.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/ea2cc40d-aa9e-462e-a454-b0bea9a7da4cn%40googlegroups.com
>> <https://groups.google.com/d/msgid/beagleboard/ea2cc40d-aa9e-462e-a454-b0bea9a7da4cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

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


Re: [beagleboard] Robooic Application in Beagle Bone Black

2020-09-15 Thread jonnymo
You might look at the RoboMagellan competitions and see if there were any
examples of using a Beaglebone.  This could be an opportunity to be the
first to do so though.
http://robogames.net/rules/magellan.php

https://en.wikipedia.org/wiki/Robomagellan

https://ou.edu/scr/robomagellan.html

However, in the case of RoboMagellan, or autonomous navigation in general,
you could look at using a camera and something like ROS and OpenCV.

The DARPA Subterranean Challenge might be another place for ideas:
https://www.subtchallenge.com/


This is old, but does cover LiDAR on the Beaglebone:
https://www.alexschimp.com/neato-lidar-data-beaglebone-black/



Cheers,

Jon



On Tue, Sep 15, 2020 at 7:13 AM Megha Bhirade 
wrote:

>
> Hi Jon,
>
>
> I want to use *lidar sensor* for navigation in *Beagle Bone Black* .
>
> Are there any example applications for this combination?? this
> combination is suitable for application??
>
>
> Robot should follow the object (track the object)and it should come back
> to the original place with previous  route.
> Please suggest me any related link and software setup to develop the
> application
>
> --
> 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/dc233d7a-ffa0-4510-a55e-9bfb2529ba19o%40googlegroups.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/CAG99bkpu8jJ9is2i%2BOeTspHAwREpWiNa%3D4VAUoMWbxNNAKXdAw%40mail.gmail.com.


Re: [beagleboard] Re: PRU - ADC on BBAI

2020-09-15 Thread jonnymo
I stumbled on this although it does reference the stmpe811 as a touch
screen controller:
https://lore.kernel.org/linux-devicetree/20191119202850.18149-2-c-ro...@ti.com/

Jon

On Tue, Sep 15, 2020 at 9:45 AM Dennis Lee Bieber 
wrote:

> On Mon, 14 Sep 2020 15:34:35 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user Pierrick Rauby
>  wrote:
>
> >Hi Denis,
> >Thanks for your answer, I  agree with you that both boards have an ADC. I
> >think my initial message was miss-leading.
> >
>
> >comes to the Beaglebone AI, it is based on the ti-am5729 which does not
> >have an on chip ADC, so the ADC of the Beaglebone AI is on board (an
> >STMPE811)  and interfaced via I2C with the am5729 chip, at least this is
> >what I understood from this diagram
>
> I'd somehow missed that the BBAI ADC was "external" -- turns out
> the
> ADC mentions in the TRM are just for the internal temperature readings.
>
> In either case, I still believe the concern is not really with the
> ADC
> chip, but with getting I2C communication from the PRU. And based on my
> searches -- it just isn't done.
>
> There is no OS on the PRU, and I2C is handled by Linux kernel
> drivers.
> I suspect you'd have to bit-bang the I2C protocol on whatever GPIO is
> applicable (which may imply having to disable the OS I2C via device tree in
> order to convert the pins to PRU-GPIO that the PRU can manipulate){That, or
> disable Linux driver and perform low-level I/O to the I2C control registers
> -- ie; write an I2C driver library on the PRU}
>
> Sorry I have nothing more encouraging.
>
>
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/42q1mfddlnf28kgivmrsmj4f1lu2rjf4g4%404ax.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/CAG99bkqXgLxd5-DPXU2fLzxFLQmhaYN%3D25Bos8g6GXG9xUSZeA%40mail.gmail.com.


Re: [beagleboard] Re: Servo control: pulse width working range ?

2020-09-16 Thread jonnymo
Actually 360 degree Continuous Rotation Servers are quite common. There are
basically two types of servos: 360 degree Continuous Rotation and 90 degree
Standard Rotation.  Each has a different purpose.

As far as manufacturers not providing datasheets for their products, I
would suspect this depends on where you are purchasing the servers from.
If you stick with manufacturers such as Hitec, Tower, Futaba, or Parallax
you should be fine.  If you are purchasing cheap off brand servers, then
you may run into an issue with each being different as far as how they
react to a PWM signal. Also, depending on the application, there could be a
difference between plastic and metal gears.  I tend to like metal gear
servos though.

Cheers,

Jon


On Wed, Sep 16, 2020 at 8:54 AM Dennis Lee Bieber 
wrote:

> On Wed, 16 Sep 2020 07:36:14 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user Pavel Yermolenko
>  wrote:
>
> >I noticed that many servo motor manufacturers don't provide datasheets
> for
> >their products (for example for my servo it's the case)
> >Generic values that can be found on the web don't work for every servo.
> >For example what should be pulse width for 0/90/180/360 degrees.
> >I suppose the value of pulse widths depends on a particular model.
> >
>
> Very few servos have a 360 rotation range... +/- 90 degree is more
> common (the exception being servos that have had the position feed back
> logic removed and act as variable speed continuous motors).
>
>
> https://www.jameco.com/jameco/workshop/howitworks/how-servo-motors-work.html
>
> 1.5mS pulse should be the "neutral" position (middle of the range).
>
> https://learn.adafruit.com/adafruit-motor-selection-guide/rc-servos
>
> https://learn.adafruit.com/adafruit-motor-selection-guide/continuous-rotation-servos
>
> >For example I noticed that if pulse width in quite low, the servo heats
> up
> >as an iron.
>
> Likely you are over (under) driving the position, and the servo
> can not
> physically move to the position you are requesting -- this leaves the coils
> energized with the servo pushing against the internal end-stop.
>
> My suggestion would be that you write a short calibration program
> with
> which you adjust the pulse width from neutral, one step at a time, until
> the servo reaches an end point (ie; the control "horn" stopped moving while
> you changed the pulse width), then back up until you just detect the horn
> has moved off the end-stop. Record that value and repeat for the other
> direction. Maybe put a sticker on the servo with the values of the
> end-point pulse widths -- neutral position should be the average of those
> two values.
>
> Do that for all your servos, and either use the minimum span for
> all,
> or program the limits per servo (if using Python, install Adafruit Blinka
> and libraries for CircuitPython -- the servo class allows override of
> min/max pulse width; they default to 0.5 - 2.5ms, but do state that
> "standard" servos are supposed to work with 1.0 - 2.0ms width).
>
> https://learn.adafruit.com/circuitpython-essentials/circuitpython-servo
> https://learn.adafruit.com/circuitpython-on-raspberrypi-linux (ignore the
> R-Pi, it works for BBB also)
>
> https://learn.adafruit.com/using-servos-with-circuitpython/high-level-servo-control
>
>
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/nkb4mfd0pbjeigumqjvhb0k8gur9qql2ed%404ax.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/CAG99bkpb_a%2B8RUCggcgWF-fGBcrgFY4VYGA2CEygfPTR8GM%3DAQ%40mail.gmail.com.


Re: [beagleboard] Re: How to set eth 0 as default route

2020-09-18 Thread jonnymo
If you set your default gateway for the port from USB, then you can delete
that and add the gateway for the eth0 port. This should direct traffic to
the eth0 port.

You can verify this with 'ip route".

The other option is to use ifmetric and set the ports accordingly.
Ex: 'metric 0' - for eth0
  'metric 1' - for usb
https://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_ifmetric_package

Jon


On Fri, Sep 18, 2020 at 3:20 PM Dennis Lee Bieber 
wrote:

> On Fri, 18 Sep 2020 11:59:05 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user
> "myis300-pkbjnfxxiarbdgjk7y7...@public.gmane.org"
>  wrote:
>
> >Hello, I was wondering if someone knows the command to set the physical
> >eth0 connection as the default to always use? Right now it seems to
> default
> >to USB connection so i cannot get an internet connection.
>
> 
>
> I've never had to do anything different. If a live cable is
> connected
> from the Beagle to a (DHCP) router/switch the Beagle goes through the cable
> to reach the Internet.
>
> I am a tad disappointed that PuTTY to the Beagle tends to follow
> the
> USB link (which is what I use for routine power) and not up to the router
> and back down. If I power it using a 5V wall-wart and remove the USB, then
> it does find it via my router.
>
> debian@beaglebone:~$ route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse
> Iface
> default dsldevice.attlo 0.0.0.0 UG0  00
> eth0
> 192.168.1.0 0.0.0.0 255.255.255.0   U 0  00
> eth0
> dsldevice.attlo 0.0.0.0 255.255.255.255 UH0  00
> eth0
> 192.168.6.0 0.0.0.0 255.255.255.0   U 0  00
> usb1
> 192.168.7.0 0.0.0.0 255.255.255.0   U 0  00
> usb0
> debian@beaglebone:~$
>
> debian@beaglebone:~$ ifconfig
> eth0: flags=-28605  mtu 1500
> inet 192.168.1.69  netmask 255.255.255.0  broadcast 192.168.1.255
> inet6 2600:1700:e630:890:d239:72ff:fe18:3ee5  prefixlen 64  scopeid
> 0x0
> inet6 fe80::d239:72ff:fe18:3ee5  prefixlen 64  scopeid 0x20
> inet6 2600:1700:e630:890::31  prefixlen 64  scopeid 0x0
> ether d0:39:72:18:3e:e5  txqueuelen 1000  (Ethernet)
> RX packets 446  bytes 34483 (33.6 KiB)
> RX errors 0  dropped 0  overruns 0  frame 0
> TX packets 119  bytes 16981 (16.5 KiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> device interrupt 55
>
> debian@beaglebone:~$ traceroute 8.8.8.8
> traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
>  1  dsldevice.attlocal.net (192.168.1.254)  0.775 ms  0.727 ms  0.773 ms
>  2  76-255-152-1.lightspeed.gdrpmi.sbcglobal.net (76.255.152.1)  19.067 ms
> 19.142 ms  19.717 ms
>  3  71.152.176.29 (71.152.176.29)  21.763 ms  21.616 ms  22.406 ms
>  4  cr2.cgcil.ip.att.net (12.123.7.142)  34.209 ms  29.973 ms  30.033 ms
>  5  gar10.cgcil.ip.att.net (12.122.133.45)  28.449 ms  29.448 ms  29.848
> ms
>  6  12.255.10.56 (12.255.10.56)  29.916 ms 12.255.10.44 (12.255.10.44)
> 22.324 ms 12.255.10.54 (12.255.10.54)  23.330 ms
>  7  10.23.207.158 (10.23.207.158)  24.736 ms * *
>  8  dns.google (8.8.8.8)  24.353 ms  22.834 ms  23.743 ms
> debian@beaglebone:~$
>
>
>
>
>
> C:\Users\Wulfraed>tracert -4 beaglebone.local
>
> Tracing route to beaglebone.local [192.168.7.2]
> over a maximum of 30 hops:
>
>   1<1 ms<1 ms<1 ms  192.168.7.2
>
> Trace complete.
>
> C:\Users\Wulfraed>tracert -4 192.168.1.69
>
> Tracing route to beaglebone.attlocal.net [192.168.1.69]
> over a maximum of 30 hops:
>
>   1<1 ms<1 ms<1 ms  beaglebone.attlocal.net [192.168.1.69]
>
> Trace complete.
>
> C:\Users\Wulfraed>
>
>
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/6qbamfthqu5quot8u18hkcseh1ceurm92s%404ax.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/CAG99bkoGaK2EDRx-01zvWK3OOuXKY_gtiNa9WyofembdwSKuog%40mail.gmail.com.


Re: [beagleboard] Re: Install Ubuntu using SD card and Windows

2020-09-19 Thread jonnymo
If you are willing to reimage the Beaglebone, why not just download Etcher
on your Windows system and then burn a Beagleboard flasher image to an uSD
card and then boot the BBB with the flasher image to refresh the eMMC?

Etcher Windows:
https://www.balena.io/etcher/

Beagleboard images:
https://beagleboard.org/latest-images

If you have another Linux based board such as Raspberry Pi, you could try
to read the BB image on that using a uSD USB reader.

The other option is to install a tool on your Windows system that allows
you to read the Linux filesystem and then edit any file you changed.  I
suspect either /etc/resolv.conf' or your interfaces file.
https://www.howtogeek.com/112888/3-ways-to-access-your-linux-partitions-from-windows/
https://www.diskinternals.com/linux-reader/


Cheers,

Jon

On Sat, Sep 19, 2020 at 7:54 AM Gwen Stouthuysen 
wrote:

> As far as I am knowledgeable, the ip address of the debian image is
> 192.168.7.2
> 192.168.7.1 is the socket of the USB networking adapter at the Windows
> side.
>
> The FTDI adapter is an option to look into the real boot process.
> But dont take it for granted,  when i power the bbb from a USB power plug
> it's baud rate is different .
> Who knows why?
>
> Gwen Stouthuysen
>
> Op za 19 sep. 2020 16:40 schreef Dennis Lee Bieber <
> dennis.l.bie...@gmail.com>:
>
>> On Sat, 19 Sep 2020 14:35:29 +0200, in
>> gmane.comp.hardware.beagleboard.user
>> Pieter Beneke  wrote:
>>
>>
>> >
>> >Unless there is some other serial port I am not aware of?
>>
>>
>> >
>> >
>> >Unless there is some other serial port I am not aware of?
>>
>> The hardware console/debug port that is on the 6-pin header.
>> You'll
>> need a 3.3V compatible FTDI adapter.
>>
>>
>> https://www.amazon.com/Converter-Terminated-Galileo-BeagleBone-Minnowboard/dp/B06ZYPLFNB
>> claims to be Beaglebone compatible -- others have loose leads, which
>> allows
>> them to be used with devices having different pin-outs
>>
>> https://www.amazon.com/ADAFRUIT-Industries-954-Serial-Raspberry/dp/B00DJUHGHI/ref=rtpb_3?pd_rd_w=nxwqS&pf_rd_p=49740592-2805-416d-896c-b825ad91c2cf&pf_rd_r=9EW8MP06H9544B0KZ8PA&pd_rd_r=4088b22e-a62e-4a46-a474-bf2dcce33875&pd_rd_wg=00Qmu&pd_rd_i=B00DJUHGHI
>>
>>
>> --
>> Dennis L Bieber
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beagleboard/116cmfpsr9avgf7250krpjsus8905o2nnc%404ax.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/CAFfeaG-T9mRTybcHi0XQF6TnsLY7bdwVhZw4jzQ8EAUerX_crw%40mail.gmail.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/CAG99bkrQDJ6vtm3VU9nNoxwoHiCChjKCVa-hS_gRTLE38mrw9Q%40mail.gmail.com.


Re: [beagleboard] Re: Servo Power issue

2020-09-20 Thread jonnymo
In this this Rubik's Solver project there is a note in step 2 of the
Software Preparation section where they make a change in
'libraries/other/rc_pru.c' of the Strawson Design Roboticscape software to
set the "servo pulse from +/- 1.5 to +/- 2"
They seem to be able to run with 6 servos attached so perhaps this would
help.

https://www.hackster.io/octavo/iot-robot-w-osd335x-powered-beaglebone-blue-rubik-s-solver-5891a4

They also have a Li-Po battery connected.

Cheers,

Jon

On Sun, Sep 20, 2020 at 5:55 AM  wrote:

> Experience the same, one or two servos work. Adding more and I see issues
> which look power related, jittering.
>
> On Tuesday, 17 December 2019 22:50:19 UTC, jscoo...@gmail.com wrote:
>>
>> I'm using a TowerPro SG90 Micro Servo and having trouble getting it
>> powered through the Beaglebone Blue.  I apologize for the wall of text, but
>> i've tried quite a bit before coming here and want to make sure you all get
>> everything I've found.  I also apologize for the lack of pictures, i didn't
>> photo-document things, but I have tested everything multiple times.
>>
>> *Problem:  When attempting to drive servo(s) from BBB's powered servo
>> rail, servo(s) just click and don't move at all.*
>>
>> SG90 info:
>> Signal 50Hz
>> V+ : 4.8-6V
>>
>> Connected to BBB by USB cable.  Connected 14.4V (up to 60 Amp) power
>> supply to DC in.
>> Tested Items:
>>
>> 1) When no servo's are attached, powered rail is 6V (TRUE)
>> 2) When no servo's are attached, signal rail has 50Hz (TRUE)
>>
>> Add servo to setup
>>
>> 3) Signal rail is still 50Hz (TRUE)
>> 4) Powered rail is still 6V...
>> 4A) At (normalized) pulse of 0 (TRUE)
>> 4B) At any other pulse width (FALSE)  it varies between 1.2V and 5V
>>
>> At this point the Voltage rail is fluctuating wildly.  I decided to check
>> if there was an induced signal in the voltage rail.
>>
>> 5) Frequency on Voltage Rail at ALL non-zero (normalized) pulse widths is
>> 4Hz
>>
>> So  i decide maybe the servo is bad.
>>
>> 6) All above results duplicated across 3 known good servos
>>
>> So, lets try pulling power from somewhere else.
>>
>> Using a 5V bench power supply with SEPARATED ground from BBB
>> BBB Signal - signal in
>> Bench 5V Power - V+
>> Bench Ground -  V-
>>
>> Yes, bad design.  Should use BBB Ground, or tie BBB ground to bench
>> ground... but
>>
>> 7) Servo runs as intended.
>> 8A) Check V+ for induced signal (None found)
>> 8B) Check V+ for voltage variation under load (none found, always 5.2V)
>> 8C) I'm unable to measure the current with my setup, however specs say
>> 550mA for this servo.
>>
>> So... Now we fix some things up.
>> With Bench supply 14.4 V to BBB DC in this scenario the 5V is achieved by
>> a DC-DC converter (10-15)V - 5V.  So the ground is ultimately shared by all
>> connected electronics.
>>
>> 9)  Repeat all test with same results.
>>
>> Am I missing something?  Does my BBB have a bad power supply for the
>> Servo Rail?  What else can I try?  Software used to test this is the
>> Robotics' Cape test software
>> http://strawsondesign.com/docs/librobotcontrol/rc_test_servos_8c-example.html
>>
> --
> 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/79fa8c17-a6af-4304-842d-f5af4288fe3eo%40googlegroups.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/CAG99bkrNcyah82%2BAHjU37EWGO0rq2-seD1d5X%3D-Qb2PXRTCuZQ%40mail.gmail.com.


Re: [beagleboard] Re: Compiler: Setup linux kernel for beaglebone black

2020-09-21 Thread jonnymo
If you search the Beagleboard forums you'll find this question has been
answered a few times fairly recently.  As far as QEMU is concerned, that is
not needed unless you are looking to set up an emulation environment on the
host system to test code before deploying it.

Ex:
https://mail.google.com/mail/u/0/?tab=rm&ogbl#all/FMfcgxwJXVJDNpwqgTFZtTcgKNcksqrP

The main thing you need is the Toolchain for the BB.
https://releases.linaro.org/components/toolchain/binaries/latest-7/arm-linux-gnueabihf/

The best cross-platform option I have found is to use Eclipse, but you
could use Visual Studio Code as well. For Windows specific, you could use
Visual Studio but you may be limited to having to build on that target (BB)
remotely which defeats the purpose of cross-compiling. The best bet for
Windows and Visual Studio is to use VisualGDB but that is at an extra cost.
https://visualgdb.com/

There are some pre-build BB toolchains listed at the following link for
Windows dev but this is a bit dated.
https://gnutoolchains.com/beaglebone/


Good luck,

Jon

On Mon, Sep 21, 2020 at 8:18 AM Dennis Lee Bieber 
wrote:

> On Sun, 20 Sep 2020 18:31:04 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user
> nazriirfan2016-re5jqeeqqe8avxtiumw...@public.gmane.org wrote:
>
> >I'm Nazri.I'm new to beaglebone.I want to do cross compile for beaglebone
> >black.For my understanding,I need to install linux compiler at Pc and
> >create boot and rfs at SD card and install at beaglebone black.I'm
> confuse
> >in beagleboard getting started note that need to download the  Debian
> >image.It still need to do download the Debian image if I plan to apply
> >cross compiler?
>
> {Please... some white space... paragraphs, space after punctuation,
> etc. That tight packed text reads like a transcription of Pinkie Pie [My
> Little Pony: Friendship is Magic]}
>
> The recommendation in the "Getting Started" page is to ensure the
> Beagle has an up-to-date operating system. One may have received a unit
> that was sitting on a shelf for a few months and could even be a major
> version behind (that is, it might have shipped with Debian 9/Stretch where
> Debian 10/Buster is the currently supported release).
>
> I'd also suggest using an SD card during development phases, as a
> corrupted SD card can easily be removed, allowing the Beagle to boot from
> the eMMC.
>
> Second thing is: WHAT are you intending to "cross-compile"?
> Applications? Your mention of "create boot and  recognize>" sounds like you are trying to build a complete bootable OS --
> or are planning on a bare-board system with no OS, just a fixed executable
> (if the latter, I'd suggest you might want to look into microcontroller
> boards first: TIVA C series, Arduino DUE, Adafruit Metro series -- maybe
> with FreeRTOS [or TI-RTOS for the TIVA]).
>
> The best information I've seen for setting up just a cross-compiler
> environment is in "Exploring Beaglebone" (2nd edition, Derek Molloy,
> chapter 7).
>
> It may be possible to set up a cross development environment on
> Windows
> (there isn't enough information in your message headers to determine what
> system you are using), the recommendation seems to be to install something
> like VirtualBox, and install a Linux OS inside the virtual machine. THEN
> install the cross development system (besides the required cross compiler,
> the book recommends QEMU and ECLIPSE). That gives you enough to build C/C++
> programs that can be copied to the Beagle and will run. It is not enough to
> build a bootable image from scratch.
>
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/rmfhmfloql31nhpqaoe2va2ehpaj2g26mc%404ax.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/CAG99bkpSpM9o1cUaPe6ysU35W1uOtyDSE_5ZLQwLrQ%3D5_Z0hMg%40mail.gmail.com.


Re: [beagleboard] Re: Install Ubuntu using SD card and Windows

2020-09-21 Thread jonnymo
Have you looked at these images?
https://rcn-ee.net/rootfs/2020-04-09/flasher/

https://rcn-ee.net/rootfs/2020-04-09/elinux/

Cheers,

Jon

On Sun, Sep 20, 2020 at 5:55 AM Pieter Beneke  wrote:

> Thanks everybody for your helpful suggestions. Lots of things in there
> which I did not know, which are not directly available anywhere. I’m sure
> I’ll find a solution in there somewhere.
>
>
>
> Regards
>
>
>
> *From:* beagleboard@googlegroups.com  *On
> Behalf Of *jonnymo
> *Sent:* 19 September 2020 06:40 PM
> *To:* Beagle Board 
> *Subject:* Re: [beagleboard] Re: Install Ubuntu using SD card and Windows
>
>
>
> If you are willing to reimage the Beaglebone, why not just download Etcher
> on your Windows system and then burn a Beagleboard flasher image to an uSD
> card and then boot the BBB with the flasher image to refresh the eMMC?
>
>
>
> Etcher Windows:
>
> https://www.balena.io/etcher/
>
>
>
> Beagleboard images:
>
> https://beagleboard.org/latest-images
>
>
>
> If you have another Linux based board such as Raspberry Pi, you could try
> to read the BB image on that using a uSD USB reader.
>
>
>
> The other option is to install a tool on your Windows system that allows
> you to read the Linux filesystem and then edit any file you changed.  I
> suspect either /etc/resolv.conf' or your interfaces file.
>
>
> https://www.howtogeek.com/112888/3-ways-to-access-your-linux-partitions-from-windows/
>
> https://www.diskinternals.com/linux-reader/
>
>
>
>
>
> Cheers,
>
>
>
> Jon
>
>
>
> On Sat, Sep 19, 2020 at 7:54 AM Gwen Stouthuysen <
> gwen.stouthuy...@gmail.com> wrote:
>
> As far as I am knowledgeable, the ip address of the debian image is
> 192.168.7.2
>
> 192.168.7.1 is the socket of the USB networking adapter at the Windows
> side.
>
>
>
> The FTDI adapter is an option to look into the real boot process.
>
> But dont take it for granted,  when i power the bbb from a USB power plug
> it's baud rate is different .
>
> Who knows why?
>
>
>
> Gwen Stouthuysen
>
>
>
> Op za 19 sep. 2020 16:40 schreef Dennis Lee Bieber <
> dennis.l.bie...@gmail.com>:
>
> On Sat, 19 Sep 2020 14:35:29 +0200, in gmane.comp.hardware.beagleboard.user
> Pieter Beneke  wrote:
>
>
> >
> >Unless there is some other serial port I am not aware of?
>
>
> >
> >
> >Unless there is some other serial port I am not aware of?
>
> The hardware console/debug port that is on the 6-pin header. You'll
> need a 3.3V compatible FTDI adapter.
>
>
> https://www.amazon.com/Converter-Terminated-Galileo-BeagleBone-Minnowboard/dp/B06ZYPLFNB
> claims to be Beaglebone compatible -- others have loose leads, which allows
> them to be used with devices having different pin-outs
>
> https://www.amazon.com/ADAFRUIT-Industries-954-Serial-Raspberry/dp/B00DJUHGHI/ref=rtpb_3?pd_rd_w=nxwqS&pf_rd_p=49740592-2805-416d-896c-b825ad91c2cf&pf_rd_r=9EW8MP06H9544B0KZ8PA&pd_rd_r=4088b22e-a62e-4a46-a474-bf2dcce33875&pd_rd_wg=00Qmu&pd_rd_i=B00DJUHGHI
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/116cmfpsr9avgf7250krpjsus8905o2nnc%404ax.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/CAFfeaG-T9mRTybcHi0XQF6TnsLY7bdwVhZw4jzQ8EAUerX_crw%40mail.gmail.com
> <https://groups.google.com/d/msgid/beagleboard/CAFfeaG-T9mRTybcHi0XQF6TnsLY7bdwVhZw4jzQ8EAUerX_crw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/Zh9eAbZLWcg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> To view this discussion o

Re: [beagleboard] Re: Update errors on Ubuntu desktop after installing cross toolchain

2020-09-22 Thread jonnymo
For cross compiling on the Beaglebone from Ubuntu, this might be helpful:
https://www.itdev.co.uk/blog/building-linux-kernel-cross-compiling-beaglebone-black

As Robert mentioned, if you go to the link in your error message, you'll
see there are no ARM packages:
http://fr.archive.ubuntu.com/ubuntu/dists/bionic/main/

Neither does the non ".fr" link:
http://archive.ubuntu.com/ubuntu/dists/bionic/main/

Cheers,

Jon

On Tue, Sep 22, 2020 at 7:42 AM Dennis Lee Bieber 
wrote:

> On Tue, 22 Sep 2020 07:30:28 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user Pavel Yermolenko
>  wrote:
>
> >Sorry, I'm afraid I didn't understand what you mean saying "what
> >directions".
>
> What book or web-site are you reading for the instructions on how
> to
> set up the cross-build environment?
>
> >Perhaps should I add another repository ?
>
> Lots...
> https://gist.github.com/josephlr/5034c933bbcfddc25a9275037821b048
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/f53kmftbj1rgne1a0paa4022cq4gf5ej73%404ax.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/CAG99bkrRgBjBj_jL7f-vFHVTNLOBsc%3DHC2hofPTSUr8BOB7ZmA%40mail.gmail.com.


Re: [beagleboard] Re: Update errors on Ubuntu desktop after installing cross toolchain

2020-09-22 Thread jonnymo
>From what I remember with Debian, you still need to add the arm arch to add
cross build support:

sudo dpkg --add-architecture armhf

https://wiki.debian.org/CrossCompiling


Ubuntu seems to be more widely used on PCs so there seems to be more
examples. No other reason for me.

Personally, I just like to download the toolchain and reference it
from the folder location.


Cheers,

Jon




On Tue, Sep 22, 2020 at 8:54 AM Robert Nelson 
wrote:

> On Tue, Sep 22, 2020 at 10:38 AM jonnymo  wrote:
> >
> > For cross compiling on the Beaglebone from Ubuntu, this might be helpful:
> >
> https://www.itdev.co.uk/blog/building-linux-kernel-cross-compiling-beaglebone-black
> >
> > As Robert mentioned, if you go to the link in your error message, you'll
> see there are no ARM packages:
> > http://fr.archive.ubuntu.com/ubuntu/dists/bionic/main/
> >
> > Neither does the non ".fr" link:
> >1 http://archive.ubuntu.com/ubuntu/dists/bionic/main/
>
> With ubuntu, all the ports are on "http://ports.ubuntu.com/";
>
> But if you use debian, everything's setup for cross builds, just apt
> update/ apt install..
>
> So why ubuntu?
>
> Hence what guide are you following..
>
> 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/CAOCHtYj3-jh76GjBJvCc7Y_4PP9ZnK-uWcpbEUgFiq5ccwEH6g%40mail.gmail.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/CAG99bkokHmHSaxnq%2B269DGVPVu9fZHSExzUUM7zC55Cnya_Hcw%40mail.gmail.com.


Re: [beagleboard] Re: Update errors on Ubuntu desktop after installing cross toolchain

2020-09-22 Thread jonnymo
When you set-up the repos, did you set the architecture on your Ubuntu
system to ARM?
You can check it via:
   *dpkg --print-architecture*
   or
   *dpkg-architecture -qDEB_HOST_ARCH*

Did you perhaps set the foreign architecture on your host to ARM?
You can check it via:

*dpkg --print-foreign-architectures*

You could install something like VirtualBox on your Ubuntu system and then
download a Debian image and work from there if you have too much of an
issue using Ubuntu.
https://www.virtualbox.org/wiki/Linux_Downloads


  Jon


On Tue, Sep 22, 2020 at 11:09 AM Pavel Yermolenko 
wrote:

> All Derek's examples assume Debian 9, running on x86_64, see
>> "Recommended.png" screen shot..
>>
>> By using Ubuntu, you are really on your own, as the book assumes
>> Debian for setting up the environment...
>>
>
> Well ... I was aware of it. I thought using Ubuntu won't create a lot of
> problems.
> If my understanding is correct, the solution to the problem is to add a
> "good" Ubuntu repository (i.e. a repository that contains the *arm *staff).
> Correct?
>
>
>> 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/966bb43e-a659-4d0d-8cf6-c08a55679df4o%40googlegroups.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/CAG99bkpPKQD4Wz0ncAp3LqO8r-6cKf7E%2BzWdtRBYDnSFEhWjUw%40mail.gmail.com.


Re: [beagleboard] Re: Update errors on Ubuntu desktop after installing cross toolchain

2020-09-22 Thread jonnymo
You should be able to get rid of those messages by running the following:
  *sudo dpkg --remove-architecture armhf*

Some options to run with the extended cross-compiling options are:
1. Run through the debootstrap option from the book.
  or
2. Download the ARM toolchain for the BB manually and just reference it in
your code or IDE.
   This is what I use:
gcc-linaro-7.5.0-2019.12-i686-mingw32_arm-linux-gnueabihf toolchain from:

https://releases.linaro.org/components/toolchain/binaries/latest-7/arm-linux-gnueabihf/
  or
3. Install the build tools on the BB and copy the BB arm-linux-gnueabihf
from  /usr/bin, /usr/include, usr/lib, and /lib to the host system via
rsync and reference this from your IDE:
RasPi Example:

https://medium.com/@zw3rk/making-a-raspbian-cross-compilation-sdk-830fe56d75ba
 or
4. Go the Debian VM or Install option.

Jon


On Tue, Sep 22, 2020 at 11:46 AM jonnymo  wrote:

> When you set-up the repos, did you set the architecture on your Ubuntu
> system to ARM?
> You can check it via:
>*dpkg --print-architecture*
>or
>*dpkg-architecture -qDEB_HOST_ARCH*
>
> Did you perhaps set the foreign architecture on your host to ARM?
> You can check it via:
>
> *dpkg --print-foreign-architectures*
>
> You could install something like VirtualBox on your Ubuntu system and then
> download a Debian image and work from there if you have too much of an
> issue using Ubuntu.
> https://www.virtualbox.org/wiki/Linux_Downloads
>
>
>   Jon
>
>
> On Tue, Sep 22, 2020 at 11:09 AM Pavel Yermolenko 
> wrote:
>
>> All Derek's examples assume Debian 9, running on x86_64, see
>>> "Recommended.png" screen shot..
>>>
>>> By using Ubuntu, you are really on your own, as the book assumes
>>> Debian for setting up the environment...
>>>
>>
>> Well ... I was aware of it. I thought using Ubuntu won't create a lot of
>> problems.
>> If my understanding is correct, the solution to the problem is to add a
>> "good" Ubuntu repository (i.e. a repository that contains the *arm *staff).
>> Correct?
>>
>>
>>> 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/966bb43e-a659-4d0d-8cf6-c08a55679df4o%40googlegroups.com
>> <https://groups.google.com/d/msgid/beagleboard/966bb43e-a659-4d0d-8cf6-c08a55679df4o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/CAG99bkpFP-MUyWn7aRvCFogD3HCg3k-e82QNjiaZ4by0U-BTdg%40mail.gmail.com.


Re: [beagleboard] Re: Update errors on Ubuntu desktop after installing cross toolchain

2020-09-22 Thread jonnymo
Debian might be the preferred OS for Debian based embedded systems, but in
my world Red Hat is the Linux OS of choice.

If you are cross compiling, it really should not make a diff what the host
OS is. I can do this on Windows 10.  In this case, Debian just makes it
easier since you can install the toolchain directly via apt. If one uses
something like Ubuntu, it's just a bit more work but not impossible.

Jon

On Tue, Sep 22, 2020 at 4:38 PM Dennis Lee Bieber 
wrote:

> On Tue, 22 Sep 2020 10:43:25 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user Pavel Yermolenko
>  wrote:
>
> >
> >> >Perhaps should I add another repository ?
> >>
> >> Lots...
> >> https://gist.github.com/josephlr/5034c933bbcfddc25a9275037821b048
> >>
> >
> > But how to know which of them have *binary-armhf/Packages*
> >
>
> You add all of the armhf specific repositories. Then run
>
> apt update
>
> to fetch the listing of the contents.
>
> apt search 
>
> to find candidate packages. I can't really help beyond that -- my desktop
> machine runs W10, and I have Debian Buster in a VirtualBox environment, so
> the book procedure was pretty much exact (allowing for the fact that the
> book uses Debian 9 [or even 8] rather than 10).
>
>
>
> --
> Dennis L Bieber
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/1c2lmfhftbq7057avb1s507brk6do5a45t%404ax.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/CAG99bkrfQaZj7frU%2Bp67Tui_rWZ4r7aQYobOJ%3DmwNU%2BBL49%2BbQ%40mail.gmail.com.


Re: [beagleboard] Re: Update errors on Ubuntu desktop after installing cross toolchain

2020-09-22 Thread jonnymo
Or just rsync the libraries and includes from the BB or download the
toolchain and libraries manually to the host and reference that.

The section in question from Derek's book is in reference to
Cross-Compilation with Third-Party Libraries (Multiarch).  This is one way
to do that but not 100% necessary. Again, it;s just the easier way and
perhaps best approach in this instance.

He does mention Ubuntu in the description though so that could be confusing
for some.

However, this is your realm so I will step back from this.

Cheers,

Jon

On Tue, Sep 22, 2020 at 5:06 PM Robert Nelson 
wrote:

> On Tue, Sep 22, 2020 at 6:59 PM jonnymo  wrote:
> >
> > Debian might be the preferred OS for Debian based embedded systems, but
> in my world Red Hat is the Linux OS of choice.
> >
> > If you are cross compiling, it really should not make a diff what the
> host OS is. I can do this on Windows 10.  In this case, Debian just makes
> it easier since you can install the toolchain directly via apt. If one uses
> something like Ubuntu, it's just a bit more work but not impossible.
>
> Part of what Derek was showing in his book, it was a library
> "matching" cross compiling..
>
> As long as your running Debian 9.x on the Beagle, and Debian 9.x on
> your x86 host, you can install the gcc Debian cross tools and build
> against your "armhf" libraries on x86, and your application will have
> the exact same library build version on the ARM Beagle..
>
> 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/CAOCHtYi3RoN%2BgDHfmkNiQxmttB%3DBMKJRpQV%2BtUNicMHbEWUCUQ%40mail.gmail.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/CAG99bko-B6Y78JB2DhhpCWn5tcO3he5WVibH4xs2wHiHUeWU9Q%40mail.gmail.com.


Re: [beagleboard] Executing of C++ arm code in Eclipse fails

2020-09-23 Thread jonnymo
Did you look on the book website?
http://exploringrpi.com/chapter7/

Look at the response by Brendan Lynskey regarding adding the following in
your "~/.bashrc"
   *export QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf  *

You could do this on the command line as well but it will not be persistent
between logins.

Jon

On Wed, Sep 23, 2020 at 7:50 AM Pavel Yermolenko 
wrote:

> Execution
> 
> Options
> 
>
> --
> 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/e0bd44c6-bd22-4707-83e8-e0cd73f64934o%40googlegroups.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/CAG99bkqqFxTz4DbYsJ4qfw9v_LYxpXPE0MD7Bn%3DZ9iSdgidOQw%40mail.gmail.com.


Re: [beagleboard] Executing of C++ arm code in Eclipse fails

2020-09-23 Thread jonnymo
Sorry, I see you already solved this and the link I provided was for the Pi
and BB.
There is a message fairly recently at the BB version of the book regarding
this issue:
http://exploringbeaglebone.com/chapter7/

Jon

On Wed, Sep 23, 2020 at 8:01 AM jonnymo  wrote:

> Did you look on the book website?
> http://exploringrpi.com/chapter7/
>
> Look at the response by Brendan Lynskey regarding adding the following in
> your "~/.bashrc"
>*export QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf  *
>
> You could do this on the command line as well but it will not be
> persistent between logins.
>
> Jon
>
> On Wed, Sep 23, 2020 at 7:50 AM Pavel Yermolenko 
> wrote:
>
>> Execution
>> <https://i.postimg.cc/FKD6Wp1T/Screenshot-from-2020-09-23-16-42-17.png>
>> Options
>> <https://i.postimg.cc/K8NFbnRM/Screenshot-from-2020-09-23-16-42-39.png>
>>
>> --
>> 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/e0bd44c6-bd22-4707-83e8-e0cd73f64934o%40googlegroups.com
>> <https://groups.google.com/d/msgid/beagleboard/e0bd44c6-bd22-4707-83e8-e0cd73f64934o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

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


Re: [beagleboard] connection problem in beagleboard black wireless

2020-09-24 Thread jonnymo
Do you have a USB to FTDI serial cable to connect to the board?
https://elinux.org/Beagleboard:BeagleBone_Black_Serial

Has anything changed with the board recently such as a new image?

Jon

On Thu, Sep 24, 2020 at 7:11 AM evilwulfie  wrote:

> check power, what do you have it connected to?
>
> if you fried the processor due to connecting pins to the wrong things
>
> its a basket case.
>
> On 9/24/2020 3:44 AM, raju.santos...@gmail.com wrote:
>
> Earlier board was connected properly..but suddenly the board is not
> connecting to any of my systems .. And specially the LED's are not glowing
> now... what is the solution for it...? ... Please help me
> --
> 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/aea15fd0-7846-4054-92b4-25c2eec5e226o%40googlegroups.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/040f4ccc-b578-de15-1d7a-c6a84043f9b1%40gmail.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/CAG99bkp-YgZxx0rxXEVz332EpfLD%2B1xQG%3DBNPD7heHFRRjhatg%40mail.gmail.com.


Re: [beagleboard] Re: WiFi connectivity and possible external power supplies for BBAI

2020-09-25 Thread jonnymo
In your /var/lib/connman folder you should have a file associated with your
wlan0 config.

ex:
* $  sudo ls
 /var/lib/connman/wifi_8091334a1523_4d6f4e6574494f54_managed_psk/*
*data  settings*

In the psk settings file, I tend to set this manually as such:

*Name=MySSID*
*SSID=pk2-passwd*
*Frequency=2462*
*Favorite=true*
*AutoConnect=true*
*Modified=2020-09-24T07:36:19.092924Z*
*Passphrase=mypasswd*
*IPv4.method=manual*
*IPv4.netmask_prefixlen=21*
*IPv6.method=off*
*IPv6.privacy=disabled*
*Hidden=true*
*IPv4.local_address=192.168.2.210*
*IPv4.gateway=192.168.2.1*
*Nameservers=8.8.8.8;8.8.4.4;4.4.4.4;*

The "Nameservers" setting wll set the /etc/resolv.conf with the nameserver
associated with wlan0 and the same is so for  IPv4.gateway if you are
running IPv4.

This can be done manually as such:

*# connmanctl config  --ipv4 manual  
*
*# connmanctl config  --nameservers *

Ref:
 https://variwiki.com/index.php?title=Static_IP_Address

If your eth0 is not defined with nameservers and gateway, it is possible it
will overwrite the /etc/resolv.conf when you plug in an ethernet cable and
not set it when it is disconnected.  One test would be to reboot the board
and see if the wlan0 connection recovers. Another is to  check
/etc/resolv.conf when you plug in the ethernet cable and then when you
disconnect it.

You can also use 'dmesg' to see if there are any networking errors being
reported when you are changing network connects.


Cheers,

Jon



On Fri, Sep 25, 2020 at 8:21 AM  wrote:

> Hi all,
>
> I'm also having issues with getting internet via WiFi on this BB-AI board.
>
> It connects to my WiFi network, gets a DHCP address, the routing table
> shows the default route is 192.168.1.1, through wlan0 interface etc,
> exactly the same top line of Matt's table.
> The WiFi LED goes green (right next to the Ethernet port).
>
> I've connected through Ethernet and upgraded the software, but same issue
> with WiFi connected but no network through it.
>
> It automatically sets the routing interface to Eth0 when I plug the
> Ethernet in, then sets its back to wlan0 when I unplug it so that's great
> but still no signs of life.
>
> There are a bunch of scripts in /opt/scripts, and configs in /etc/default.
> In /etc/default, there's a settings file bb-wl18xx with
> "TETHER_ENABLED=yes", I've changed it to "no".  That caused connman to not
> connect the WiFi automatically, so I used connmancltl to set the agent back
> on for it to connect again.
>
> What else can I check and change?  I've put my connman settings and route
> command output are below, to me they show everything set up for this to
> work.
> My assumption is that either its a separate setting relating to boot
> scripts etc, or its a driver/firmware issue.
>
> I've had this issue previously, but it worked once on the original board
> image, but after updating to the latest image, it just doesn't work at all.
>
> My connman settings file in /var/lib/connman/
>
> [global]
> OfflineMode=false
>
> [Wired]
> Enable=true
> Tethering=false
>
> [WiFi]
> Enable=true
> Tethering=false
>
> [Gadget]
> Enable=false
> Tethering=false
>
> [P2P]
> Enable=false
> Tethering=false
>
> [Bluetooth]
> Enable=true
> Tethering=false
>
>
> *fisher@beaglebone*:*~*$route
> Kernel IP routing table
> DestinationGateway GenmaskFlags Metric Ref   Use Iface
> default 192.168.1.10.0.0.0 UG   0  00
> wlan0
> 192.168.1.0 0.0.0.0255.255.255.0   U0  00
> wlan0
> 192.168.1.1 0.0.0.0255.255.255.255 UH   0  00
> wlan0
> 192.168.6.0 0.0.0.0255.255.255.0   U0  00 usb1
> 192.168.7.0 0.0.0.0255.255.255.0   U0  00 usb0
> 192.168.8.0 0.0.0.0255.255.255.0   U0  00
> SoftAp0
>
> *fisher@beaglebone*:*~*$ ping -I wlan0 192.168.1.1
> PING 192.168.1.1 (192.168.1.1) from 192.168.1.175 wlan0: 56(84) bytes of
> data.
> ^C
> --- 192.168.1.1 ping statistics ---
> 9 packets transmitted, 0 received, 100% packet loss, time 178ms
>
> Fisher
>
>
> On Tuesday, 14 July 2020 08:54:26 UTC+10, jonnymo wrote:
>>
>> The values I provided should set the /etc/resolv.conf for the wlan0
>> interface. The gateway you would want to set for your config.  I typically
>> run with a static ip on my wlan0 so I edit the connman settings manually
>> for my environment.  The other option is to do it manually or with some
>> script that detects the loss of your usb network connection and then set
>> resolv.conf accordingly.  This does take root access, so I find it best to
>> just a

Re: [beagleboard] Beaglebone Blue Books

2020-09-26 Thread jonnymo
There is the Packt book BeagleBone Robotic Projects - Second Edition by
Richard Grimmett:
https://www.packtpub.com/product/beaglebone-robotic-projects-second-edition/9781788293136

I have no experience with this boot though.

Cheers,

Jon

On Sat, Sep 26, 2020 at 7:58 AM Thein Htet Aung 
wrote:

> Hi all,
>
> I am very new to the beaglebone blue. I have some serious difficulty in
> learning how to use it. I have found some examples to try out from
> https://github.com/beagleboard/librobotcontrol/tree/master/examples/src.
> But if it's possible I would like to learn from a dedicated book that can
> guide me nicely. Does anyone have any suggestion?
>
>
> Thanks,
> Best Regards,
> Thein Htet Aung
>
> --
> 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/ebd9226b-b7c2-4658-92a2-53eafd0a4574n%40googlegroups.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/CAG99bko%2B5Qz9mVJTRHccsJ9jk_S2X%3D-svmaxCJ4y2_2X8kdHjA%40mail.gmail.com.


Re: [beagleboard] Configure wifi drivers on beagle bone

2020-09-28 Thread jonnymo
There are a few older references of using this dongle on a BeagleBone.
These are a bit dated though:
https://larrylisky.com/2014/02/07/product-review-tenda-w311mi-usb-wireless-adaptor/
https://fleshandmachines.wordpress.com/2013/02/24/beaglebone-debian-squeezy-with-tenda-w311mi/

Cheers,

Jon

On Mon, Sep 28, 2020 at 8:02 AM Robert Nelson 
wrote:

> On Mon, Sep 28, 2020 at 9:29 AM  wrote:
> >
> > I was trying to configure drivers for tenda W311MI wifi dongle with
> beaglebone black but it was a failure can anyone suggest me good tutorial
> on it
>
> That's a new one, please run:
>
> sudo /opt/scripts/tools/version.sh
>
> and
>
> lsusb
>
> 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/CAOCHtYiHV2d-fas5FJ2OmfqUoj%3DXn5FkhwAiKeaEvX1YHOWvhQ%40mail.gmail.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/CAG99bkr%2BgOyFxzw8_SN64OrT71yjc6hJQZmNTM42EB-sDeHMvQ%40mail.gmail.com.


Re: [beagleboard] SLAM on beaglebone blue

2020-10-05 Thread jonnymo
When my BBBlue was live, I too was running ROS with it via the EduMIP
project:
https://dscl.lcsr.jhu.edu/home/courses/edumip_ros/
This is a bit dated and I am not sure if it is being kept up.

Doing a quick Google search I was able to find these:
https://www.meetup.com/ai-ml-for-robotics-and-iot/events/243887904/
https://inst.eecs.berkeley.edu/~ee192/sp20/files/GettingStartedBBBL.pdf
https://elinux.org/BeagleBoard/beaglecv_stereo
https://github.com/sudarshan-s-harithas/Robotic-AGV
https://answers.ros.org/question/355650/how-to-configure-hector-slam-to-generate-usable-maps/
https://www.youtube.com/watch?v=zd1okAbZ_yY

Cheers,

Jon



On Sun, Oct 4, 2020 at 12:31 AM Thein Htet Aung 
wrote:

> Hi everyone,
>
>
> I have a BBBlue that I'm working with. I have successfully installed
> Ubuntu 18.04.5 + ROS Melodic. The question is will I be able to use the
> board for SLAM (simultaneous localization and mapping) ?
>
>
> Thanks.
>
> Best Regards,
> Thein Htet Aung
>
> --
> 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/f99e5c99-e936-473c-b0b0-cc8461ee0c1dn%40googlegroups.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/CAG99bko7OSK2ZK1%3D1O1Y3MR%2BpwJaJsYbv%3D5D5zDAhFJVAcHu4g%40mail.gmail.com.


Re: [beagleboard] creating astable build for a commercial system

2020-10-07 Thread jonnymo
So, you are using the actual Beaglebone board in a production product?  I
kind of seen them as just prototyping platforms.

How are the sensors connected to the Beaglebone?  Direct or do you have
some sort of driver between the sensor and the BB GPIO pin?  I would think
the later is the best option.

How is your software communicating with the sensors via the BB?

Have you checked either 'dmesg' or '/var/log/syslog' on BB to see if any
events were seen at the time the issue was seen? This may give a clue as to
what is happening.

Cheers,

Jon


On Wed, Oct 7, 2020 at 3:02 AM Gwen Stouthuysen 
wrote:

> You might start with hardening the solution by moving the application from
> JS to a compiled C program.
> I never had issues with locking up peripherals when using C.
>
> Traditionally a watchdog feature is used to reboot the system when lockups
> are preventing the normal continuation of the program.
> I think the TI processor has watchdog circuitry, not sure whether you can
> access it from the Linux OS (it might already use it to ensure OS lockups
> invoke reboots), quite sure JS will have no features with respect to this.
>
> just my 5c
>
> Gwen
>
> Op wo 7 okt. 2020 om 10:41 schreef morgant...@gmail.com <
> morgantabra...@gmail.com>:
>
>>   Hello beaglebone community,
>>
>>   This is my first post.
>>
>>   I used beaglebone to develop a prototype for for a self-cleaning
>> smoothie machine that we plan to commercialize (see video below).  It has
>> multiple sensors and outputs to run motors/solenoids while ensuring user
>> safety.
>>
>> https://www.youtube.com/watch?v=76XDJK5V0PA&feature=share&;
>> ab_channel=PascalKriesche
>>
>>Right now we have. BBB running a linux OS and running a script we
>> wrote in JS. One issue we have had was the 1.8V analog sensors losing
>> signal which required us to reboot the system every tie that occurred. We
>> also had an issue flashing 2 out of our 4 prototypes with an image that
>> worked  (seems to be a firmware version issue  leasing to an incorrect
>> hardware pin mapping).
>>
>>I know eventually we want to use a chip on board, but for the initial
>> production run we were hoping on sticking to a prebuilt onboard computing
>> module for the initial 1000 units in order to save time and costs.  I was
>> wondering if anyone in this forum had experience launching a product with
>> beaglebone and if this instability can be resolved with the correct I/O
>> filtering on our PCB and software functionality.
>>
>>Thanks in advance!
>>
>> --
>> 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/faf26e97-c403-4dac-adc8-7acede4832b9n%40googlegroups.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/CAFfeaG_q4y_OjWOJyotqYe-ysABMxd3dzwag-hNp6ZpsAeCZqw%40mail.gmail.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/CAG99bkpccSUpkEj3Q8xNKgDYpuL5xcD3ZnT4VbOL8%3DqYe7pFgQ%40mail.gmail.com.


Re: [beagleboard] Re: Can't connet to BBB over Ethernet

2020-10-07 Thread jonnymo
Looks like your 169.x.x.x routing is going through the wireless device:

pavel@ALABAMA:~$ ip route
default via 192.168.1.1 dev wlp7s0 proto dhcp metric 600
default via 192.168.206.2 dev enp8s0 proto static metric 20100
*169.254.0.0/16 <http://169.254.0.0/16> dev wlp7s0 scope link metric 1000*
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.1.0/24 dev wlp7s0 proto kernel scope link src 192.168.1.252 metric
600
192.168.206.0/24 dev enp8s0 proto kernel scope link src 192.168.206.180
metric 100

  Did you setup the NAT to route through the wireless device?
 Have you tried rebooting the BB?

See if you can ping the 169.x.x.x address of the BB using the wlp7s0
interface
Ex:
   *ping -I  wlp7s0 *

Jon


On Wed, Oct 7, 2020 at 11:07 AM Pavel Yermolenko 
wrote:

>
>
> On Wednesday, October 7, 2020 at 5:25:58 PM UTC+2, jonnymo wrote:
>>
>>   How is the Ethernet connection connected to the BB? Are you using a
>> Switch or direct?
>>
> *Direct *
>
>> You can check the output of 'dmesg' to see if there are any messages that
>> indicated the port went down.
>> Have tried to unplug the ethernet cable from the BB and plug it back in?
>>
> *Yes, didn't help. The IP assigned to BBB isn't on the same subnet as
> host:*
> *Host: 192.XXX.XXX.XXX*
> *BBB: 169.XXX.XXX.XXX*
>
>>
>> Commands to check:
>> *   ip address*
>> *   ip link*
>> *   ip -s link show*
>> *   ip route *
>> *   route *
>>
>
> pavel@ALABAMA:~$ ip address
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group
> default qlen 1000
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
>valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
>valid_lft forever preferred_lft forever
> 2: enp8s0:  mtu 1500 qdisc fq_codel state
> UP group default qlen 1000
> link/ether 8c:16:45:a9:fe:44 brd ff:ff:ff:ff:ff:ff
> inet 192.168.206.180/24 brd 192.168.206.255 scope global
> noprefixroute enp8s0
>valid_lft forever preferred_lft forever
> inet6 fe80::8e16:45ff:fea9:fe44/64 scope link
>valid_lft forever preferred_lft forever
> 3: wlp7s0:  mtu 1500 qdisc noqueue state
> UP group default qlen 1000
> link/ether 14:4f:8a:ac:fb:66 brd ff:ff:ff:ff:ff:ff
> inet 192.168.1.252/24 brd 192.168.1.255 scope global dynamic
> noprefixroute wlp7s0
>valid_lft 258424sec preferred_lft 258424sec
> inet6 2001:171b:227c:8320:bdfd:2047:6cd3:8090/128 scope global dynamic
> noprefixroute
>valid_lft 2828sec preferred_lft 2828sec
> inet6 2001:171b:227c:8320:9167:d6af:99a3:3245/64 scope global
> temporary dynamic
>valid_lft 7181sec preferred_lft 3581sec
> inet6 2001:171b:227c:8320:e3e5:53c7:9824:b200/64 scope global dynamic
> mngtmpaddr noprefixroute
>valid_lft 7181sec preferred_lft 3581sec
> inet6 fdaa:bbcc:ddee:0:9167:d6af:99a3:3245/64 scope global temporary
> dynamic
>valid_lft 604027sec preferred_lft 85130sec
> inet6 fdaa:bbcc:ddee:0:1ffd:69b9:6949:cc83/64 scope global dynamic
> mngtmpaddr noprefixroute
>valid_lft 2006054636sec preferred_lft 2006054636sec
> inet6 fe80::66f8:f168:baa9:3769/64 scope link noprefixroute
>valid_lft forever preferred_lft forever
> 4: docker0:  mtu 1500 qdisc noqueue
> state DOWN group default
> link/ether 02:42:38:88:1f:48 brd ff:ff:ff:ff:ff:ff
> inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
>valid_lft forever preferred_lft forever
> pavel@ALABAMA:~$ ip link
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode
> DEFAULT group default qlen 1000
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> 2: enp8s0:  mtu 1500 qdisc fq_codel state
> UP mode DEFAULT group default qlen 1000
> link/ether 8c:16:45:a9:fe:44 brd ff:ff:ff:ff:ff:ff
> 3: wlp7s0:  mtu 1500 qdisc noqueue state
> UP mode DORMANT group default qlen 1000
> link/ether 14:4f:8a:ac:fb:66 brd ff:ff:ff:ff:ff:ff
> 4: docker0:  mtu 1500 qdisc noqueue
> state DOWN mode DEFAULT group default
> link/ether 02:42:38:88:1f:48 brd ff:ff:ff:ff:ff:ff
> pavel@ALABAMA:~$ ip -s link show
> 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode
> DEFAULT group default qlen 1000
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> RX: bytes  packets  errors  dropped overrun mcast
> 157429 1572 0   0   0   0
> TX: bytes  packets  errors  dropped carrier collsns
> 157429 1572 0   0   0   0
> 2: enp8s0:  mtu 1500 qdisc fq_codel state
> UP mode DEFAULT group default qlen 1000
> link/ether 8c:16:45:a9:fe:44 brd ff:ff:ff:ff:ff:ff
> RX: byte

Re: [beagleboard] Re: Can't connet to BBB over Ethernet

2020-10-07 Thread jonnymo
Something you can do to check the connection is to manually set the IP on
the host and the BB as such:
This assumes you have another way to get to the BB like via the USB network
or FTDI serial connection.

Host (may not be needed. I do not see an eth0 from the host listing):
 *sudo ip addr add 192.168.206.180/24  dev
enp8s0*

 BB:
   *sudo ip addr add 192.168.206.181/24  dev
eth0*

Then see if you can ping the BB from the host as:
*ping -I * *enp8s0*  *192.168.206.181*

 You may have to take the BB eth0 down and then up if it does not take:
  Ex:
*sudo ip link set eth0 down*
*sudo ip link set eth0 up*

If you have Network Manager running on the host it could interfere and
reset eth0.

Cheers,

Jon






On Wed, Oct 7, 2020 at 12:03 PM Pavel Yermolenko 
wrote:

> Hi Dennis,
>
> *Based upon your screen grabs (please, don't use screen grabs for TEXT
> TERMINALS!,*
> Ok.
>
>
>
> *Most of these routers also handle local DNS services, so you could
> connect via   ssh debian@beaglebone.local*
> Doesn't work. Something happened with ethernet service.
> It's out. I'm trying to figure out what happened.
>
> Sincerely,
> Pavel.
>
> --
> 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/f4ee69fa-04c2-4125-a9ad-b1e774923fc7o%40googlegroups.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/CAG99bkpQFiT2v_RTBau%3DRvS1Tg7geD9uU-yyrkMyrg3hfrA-qw%40mail.gmail.com.


Re: [beagleboard] Re: Beaglebone black connect to Web

2020-10-08 Thread jonnymo
Are you following the instructions listed at the following link?
https://www.digikey.com/en/maker/blogs/how-to-connect-a-beaglebone-black-to-the-internet-using-usb

Have you set the default router on your BBB?
Ex:
   * sudo /sbin/route add default gw 192.168.7.1  *

Cheers,

Jon

On Thu, Oct 8, 2020 at 6:16 AM Tarmo  wrote:

> On Thursday, October 8, 2020 at 3:16:24 PM UTC+3 dysona...@gmail.com
> wrote:
>
>> I have a beaglebone black and I'm attempting to connect it to the outside
>> world.  I have the latest debian image installed.
>>
>> Here is what I have done:
>>
>> - installed latest windows 64 bit drivers
>> - Configured my wifi network adapter to be shared with the network
>> adapter created through the USB cable connection.
>>
>> When I attempt to ping www.google.com I get the error "Temporary failure
>> in name resolution"
>>
>> Any help would be of benefit.
>>
>
> IIRC the BB-s virtual Ethernet port is not configured to be an uplink to
> the Internet - the Ethernet port is. Changing this is going to be tricky
> (not impossible, but requires in-depth understanding of what you're doing).
>
> The simplest way to solve your problem is to connect the BB to Internet
> using an Ethernet cable and your nearest router.
>
> --
> Kind regards,
> Tarmo
>
> --
> 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/2f1af32f-1814-4d5d-837b-4aea0dc59984n%40googlegroups.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/CAG99bkrhYXDMZ8D1yPZA5uqP6egiTXmFSpDhEf8n%3D-OQx1WEkw%40mail.gmail.com.


Re: [beagleboard] Re: Can't connet to BBB over Ethernet

2020-10-08 Thread jonnymo
The interface  enp8s0 is the physical Ethernet port from the Ubuntu host
that is directly connected to the BB, correct?
If this is correct, then enabling DHCP makes no sense unless you have set
up the BB as a DHCP server.  Since you are connecting these two devices
directly, then you need to either hardcode the IP address on the host
without DHCP and then set the IP on the BB.
If you do what I had shown previously, then that will give a clue if the
connection is working.

However, using Network Manager may interfere with any manual changes you
make.

Please look at the link I provided for more detail on how to troubleshoot a
network connection.


Jon

On Thu, Oct 8, 2020 at 9:11 AM Pavel Yermolenko  wrote:

> Here is what happens when I try activate it:
>
> pavel@ALABAMA:~$ sudo ifup enp8s0
> Internet Systems Consortium DHCP Client 4.3.5
> Copyright 2004-2016 Internet Systems Consortium.
> All rights reserved.
> For info, please visit https://www.isc.org/software/dhcp/
>
> Listening on LPF/enp8s0/8c:16:45:a9:fe:44
> Sending on   LPF/enp8s0/8c:16:45:a9:fe:44
> Sending on   Socket/fallback
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 3
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 3
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 8
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 20
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 7
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 11
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 11
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 11
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 8
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 14
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 13
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 14
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 7
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 9
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 11
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 20
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 13
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 17
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 9
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 10
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 15
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 11
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 11
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 8
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 8
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 13
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 13
> (xid=0xdd23072a)
> DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 2
> (xid=0xdd23072a)
> No DHCPOFFERS received.
> No working leases in persistent database - sleeping.
> pavel@ALABAMA:~$
>
> It remains to be seen where the problem comes from - Ubuntu host or 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/e4e06643-8a2c-472e-bf72-d1fa4d714fbdo%40googlegroups.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/CAG99bkpZvqoU5RJ_b2anCHJ8mG4iw%2BOQVRx7g-LfbAJ%2BX-_1Vg%40mail.gmail.com.


Re: [beagleboard] Re: Can't connet to BBB over Ethernet

2020-10-08 Thread jonnymo
The 169.x.x.x address on the BB I believe is just the default address when
it can not connect to anything.  You could set it to something else
manually.

For internet access, you need to configure the routing so the BB will
connect to the internet through the host ethernet port.

I'm not sure what is causing the issue on the Ubuntu system since I do not
use that tool.

Jon


On Thu, Oct 8, 2020 at 11:14 AM Pavel Yermolenko 
wrote:

> Another issue appeared !!!
> I cannot get an internet connection - neither using *terminal* nor via
> *ssh*.
>
> --
> 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/e23cc97f-500e-4a59-8ece-98647e24c5f4o%40googlegroups.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/CAG99bkpvWD82%2BGCFokqtBaPPTG%2BhfOkDyKsnRq3jRm2RdrS1PQ%40mail.gmail.com.


  1   2   3   >