beagleboneblack

Trouble with SPIDEV, device tree and .dtbo name with Beaglebone Black

跟風遠走 提交于 2019-12-23 19:19:20
问题 I have some weird issue with device tree. I found out that changing name of the .dtbo changed the beahvior of the kernel ! I have modified the BB-SPIDEV1-00A0.dts given in /lib/firmware with Angstrom : /* * Copyright (C) 2013 CircuitCo * * Virtual cape for SPI1 on connector pins P9.29 P9.31 P9.30 P9.28 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /dts

Steps to share internet with BeagleBone Black using USB from OS X

假如想象 提交于 2019-12-22 17:39:37
问题 Already tried: Connect the BBB with USB to iMac Share internet with the board from System Preferences->Sharing ssh to the board and then try to udhcp -i usb0 This is what it says: udhcpc (v1.20.2) started Gets stuck and I get and error: Write failed: Broken pipe ssh exits Any clues? 回答1: Your SSH session is getting stuck because you're connected to usb0 and the udhcpc command changed the IP address for it! At this point there's nothing listening on the other end of your ssh session, so your

Toolchain to crosscompile Applications for BBB

喜欢而已 提交于 2019-12-22 15:11:26
问题 My native machine is ubuntu based 14.04 LTS x86_64 system, I want to cross-compile applications and QT programs for Beaglebone black, which is an armv7 based system running on Debian 2015 distribution. Which toolchain I should install on my native system, to get this done? 回答1: Here is a very usefull link how to set up the crosscompiler, uboot, kernel and the filesystem for a beaglebone black. If you only want to crosscompiler, then just follow the few code lines in the Crosscompiler chapter

Turn off power to a USB port

筅森魡賤 提交于 2019-12-22 08:05:10
问题 I'm looking for a way to turn power off (and back on) for a USB port. Solution can be in C, bash, etc. I'm using a BeagleBone running 32-bit Ubuntu 16.04 for armhf. > uname -srvm Linux 4.4.6-ti-r15 #1 SMP Tue Apr 5 12:32:22 UTC 2016 armv7l I've tried many things discussed on StackOverflow and AskUbuntu, including: #include <linux/usbdevice_fs.h> int main(void) { int fd = open( "/dev/bus/usb/001/002", O_WRONLY ); if (fd < 0) return 1; int rc = ioctl( fd, USBDEVFS_RESET, 0 ); if (rc < 0) return

How do I install mongodb on the beaglebone black

瘦欲@ 提交于 2019-12-21 23:49:27
问题 Has anyone had any success running mongodb on the beaglebone black? do I have to install a different flavor of linux to get this to work or can I use angstrom. 回答1: MongoDB (as at 2.4) does not officially support ARM processors. You can watch/upvote SERVER-1811 in the issue tracker, however I wouldn't expect this to get much traction until there are 64-bit server-class ARM processors commonly available. In general a 32-bit low power ARM processor with limited memory (512Mb RAM on the

Chipsee 7 inch LCD support in Linux kernel 3.14

柔情痞子 提交于 2019-12-21 21:27:11
问题 Has anybody ported Chipsee 7 inch LCD on Linux kernel 3.14 or later ? Is there any patch available for the same ? If no patches any suggestion porting Chipsee LCD support from Linux kernel 3.8 to Linux kernel 3.14 ? Update: `/* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /dts-v1

Passing Bootargs via Chosen node in Device Tree not working for Beaglebone Black

喜欢而已 提交于 2019-12-21 17:35:11
问题 As per my understanding chosen node is used to send boot arguments to the kernel. The following is the chosen node of the existing device code (am335x-bone-common.dtsi). chosen { stdout-path = &uart0; }; So, I have modified chosen node to pass kernel arguments. chosen { bootargs = "console=ttyO0,115200 root=/dev/mmcblk0p2 rootfstype=ext3 rw rootwait"; stdout-path = &uart0; }; While bringing up the board I encountered KERNEL PANIC, Here is the log {https://pastebin.com/XHyrsmfG} FYI: These are

Where is g_multi configured in BeagleBone Black?

一世执手 提交于 2019-12-21 17:29:16
问题 With the default Debian installation in a BeableBone Black you can access it via USB as different devices: mass storage device, virtual ethernet and virtual serial uart. This is accomplished with the g_multi module. You can review its configuration via files in /sys/module/g_multi/parameters/ . I am trying to use it only as a mass storage device but with other disk/block device, not the second partition in the boot block device. I have checked that it is always the same partition not matter

How can BeagleBone Black be used as Mass Storage Device?

拟墨画扇 提交于 2019-12-21 02:35:25
问题 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

Turn USB power off/on with BeagleBone Black kernel >= 3.8

安稳与你 提交于 2019-12-20 10:40:50
问题 I need to: turn off -> sleep some seconds -> turn on the USB power of beaglebone black to be able to hardware-reset a device that is connected to USB (Huawei E220 Modem) Already tried soft-reset (with unbind/bind and with authorize 0/1), but software reset is not enough to make the device to work well again; the device has some weird bug, that is triggered by a long-time usage (after a few days connected). Many answers were found using /sys/debug/omap_mux, but this device does not exist