Re: [beagleboard] Beagleboard XM boot hangs on kernel 3.14.20

2017-11-15 Thread MHE 何海宇
Maybe you should use an old beagleboard rootfs that doesn't need to start all 
systemd default services. Btw, afaik this kernel 3.4.20 doesn't handle usb, 
ethernet, framebuffer, it seems some patches were missing.
I tried several kernel, but all failed..
Try to get some issues solved by xM community here in google forum

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


[beagleboard] USB Ethernet Not Working Anymore

2017-11-15 Thread Juergen Fiedler

I have a PoocketBeagle with the latest image 
(bone-debian-9.2-iot-armhf-2017-10-10-4gb) connected to a Debian Sid 
machine.

Used to be when I plugged the board in, I would see a storage device, and 
an Ethernet adapter (eth1, IIRC). The Ethernet adapter would automatically 
get in IP address, and everything would work as advertised.

I recently had a power outage, and things don't work so well anymore: I now 
see two Ethernet adapters, and neither one gets an IP address.

The /var/log/messages on the PC contains the following right after I plug 
the PocketBeagle in:

Nov 15 23:58:46 skaia kernel: [823653.997487] usb 5-4: new high-speed USB 
> device number 7 using ehci-pci
> Nov 15 23:58:46 skaia kernel: [823654.150574] usb 5-4: New USB device 
> found, idVendor=1d6b, idProduct=0104
> Nov 15 23:58:46 skaia kernel: [823654.150593] usb 5-4: New USB device 
> strings: Mfr=1, Product=2, SerialNumber=3
> Nov 15 23:58:46 skaia kernel: [823654.150594] usb 5-4: Product: BeagleBone
> Nov 15 23:58:46 skaia kernel: [823654.150596] usb 5-4: Manufacturer: 
> BeagleBoard.org
> Nov 15 23:58:46 skaia kernel: [823654.150597] usb 5-4: SerialNumber: 
> 1741GPB4
> Nov 15 23:58:46 skaia kernel: [823654.152778] rndis_host 5-4:1.0 eth1: 
> register 'rndis_host' at usb-:00:16.2-4, RNDIS device, 60:64:05:e0:d9:ce
> Nov 15 23:58:46 skaia kernel: [823654.153625] cdc_ether 5-4:1.2 eth2: 
> register 'cdc_ether' at usb-:00:16.2-4, CDC Ethernet Device, 
> 60:64:05:e0:d9:d1
> Nov 15 23:58:46 skaia kernel: [823654.154411] cdc_acm 5-4:1.4: ttyACM0: 
> USB ACM device
> Nov 15 23:58:46 skaia kernel: [823654.155107] usb-storage 5-4:1.6: USB 
> Mass Storage device detected
> Nov 15 23:58:46 skaia kernel: [823654.156185] scsi host6: usb-storage 
> 5-4:1.6
> Nov 15 23:58:46 skaia mtp-probe: checking bus 5, device 7: 
> "/sys/devices/pci:00/:00:16.2/usb5/5-4"
> Nov 15 23:58:46 skaia mtp-probe: bus: 5, device: 7 was not an MTP device
> Nov 15 23:58:46 skaia kernel: [823654.885248] rndis_host 5-4:1.0 
> enx606405e0d9ce: renamed from eth1
> Nov 15 23:58:46 skaia kernel: [823654.897678] cdc_ether 5-4:1.2 
> enx606405e0d9d1: renamed from eth2
> Nov 15 23:58:47 skaia kernel: [823655.166381] scsi 6:0:0:0: 
> Direct-Access LinuxFile-Stor Gadget 0404 PQ: 0 ANSI: 2
> Nov 15 23:58:47 skaia kernel: [823655.166870] sd 6:0:0:0: Attached scsi 
> generic sg3 type 0
> Nov 15 23:58:47 skaia kernel: [823655.171354] sd 6:0:0:0: [sdc] 36864 
> 512-byte logical blocks: (18.9 MB/18.0 MiB)
> Nov 15 23:58:47 skaia kernel: [823655.171995] sd 6:0:0:0: [sdc] Write 
> Protect is on
> Nov 15 23:58:47 skaia kernel: [823655.172609] sd 6:0:0:0: [sdc] Write 
> cache: disabled, read cache: enabled, doesn't support DPO or FUA
> Nov 15 23:58:47 skaia kernel: [823655.184365]  sdc: sdc1
> Nov 15 23:58:47 skaia kernel: [823655.187738] sd 6:0:0:0: [sdc] Attached 
> SCSI removable disk
> Nov 15 23:58:53 skaia kernel: [823661.155219] TCP: request_sock_TCP: 
> Possible SYN flooding on port 46319. Sending cookies.  Check SNMP counters
>

