Yocto BeagleBone Black
.devcontainer | ||
config | ||
meta-tom | ||
.gitignore | ||
bbb.yaml | ||
debug.yaml | ||
kas_python_packages.txt | ||
README.md |
Yocto BeagleBone Black
This repo contains the my Yocto stuff for the BeagleBone Black.
Setup
- Clone the repo
- Create a venv:
python3 -m venv venv
- Activate the venv:
source venv/bin/activate
- Install kas:
pip install -r kas_python_packages.txt
- Build the image:
kas build bbb.yaml:debug.yaml
Flash the image
- Install bmaptool
- Debian:
sudo apt install bmap-tools
- Debian:
- Flash the image using bmaptool:
sudo bmaptool copy build/tmp/deploy/images/beaglebone-tom/tom-bbb-image-beaglebone-tom.rootfs.wic /dev/sdX
Interact with image
- Connect to tty:
screen /dev/ttyUSB0 115200
- Login as
root
without password - Exit screen: STRG + A and \
Run QEMU
- Run the image in QEMU arm64:
kas shell bbb.yaml -c "runqemu slirp nographic"