Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
whiptail --title "TI wl18xx Firmware Options" --radiolist \
"Choose TI wl18xx Firmware Version" 20 78 7 \
"8.9.0.0.79" "8.9.0.0.79" ON \
"8.9.0.0.81" "8.9.0.0.79" OFF \
"8.9.0.0.83" "8.9.0.0.79" OFF \
"8.9.0.0.84" "8.9.0.0.79" OFF \
"8.9.0.0.85" "8.9.0.0.79" OFF \
"8.9.0.0.86" "8.9.0.0.79" OFF \
// SPDX-License-Identifier: GPL-2.0-only
/*
* DT Overlay for RPi Camera V2.1 (Sony IMX219) interfaced with CSI0 on BBAI64 board.
*
* Copyright (C) 2022 Robert Nelson, BeagleBoard.org Foundation
*/
/dts-v1/;
/plugin/;
#!/bin/bash -e
if ! id | grep -q root; then
echo "must be run as root:"
exit
fi
version_message="1.20221010.1, rsync add -H option for hardlinks, final image running out of space..."
#mke2fs -c
#!/bin/bash -e
if ! id | grep -q root; then
echo "must be run as root:"
exit
fi
version_message="1.20221010.1, rsync add -H option for hardlinks, final image running out of space..."
#mke2fs -c
#!/usr/bin/python3
import os
import time
import sys
temp_raw = open("/sys/bus/iio/devices/iio:device0/in_temp_raw", "r")
temp_offset = open("/sys/bus/iio/devices/iio:device0/in_temp_offset", "r")
temp_scale = open("/sys/bus/iio/devices/iio:device0/in_temp_scale", "r")
@RobertCNelson
RobertCNelson / bbai-01
Last active October 4, 2022 16:06
bbai64-emmc-flasher-debian-11.5-minimal-arm64-2022-10-01-4gb.img.xz
U-Boot SPL 2021.01-g3419da0b (Jan 13 2022 - 15:29:57 +0000)
Model: Texas Instruments K3 J721E SoC
Board: BBONEAI-64-B0- rev B0
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.5.0--v2021.05 (Terrific Llam')
Trying to boot from MMC1
init_env from device 17 not supported!
Starting ATF on ARM64 core...
NOTICE: BL31: v2.5(release):e0d9fdb
NOTICE: BL31: Built : 20:08:51, Jan 7 2022
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2015 Robert Nelson <robertcnelson@gmail.com>
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/am33xx.h>
# vim: ft=udevrules
# apply this file only to pruss_uio devices and their children
# (unfortunately DRIVERS!="pruss_uio" doesn't work, hence this workaround)
DRIVERS=="pruss_uio", GOTO="PRUSS"
GOTO="END"
LABEL="PRUSS"
# obtain pruss instance name:
sudo ./setup_sdcard.sh --img-4gb bone-debian-11.3-iot-armhf-2022-06-28 --dtb beaglebone --distro-bootloader --enable-cape-universal --optional-uboot-uio-pru --enable-bypass-bootup-scripts
syncing media...
0+0 records in
0+0 records out
0 bytes copied, 8.6362e-05 s, 0.0 kB/s
-----------------------------
U-Boot Overlays Enabled...
Debug: ARM rootfs: armhf-rootfs-debian-bullseye.tar
Using Distro Bootloader
Installing collected packages: wrapt, typing-extensions, msgpack, python-can, psutil, future, pylink-square, pyelftools, progress, intelhex, canopen, anytree
Successfully installed anytree-2.8.0 canopen-2.0.0 future-0.18.2 intelhex-2.3.0 msgpack-1.0.3 progress-1.6 psutil-5.9.1 pyelftools-0.28 pylink-square-0.13.0 python-can-4.0.0 typing-extensions-4.2.0 wrapt-1.14.1
west build -d build/sensortest zephyr/samples/boards/beagle_bcf/sensortest -- -DOVERLAY_CONFIG=overlay-subghz.conf
-- west build: generating a build system
-- Application: /opt/source/bcf-zephyr/zephyr/samples/boards/beagle_bcf/sensortest
-- Zephyr version: 2.7.99 (/opt/source/bcf-zephyr/zephyr), build: 56855547db5c
-- Found Python3: /usr/bin/python3.9 (found suitable exact version "3.9.2") found components: Interpreter
-- Found west (found suitable version "0.13.1", minimum required is "0.7.1")
-- Board: beagleconnect_freedom
-- Cache files will be written to: /opt/source/bcf-zephyr/zephyr/.cache