The serial device (ttyACM0) and the mass storage device (sdc) work as 
expected.

I realize this is probably not much, but can anybody help me out here?

Thanks,
 --Juergen

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


[beagleboard] Is it possible to make work the BBB C program code without installing any operating systems?

2017-11-15 Thread c93 via BeagleBoard
In other words I'd like to make work the BeagleBone Black on the base C 
program code without any operating systems. 
My task is simple enough - frequency meter 0...100 KHz, DI/DO simple logic 
and data exchange accross TCP/IP.

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


[beagleboard] RE: Hello and Getting Ideas Ready for Posting/Seth

2017-11-15 Thread Mala Dies
Hello,

My name is Seth. I am currently wanting to make some posts on the BBB and 
some sensors/Capes w/ the Python and Adafruit_BBIO. I have been reading 
some of the books that have been available from other people and I think it 
is time I post an update to these specific books or make my own 
additions/changes available in the form of posts or some small works.

First issue:


   - I cannot find out how to get the BBB photo to get it integrated into 
   OrCad or Fritzing. 
   - I tried OrCad Lite and the .brd file that is available. There is no 
   photo alongside the .brd file.
   - Also, I tried to find some .pdf files or .svg files for Fritzing to 
   use the "schematic" of the BBB to make small works.
  - Small works would basically be:
 - Connected sensors and related sensors in an easy-to-see fashion.
 - Capes, like the Motor Bridge Cape, working w/ motors and power 
 in an easy-to-understand visual.
  - So, 
  - In hindsight, I would like to see if you know how to accomplish 
  this task.
  - And if so, could you please jump on board and provide some support?
   
Seth

P.S. I think this is clear. If it is not that clear and you need extra 
info, please contact me. 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/25bb6e98-1898-4923-b238-3838ee3c08d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] IOError: [Errno 13] Permission denied

2017-11-15 Thread Przemek Klosowski
It looks like your software is trying to write to
/opt/scripts/device/bone/capes/DLPDLCR2000/0524/tmp_header_Video Play
Test__Tue__Nov_14_2017__11_19_37__.xls
but you don't have permissions to that location. Can you confirm that, and
do you know how to address that problem? I'm asking because I don't know
how much do you know, so I'm not sure what advice to give.

On Wed, Nov 15, 2017 at 12:04 PM,  wrote:

> Hello,
>
> I am trying to play video using Beaglebone black and DLPDLCR2000EVM
>  projector.
>
> I can play video manually but when I try to play videos using python
> script I am getting an error like this
>
> debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ python
> MplayerTest.py
>
> Traceback (most recent call last):
> File "MplayerTest.py", line 89, in 
> main()
> File "MplayerTest.py", line 59, in main
> datalog = DataLog(LogDir, Test_name)
> File "build/bdist.linux-armv7l/egg/dlp_lightcrafter/datalog.py", line 77,
> in __init__
> IOError: [Errno 13] Permission denied: '0524/tmp_header_Video Play
> Test__Tue__Nov_14_2017__11_19_37__.xls'
>
>
> the system isn't being allowed to write to the datalog file.
>
> any one please help me to fix this problem.
>
> 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/9681b811-a796-4c62-af23-492c8e26ae84%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

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


[beagleboard] Re: BeagleBone Green wont boot if cape connected

2017-11-15 Thread Graham
You have apparently used two pins that conflict with the boot configuration 
pins on the BBB, or the eMMC.

Read the "BeagleBone Black System Reference Manual" (Version C.1), pages 
62, 63, 68, 82, 106, 107.

--- Graham

==

