Arducopter on Beagle Bone Black Robotics Cape

Hi Guys,

Just checking what’s the differences (in term of running Arducopter) between the Beagle Bone Blue and Beagle Bone Black with Robotics Cape?

I have 2 beaglebone black with the robotics capes, can I use the binaries for the beagle blue directly on it? Guess the uEnv.txt will be different?

Thanks!

Hunter

Hello,

I should work using the ArduCopter with the BeagleBone Blue build as per @mirkix instructions :

As for the DTB file, most of the CAPE IO are the same except for LEDs (some are missing on the Robotic Cape), so it should not be a big problem if you are using RT Kernel 4.9 or 4.14 and map the IO using the config.pin on Universal cape the uEnv.txt.

Feel free to join us here: https://gitter.im/mirkix/BBBMINI for Questions/Answers

Thanks for the reply!

I have manage to get most parts working except the RX, I am using FrSKY X6R and I got nothing under Radio Calibration section of the Misson Planner.

I have tried both pin 4 of E4 and DSM sockets, both S.BUS or PPM receivers, none of them works :frowning:

The Arducopter binary was native built on the bone itself.

Here is my ./version.sh output:

root@beaglebone:/opt/scripts/tools# ./version.sh
git:/opt/scripts/:[73593ebe3b7d3cc381eeb502d45ccb33a6ec5e78]
eeprom:[A335BNLT00C01716BBBK0E73]
model:[TI_AM335x_BeagleBone_Blue]
dogtag:[BeagleBoard.org Debian Image 2018-08-15]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2018.03-00002-gac9cce7c6a]:[l ocation: dd MBR]
kernel:[4.14.67-ti-rt-r73]
nodejs:[v6.14.4]
device-tree-override:[dtb=am335x-boneblue.dtb]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[enable_uboot_cape_universal=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI- 00A0.dtbo]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.4.20180803.0-0rcnee0~stretch+20180804]
pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
pkg:[librobotcontrol]:[1.0.2-git20180829.0-0rcnee0~stretch+20180830]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M]
dmesg | grep pinctrl-single
[ 1.503375] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 2.760104] pinctrl-single 44e10800.pinmux: pin PIN39 already requested by ocp:P8_09_pinmux; cannot claim for ocp:helper
[ 2.771080] pinctrl-single 44e10800.pinmux: pin-39 (ocp:helper) status -22
[ 2.777999] pinctrl-single 44e10800.pinmux: could not request pin 39 (PIN39) from group pins on device pinctrl-single
[ 2.814584] pinctrl-single 44e10800.pinmux: pin PIN106 already requested by ocp:P9_91_pinmux; cannot claim for ocp:D13_pinmux
[ 2.826000] pinctrl-single 44e10800.pinmux: pin-106 (ocp:D13_pinmux) status -22
[ 2.833353] pinctrl-single 44e10800.pinmux: could not request pin 106 (PIN106) from group pinmux_D13_default_pin on device pinctrl-single
[ 2.864467] pinctrl-single 44e10800.pinmux: pin PIN89 already requested by ocp:P9_42_pinmux; cannot claim for ocp:C18_pinmux
[ 2.875773] pinctrl-single 44e10800.pinmux: pin-89 (ocp:C18_pinmux) status -22
[ 2.883040] pinctrl-single 44e10800.pinmux: could not request pin 89 (PIN89) from group pinmux_C18_default_pin on device pinctrl-single
[ 3.420561] pinctrl-single 44e10800.pinmux: pin PIN36 already requested by ocp:P8_07_pinmux; cannot claim for leds
[ 3.432211] pinctrl-single 44e10800.pinmux: pin-36 (leds) status -22
[ 3.438608] pinctrl-single 44e10800.pinmux: could not request pin 36 (PIN36) from group user_leds_s0 on device pinctrl-single
[ 3.652102] pinctrl-single 44e10800.pinmux: pin PIN48 already requested by 481aa000.serial; cannot claim for 0-0070
[ 3.662691] pinctrl-single 44e10800.pinmux: pin-48 (0-0070) status -22
[ 3.669443] pinctrl-single 44e10800.pinmux: could not request pin 48 (PIN48) from group nxp_hdmi_bonelt_pins on device pinctrl-single
dmesg | grep gpio-of-helper
[ 1.514935] gpio-of-helper ocp:cape-universal: ready
END
root@beaglebone:/opt/scripts/tools#

Here is uEnv.txt:

root@beaglebone:/boot# cat uEnv.txt

this uEnv.txt created by configure_robotics_dt

uname_r=4.14.67-ti-rt-r73
enable_uboot_overlays=1
enable_uboot_cape_universal=1
dtb=am335x-boneblue.dtb
cmdline=coherent_pool=1M
uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo
root@beaglebone:/boot#

What did I miss?

Thanks again!

Hunter

The link above makes reference to this wiki


It shows how to enable the PRU like this
/bin/echo pruecapin_pu >/sys/devices/platform/ocp/ocp:P8_15_pinmux/state