beagleboneblack

Beaglebone Black Persistent Internet Over USB - Debian Image 2016-05.13 am335x_evm.sh

岁酱吖の 提交于 2020-01-26 04:20:12
问题 My internet over usb used to just work on my BBB but now every time I boot I have to manually add route add default gw 192.168.7.1 echo "nameserver 8.8.8.8" >> /etc/resolv.conf I as following this guide but in /opt/scripts/boot/am335x_evm.sh I can no longer find /sbin/ifconfig usb0 192.168.7.2 netmask 255.255.255.252 /usr/sbin/udhcpd -S /etc/udhcpd.conf` so I can add /sbin/route add default gw 192.168.7.1 metric 1 Where can I add this line? edit: Host computer is windows 10. 回答1: The kernel

Image Capture with OpenCV - Select Timeout Error

核能气质少年 提交于 2020-01-24 09:16:31
问题 I would like to save a captured image from my webcam attached BeagleBone Black, however when I run the following code, I get the error: select timeout. #include <iostream> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include "opencv2/opencv.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/videoio.hpp" using namespace std; using namespace cv; int main(){ cout<< "Hello, OpenCV version: "<< CV_VERSION << endl; Mat frame; VideoCapture cap(0); cap.set(CV

Compute clock cycle count on ARM Cortex-a8 BeagleBone Black

巧了我就是萌 提交于 2020-01-13 06:11:46
问题 I want to compute the clock cycle count for a specific function inside my c code which is going to be compiled and run on BeagleBone Black. I have no idea how I can do this. I searched over the web and I found this instruction: Clock Read method on Arndale board: Step-1: Inserting kernel module to enable user space access to PMU counters. Untar the attached file “arndale_clockread.tar.bz2” which is having Makefile and enableccnt.c. In Makefile change the “KERNELDIR” with your kernel source

Compute clock cycle count on ARM Cortex-a8 BeagleBone Black

允我心安 提交于 2020-01-13 06:11:09
问题 I want to compute the clock cycle count for a specific function inside my c code which is going to be compiled and run on BeagleBone Black. I have no idea how I can do this. I searched over the web and I found this instruction: Clock Read method on Arndale board: Step-1: Inserting kernel module to enable user space access to PMU counters. Untar the attached file “arndale_clockread.tar.bz2” which is having Makefile and enableccnt.c. In Makefile change the “KERNELDIR” with your kernel source

Compute clock cycle count on ARM Cortex-a8 BeagleBone Black

不羁岁月 提交于 2020-01-13 06:10:28
问题 I want to compute the clock cycle count for a specific function inside my c code which is going to be compiled and run on BeagleBone Black. I have no idea how I can do this. I searched over the web and I found this instruction: Clock Read method on Arndale board: Step-1: Inserting kernel module to enable user space access to PMU counters. Untar the attached file “arndale_clockread.tar.bz2” which is having Makefile and enableccnt.c. In Makefile change the “KERNELDIR” with your kernel source

Building Robert Nelson's Linux kernel into Yocto(daisy) for beaglebone black

◇◆丶佛笑我妖孽 提交于 2020-01-03 03:04:56
问题 I was trying to build Linux for beaglebone black from official repository https://github.com/beagleboard/linux I am able to fetch and run menuconfig but when i try to compile the kernel i get error. Following is the content of the recipe file. File name : linux-yocto-chipsee_3.14.bb path : /home/ankur/yocto_daisy/poky/meta-ybdevelop/recipes-example/linux inherit kernel require recipes-kernel/linux/linux-yocto.inc BRANCH = "3.14" # Override SRC_URI in a bbappend file to point at a different

DHT22 Sensor import Adafruit_DHT error

寵の児 提交于 2020-01-02 04:50:48
问题 So I've properly attached DHT22 Humidity Sensor to my BeagleBone Black Rev C. I'm running OS Mavericks on my MacBook Pro and I followed the directions provided by Adafruit on how to use my DHT22 The website I used was pretty clear: https://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/software-install-updated Also here is the github files I cloned: https://github.com/adafruit/Adafruit_Python_DHT I put in these lines: git clone https://github.com/adafruit/Adafruit

Enabling UART on Beaglebone Black

大憨熊 提交于 2020-01-01 18:53:49
问题 I'm having trouble getting UART enabled. I've gone through many different directions on how to enable and troubleshoot from updating the uEnv.txt file to updating the kernel. I've come to conclude that it may be an issue with using a different kernel than the instructions, but I'm not sure? I don't know very much about the Beaglebone and I'm still learning. Whenever I try to test UART by using Python and typing the following: import Adafruit_BBIO.UART as UART UART.setup("UART1") I get the

Enabling UART on Beaglebone Black

我们两清 提交于 2020-01-01 18:53:08
问题 I'm having trouble getting UART enabled. I've gone through many different directions on how to enable and troubleshoot from updating the uEnv.txt file to updating the kernel. I've come to conclude that it may be an issue with using a different kernel than the instructions, but I'm not sure? I don't know very much about the Beaglebone and I'm still learning. Whenever I try to test UART by using Python and typing the following: import Adafruit_BBIO.UART as UART UART.setup("UART1") I get the

OpenCV 3.2 gives Select Timeout when grabbing, but fswebcam works

二次信任 提交于 2019-12-31 05:17:08
问题 I'm having a bit of a weird issue here. Simply put, I'm trying to grab a frame from a camera (Mercury 2.0 Webcam embedded camera), but it's not going as expected. I'm running Debian Jessie on a BeagleBone Black. I've installed OpenCV 3.2 and tested it, my Vision algorithm is working fine with imread(), so it's time to start using the camera. The first issue I encountered was the camera not working in Ubuntu 16.04 minimal. So I switched to Debian Jessie and now I can grab 1600x1200 frames