On Wednesday, November 15, 2017 at 1:48:34 PM UTC-6, Paulo Sherring wrote:
>
> Hi, all. I have a beaglebone green connected to a custom cape. I am 
> running the latest machinekit image.
> I have it all configured and runs mostly OK. I am having an issue with end 
> switch circuitry.
> The switched are connected to P8_41 and P8_42 and are connected through 
> the circuit in the attachment (BJT with open collector, connected through 
> load resistor and internal pullup). If the end switch is opened, the board 
> wont boot at all. If the end switch is closed, the board boots without any 
> further issue. 
> My question is: is there any blocking mechanism that prevents CPU from 
> booting if, for example, any input is driver high?
>
> Thanks in advance!
> Paulo Sherring.
>

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


[beagleboard] Re: MySQL on Beaglebone Black

2017-11-15 Thread Paul Van den Bergh
Hi Tarmo,

Thanks for your reply.

When I try to open a telnet connection (via putty) to 192.168.1.52 port 
3306, the connection is refused... 




 What are my options to solve this?

Regards,
Paul

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


[beagleboard] BeagleBone Green wont boot if cape connected

2017-11-15 Thread Paulo Sherring
Hi, all. I have a beaglebone green connected to a custom cape. I am running 
the latest machinekit image.
I have it all configured and runs mostly OK. I am having an issue with end 
switch circuitry.
The switched are connected to P8_41 and P8_42 and are connected through the 
circuit in the attachment (BJT with open collector, connected through load 
resistor and internal pullup). If the end switch is opened, the board wont 
boot at all. If the end switch is closed, the board boots without any 
further issue. 
My question is: is there any blocking mechanism that prevents CPU from 
booting if, for example, any input is driver high?

Thanks in advance!
Paulo Sherring.

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


Re: [beagleboard] BeagleBone Black Boot optimization

2017-11-15 Thread Robert Nelson
On Nov 15, 2017 2:51 AM, "Alexander Rössler" 
wrote:

Hello everyone,

I'm using the latest IoT images for the BBB and noticed that the bootup
time from the eMMC is very slow. it takes ~1.5min for the USB gadget
network interface to appear under Linux.

What can I do to improve the startup performance of the BBB?

So far I have disabled auto for the eth0 interface.

sudo nano /etc/network/interfaces
allow-hotplug eth0


Moreover, I have disabled graphical boot.

systemctl set-default multi-user.target
> systemctl get-default


 Still very slow is the generic-board-startup.service

1min 53.980s dev-mmcblk1p1.device
   1min 50.627s generic-board-startup.service
 4.208s ModemManager.service
 4.106s systemd-udev-trigger.service
 2.366s networking.service
 2.032s NetworkManager.service
 1.973s capemgr.service
 1.838s systemd-journald.service
 1.809s pppd-dns.service
 1.579s dnsmasq.service
 1.486s rsyslog.service
 1.098s avahi-daemon.service
  920ms systemd-logind.service
  856ms systemd-udevd.service
  845ms bb-wl18xx-wlan0.service
  737ms sys-fs-fuse-connections.mount
  730ms ssh.service
  724ms systemd-sysctl.service
  719ms systemd-timesyncd.service
  651ms sys-kernel-debug.mount
  604ms systemd-update-utmp.service
  592ms dev-mqueue.mount
  559ms sys-kernel-config.mount
  493ms systemd-remount-fs.service
  458ms polkit.service
  448ms systemd-user-sessions.service
  414ms systemd-tmpfiles-setup-dev.service
  413ms systemd-tmpfiles-setup.service
  360ms systemd-random-seed.service
  359ms systemd-journal-flush.service
  319ms systemd-modules-load.service
  319ms kmod-static-nodes.service
  225ms systemd-update-utmp-runlevel.service
  168ms bb-wl18xx-bluetooth.service


 I noticed that SSH key regeneration takes ~15s at boot. However, when I
removed /etc/ssh/ssh.regenerate USB networking did not work anymore.


This is only an issue on first boot, as the keys are only generated once.



What else can I do to make the BBB boot faster?



Use the v4.14.x based kernel.

As I've spent some time building in and disabling unneeded modules.

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


[beagleboard] Re: BeagleBone Black Boot optimization

2017-11-15 Thread dinuxbg
Could you post your dmesg log?

