[SRU] Add nvidia-tegra-defaults to jammy

Bug #2037096 reported by Loïc Minier
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-tegra-defaults (Ubuntu)
Fix Released
Medium
Loïc Minier
Jammy
Fix Released
Medium
Loïc Minier
Mantic
Fix Released
Medium
Loïc Minier

Bug Description

Hi,

[Impact]
As part of the work to enable NVIDIA Tegra hardware with Ubuntu and under the wider "hardware enablement" umbrella of SRUs, we've landed kernels for Tegra Orin and later devices in Ubuntu (linux-nvidia-tegra and linux-nvidia-tegra-igx). We are developing pre-installed images at https://cdimage.ubuntu.com/nvidia-tegra/ using these image definitions:
https://git.launchpad.net/ubuntu-images/tree/?h=jammy

Currently, our images can't display GRUB on the serial console and don't bring up a getty on the serial console, the GRUB config needs to be tweaked for this platform.

We've landed this nvidia-tegra-defaults package to carry the relevant GRUB config file in mantic, this bug is to backport it to jammy-updates.

[Test Plan]
Change the image definition to add nvidia-tegra-defaults in extra-packages (there's is no defined seed-like approach to add hwe packages in image definition files at the moment), and enable proposed, build an image with sudo /snap/bin/ubuntu-image, and verify that the GRUB config contains the relevant changes:
- GRUB menu visible on serial for 3s by default
- kernel cmdline tweaked to list console=ttyTCU,115200 console=tty0

Optionally, verify this works on actual Tegra Orin hardware (Jetson AGX or IGX would be ideal).

[Where problems could occur]
As this is an extra package not listed in any image definitions and the images are still under development, no problem is expected to occur for current Ubuntu users.

Best,

Loïc Minier (lool)
Changed in nvidia-tegra-defaults (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Loïc Minier (lool)
status: New → In Progress
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Loïc, or anyone else affected,

Accepted nvidia-tegra-defaults into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-tegra-defaults/1.2~22.04 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in nvidia-tegra-defaults (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Loïc Minier (lool) wrote :

We did some further testing with this package and while it worked as originally intended, and we noticed a couple of issues that need to be addressed:
- this is only patching the GRUB default entry, not the recovery entry, but we want this patched too
- the kernel cmdline should include extra consoles (console=ttyAMA0 on top of ttyTCU0) and perhaps a workaround to select the proper framebuffer driver (efifb can't be fixed in the near term, so needs to be disabled and the kernel needs a bit of handholding to select the right fb driver)

We're working to confirm the exact cmdline, in the meantime I'm marking this as verification-failed.

tags: added: verification-failed verification-failed-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Loïc Minier (lool) wrote :

I've tested and uploaded 1.3 for mantic addressing all issues listed here and have uploaded a backport to jammy which is in the archive review queue

Changed in nvidia-tegra-defaults (Ubuntu Jammy):
status: Fix Committed → In Progress
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Loïc, or anyone else affected,

Accepted nvidia-tegra-defaults into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-tegra-defaults/1.3~22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in nvidia-tegra-defaults (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
removed: verification-failed verification-failed-jammy
Revision history for this message
Pedro Henrique Kopper (phckopper) wrote :

Tested 1.3~22.04.1 on a NVIDIA Jetson AGX running Ubuntu 22.04 (5.15.0-1004-nvidia-tegra-igx aarch64).

- GRUB menu is visible on serial for 3s
- Both default and recovery mode entries correctly spawn consoles on ttyTCU0 and ttyAMA0
- Framebuffer parameters are set correctly

Therefore, the package can be considered successfully verified.

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Changed in nvidia-tegra-defaults (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-tegra-defaults - 1.3~22.04.1

---------------
nvidia-tegra-defaults (1.3~22.04.1) jammy; urgency=medium

  * Backport to jammy; LP: #2037096.

 -- Loïc Minier <email address hidden> Mon, 09 Oct 2023 16:51:16 +0000

Changed in nvidia-tegra-defaults (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Update Released

The verification of the Stable Release Update for nvidia-tegra-defaults has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Loïc Minier (lool)
Changed in nvidia-tegra-defaults (Ubuntu Jammy):
importance: Undecided → Medium
assignee: nobody → Loïc Minier (lool)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.