Debian packaging repository for Gemstone Board Support Package (BSP) files. This repository builds and distributes bootloader and device tree files for embedded Linux boards as installable DEB packages.
| Board | Package Name | SoC |
|---|---|---|
| T3 GEM O1 | gem-t3-gem-o1-bsp |
TI AM67A |
| BeagleY-AI | gem-beagley-ai-bsp |
TI AM67A |
Each BSP package contains:
- TI boot firmware (
tiboot3.bin) - Device tree blob(s) (
*.dtb) - Device tree overlays (
*.dtbo)
All files are installed to /boot/.
- Debian-based system with
debhelper,devscripts,build-essential - Access to Yocto build artifacts
- Git repository checkout
Install build dependencies:
sudo apt install debhelper devscripts build-essential fakeroot-
Update the changelog for your board:
cd t3-gem-o1/ DEBFULLNAME="Gemstone Dev Team" \ DEBEMAIL="[email protected]" \ dch -v "1.0.0-1" "Initial release" # Add meta-gemstone revision info to track exact # versions of the kernel, u-boot and initramfs. dch -a "meta-gemstone revision: 93976e7f8b7cafd50f2354895f1723bb6896bdd8" # Mark as released (finalizes the entry) dch -D unstable -r ""
Example result:
gem-t3-gem-o1-bsp (1.0.0-1) unstable; urgency=medium * Initial release * meta-gemstone revision: 93976e7f8b7cafd50f2354895f1723bb6896bdd8 -- Gemstone Dev Team <[email protected]> Fri, 04 Oct 2025 10:40:35 +0300 -
Place Yocto artifacts in the board directory:
<board-name>/ ├── tiboot3.bin ├── k3-am67a-<board-name>.dtb └── *.dtbo
-
Build using the helper script:
./scripts/build-board-deb.sh <board-name>
-
Install the built package:
sudo dpkg -i ../gem-<board-name>-bsp_*.deb
Packages are built automatically via GitHub Actions workflows.
Prerequisites:
- Yocto build artifacts stored in
t3gemstone/sdkrepository - Workflow run ID from the Yocto build
Steps:
-
Update the changelog and push:
cd t3-gem-o1/ # Set maintainer info DEBFULLNAME="Gemstone Dev Team" \ DEBEMAIL="[email protected]" \ dch -v "1.0.1-1" "Update bootloader" # Add revision dch -a "meta-gemstone revision: <commit-hash>" # Finalize dch -D unstable -r "" # Commit and push git add debian/changelog git commit -m "Bump T3-GEM-O1 BSP to 1.0.1-1" git push
-
Trigger the workflow:
- Go to Actions → Select workflow
- Click "Run workflow"
- Enter the Yocto workflow run ID (see Finding Yocto Run ID)
- The version will be read automatically from
debian/changelog
-
Download the package:
- Check the workflow run artifacts
- Or download from the created release
# List recent workflow runs in your Yocto repository
gh run list --repo t3gemstone/sdk --limit 10
# Get the run ID (sixth column)
# Example output:
# STATUS TITLE WORKFLOW BRANCH EVENT ID ELAPSED AGE
# ✓ Build Yocto Images Build Yocto Images main workflow_dispatch 18278937015 2h49m5s about 17 hours agoUse the ID (18278937015) as input to the DEB build workflow.
Follow Debian changelog format with version format MAJOR.MINOR.PATCH-REVISION:
gem-t3-gem-o1-bsp (1.0.0-1) unstable; urgency=medium
* Initial release
* meta-gemstone revision: 93976e7f8b7cafd50f2354895f1723bb6896bdd8
-- Gemstone Dev Team <[email protected]> Fri, 04 Oct 2025 10:40:35 +0300
Version Format:
1.0.0- Semantic version (MAJOR.MINOR.PATCH)-1- Debian revision (increment for packaging changes with same upstream version)
Versioning Rules:
-
When binaries change (new bootloader, new firmware, etc.):
- Increment semantic version:
1.0.0→1.1.0or1.0.1 - Reset Debian revision to
-1:1.1.0-1 - Example:
1.0.0-3→1.1.0-1(new bootloader)
- Increment semantic version:
-
When only packaging changes (debian/ files modified, same binaries):
- Keep semantic version unchanged
- Increment Debian revision:
-1→-2→-3 - Example:
1.0.0-1→1.0.0-2(fixed package description)
IMPORTANT: Do not commit binary files to this repository!
The following files should NEVER be committed:
*.img,*.bin*.dtb,*.dtbo*.debpackages- Build artifacts
These are excluded by .gitignore and should only exist temporarily during builds.