Add support for tegra-igx (similar to tegra)

ubuntu/jammy
Loïc Minier 2 years ago committed by Remy MARTIN
parent 94236b73ca
commit a692ec8549
No known key found for this signature in database
GPG Key ID: 5EB1FC4D8FF33805

@ -400,6 +400,10 @@ case $IMAGEFORMAT in
MODEL=pi3-arm64 ;;
armhf+cm3)
MODEL=cm3 ;;
arm64+tegra)
MODEL=tegra ;;
arm64+tegra-igx)
MODEL=tegra-igx ;;
arm64+*)
MODEL=pc-arm64 ;;
*)
@ -863,6 +867,9 @@ case $PROJECT in
arm64+tegra)
variants='tegra'
;;
arm64+tegra-igx)
variants='tegra-igx'
;;
riscv64*)
# However, for RISC-V we only offer one kernel
variants='ga'
@ -894,6 +901,9 @@ case $PROJECT in
elif [ "$variant" = "tegra" ]; then
kernel_metapkg=linux-nvidia-tegra
flavor=nvidia-tegra
elif [ "$variant" = "tegra-igx" ]; then
kernel_metapkg=linux-nvidia-tegra-igx
flavor=nvidia-tegra-igx
else
echo "bogus variant: $variant"
exit 1
@ -1113,9 +1123,9 @@ case "$ARCH${SUBARCH:++$SUBARCH}" in
add_package install linux-firmware-raspi2 pi-bluetooth u-boot-rpi u-boot-tools
BINARY_REMOVE_LINUX=false
;;
arm64+tegra)
# Common configuration for all NVIDIA Tegra image variants (server,
# desktop etc.)
arm64+tegra|arm64+tegra-igx)
# Common configuration for all NVIDIA Tegra image variants
# (server, desktop etc.)
KERNEL_FLAVOURS="nvidia-$SUBARCH"
COMPONENTS='main restricted universe multiverse'
;;

@ -16,6 +16,8 @@ case $PASS in
kernel_metapkg=linux-intel-iotg
elif [ "$flavor" = "nvidia-tegra" ]; then
kernel_metapkg=linux-nvidia-tegra
elif [ "$flavor" = "nvidia-tegra-igx" ]; then
kernel_metapkg=linux-nvidia-tegra-igx
else
echo "bogus flavor: $flavor"
exit 1

Loading…
Cancel
Save