diff --git a/builds.toml b/builds.toml index 5ca8355..f0086dc 100644 --- a/builds.toml +++ b/builds.toml @@ -2,36 +2,66 @@ # Builds for GitHub Actions builds = [ - "am62p-bookworm-09.01.00.008", - "am62-bookworm-09.01.00.008", - "am62lp-bookworm-09.01.00.008", - "am62sip-bookworm-09.01.00.008", - "am64-bookworm-09.01.00.008", + "am62p-bookworm-09.02.00.001", + "am62p-bookworm-09.02.00.001-rt", + "am62-bookworm-09.02.00.001", + "am62-bookworm-09.02.00.001-rt", + "am62lp-bookworm-09.02.00.001", + "am62lp-bookworm-09.02.00.001-rt", + "am62sip-bookworm-09.02.00.001", + "am62sip-bookworm-09.02.00.001-rt", + "am64-bookworm-09.02.00.001", + "am64-bookworm-09.02.00.001-rt", ] # List of all valid builds -[am62p-bookworm-09.01.00.008] +[am62p-bookworm-09.02.00.001] machine = "am62pxx-evm" - bsp_version = "09.01.00.008" + bsp_version = "09.02.00.001" distro_variant = "am62p-bookworm" -[am62-bookworm-09.01.00.008] +[am62p-bookworm-09.02.00.001-rt] + machine = "am62pxx-evm" + bsp_version = "09.02.00.001-rt" + distro_variant = "am62p-bookworm-rt" + +[am62-bookworm-09.02.00.001] machine = "am62xx-evm" - bsp_version = "09.01.00.008" + bsp_version = "09.02.00.001" distro_variant = "am62-bookworm" -[am62lp-bookworm-09.01.00.008] +[am62-bookworm-09.02.00.001-rt] + machine = "am62xx-evm" + bsp_version = "09.02.00.001-rt" + distro_variant = "am62-bookworm-rt" + +[am62lp-bookworm-09.02.00.001] machine = "am62xx-lp-evm" - bsp_version = "09.01.00.008" + bsp_version = "09.02.00.001" distro_variant = "am62-bookworm" -[am62sip-bookworm-09.01.00.008] +[am62lp-bookworm-09.02.00.001-rt] + machine = "am62xx-lp-evm" + bsp_version = "09.02.00.001-rt" + distro_variant = "am62-bookworm-rt" + +[am62sip-bookworm-09.02.00.001] machine = "am62xxsip-evm" - bsp_version = "09.01.00.008" + bsp_version = "09.02.00.001" distro_variant = "am62-bookworm" -[am64-bookworm-09.01.00.008] +[am62sip-bookworm-09.02.00.001-rt] + machine = "am62xxsip-evm" + bsp_version = "09.02.00.001-rt" + distro_variant = "am62-bookworm-rt" + +[am64-bookworm-09.02.00.001] machine = "am64xx-evm" - bsp_version = "09.01.00.008" + bsp_version = "09.02.00.001" distro_variant = "am64-bookworm" +[am64-bookworm-09.02.00.001-rt] + machine = "am64xx-evm" + bsp_version = "09.02.00.001-rt" + distro_variant = "am64-bookworm-rt" + diff --git a/configs/bdebstrap_configs/am62-bookworm-rt.yaml b/configs/bdebstrap_configs/am62-bookworm-rt.yaml new file mode 100644 index 0000000..3b56fad --- /dev/null +++ b/configs/bdebstrap_configs/am62-bookworm-rt.yaml @@ -0,0 +1,106 @@ +--- +mmdebstrap: + architectures: + - arm64 + mode: auto + keyrings: + - /usr/share/keyrings/debian-archive-keyring.gpg + suite: bookworm + variant: standard + components: + - main + - contrib + - non-free-firmware + packages: + - build-essential + - gpg + - curl + - firmware-ti-connectivity + - init + - iproute2 + - less + - libdrm-dev + - libpam-systemd + - locales + - neofetch + - network-manager + - net-tools + - openssh-server + - sudo + - vim + - k3conf + - weston + - alsa-utils + - libasound2-plugins + - gstreamer1.0-tools + - gstreamer1.0-plugins-base + - gstreamer1.0-plugins-good + - gstreamer1.0-plugins-bad + - i2c-tools + - linux-image-6.1.69-rt21-k3-rt + - linux-headers-6.1.69-rt21-k3-rt + - linux-libc-dev + - cryptodev-linux-dkms + - ti-img-rogue-driver-am62-dkms + - ti-img-rogue-firmware-am62 + - ti-img-rogue-tools-am62 + - ti-img-rogue-umlibs-am62 + - firmware-ti-ipc-am62 + - firmware-cnm-wave + - libti-rpmsg-char + - libti-rpmsg-char-dev + - libd3dadapter9-mesa-dev + - libd3dadapter9-mesa + - libegl-mesa0 + - libegl1-mesa + - libgbm1 + - libgl1-mesa-dri + - libgl1-mesa-glx + - libglapi-mesa + - libgles2-mesa + - libglx-mesa0 + - libosmesa6 + - libwayland-egl1-mesa + - mesa-opencl-icd + - mesa-va-drivers + - mesa-vdpau-drivers + - mesa-vulkan-drivers + 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/' + # 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' + # 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' + diff --git a/configs/bdebstrap_configs/am62-bookworm.yaml b/configs/bdebstrap_configs/am62-bookworm.yaml index 795164c..7f15309 100644 --- a/configs/bdebstrap_configs/am62-bookworm.yaml +++ b/configs/bdebstrap_configs/am62-bookworm.yaml @@ -37,8 +37,8 @@ mmdebstrap: - gstreamer1.0-plugins-good - gstreamer1.0-plugins-bad - i2c-tools - - linux-image-6.1.46-k3 - - linux-headers-6.1.46-k3 + - linux-image-6.1.69-k3 + - linux-headers-6.1.69-k3 - linux-libc-dev - cryptodev-linux-dkms - ti-img-rogue-driver-am62-dkms diff --git a/configs/bdebstrap_configs/am62p-bookworm-rt.yaml b/configs/bdebstrap_configs/am62p-bookworm-rt.yaml new file mode 100644 index 0000000..3465685 --- /dev/null +++ b/configs/bdebstrap_configs/am62p-bookworm-rt.yaml @@ -0,0 +1,106 @@ +--- +mmdebstrap: + architectures: + - arm64 + mode: auto + keyrings: + - /usr/share/keyrings/debian-archive-keyring.gpg + suite: bookworm + variant: standard + components: + - main + - contrib + - non-free-firmware + packages: + - build-essential + - gpg + - curl + - firmware-ti-connectivity + - init + - iproute2 + - less + - libdrm-dev + - libpam-systemd + - locales + - neofetch + - network-manager + - net-tools + - openssh-server + - sudo + - vim + - k3conf + - weston + - alsa-utils + - libasound2-plugins + - gstreamer1.0-tools + - gstreamer1.0-plugins-base + - gstreamer1.0-plugins-good + - gstreamer1.0-plugins-bad + - i2c-tools + - linux-image-6.1.69-rt21-k3-rt + - linux-headers-6.1.69-rt21-k3-rt + - linux-libc-dev + - cryptodev-linux-dkms + - ti-img-rogue-driver-am62p-dkms + - ti-img-rogue-firmware-am62p + - ti-img-rogue-tools-am62p + - ti-img-rogue-umlibs-am62p + - firmware-ti-ipc-am62p + - firmware-cnm-wave + - libti-rpmsg-char + - libti-rpmsg-char-dev + - libd3dadapter9-mesa-dev + - libd3dadapter9-mesa + - libegl-mesa0 + - libegl1-mesa + - libgbm1 + - libgl1-mesa-dri + - libgl1-mesa-glx + - libglapi-mesa + - libgles2-mesa + - libglx-mesa0 + - libosmesa6 + - libwayland-egl1-mesa + - mesa-opencl-icd + - mesa-va-drivers + - mesa-vdpau-drivers + - mesa-vulkan-drivers + 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/' + # 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' + # 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' + diff --git a/configs/bdebstrap_configs/am62p-bookworm.yaml b/configs/bdebstrap_configs/am62p-bookworm.yaml index e585072..c82d0db 100644 --- a/configs/bdebstrap_configs/am62p-bookworm.yaml +++ b/configs/bdebstrap_configs/am62p-bookworm.yaml @@ -37,8 +37,8 @@ mmdebstrap: - gstreamer1.0-plugins-good - gstreamer1.0-plugins-bad - i2c-tools - - linux-image-6.1.46-k3 - - linux-headers-6.1.46-k3 + - linux-image-6.1.69-k3 + - linux-headers-6.1.69-k3 - linux-libc-dev - cryptodev-linux-dkms - ti-img-rogue-driver-am62p-dkms diff --git a/configs/bdebstrap_configs/am64-bookworm-rt.yaml b/configs/bdebstrap_configs/am64-bookworm-rt.yaml new file mode 100644 index 0000000..6eb0c2b --- /dev/null +++ b/configs/bdebstrap_configs/am64-bookworm-rt.yaml @@ -0,0 +1,74 @@ +--- +mmdebstrap: + architectures: + - arm64 + mode: auto + keyrings: + - /usr/share/keyrings/debian-archive-keyring.gpg + suite: bookworm + variant: standard + components: + - main + - contrib + - non-free-firmware + packages: + - build-essential + - gpg + - curl + - firmware-ti-connectivity + - init + - iproute2 + - less + - libdrm-dev + - libpam-systemd + - locales + - neofetch + - network-manager + - net-tools + - openssh-server + - sudo + - vim + - k3conf + - weston + - linux-image-6.1.69-rt21-k3-rt + - linux-headers-6.1.69-rt21-k3-rt + - linux-libc-dev + - cryptodev-linux-dkms + - firmware-ti-ipc-am64 + - firmware-cnm-wave + - firmware-ti-prueth-am64 + - firmware-ti-pruhsr-am64 + - firmware-ti-prusw-am64 + - libti-rpmsg-char + - libti-rpmsg-char-dev + 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/' + # 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' + # 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' + diff --git a/configs/bdebstrap_configs/am64-bookworm.yaml b/configs/bdebstrap_configs/am64-bookworm.yaml index 0b5bd32..9f48cfe 100644 --- a/configs/bdebstrap_configs/am64-bookworm.yaml +++ b/configs/bdebstrap_configs/am64-bookworm.yaml @@ -30,8 +30,8 @@ mmdebstrap: - vim - k3conf - weston - - linux-image-6.1.46-k3 - - linux-headers-6.1.46-k3 + - linux-image-6.1.69-k3 + - linux-headers-6.1.69-k3 - linux-libc-dev - cryptodev-linux-dkms - firmware-ti-ipc-am64 diff --git a/configs/bsp_sources.toml b/configs/bsp_sources.toml index e572f11..dd9a5b3 100644 --- a/configs/bsp_sources.toml +++ b/configs/bsp_sources.toml @@ -1,6 +1,12 @@ -[09.01.00.008] +[09.02.00.001] atf_srcrev = "d7a7135d32a8c7da004c0c19b75bd4e2813f9759" optee_srcrev = "2a5b1d1232f582056184367fb58a425ac7478ec6" - uboot_srcrev = "09.01.00.008" - linux_fw_srcrev = "09.01.00.008" + uboot_srcrev = "09.02.00.001" + linux_fw_srcrev = "09.02.00.001" + +[09.02.00.001-rt] + atf_srcrev = "d7a7135d32a8c7da004c0c19b75bd4e2813f9759" + optee_srcrev = "2a5b1d1232f582056184367fb58a425ac7478ec6" + uboot_srcrev = "09.02.00.001" + linux_fw_srcrev = "09.02.00.001"