On Wednesday, November 15, 2017 at 10:51:29 AM UTC+2, Alexander Rössler 
wrote:
>
> Hello everyone,
>
> I'm using the latest IoT images for the BBB and noticed that the bootup 
> time from the eMMC is very slow. it takes ~1.5min for the USB gadget 
> network interface to appear under Linux.
>
> What can I do to improve the startup performance of the BBB?
>
> So far I have disabled auto for the eth0 interface.
>
> sudo nano /etc/network/interfaces
> allow-hotplug eth0
>
>
> Moreover, I have disabled graphical boot.
>
> systemctl set-default multi-user.target
>> systemctl get-default
>
>
>  Still very slow is the generic-board-startup.service
>
> 1min 53.980s dev-mmcblk1p1.device
>1min 50.627s generic-board-startup.service
>  4.208s ModemManager.service
>  4.106s systemd-udev-trigger.service
>  2.366s networking.service
>  2.032s NetworkManager.service
>  1.973s capemgr.service
>  1.838s systemd-journald.service
>  1.809s pppd-dns.service
>  1.579s dnsmasq.service
>  1.486s rsyslog.service
>  1.098s avahi-daemon.service
>   920ms systemd-logind.service
>   856ms systemd-udevd.service
>   845ms bb-wl18xx-wlan0.service
>   737ms sys-fs-fuse-connections.mount
>   730ms ssh.service
>   724ms systemd-sysctl.service
>   719ms systemd-timesyncd.service
>   651ms sys-kernel-debug.mount
>   604ms systemd-update-utmp.service
>   592ms dev-mqueue.mount
>   559ms sys-kernel-config.mount
>   493ms systemd-remount-fs.service
>   458ms polkit.service
>   448ms systemd-user-sessions.service
>   414ms systemd-tmpfiles-setup-dev.service
>   413ms systemd-tmpfiles-setup.service
>   360ms systemd-random-seed.service
>   359ms systemd-journal-flush.service
>   319ms systemd-modules-load.service
>   319ms kmod-static-nodes.service
>   225ms systemd-update-utmp-runlevel.service
>   168ms bb-wl18xx-bluetooth.service
>
>
>  I noticed that SSH key regeneration takes ~15s at boot. However, when I 
> removed /etc/ssh/ssh.regenerate USB networking did not work anymore.
>
> What else can I do to make the BBB boot faster?
>

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


[beagleboard] ERROR: pru-rproc driver missing

2017-11-15 Thread jkobzzz
seeing this error when i run rc_balance. doesn't seem to stop the program 
from functioning correctly and just curious if it is going to be a problem 
down the road. using a new ubuntu beaglebone image from Robert Nelson
did a sudo apt-get install roboticscape to install everything. all the rc_ 
programs that i've run so far with the edumip on this beaglebone blue seem 
to work just fine.
Thanks,
Jeff

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


[beagleboard] IOError: [Errno 13] Permission denied

2017-11-15 Thread rajasekar . santhakumar
Hello,

I am trying to play video using Beaglebone black and DLPDLCR2000EVM 
 projector.

I can play video manually but when I try to play videos using python script 
I am getting an error like this 

debian@beaglebone:/opt/scripts/device/bone/capes/DLPDLCR2000$ python 
MplayerTest.py

Traceback (most recent call last):
File "MplayerTest.py", line 89, in 
main()
File "MplayerTest.py", line 59, in main
datalog = DataLog(LogDir, Test_name)
File "build/bdist.linux-armv7l/egg/dlp_lightcrafter/datalog.py", line 77, 
in __init__
IOError: [Errno 13] Permission denied: '0524/tmp_header_Video Play 
Test__Tue__Nov_14_2017__11_19_37__.xls'


the system isn't being allowed to write to the datalog file. 

any one please help me to fix this problem.

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/9681b811-a796-4c62-af23-492c8e26ae84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Is there a BeagleBone Black IMU cape?

2017-11-15 Thread Adam Saenz
The Robotics Cape has an IMU on it along with a bunch of other robotic 
related features.

https://www.renaissancerobotics.com/RoboticsCape.html




On Tuesday, November 14, 2017 at 3:16:45 PM UTC-8, Kyle wrote:
>
> Does anyone know of a beaglebone cape with IMU capabilities that is still 
> in production? I have found plenty that seem to be end-of-life.
>

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


[beagleboard] Re: Completely disable screensaver

2017-11-15 Thread Carl Holzmann
Hi All,

Just for the reference:

I'm using the console image for the beaglebone black ( 
bone-debian-8.7-console-armhf-2017-01-30-2gb.img ). 

