Skip to content
Draft
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
2 changes: 2 additions & 0 deletions config/boards/sk-am62b.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ ATF_BOARD="lite"
OPTEE_ARGS="CFG_TEE_CORE_LOG_LEVEL=1"
OPTEE_PLATFORM="k3-am62x"
CC33XX_SUPPORT="yes"
GPU_SUPPORT="yes"
SOC_ID="am62"
2 changes: 2 additions & 0 deletions config/boards/sk-am64b.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ SERIALCON="ttyS2"
ATF_BOARD="lite"
OPTEE_ARGS=""
OPTEE_PLATFORM="k3-am64x"
SOC_ID="am64"
EXTRA_BOARD_PACKAGES=("firmware-ti-prueth-am64" "firmware-ti-pruhsr-am64" "firmware-ti-prusw-am64")
1 change: 1 addition & 0 deletions config/cli/common/main/packages
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ toilet
tzdata
u-boot-tools
usbutils
vim
wget
wireguard-tools
wireless-regdb
Expand Down
13 changes: 12 additions & 1 deletion config/sources/families/k3.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,24 @@ declare -g SPD_OPTEED="SPD=opteed"

declare -g INSTALL_HEADERS="yes"

declare -g TI_PACKAGES=()
declare -g TI_PACKAGES=("k3conf")
if [[ "${CC33XX_SUPPORT}" == "yes" ]] ; then
if [[ "${RELEASE}" == "trixie" || "${RELEASE}" == "noble" ]] ; then
TI_PACKAGES+=("cc33xx-fw" "cc33xx-target-scripts" "cc33conf" "cc33calibrator")
fi
fi

if [[ "${GPU_SUPPORT}" == "yes" ]] ; then
TI_PACKAGES+=("ti-img-rogue-driver-${SOC_ID}-dkms" "ti-img-rogue-umlibs-${SOC_ID}" "ti-img-rogue-tools-${SOC_ID}" "ti-img-rogue-firmware-${SOC_ID}")
TI_PACKAGES+=("mesa-vulkan-drivers" "libgl1-mesa-dri")
fi

TI_PACKAGES+=("firmware-cnm-wave" "firmware-ti-ipc-${SOC_ID}" "firmware-ti-connectivity")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should fix up the packaging to that firmware-ti-ipc is not SoC specific. The files are small and do not conflict with each other, better to just have a common package, that is more inline with the "Debian" way of packaging.

Copy link
Collaborator

@leggewie leggewie Sep 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point!

If you want to push some files to a package armbian-ti-common in APA, just let me know. Alternatively, there is of course also the armbian-firmware package where these files could be added.


if [[ ! -z ${EXTRA_BOARD_PACKAGES} ]] ; then
TI_PACKAGES+=("${EXTRA_BOARD_PACKAGES[@]}")
fi

enable_extension "ti-debpkgs"

case "${BRANCH}" in
Expand Down
8 changes: 8 additions & 0 deletions extensions/ti-debpkgs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,11 @@ function custom_apt_repo__install_ti_packages() {
display_alert "Valid Options Would Have Been: ${valid_suites[@]}"
fi
}

function post_install_kernel_debs__activate_dkms() {
if [[ ${GPU_SUPPORT} == "yes" ]] ; then
echo "SDCARD: ${SDCARD}"
kernel_version_family="$(ls ${SDCARD}/lib/modules | sort -V | tail -n1)" # $(grab_version "${SRC}/cache/sources/${LINUXSOURCEDIR}")
chroot_sdcard "dkms autoinstall --verbose --kernelver ${kernel_version_family}" || display_alert "DKMS build failed for kernel ${kernel_version_family}"
fi
}
Loading