Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions builds.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Builds for GitHub Actions
builds = [
"trixie-am62lxx-evm",
"trixie-rt-am62lxx-evm",
"trixie-am62pxx-evm",
"trixie-rt-am62pxx-evm",
"trixie-am62xx-evm",
Expand All @@ -25,6 +27,16 @@ builds = [
]

# List of all valid trixie builds
[trixie-am62lxx-evm]
machine = "am62lxx-evm"
distro_codename = "trixie"
rt_linux = "false"

[trixie-rt-am62lxx-evm]
machine = "am62lxx-evm"
distro_codename = "trixie"
rt_linux = "true"

[trixie-am62pxx-evm]
machine = "am62pxx-evm"
distro_codename = "trixie"
Expand Down
109 changes: 109 additions & 0 deletions configs/bdebstrap_configs/trixie/trixie-am62lxx-evm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
---
mmdebstrap:
architectures:
- arm64
mode: auto
keyrings:
- /usr/share/keyrings/debian-archive-keyring.gpg
suite: trixie
variant: standard
hostname: am62lxx-evm
components:
- main
- contrib
- non-free-firmware
packages:
- build-essential
- gpg
- curl
- firmware-ti-connectivity
- init
- iproute2
- less
- libdrm-dev
- libpam-systemd
- locales
- net-tools
- openssh-server
- sudo
- vim
- k3conf
- alsa-utils
- libasound2-plugins
- gstreamer1.0-tools
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- linux-image-6.12.13-k3
- linux-headers-6.12.13-k3
- linux-libc-dev
- libti-rpmsg-char
- libti-rpmsg-char-dev
- libpru-pssp-dev
- pru-pssp
- parted
- e2fsprogs
- wpasupplicant
- cc33xx-target-scripts
- cc33xx-fw
- cc33calibrator
- cc33conf
- udhcpc
- weston
- seatd
- ti-lvgl-demo
mirrors:
- http://deb.debian.org/debian
setup-hooks:
# Setup TI Debian Package Repository
- 'mkdir -p $1/etc/apt/sources.list.d/'
- 'wget https://raw.githubusercontent.com/TexasInstruments/ti-debpkgs/main/ti-debpkgs.sources -P $1/etc/apt/sources.list.d/'
- 'sed -i "s/bookworm/trixie/g" $1/etc/apt/sources.list.d/ti-debpkgs.sources'
# Setup Apt repository preferences
- 'mkdir -p $1/etc/apt/preferences.d/'
- 'printf "Package: *\nPin: origin TexasInstruments.github.io\nPin-Priority: 1001" >> $1/etc/apt/preferences.d/ti-debpkgs'
# Setup Kernel post-install scripts
- 'mkdir -p $1/etc/kernel/postinst.d/'
- 'echo "PWD = $PWD"'
- 'upload target/kernel/postinst.d/cp-kernel-and-overlays /etc/kernel/postinst.d/cp-kernel-and-overlays'
- 'chmod a+x $1/etc/kernel/postinst.d/cp-kernel-and-overlays'
essential-hooks:
# FIXME: Find a better workaround instead of sleep
- 'sleep 10' # workaround for /proc resource busy unable to umount issue
customize-hooks:
# Remove passwd for root user
- 'chroot "$1" passwd --delete root'
# Fix apt install mandb permission issue
- 'chroot "$1" chown -R man: /var/cache/man/'
- 'chroot "$1" chmod -R 755 /var/cache/man/'
# update packages to avoid mandatory update after first boot
- 'chroot "$1" apt-get update'
# systemd-networkd Network Files
- 'chroot "$1" mkdir -p /etc/systemd/network/'
- 'upload target/systemd-networkd/10-eth.network /etc/systemd/network/10-eth.network'
- 'upload target/systemd-networkd/15-eth.network /etc/systemd/network/15-eth.network'
- 'upload target/systemd-networkd/30-wlan.network /etc/systemd/network/30-wlan.network'
- 'upload target/systemd-networkd/60-usb.network /etc/systemd/network/60-usb.network'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Setup .bashrc for clean command-line experience
- 'chroot "$1" cp /etc/skel/.bashrc ~/.bashrc'
# Weston Service and Config Files
- 'chroot "$1" mkdir -p /etc/systemd/system/'
- 'upload target/weston/weston.service /etc/systemd/system/weston.service'
- 'upload target/weston/weston.socket /etc/systemd/system/weston.socket'
- 'chroot "$1" mkdir -p /etc/default/'
- 'upload target/weston/weston /etc/default/weston'
- '$BDEBSTRAP_HOOKS/enable-units "$1" weston'
- 'chroot "$1" echo "export WAYLAND_DISPLAY=wayland-1" >> $1/etc/profile'
# Enable ssh to root user without password
- 'chroot "$1" echo "PermitRootLogin yes" >> $1/etc/ssh/sshd_config'
- 'chroot "$1" echo "PermitEmptyPasswords yes" >> $1/etc/ssh/sshd_config'
# Resize Rootfs Service
- 'chroot "$1" mkdir -p /usr/bin'
- 'upload target/resize_rootfs/resize_rootfs.sh /usr/bin/resize_rootfs.sh'
- 'chroot "$1" chmod a+x /usr/bin/resize_rootfs.sh'
- 'chroot "$1" mkdir -p /etc/systemd/system/'
- 'upload target/resize_rootfs/resize_rootfs.service /etc/systemd/system/resize_rootfs.service'
- '$BDEBSTRAP_HOOKS/enable-units "$1" resize_rootfs'

5 changes: 2 additions & 3 deletions configs/bdebstrap_configs/trixie/trixie-am62pxx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ mmdebstrap:
- libdrm-dev
- libpam-systemd
- locales
- neofetch
- net-tools
- openssh-server
- sudo
Expand All @@ -37,8 +36,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.58-k3
- linux-headers-6.6.58-k3
- linux-image-6.12.13-k3
- linux-headers-6.12.13-k3
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62p-dkms
Expand Down
5 changes: 2 additions & 3 deletions configs/bdebstrap_configs/trixie/trixie-am62xx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ mmdebstrap:
- libdrm-dev
- libpam-systemd
- locales
- neofetch
- net-tools
- openssh-server
- sudo
Expand All @@ -37,8 +36,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.58-k3
- linux-headers-6.6.58-k3
- linux-image-6.12.13-k3
- linux-headers-6.12.13-k3
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62-dkms
Expand Down
5 changes: 2 additions & 3 deletions configs/bdebstrap_configs/trixie/trixie-am62xx-lp-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ mmdebstrap:
- libdrm-dev
- libpam-systemd
- locales
- neofetch
- network-manager
- net-tools
- openssh-server
Expand All @@ -38,8 +37,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.58-k3
- linux-headers-6.6.58-k3
- linux-image-6.12.13-k3
- linux-headers-6.12.13-k3
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62-dkms
Expand Down
5 changes: 2 additions & 3 deletions configs/bdebstrap_configs/trixie/trixie-am62xxsip-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ mmdebstrap:
- libdrm-dev
- libpam-systemd
- locales
- neofetch
- network-manager
- net-tools
- openssh-server
Expand All @@ -38,8 +37,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.58-k3
- linux-headers-6.6.58-k3
- linux-image-6.12.13-k3
- linux-headers-6.12.13-k3
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62-dkms
Expand Down
5 changes: 2 additions & 3 deletions configs/bdebstrap_configs/trixie/trixie-am64xx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,15 @@ mmdebstrap:
- libdrm-dev
- libpam-systemd
- locales
- neofetch
- network-manager
- net-tools
- openssh-server
- sudo
- vim
- k3conf
- weston
- linux-image-6.6.58-k3
- linux-headers-6.6.58-k3
- linux-image-6.12.13-k3
- linux-headers-6.12.13-k3
- linux-libc-dev
- cryptodev-linux-dkms
- firmware-ti-ipc-am64
Expand Down
109 changes: 109 additions & 0 deletions configs/bdebstrap_configs/trixie/trixie-rt-am62lxx-evm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
---
mmdebstrap:
architectures:
- arm64
mode: auto
keyrings:
- /usr/share/keyrings/debian-archive-keyring.gpg
suite: trixie
variant: standard
hostname: am62lxx-evm
components:
- main
- contrib
- non-free-firmware
packages:
- build-essential
- gpg
- curl
- firmware-ti-connectivity
- init
- iproute2
- less
- libdrm-dev
- libpam-systemd
- locales
- net-tools
- openssh-server
- sudo
- vim
- k3conf
- alsa-utils
- libasound2-plugins
- gstreamer1.0-tools
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- linux-image-6.12.13-k3-rt
- linux-headers-6.12.13-k3-rt
- linux-libc-dev
- libti-rpmsg-char
- libti-rpmsg-char-dev
- libpru-pssp-dev
- pru-pssp
- parted
- e2fsprogs
- wpasupplicant
- cc33xx-target-scripts
- cc33xx-fw
- cc33calibrator
- cc33conf
- udhcpc
- weston
- seatd
- ti-lvgl-demo
mirrors:
- http://deb.debian.org/debian
setup-hooks:
# Setup TI Debian Package Repository
- 'mkdir -p $1/etc/apt/sources.list.d/'
- 'wget https://raw.githubusercontent.com/TexasInstruments/ti-debpkgs/main/ti-debpkgs.sources -P $1/etc/apt/sources.list.d/'
- 'sed -i "s/bookworm/trixie/g" $1/etc/apt/sources.list.d/ti-debpkgs.sources'
# Setup Apt repository preferences
- 'mkdir -p $1/etc/apt/preferences.d/'
- 'printf "Package: *\nPin: origin TexasInstruments.github.io\nPin-Priority: 1001" >> $1/etc/apt/preferences.d/ti-debpkgs'
# Setup Kernel post-install scripts
- 'mkdir -p $1/etc/kernel/postinst.d/'
- 'echo "PWD = $PWD"'
- 'upload target/kernel/postinst.d/cp-kernel-and-overlays /etc/kernel/postinst.d/cp-kernel-and-overlays'
- 'chmod a+x $1/etc/kernel/postinst.d/cp-kernel-and-overlays'
essential-hooks:
# FIXME: Find a better workaround instead of sleep
- 'sleep 10' # workaround for /proc resource busy unable to umount issue
customize-hooks:
# Remove passwd for root user
- 'chroot "$1" passwd --delete root'
# Fix apt install mandb permission issue
- 'chroot "$1" chown -R man: /var/cache/man/'
- 'chroot "$1" chmod -R 755 /var/cache/man/'
# update packages to avoid mandatory update after first boot
- 'chroot "$1" apt-get update'
# Setup .bashrc for clean command-line experience
- 'chroot "$1" cp /etc/skel/.bashrc ~/.bashrc'
# Weston Service and Config Files
- 'chroot "$1" mkdir -p /etc/systemd/system/'
- 'upload target/weston/weston.service /etc/systemd/system/weston.service'
- 'upload target/weston/weston.socket /etc/systemd/system/weston.socket'
- 'chroot "$1" mkdir -p /etc/default/'
- 'upload target/weston/weston /etc/default/weston'
- '$BDEBSTRAP_HOOKS/enable-units "$1" weston'
- 'chroot "$1" echo "export WAYLAND_DISPLAY=wayland-1" >> $1/etc/profile'
# systemd-networkd Network Files
- 'chroot "$1" mkdir -p /etc/systemd/network/'
- 'upload target/systemd-networkd/10-eth.network /etc/systemd/network/10-eth.network'
- 'upload target/systemd-networkd/15-eth.network /etc/systemd/network/15-eth.network'
- 'upload target/systemd-networkd/30-wlan.network /etc/systemd/network/30-wlan.network'
- 'upload target/systemd-networkd/60-usb.network /etc/systemd/network/60-usb.network'
# Enable seatd service
- '$BDEBSTRAP_HOOKS/enable-units "$1" seatd'
# Enable ssh to root user without password
- 'chroot "$1" echo "PermitRootLogin yes" >> $1/etc/ssh/sshd_config'
- 'chroot "$1" echo "PermitEmptyPasswords yes" >> $1/etc/ssh/sshd_config'
# Resize Rootfs Service
- 'chroot "$1" mkdir -p /usr/bin'
- 'upload target/resize_rootfs/resize_rootfs.sh /usr/bin/resize_rootfs.sh'
- 'chroot "$1" chmod a+x /usr/bin/resize_rootfs.sh'
- 'chroot "$1" mkdir -p /etc/systemd/system/'
- 'upload target/resize_rootfs/resize_rootfs.service /etc/systemd/system/resize_rootfs.service'
- '$BDEBSTRAP_HOOKS/enable-units "$1" resize_rootfs'

5 changes: 2 additions & 3 deletions configs/bdebstrap_configs/trixie/trixie-rt-am62pxx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ mmdebstrap:
- libdrm-dev
- libpam-systemd
- locales
- neofetch
- net-tools
- openssh-server
- sudo
Expand All @@ -37,8 +36,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.58-k3-rt
- linux-headers-6.6.58-k3-rt
- linux-image-6.12.13-k3-rt
- linux-headers-6.12.13-k3-rt
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62p-dkms
Expand Down
5 changes: 2 additions & 3 deletions configs/bdebstrap_configs/trixie/trixie-rt-am62xx-evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ mmdebstrap:
- libdrm-dev
- libpam-systemd
- locales
- neofetch
- net-tools
- openssh-server
- sudo
Expand All @@ -37,8 +36,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.58-k3-rt
- linux-headers-6.6.58-k3-rt
- linux-image-6.12.13-k3-rt
- linux-headers-6.12.13-k3-rt
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62-dkms
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ mmdebstrap:
- libdrm-dev
- libpam-systemd
- locales
- neofetch
- network-manager
- net-tools
- openssh-server
Expand All @@ -38,8 +37,8 @@ mmdebstrap:
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-bad
- i2c-tools
- linux-image-6.6.58-k3-rt
- linux-headers-6.6.58-k3-rt
- linux-image-6.12.13-k3-rt
- linux-headers-6.12.13-k3-rt
- linux-libc-dev
- cryptodev-linux-dkms
- ti-img-rogue-driver-am62-dkms
Expand Down
Loading
Loading