Skip to content

Instantly share code, notes, and snippets.

root@BeagleBone:/home/debian# gt load bbb-acm-ncm-rndis.scheme g1
root@BeagleBone:/home/debian# show-gadgets
ID 1d6b:0104 'g1'
UDC musb-hdrc.0
bcdUSB 2.00
bDeviceClass 0x00
bDeviceSubClass 0x00
bDeviceProtocol 0x00
bMaxPacketSize0 64
idVendor 0x1d6b
U-Boot SPL 2019.04-g1da4564 (Aug 31 2021 - 14:32:40 +0000)
Trying to boot from MMC1
Loading Environment from EXT4... ** File not found /boot/uboot.env **
** Unable to read "/boot/uboot.env" from mmc0:1 **
U-Boot 2019.04-g1da4564 (Aug 31 2021 - 14:32:40 +0000)
CPU : AM335X-GP rev 2.1
U-Boot SPL 2019.04-g1da4564 (Aug 31 2021 - 14:32:40 +0000)
Trying to boot from MMC1
Loading Environment from EXT4... ** File not found /boot/uboot.env **
** Unable to read "/boot/uboot.env" from mmc0:1 **
U-Boot 2019.04-g1da4564 (Aug 31 2021 - 14:32:40 +0000)
CPU : AM335X-GP rev 2.1
#/etc/X11/xorg.conf
Section "Monitor"
Identifier "Builtin Default Monitor"
EndSection
Section "Device"
Identifier "Builtin Default fbdev Device 0"
Driver "fbdev"
EndSection
Section "Screen"
Identifier "Builtin Default fbdev Screen 0"
Log: Size of: [/mnt/storage/var/lib/jenkins/workspace/daily-riscv64-builds/ignore/tmp.TMOllaBYgt]: 1.5G
Calling chroot_script script: beagleboard.org-bullseye.sh
'/mnt/storage/var/lib/jenkins/workspace/daily-riscv64-builds/.project' -> '/mnt/storage/var/lib/jenkins/workspace/daily-riscv64-builds/ignore/tmp.TMOllaBYgt/etc/oib.project'
'/mnt/storage/var/lib/jenkins/workspace/daily-riscv64-builds/target/chroot/beagleboard.org-bullseye.sh' -> '/mnt/storage/var/lib/jenkins/workspace/daily-riscv64-builds/ignore/tmp.TMOllaBYgt/final.sh'
env: [_=/usr/bin/env
MAIL=/var/mail/root
SUDO_UID=119
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LC_ALL=C
SHLVL=0
#!/bin/bash
export apt_proxy=192.168.1.3:3142/
config=bb.org-debian-bullseye-iot-v5.10-ti-armhf
filesize=4gb
if [ -d ./deploy ] ; then
sudo rm -rf ./deploy || true
# /etc/udev/rules.d/80-gpio-noroot.rules
#
# ReWritten by: Matthijs van Duin
# Corrects sys GPIO permissions on the BB so non-root users in the gpio group can manipulate bits
#
SUBSYSTEM=="gpio", ACTION=="add", \
RUN+="/bin/chgrp -R gpio '/sys%p'", \
RUN+="/bin/chmod -R g=u '/sys%p'"
SUBSYSTEM=="subsystem", KERNEL=="gpio", ACTION=="add", \
#https://weblabdeusto.readthedocs.io/en/latest/installation.html
#Fresh Debian 10 install
apt update ;\
apt upgrade ;\
apt install etckeeper
#user:
adduser rcnee
adduser rcnee sudo
voodoo@debian-devbox:~/temp$ git clone [email protected]:starfive-tech/beagle_freedeom_u_sdk.git --depth=1
Cloning into 'beagle_freedeom_u_sdk'...
remote: Enumerating objects: 14410, done.
remote: Counting objects: 100% (14410/14410), done.
remote: Compressing objects: 100% (13333/13333), done.
remote: Total 14410 (delta 765), reused 14393 (delta 765), pack-reused 0
Receiving objects: 100% (14410/14410), 381.49 MiB | 36.48 MiB/s, done.
Resolving deltas: 100% (765/765), done.
voodoo@debian-devbox:~/temp$ cd ./beagle_freedeom_u_sdk
#!/bin/bash -e
#
DIR="$PWD"
TEMPDIR=$(mktemp -d)
###
imagename="beaglev-$(git rev-parse --short HEAD)"
image_size_mb="2048"
time=$(date +%Y-%m-%d)