beagleboneblack

How can BeagleBone Black be used as Mass Storage Device?

安稳与你 提交于 2019-12-03 09:37:36
Is it possible to use the BB as Mass Storage Device? I want it to be connected to an audio player that can read files from USB connectivity (such as USB flash drive) and act as data storage device containing one specific folder (and its sub-folders) from the file system (if possible, on a flash drive connected to the board.). As the device specs says, it has connectivity of: USB client for power & communications USB host Operating system will probably be Ubuntu but can be changed. What drivers or configurations needs to be done in order to achieve this? The latest images have already the mass

Unable to Flash eMMC from SD Card BeagleBone Black

孤街浪徒 提交于 2019-12-03 05:59:18
问题 I am working on BeagleBone Black and Debian running on it. I want to flash latest Debian image on my board. To do so I have downloaded a latest Debian image from link:BeagleBone Image and prepared an SD card using WinDisk image writer. As per tutorial I have inserted an SD card into the BeagleBone Black, pressed boot button and applied power. SD card image has booted. According to the tutorial flashing eMMC takes about 30-40 minutes, so I waited for about 2 hours (just to be sure). Then I

Trying to run a cross-compiled executable on target device fails with: No such file or directory

南楼画角 提交于 2019-12-03 03:39:49
I've got caught in the not-so-sunny world of cross-compilation. I'm trying to compile a simple hello world application for my BeagleBone Black (which runs a TI Cortex-A8 processor). First of all, I compiled and ran successfully the hello world application on x86 with gcc Then I changed my compilation settings to the following: arm-linux-gnueabi-gcc -c -O0 -g3 -Wall main.c -o bin/obj/main.o arm-linux-gnueabi-gcc bin/obj/main.o -o bin/hello_world I transferred the file via SCP to the BeagleBone, and set executable permissions with chmod +x hello_world Upon running it ( ./hello_world ), my only

what is the utility of the buildroot on beagleboneBlack?

你说的曾经没有我的故事 提交于 2019-12-02 19:27:39
问题 I don't understand what is the reason of buildroot of a card such as beaglebone black where as it has a Linux system when we bought.What is the utility of the buildroot? 回答1: Build a completely custom, lightweight, and fast-booting embedded Linux system? 回答2: Buildroot is a set of Makefiles and patches that makes it easy to generate a complete embedded Linux system . Buildroot can generate any or all of a cross-compilation toolchain, a root filesystem, a kernel image and a bootloader image.

Unable to Flash eMMC from SD Card BeagleBone Black

…衆ロ難τιáo~ 提交于 2019-12-02 19:25:10
I am working on BeagleBone Black and Debian running on it. I want to flash latest Debian image on my board. To do so I have downloaded a latest Debian image from link: BeagleBone Image and prepared an SD card using WinDisk image writer. As per tutorial I have inserted an SD card into the BeagleBone Black, pressed boot button and applied power. SD card image has booted. According to the tutorial flashing eMMC takes about 30-40 minutes, so I waited for about 2 hours (just to be sure). Then I removed an SD card from my board and power it on. It booted my previous image (eMMC was not Flashed by SD

SSH Beaglebone via ethernet port or Host USB

我与影子孤独终老i 提交于 2019-12-02 13:08:44
问题 I am still new to Beagle-bone black and was having fun until the USB device jack through which I used to SSH accidentally detached from the Beagle-Bone black. I am having a hard time getting the USB device jack (USB mini A/B type) soldered back to its place. That has forced me to look for other options to SSH device listed below. 1.) Ethernet cable. I tried to SSH at the default address 192.168.7.2 and port 22 by connecting a LAN cable from my PC to Beagle-Bone but it didn't work. Any inputs

OpenCV 3.2 gives Select Timeout when grabbing, but fswebcam works

落花浮王杯 提交于 2019-12-02 11:42:53
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 using fswebcam (fswebcam -r 1600x1200 --jpeg 95 -D 0 test.jpg) in a fraction of a second, as expected. I

what is the utility of the buildroot on beagleboneBlack?

十年热恋 提交于 2019-12-02 09:19:39
I don't understand what is the reason of buildroot of a card such as beaglebone black where as it has a Linux system when we bought.What is the utility of the buildroot? Build a completely custom, lightweight, and fast-booting embedded Linux system? Buildroot is a set of Makefiles and patches that makes it easy to generate a complete embedded Linux system . Buildroot can generate any or all of a cross-compilation toolchain, a root filesystem, a kernel image and a bootloader image. It is useful mainly for people working with small or embedded systems, using various CPU architectures (x86, ARM,

How to define a undefinded reference to a function

大憨熊 提交于 2019-12-02 08:40:50
I am working on two Beaglebone Black with Xenomai and RTnet. I have two c-files for a roundtrip ethernet frame between the BBB's. When I try to compile the first c-file there occur some errors: undefined reference to 'rt_task_self' rt_task_self is a function in my c-file and is declared in my headerfile "task.h". So in my opinion "undefined" means that it is just not defined in any cpp-file "task.cpp" for the headerfile "task.h". But I am a little bit confused: How do I tell my program that my headerfile "task.h" is defined in my other file "task.cpp" or "task.o" or... I have many header files

How to compile openssl 1.0.2f on Beaglebone Black?

五迷三道 提交于 2019-12-02 07:13:45
问题 Currently, I use command below to compile openssl 1.0.2f from openssl package: $ tar xzf openssl-1.0.2e.tar.gz $ cd openssl-1.0.2e $export PREFIX={PREFIX} $./Configure -DOPENSSL_NO_HEARTBEATS --openssldir=$PREFIX shared os/compiler:${TARGET} $ make This is architecture of Beaglebone Black $uname -a $Linux beaglebone 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l GNU/Linux I also try to set TARGET from list: linux-armv7l || linux-aarch64 || linux-alpha+bwx-ccc || linux-alpha+bwx-gcc|