我有我的beaglebone黑色运行股票Angstrom Linux,并在我家连接到以太网.我可以使用SSH从连接到家庭网络的任何PC登录.我想知道如何从其他网络登录,说我在我的办公室,我连接到互联网.我想登录我家的beaglebone black,它连接到互联网.我怎样才能做到这一点?
提前致谢
我正在尝试使用运行 Angstrom(3.8 内核)的 Beaglebone Black 与位于 9600-N-8-1 的半双工 RS-485 网络上的设备进行通信。
我正在尝试使用与此类似的 RS-485 分线板:https : //www.sparkfun.com/products/10124,但芯片是 MAX3485 http://www.maximintegrated.com/datasheet/index .mvp/id/1079。我购买了预先组装有引脚和端子条的电路板。我的一个朋友用示波器对其进行了测试,并声称 RS-485 板确实可以工作。该板有五个连接到 BBB 的引脚。3-5V(电源)、RX-I、TX-O、RTS 和 GND。
我在 BBB 上禁用了 HDMI 支持,以便UART4_RTSn和UART4_CTSn引脚可用。
mkdir /mnt/boot
mount /dev/mmcblk0p1 /mnt/boot
nano /mnt/boot/uEnv.txt
#change contents of uEnv.txt to the following:
optargs=quiet capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
Run Code Online (Sandbox Code Playgroud)
然后我找到了一个覆盖来启用带有 RTS/CTS 控制的 UART-4:
/*
* Modified version of /lib/firmware/BB-UART4-00A0.dtbo to add RTS so we can reset Arduinos
*/
/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";
part-number = …Run Code Online (Sandbox Code Playgroud) 我正在尝试编译/运行在运行Ubuntu的BeagleBone Black上使用BlueCove库的程序.但是,我在运行时不断收到此错误:
Native Library bluecove_arm not available
javax.bluetooth.BluetoothStateException: BlueCove library bluecove not available
at com.intel.bluetooth.BlueCoveImpl.loadNativeLibraries(BlueCoveImpl.java:381)
at com.intel.bluetooth.BlueCoveImpl.detectStack(BlueCoveImpl.java:429)
at com.intel.bluetooth.BlueCoveImpl.access$500(BlueCoveImpl.java:65)
at com.intel.bluetooth.BlueCoveImpl$1.run(BlueCoveImpl.java:1020)
at java.security.AccessController.doPrivileged(Native Method)
at com.intel.bluetooth.BlueCoveImpl.detectStackPrivileged(BlueCoveImpl.java:1018)
at com.intel.bluetooth.BlueCoveImpl.getBluetoothStack(BlueCoveImpl.java:1011)
at javax.bluetooth.LocalDevice.getLocalDeviceInstance(LocalDevice.java:75)
at javax.bluetooth.LocalDevice.getLocalDevice(LocalDevice.java:95)
at edit.rit.ce.whud.DataServer.bluetoothHandler(DataServer.java:16)
at edit.rit.ce.whud.GUI.main(GUI.java:153)
Run Code Online (Sandbox Code Playgroud)
我知道这不是代码的问题,因为我可以在运行Mint的x64位Linux计算机上运行带有BlueCove库的代码(基于Ubuntu).我在网上搜索了几个解决方案,找不到解决我问题的解决方案.我已经使用这种方法为ARM重新编译了bluecove-gpl-2.1.0库
http://www.raspberrypi.org/forums/viewtopic.php?f=81&t=58758
并尝试通过终端和NetBeans IDE编译/运行代码.
我需要做一些其他步骤来完成这项工作吗?为什么即使在我为ARM重新编译它之后仍然无法使用Bluecove库?
我正处于在BeagleBone Black上开发无人机飞行控制器的(非常)早期阶段.我要提到的是,对于BBB,Linux和嵌入式系统,我是一个新手.我的学术重点一直是控制理论 - 这是我在Matlab仿真之外的第一次实际实现.我目前的系统如下:
主机 - > Windows 8.1 x64运行Eclipse Luna(4.4.0)
目标 - > BeagleBone Black rev.B运行Ubuntu 13.10
目标信息
root@arm:~# uname -a
Linux arm 3.8.13-bone32 #1 SMP Fri Dec 13 20:05:25 UTC 2013 armv7l armv7l armv7l GNU/Linux
Run Code Online (Sandbox Code Playgroud)
目标gcc版本
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.8/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.8.1-10ubuntu9' --with-bugurl=file:///usr/shar
e/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8
--enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --w
ith-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enabl
e-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm --disable-libquadmath --ena
ble-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr …Run Code Online (Sandbox Code Playgroud) 我在Ubuntu 14.04 LTS主机上使用QT Creator 3.5.1和QT 4.8.2,我为这样的ARM交叉编译配置了BeagleBone Kit:
我正在执行这些步骤,但在尝试编译默认QT项目时遇到错误
我错过了什么吗?如果找不到,则它不在编译器所在的位置.你是如何解决这个问题的?
这是我的项目文件
我使用Yocto为Beaglebone Black创建一个小的linux映像.我想我的大部分工作都像我想要的那样,除了我需要访问UART 2和4.当我使用标准的Debian图像时,我用设备树覆盖和capemgr做了这个.但是,我发现使用Yocto构建的内核没有capemgr.
我的选择似乎是:
选项2似乎更容易.
UART的设备树覆盖在这里和这里.我已经尝试过以某种方式包含这些内容.
这两种方法都会产生如下错误:
Error: am335x-boneblack.dts:1.1-2 syntax error
FATAL ERROR: Unable to parse input tree
Run Code Online (Sandbox Code Playgroud)
但是,我注意到在尝试编译am335x-boneblack.dts时我得到了类似的错误,即使没有修改它,所以我可能甚至没有做到这一点.(使用命令dtc -I dts -O dtb -o result.dtb am335x-boneblack.dts)
显然我不知道我在做什么.我怀疑设备树覆盖必须以某种方式进行修改,以便在我尝试使用它们的方式中使用.或者也许我没有做包含权限(只需在文件顶部添加#include).
有没有人有任何想法我可能做错了什么?我正在努力做甚么可能吗?
我正在运行一个带有两个 CAN 通道的程序(使用 TowerTech CAN Cape TT3201)。
两个通道是 can0 (500k) 和 can1 (125k)。can0 通道工作正常,但 can1 运行写入:无可用缓冲区空间错误。
我正在使用 ValueCAN3/VehicleSpy 来检查消息。
这是在我运行程序之前。can0 和 can1 似乎都发送,但在 VehicleSpy 中只显示 can0。
root@cantool:~# cansend can0 100#00
root@cantool:~# cansend can1 100#20
Run Code Online (Sandbox Code Playgroud)
这是在我尝试运行程序之后
root@cantool:~# cansend can1 100#20
write: No buffer space available
root@cantool:~# cansend can0 111#10
Run Code Online (Sandbox Code Playgroud)
当我的程序正在运行时:对于要在 can1 上发送的所有消息,我收到此错误
2016-11-02 15:36:03,052 - can.socketcan.native.tx - WARNING - Failed to send: 0.000000 12f83018 010 1 00
2016-11-02 15:36:03,131 - can.socketcan.native.tx - WARNING - Failed to send: 0.000000 0af81118 010 6 …Run Code Online (Sandbox Code Playgroud) 我有一个Beaglebone Black工业(BBBI),我认为它与Beaglebone Black非常相似.
我希望默认情况下让BBBI启动到microSD卡,我找到了这个指南,建议MLO从启动分区中删除该文件.这在几个基于谷歌的地方已经提到过,所以我认为值得尝试
为了重命名MLO文件,我试图$locate在没有microSD卡的情况下启动后找到该文件,microSD卡可能会在eMMC上启动到Debain.这产生以下结果:
/opt/backup/uboot/MLO
/opt/source/pru-software-support-package/pru_cape/bin/MLO
/opt/source/pru-software-support-package/pru_cape/bin/MLO/beaglebone
/opt/source/pru-software-support-package/pru_cape/bin/MLO/beaglebone_black
/opt/source/pru-software-support-package/pru_cape/bin/MLO/beaglebone_black/MLO
/opt/source/pru-software-support-package/pru_cape/bin/MLO/beaglebone/MLO
Run Code Online (Sandbox Code Playgroud)
我有双重检查,/boot没有MLO.有人能分享MLO的位置,还是我错过了一些非常明显的东西?
或者,是否有更简单的方法从microSD卡启动而不按S2按钮?
我有一个运行xinu的beagle bone black和在虚拟机上运行的VM中设置的开发环境.到目前为止,我已经能够在Xinu编写Hello world shell命令.所以我对xinu和beagle bone有一个基本的想法.我想将Cbor和COAP库移植到BBB.我只是复制include文件夹中的.c和.h文件以及"make"和"make install"吗?或者有更好/更复杂的方式吗?
尝试在 WSL Debian 中交叉编译 boost 1.69.0 我在没有 icu 或 python 支持的情况下运行 bootstrap.sh 。添加后
使用 gcc:arm:arm-linux-gnueabihf-g++;
运行时出现project-config.jam以下错误./b2 install
Performing configuration checks
- default address-model : 32-bit
- default architecture : arm
error: No best alternative for libs/context/build/asm_sources
next alternative: required properties: <abi>aapcs <address-model>32 <architecture>arm <binary-format>elf <threading>multi <toolset>clang
not matched
Run Code Online (Sandbox Code Playgroud)
它持续了好几行。
beagleboneblack ×10
linux ×4
arm ×2
c++ ×2
bluecove ×1
boost ×1
can-bus ×1
device-tree ×1
embedded ×1
java ×1
linux-kernel ×1
porting ×1
pyserial ×1
python ×1
qt ×1
qt-creator ×1
rs485 ×1
socketcan ×1
toolchain ×1
ubuntu ×1