Add support for tegra-igx (similar to tegra)

xnox/virtual-armhf
Loïc Minier 2 years ago
parent a239256c06
commit b6c9a4d711

@ -411,6 +411,8 @@ case $IMAGEFORMAT in
MODEL=cm3 ;; MODEL=cm3 ;;
arm64+tegra) arm64+tegra)
MODEL=tegra ;; MODEL=tegra ;;
arm64+tegra-igx)
MODEL=tegra-igx ;;
arm64+*) arm64+*)
MODEL=pc-arm64 ;; MODEL=pc-arm64 ;;
*) *)
@ -990,6 +992,9 @@ case $PROJECT in
tegra) tegra)
variants='tegra' variants='tegra'
;; ;;
tegra-igx)
variants='tegra-igx'
;;
*) *)
# variants='ga hwe' # variants='ga hwe'
variants='ga' variants='ga'
@ -1009,6 +1014,9 @@ case $PROJECT in
elif [ "$variant" = "tegra" ]; then elif [ "$variant" = "tegra" ]; then
kernel_metapkg=linux-nvidia-tegra kernel_metapkg=linux-nvidia-tegra
flavor=nvidia-tegra flavor=nvidia-tegra
elif [ "$variant" = "tegra-igx" ]; then
kernel_metapkg=linux-nvidia-tegra-igx
flavor=nvidia-tegra-igx
else else
echo "bogus variant: $variant" echo "bogus variant: $variant"
exit 1 exit 1
@ -1254,9 +1262,9 @@ case "$ARCH${SUBARCH:++$SUBARCH}" in
add_package install linux-firmware-raspi pi-bluetooth u-boot-rpi u-boot-tools add_package install linux-firmware-raspi pi-bluetooth u-boot-rpi u-boot-tools
BINARY_REMOVE_LINUX=false BINARY_REMOVE_LINUX=false
;; ;;
arm64+tegra) arm64+tegra|arm64+tegra-igx)
# Common configuration for all NVIDIA Tegra image variants (server, # Common configuration for all NVIDIA Tegra image variants
# desktop etc.) # (server, desktop etc.)
KERNEL_FLAVOURS="nvidia-$SUBARCH" KERNEL_FLAVOURS="nvidia-$SUBARCH"
;; ;;
riscv*+*) riscv*+*)

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

Loading…
Cancel
Save