Public bug reported:

[ Impact ]

 * This SRU updates the /lib/firmware files for the NVIDIA Tegra Jetson Orin 
and Thor devices with Jetson Linux v39.2.2.
 * Firmware updates are necessary to guarantee full compatibility with the 
linux-nvidia-tegra kernel for Noble.
 * The target series for this change is Noble
 * Most importantly, this update ships firmware for the display and for the 
NVIDIA Programmable Vision Accelerator (PVA). Which require specific 
installation of packages not in Ubuntu, as described in this guide: 
https://canonical-ubuntu-for-jetson.readthedocs-hosted.com/classic/installation-noble/#install-nvidia-proprietary-software

[ Test Plan ]

 * Flash and boot a Jetson AGX Thor and a Jetson AGX Orin using a daily
Ubuntu for Jetson image built with the rel-39 aligned kernel
(https://cdimage.ubuntu.com/nvidia-tegra/ubuntu-server/noble/daily-
preinstalled/current/noble-preinstalled-server-arm64+tegra-
jetson.img.xz)

 * Connect the HDMI port to a 4K monitor, then run the following command
as root, the device will auto wake up after 30 seconds and the display
output will be back.

   ```
   sudo rtcwake -d /dev/rtc0 -m no -s 30 && sudo systemctl suspend
   ```

 * Install all the necessary `nvidia-l4t` and  `VPI` packages as
described on this guide: https://canonical-ubuntu-for-
jetson.readthedocs-hosted.com/latest/classic/jp-installation/#install-
nvidia-proprietary-software

   Then run the VPI samples using the following commands, all the
samples must succeed.

   ```
   set -ex
   
   cd /opt/nvidia/vpi4/samples/01-convolve_2d
   sudo /usr/bin/python3 main.py pva ../assets/kodim08.png
   echo $?
   
   cd /opt/nvidia/vpi4/samples/02-stereo_disparity
   sudo /usr/bin/python3 main.py ofa ../assets/chair_stereo_left.png 
../assets/chair_stereo_right.png
   echo $?
   sudo /usr/bin/python3 main.py ofa-pva-vic ../assets/chair_stereo_left.png 
../assets/chair_stereo_right.png
   echo $?
   
   cd /opt/nvidia/vpi4/samples/03-harris_corners
   sudo /usr/bin/python3 main.py pva ../assets/kodim08.png
   echo $?
   
   cd /opt/nvidia/vpi4/samples/06-klt_tracker
   sudo /usr/bin/python3 main.py pva ../assets/dashcam.mp4 
../assets/dashcam_bboxes.txt
   echo $?
   
   cd /opt/nvidia/vpi4/samples/09-tnr
   sudo /usr/bin/python3 main.py vic ../assets/noisy.mp4
   echo $?
   
   cd /opt/nvidia/vpi4/samples/10-perspwarp
   sudo /usr/bin/python3 main.py vic  ../assets/noisy.mp4
   echo $?
   ```

 * Update the linux-firmware-nvidia-tegra package.

   * [Noble] Install linux-firmware-nvidia-tegra from noble-proposed.

   * [Resolute] Run the following commands to download the Resolute
package from the archive and install it locally on a device running
Noble, using the following commands.

     ```
     $ dget 
https://launchpad.net/ubuntu/+archive/primary/+files/linux-firmware-nvidia-tegra_39.2.2-<timestamp>-0ubuntu1~26.04_arm64.deb
     $ sudo dpkg -i 
./linux-firmware-nvidia-tegra_39.2.2-<timestamp>-0ubuntu1~26.04_arm64.deb
     ```

 * Reboot, and execute the previously described steps again and verify
that the display and PVA continue responding properly.

[ Where problems could occur ]

* A firmware file update can introduce regressions. The impact will be
limited to the Jetson devices only, and this should be detected by the
automated test jobs executed by the NVIDIA Tegra team during the SRU
process.

[ Other Info ]

 * This update does not apply to Jammy because the firmware files from this SRU 
must be aligned with the 39.2.2 QSPI firmware from NVIDIA. The kernel in Jammy 
is incompatible with that firmware though, therefore it only applies to Noble 
and following releases.
 * We only test Noble as we only build and support LTS releases up to Noble 
currently for lack of driver support in other releases.
 * The 39.2.2 software is aligned with the NVIDIA Jetpack 7.2.2 release: 
https://docs.nvidia.com/jetson/archives/r39.2.2/ReleaseNotes/Jetson_Linux_Release_Notes_r39.2.2.pdf

* The binaries listed below are the firmware files updated for 39.2.2.
  * /usr/lib/firmware/display-t234-dce.bin
  * /usr/lib/firmware/display-t264-dce.bin
  * /usr/lib/firmware/nvpva_020.fw
  * /usr/lib/firmware/nvpva_030.fw
* This is a link for the previous SRU done for this package (39.2.0): 
https://bugs.launchpad.net/ubuntu/+source/linux-firmware-nvidia-tegra/+bug/2156571
 where we agreed on testing the Resolute version of the package on a Noble 
image.

** Affects: linux-firmware-nvidia-tegra (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2179411

Title:
  [SRU] Update linux-firmware-nvidia-tegra to 39.2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-firmware-nvidia-tegra/+bug/2179411/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to