Re: [beagleboard] Re: Phypton for Beaglebone

2018-08-25 Thread Hugo Casal
Hello Dennis
I am trying to write my first  code in python, I am  sending an email in
python. I wrote this code , but forever generate  an error, I don't know
how to find it.
[image: image.png]
Here the screenshot with the code and error messages.
Do you have some suggestion that I can to use to eliminate this errors? I
would like to learn python step by step  before to write a code for beagle
bone black
thanks

El mié., 22 ago. 2018 a las 15:02, Dennis Lee Bieber ()
escribió:

> On Wed, 22 Aug 2018 14:44:11 -0500, hcasalncasal1963
>  declaimed the
> following:
>
> >If I understood Well your explanation , for now I should use python 3. 5
> and ubuntu for my projects. Is it correct?
>
> Just use the Python that comes on the Beaglebone -- it has both
> 2.7 and
> 3.5 already in the normal (lxqt) install (don't even consider Ubuntu).
>
> "python" will run using 2.7
> "python3" will run using 3.5
>
> debian@beaglebone:~$ uname -a
> Linux beaglebone 4.14.49-ti-r54 #1 SMP PREEMPT Fri Jun 15 22:14:13 UTC 2018
> armv7l GNU/Linux
> debian@beaglebone:~$ python --version
> Python 2.7.13
> debian@beaglebone:~$ python3 --version
> Python 3.5.3
> debian@beaglebone:~$
>
>
> --
> Wulfraed Dennis Lee Bieber AF6VN
> wlfr...@ix.netcom.comHTTP://wlfraed.home.netcom.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/n1grndld615r997mm0m2jdbibknug8pdia%404ax.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

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


[beagleboard] Re: No USB connection... and no wifi no more

2018-08-25 Thread Graham
UART0, which is the default serial console connection, is pinned out on a 
connector on the board. You might have to make a three wire adapter cable 
to connect a raspberry pi serial cable to it.

--- Graham

==


On Friday, August 24, 2018 at 8:17:16 PM UTC-5, gcor...@ucr.edu wrote:
>
> Hello all, I am also having the same problems. Is anyone aware of a serial 
> debug method such as using a USB to TTL Serial Cable with the Rasberry Pi 
> but for the Beaglebone Blue? Thanks for the help
>
> On Tuesday, March 20, 2018 at 2:32:30 PM UTC-7, Kjell Morgenstern wrote:
>>
>> Hello,
>>
>> I am trying to get USB connections to my three BBB rev2A boards, but they 
>> do not show up anywhere (eg dmesg or lsusb), nor do I get a network 
>> connection to 192.168.6.2 (or 7.2)
>> Wifi works (mostly), but not really reliable enough to support a longer 
>> ssh session.
>>
>> So, basically I have two questions, both about connecting to the boards.
>>
>> 1. Is the USB problem a known one? beaglebone.org getting-started 
>> instructions give the impression that should just work right out of the 
>> box. 
>>
>> 2. One of the boards stopped working via wifi (wifi led won't light up, 
>> device does not show up in network scan). Is it toast now? What can I try?
>>
>>
>> What I already tried:
>>
>> * three different BBB devices (all ordered at the same date and vendor)
>> * different host computers: MacMini 2012 and one Ubuntu 16.04 machine 
>> that has USB 3
>> * 12V power supply connected to the board
>> * fresh 2018-03 debian iot image (boot from SD Card)
>> * install drivers for the mac (tried this about 2017-4, so it was only 
>> with the older image)
>> * ran the linux script to register the usb device number
>> * tried three different USB cables
>> * looked for any visible physical damage (none found)
>> * googling ;-)
>> * read the troubleshooting guide... no internet explorer involved
>>
>> What I did not yet try: A windows machine. In a few days I might have 
>> access to one were I may install drivers and fool around, but even if that 
>> works, it would not really solve my problem.
>> Also, since much on BBB is based on debian: I am mainly working on 
>> Ubuntu, maybe there is some 'autoconnect' service missing that is common in 
>> debian?
>>
>> Thanks for any hints
>> Greetings, Kjell
>>
>>
>>

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


[beagleboard] How to make WiFi link faster?

2018-08-25 Thread Louis
I was able to get the device up on WiFi fairly seemlessly, but the link is 
slw. I'm using a recent stretch-iot release.

Anything I can do to optimize it? How do I disable SoftAP for example? I 
bet that will help quite a bit. I tried to use the connman disable tether 
command but SoftAP still shows up in ifconfig

Best,
Louis

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


[beagleboard] The "buildroot" approach

2018-08-25 Thread Enoch
Hi,

Buildroot , to those who are not familiar with, is 
a minimalist approach to building embedded Linux.
With this approach one does software development using desktop cross 
compilation tools rather than rely on Gcc and friends running on the much 
slower BBB.
Modifying Linux drivers, creating one own's device tree is easy this way.

I had good Buildroot luck with the BBB using simple capes (for serial 
communication).
However, a complex cape such as the " 
LCD
 
7.0" CAP-TOUCH BEAGLE BONE" 

 
is not an easy task "to buildroot" for the formidable number of components 
(drivers, packages, ...) that need to be correctly selected.
I would like to create Buildroot/Linux defconfig-s where hardware support 
is on par with Robert Nelson's fine Debian image:
BBB-blank-debian-9.5-lxqt-armhf-2018-08-20-4gb.img.xz 

 
with /boot/uEnv.txt having dtb=am335x-boneblack-bbb-exp-c.dtb ...

Has anyone taken this BBB buildroot approach with a similar complexity LCD 
cape?

Thanks, Enoch.


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