For the hardware I'm using:BeagleBone Black Industrial + 4D systems 4.3 
display.

I was having the same problem:

   - Display blanks after 10 minutes.
   - Changing X11-settings doest not help (due to the fact that X11 is not 
   installed).
   

I have found that :

echo 0 > /sys/class/graphics/fb0/blank

This turns the display back on, but only for a short amount of time.

It can also be done by:

sh -c "TERM=linux setterm -blank 0 >/dev/tty0"

But it is not a permanent solution, after a reboot the problem is back 
again, the display will blank after 10 minutes.

Editing /uEnv.txt seems to hold the solution.
add consoleblank=0 to the mmcargs line (see example below):

mmcargs=setenv bootargs console=tty0 console=${console} consoleblank=0 
${optargs} ${cape_disable} ${cape_enable} root=/dev/mmcblk0p1 
rootfstype=${mmcrootfstype} ${cmdline}


Then after saving: Reboot the system and for me the problem has been solved 
(I'm now running for 25 minutes).

With the following command:

cat /sys/module/kernel/parameters/consoleblank 

You can check if the value is indeed 0 (originally it was 600) => 10 
minutes.

Best regards,
  Carl




On Saturday, 31 August 2013 19:09:55 UTC+2, chameleon452 wrote:
>
>
> Hello,
>
> we'd like to run the BBB in an embedded application with display but 
> without keyboard/mouse. Unfortunately it keeps blanking the display after a 
> few minutes, even when I'm logged in remotely. I'm pulling my hairs out 
> over how to disable it. I'm currently using
>
> setterm -blank 0 -powerdown 0
> xset s off
>
> but it still turns off after several minutes. There also does not seem to 
> be any way to wake it up again without using a physical keyboard/mouse?? 
> I'm using the stock Angstrom image.
>
>

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


Re: [beagleboard] Unable to get WiFi working on BBBW using the latest Debian image

2017-11-15 Thread Robert Nelson
On Wed, Nov 15, 2017 at 12:56 AM, Reshmi Chandran  wrote:
> Still no luck .
>
> debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
>
> We trust you have received the usual lecture from the local System
> Administrator. It usually boils down to these three things:
>
> #1) Respect the privacy of others.
> #2) Think before you type.
> #3) With great power comes great responsibility.
>
> [sudo] password for debian:
> git:/opt/scripts/:[2ce750d881941c5189db9e189af90517e11c079f]
> eeprom:[A335BNLT00C05315BBBK1677]

What do you mean? "you" ^^^ have a BeagleBone Black, NOT the
BeagleBone Black Wireless

The "BeagleBone Black Wireless" is a new model:

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/CAOCHtYjYm1C-RxYyz4ur7pynFkSX90mLCK5Tx47Cu%3D%3DEj8_bzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: MySQL on Beaglebone Black

2017-11-15 Thread tarmo
On Wednesday, November 15, 2017 at 12:38:49 PM UTC+2, Paul Van den Bergh 
wrote:
>
>
> Hi all,
>
> I have installed MySQL-server and MySQL-client on a BBB :
>
> root@beaglebone:~# mysql --version
> mysql  Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnueabihf (
> armv7l) using readline 5.2
>
> I like to connect to it from a Windows machine using MySQL Workbench, but 
> I'm not able to setup a connection : 
>
>
>
> root@beaglebone:~# cat /etc/mysql/my.cnf
> # The MariaDB configuration file
> # The MariaDB/MySQL tools read configuration files in the following 
> order:# 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
> # 2. "/etc/mysql/conf.d/*.cnf" to set global options.
> # 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
> # 4. "~/.my.cnf" to set user-specific options.
> #
> # If the same option is defined multiple times, the last one will apply.
> #
> # One can use all long options that the program supports.
> # Run program with --help to get a list of available options and with
> # --print-defaults to see which it would actually understand and use.
>
> #
> # This group is read both both by the client and the server
> # use it for options that affect everything
> #
> [client-server]
>
> # Import all .cnf files from configuration directory
> !includedir /etc/mysql/conf.d/
> !includedir /etc/mysql/mariadb.conf.d/
> root@beaglebone:~# mysql
> Welcome to the MariaDB monitor.  Commands end with ; or \g.
> Your MariaDB connection id is 3
> Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1
>
> Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
>
> Type 'help;' or '\h' for help. Type '\c' to clear the current input 
> statement.
>
> MariaDB [(none)]> SELECT User, Host FROM mysql.user;
> +--+-+
> | User | Host|
> +--+-+
> | root | %   |
> | root | 192.168.1.% |
> +--+-+
> 2 rows in set (0.01 sec)
>
> MariaDB [(none)]>
>
> Any help is very welcome.
>
> Thanks in advance,
>
> Paul.
>

My mistake, the command would be:

telnet 192.168.1.52 3306

--
Kind regards,
Tarmo Kuuse

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


[beagleboard] Re: How to protect my BeagleBone Black from unpredictable 5V electric power interruption?

2017-11-15 Thread tarmo
On Wednesday, November 15, 2017 at 2:19:09 PM UTC+2, c...@mail.ru wrote:
>
> I've heard about it if occur power interruption then my BBB is damage at 
> once. Is it really necessary only UPS or supercapacitor for this? 
>

I personally haven't witnessed any damage to hardware. The ext4 file 
system, however, can become corrupt if the power loss occurs at an 
unfortunate moment. I've seen that happen 6-7 times on this year on some 
10-s of devices which get their power disconnected every day.

So far I've implemented following software workarounds:
1. Add nodelalloc as mount option. This should reduce probability of FS 
corruption according to 
http://www.pointsoftware.ch/en/4-ext4-vs-ext3-filesystem-and-why-delayed-allocation-is-bad/
2. Add "fsck.mode=force fsck.repair=yes" to the kernel boot arguments. This 
will enforce FS checks on every boot and fix any problems found.

I have no evidence on the effectiveness of workaround nr 1, but nr 2 seems 
to alleviate the problem significantly. I've had no dead devices since.

--
Kind regards,
Tarmo Kuuse

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


[beagleboard] Re: MySQL on Beaglebone Black

2017-11-15 Thread tarmo
On Wednesday, November 15, 2017 at 12:38:49 PM UTC+2, Paul Van den Bergh 
wrote:
>
>
> Hi all,
>
> I have installed MySQL-server and MySQL-client on a BBB :
>
> root@beaglebone:~# mysql --version
> mysql  Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnueabihf (
> armv7l) using readline 5.2
>
> I like to connect to it from a Windows machine using MySQL Workbench, but 
> I'm not able to setup a connection : 
>
>
>
> root@beaglebone:~# cat /etc/mysql/my.cnf
> # The MariaDB configuration file
> # The MariaDB/MySQL tools read configuration files in the following 
> order:# 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
> # 2. "/etc/mysql/conf.d/*.cnf" to set global options.
> # 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
> # 4. "~/.my.cnf" to set user-specific options.
> #
> # If the same option is defined multiple times, the last one will apply.
> #
> # One can use all long options that the program supports.
> # Run program with --help to get a list of available options and with
> # --print-defaults to see which it would actually understand and use.
>
> #
> # This group is read both both by the client and the server
> # use it for options that affect everything
> #
> [client-server]
>
> # Import all .cnf files from configuration directory
> !includedir /etc/mysql/conf.d/
> !includedir /etc/mysql/mariadb.conf.d/
> root@beaglebone:~# mysql
> Welcome to the MariaDB monitor.  Commands end with ; or \g.
> Your MariaDB connection id is 3
> Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1
>
> Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
>
> Type 'help;' or '\h' for help. Type '\c' to clear the current input 
> statement.
>
> MariaDB [(none)]> SELECT User, Host FROM mysql.user;
> +--+-+
> | User | Host|
> +--+-+
> | root | %   |
> | root | 192.168.1.% |
> +--+-+
> 2 rows in set (0.01 sec)
>
> MariaDB [(none)]>
>
> Any help is very welcome.
>
> Thanks in advance,
>
> Paul.
>

The simplest debugging you could do is to attempt to create a TCP 
connection to the intended host and port. If this is accepted, then you 
have the TCP part working and only need to check MySQL configuration.

tcp 192.168.1.52 3306

--
Kind regards,
Tarmo Kuuse

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


[beagleboard] PIN Problems interfacing Audio Codec & BT Audio to BBB (MCASP)

2017-11-15 Thread microdevel via BeagleBoard
Hello,

i'm having some trouble building a new custom cape for BBB which has audio 
codec (TLV320AIC3104) and bluetooth audio (CC2564MODA) - maybe someone that 
is experienced in MCASP can help?

First of all, the only solution i see is to use MCASP0 for AUDIO and MCASP1 
for BLUETOOTH AUDIO. I don't think you can connect both chips to MCASP0? 

When wiring up the ICs, i run into a serious PIN collision conflict:

*TLV320AIC3104* 
Codec PIN BBB PIN BBB PIN Name Signal 
MCLK P9_25 GPIO3_21 mcasp0_ahclkx 
BCLK P9_31 SPI1_SCLK mcasp0_aclkx 
WCLK P9_29 SPI1_D0 mcasp0_fsx 
DIN P9_28 SPI1_CS0 mcasp0_axr2 
DOUT P9_30 SPI1_D1 mcasp0_axr0 
*CC2564MODA* 
Codec PIN BBB PIN BBB PIN Name Signal 
BCLK P9_42B GPIO3_18 mcasp1_aclkx 
WCLK P9_27 GPIO3_19 mcasp1_fsx 
DIN P9_41B GPIO3_20 mcasp1_axr0 
DOUT P9_25 GPIO3_21 mcasp1_axr1 
Unfortunately using another mcasp1_axr instead of axr1 is impossible (MII 
block most PINs), also muxing mcasp0_ahclkx to another PIN is impossible 
because of my design (LCD PINs block this way).

In some audio cape schematics, MCLK of TLV320AIC3104 is not even connected 
to BBB header but is connected directly to 12MHz Oscillator.

*My question is, do i really have to connect MCLK <-> mcasp0_ahclkx to make 
TLV320 work on BBB or can i use 12MHz Oscillator <-> MCLK instead? Which 
way is better? What might have to be changed in software if using ext. 
Oscillator?*

Thank you very much!!
Chris

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


[beagleboard] PIN Problems interfacing Audio Codec + Bluetooth Audio to BBB

2017-11-15 Thread microdevel via BeagleBoard
Hello,

i have some serious trouble building a custom cape that has Audio (MIC) and 
Bluetooth (Audio) functionality - maybe one that has some experience in 
MCASP interfacing can help:

As already mentioned, i want to connect an audio codec (TLV320AIC3104) and 
Bluetooth Module (CC2564MODA - which is similar to the chip used on BBG but 
without wifi) to my BBB.

First of all, the only possibility i see is to use MCASP0 to interface the 
audio codec and MCASP1 to interface bluetooth audio. I don't think that 
both chips can be interfaced by one MCASP!?

My problem is a collision in pinout for PIN GPIO3_21 (mcasp0_ahclkx) as 
follows:


*TLV320AIC3104:* 
Codec BBB PIN BBB Name Signal
MCLK P9_25 GPIO3_21 mcasp0_ahclkx
BCLK P9_31 SPI1_SCLK mcasp0_aclkx
WCLK P9_29 SPI1_D0 mcasp0_fsx
DIN P9_28 SPI1_CS0 mcasp0_axr2
DOUT P9_30 SPI1_D1 mcasp0_axr0
*CC2564MODA:* 
Codec BBB PIN BBB Name Signal
BCLK P9_42B GPIO3_18 mcasp1_aclkx
WCLK P9_27 GPIO3_19 mcasp1_fsx
DIN P9_41B GPIO3_20 mcasp1_axr0
DOUT P9_25 GPIO3_21 mcasp1_axr1

Unfortunately i can't switch to another mcasp1_axr instead of axr1 because 
they are all blocked by the MII signals. Muxing mcasp0_ahclkx to another 
pin is also impossible because of my design. So i was wondering why 
mcasp0_ahclkx is used as MCLK for TLV320 in some designs (eg. 
BB-BLACK-AUDI-02) and why sometimes a 12MHz Oscillator is connected to MCLK 
instead.

*My question is: Do i really have to use mcasp0_ahclkx -> MCLK to make 
TLV320AIC3104 working on BBB or is it also possible with Oscillator 12MHz 
-> MCLK (which means P9_25 is not required for TLV320 and can be used for 
the bluetooth module)?*

Thank you very much for your answers!
Chris 

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


[beagleboard] How to protect my BeagleBone Black from unpredictable 5V electric power interruption?

2017-11-15 Thread c93 via BeagleBoard
I've heard about it if occur power interruption then my BBB is damage at 
once. Is it really necessary only UPS or supercapacitor for this? 


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


[beagleboard] Re: Trying to compile adxl345 as a module in bbb but get error

2017-11-15 Thread 1120918198c
I have the same problem

在 2017年10月7日星期六 UTC-5上午3:33:51,Mrigendra Chaubey写道:
>
> Hi all,
>
> I have downloaded a debian image
>
> *Debian 8.7 2017-03-19 4GB SD LXQT * 
> 
>
> I have attached a adxl345 accelerometer, and with user space tools its 
> working fine.
> Now I am trying to attach a kernel driver i.e in adxl345. I put the source 
> files in 
> /home/debian/Desktop/adxl345
>
> and issued make.
> I get this error
>
> *root@beaglebone:/home/debian/Desktop/adxl345# make*
> *make -C /lib/modules/4.4.54-ti-r93/build M=/home/debian/Desktop/adxl345 
> modules*
> *make[1]: *** /lib/modules/4.4.54-ti-r93/build: No such file or 
> directory.  Stop.*
> *Makefile:13: recipe for target 'default' failed*
> *make: *** [default] Error 2*
>
> I checked 
>
> root@beaglebone:/lib/modules/4.4.54-ti-r93# ls 
> extramodules.builtin modules.devname  modules.symbols.bin
> kernelmodules.builtin.bin modules.order
> modules.aliasmodules.dep modules.softdep
> modules.alias.bin  modules.dep.bin modules.symbols
>
> there is no build directory. I tried to update kernel headers 
> sudo apt-get install linux-headers-linux-headers-4.4.54-ti-r93
>
> but it says
>
> *E: Unable to locate package linux-headers-linux-headers-4.4.54-ti-r93*
>
> How I am going to build the drivers?
>
>
>
>
>

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


Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2017-11-15 Thread Jeff Andich
Yeah we also stumbled last-week on Tx and Rx being swapped/ ‘crossed’ for UART1 
(?only?) on the BB-X15 AND TI 572x evm REVA3 schematics.  The other UARTS 
appear fine.  Details to follow.

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


[beagleboard] BeagleBone Black Boot optimization

2017-11-15 Thread Alexander Rössler
Hello everyone,

I'm using the latest IoT images for the BBB and noticed that the bootup 
time from the eMMC is very slow. it takes ~1.5min for the USB gadget 
network interface to appear under Linux.

What can I do to improve the startup performance of the BBB?

So far I have disabled auto for the eth0 interface.

sudo nano /etc/network/interfaces
allow-hotplug eth0


Moreover, I have disabled graphical boot.

systemctl set-default multi-user.target
> systemctl get-default


 Still very slow is the generic-board-startup.service

1min 53.980s dev-mmcblk1p1.device
   1min 50.627s generic-board-startup.service
 4.208s ModemManager.service
 4.106s systemd-udev-trigger.service
 2.366s networking.service
 2.032s NetworkManager.service
 1.973s capemgr.service
 1.838s systemd-journald.service
 1.809s pppd-dns.service
 1.579s dnsmasq.service
 1.486s rsyslog.service
 1.098s avahi-daemon.service
  920ms systemd-logind.service
  856ms systemd-udevd.service
  845ms bb-wl18xx-wlan0.service
  737ms sys-fs-fuse-connections.mount
  730ms ssh.service
  724ms systemd-sysctl.service
  719ms systemd-timesyncd.service
  651ms sys-kernel-debug.mount
  604ms systemd-update-utmp.service
  592ms dev-mqueue.mount
  559ms sys-kernel-config.mount
  493ms systemd-remount-fs.service
  458ms polkit.service
  448ms systemd-user-sessions.service
  414ms systemd-tmpfiles-setup-dev.service
  413ms systemd-tmpfiles-setup.service
  360ms systemd-random-seed.service
  359ms systemd-journal-flush.service
  319ms systemd-modules-load.service
  319ms kmod-static-nodes.service
  225ms systemd-update-utmp-runlevel.service
  168ms bb-wl18xx-bluetooth.service


 I noticed that SSH key regeneration takes ~15s at boot. However, when I 
removed /etc/ssh/ssh.regenerate USB networking did not work anymore.

What else can I do to make the BBB boot faster?

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