Skip to content

Instantly share code, notes, and snippets.

View gist:b1aea37eb27a9560cf079ae8ab2f367b
-----------------------------------------------------------
2020-01-15T17:37:34.282Z Install : node-red-contrib-audio 1.0.2
2020-01-15T17:37:34.337Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-contrib-audio@1.0.2
2020-01-15T17:38:45.690Z [out]
2020-01-15T17:38:45.690Z [out] > lame@1.2.4 install /var/lib/node-red/.node-red/node_modules/lame
2020-01-15T17:38:45.690Z [out] > node-gyp rebuild
2020-01-15T17:38:45.690Z [out]
2020-01-15T17:39:35.874Z [out] make: Entering directory '/var/lib/node-red/.node-red/node_modules/lame/build'
View setup-arm-server.md
sudo dpkg --add-architecture armhf
sudo add-apt-repository universe
sudo add-apt-repository -y ppa:certbot/certbot
sudo apt update; sudo apt upgrade -y
git clone https://github.com/beagleboard/beagleboard-org beagleboard.org
sudo apt install -y openjdk-8-jre nginx buildbot software-properties-common certbot python-certbot-nginx php7.2 mysql-server php7.2-mysql php7.2-fpm php7.2-gd php7.2-xml php7.2-mbstring
# sudo update-alternatives --config java
./beagleboard.org/install.sh
sudo cp ./beagleboard.org/scripts/sites-ebabled-default  /etc/nginx/sites-enabled/default
View Notes for TechLab setup.md

http://bbb.io/t

  • IDE on port 3000 right now
  • Resize fonts to 32
  • host: nm-connection-editor (share to the first one, require IPv4) target: sudo ip addr flush usb0; sudo dhclient usb0 WAIT
  • (for startup speed) sudo apt update; sudo apt install bonescript
View beaglebone-ai-boot-to-python.txt
[0.000001 0.000001]
[0.000130 0.000129]
[0.000181 0.000051] U-Boot 2019.07-rc4-00001-g607b5b738b (Jul 06 2019 - 21:01:15 -0500), Build: jenkins-github_Bootloader-Builder-127
[0.005038 0.004857]
[0.005094 0.000056] CPU : DRA752-GP ES2.0
[0.005510 0.000416] Model: BeagleBoard.org BeagleBone AI
[0.006006 0.000496] Board: BeagleBone AI REV A
[0.006410 0.000404] DRAM: 1 GiB
[0.032035 0.025625] MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
[0.172613 0.140578] CTRL_CORE_PAD_I2C1_SDA: 0x00060000
View gist:d91cf933a78f1f7fe1b81e3778b30743
jkridner@tupper:~/beagledust/sw/zephyrproject/zephyr$ west build --pristine -b beagledust samples/subsys/greybus
-- west build: making build dir /home/jkridner/beagledust/sw/zephyrproject/zephyr/build pristine
-- west build: build configuration:
source directory: /home/jkridner/beagledust/sw/zephyrproject/zephyr/samples/subsys/greybus
build directory: /home/jkridner/beagledust/sw/zephyrproject/zephyr/build
BOARD: beagledust (origin: command line)
-- west build: generating a build system
Zephyr version: 2.0.99
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.8", minimum required is "3.4")
-- Selected BOARD beagledust
View boardPadDelayInit.c
/**
* Note: This file was auto-generated by TI PinMux on 9/23/2019 at 9:37:58 AM.
*
* \file boardPadDelayInit.c
*
* \brief This file contain manual/vritual iodelay mode definitions
*
* \copyright Copyright (CU) 2015-2018 Texas Instruments Incorporated -
* http://www.ti.com/
*/
View boneaj.js
exports.x = [
{"key":"P8_3","gpio":"24","ball[0]":"AB8","ball[1]":"","muxRegOffset[0]":"0x179C","muxRegOffset[1]":"","option[0]":"mmc3_dat6","option[1]":"spi4_d0","option[2]":"uart10_ctsn","option[3]":"","option[4]":"vin2b_de1","option[5]":"","option[6]":"","option[7]":"","option[8]":"","option[9]":"vin5a_hsync0","option[10]":"ehrpwm3_tripzone_input","option[11]":"pr2_mii1_rxd1","option[12]":"pr2_pru0_gpi10","option[13]":"pr2_pru0_gpo10","option[14]":"gpio1_24","option[15]":"Driver off","option[16]":"","option[17]":"","option[18]":"","option[19]":"","option[20]":"","option[21]":"","option[22]":"","option[23]":"","option[24]":"","option[25]":"","option[26]":"","option[27]":"","option[28]":"","option[29]":"","option[30]":"","option[31]":""},
{"key":"P8_4","gpio":"25","ball[0]":"AB5","ball[1]":"","muxRegOffset[0]":"0x17A0","muxRegOffset[1]":"","option[0]":"mmc3_dat7","option[1]":"spi4_cs0","option[2]":"uart10_rtsn","option[3]":"","option[4]":"vin2b_clk1","option[5]":"","option[6]":"","option[7]":"","option[8]":"