[Bug 2091392] Re: [SRU] Jetson flavor for Core22 Tegra images
Launchpad Bug Tracker
2091392 at bugs.launchpad.net
Thu Jan 9 18:32:25 UTC 2025
This bug was fixed in the package livecd-rootfs - 24.04.82
---------------
livecd-rootfs (24.04.82) noble; urgency=medium
* Add support for arm64+tegra-jetson flavor. (LP: #2091392)
-- Remy Martin <remy.martin at canonical.com> Fri, 13 Dec 2024 11:53:08
+0100
** Changed in: livecd-rootfs (Ubuntu Noble)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2091392
Title:
[SRU] Jetson flavor for Core22 Tegra images
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in livecd-rootfs source package in Jammy:
Fix Committed
Status in livecd-rootfs source package in Noble:
Fix Released
Status in livecd-rootfs source package in Oracular:
Won't Fix
Bug description:
[ Impact ]
* This is an SRU bug for a trivial change to add a arm64+tegra-jetson
entry to the list of supported subarches for Tegra.
Ubuntu for Tegra jammy images are built using mostly standard cdimage/Launchpad/livecd-rootfs toolkit. For a while, we were focusing on arm64+tegra-igx as the target flavor both for Ubuntu Server 22.04 and for Ubuntu Core 22 images, but unfortunately have to decouple from this name as explained here:
https://discourse.ubuntu.com/t/changes-to-ubuntu-for-tegra-kernel-metapackages-on-jetson-and-igx/48807
The UC22 images were being built using the normal jammy livecd-rootfs and arm64+tegra-igx. The Server 22.04 images were built using ubuntu-image 3.x which wasn't supported in jammy's livecd-rootfs, so we're using an unmodified backport of the latest livecd-rootfs version from plucky to jammy that lives in this PPA:
https://launchpad.net/~ubuntu-tegra/+archive/ubuntu/updates
For UC22, we have these changes to the devel livecd-rootfs in plucky with version 25.04.4:
https://launchpadlibrarian.net/760458882/livecd-rootfs_25.04.3_25.04.4.diff.gz
NB: we've considered using a backport of this package as for classic images, but it defaults to UC24 and can't built UC22 anymore, so that wouldn't be adequate
I've prepared the same changes to the jammy and noble branch in this PPA:
https://launchpad.net/~rmartin013/+archive/ubuntu/livecd-rootfs-tegra-jetson
[ Test Plan ]
* Run the following commands on an arm64 machine installed with jammy
cd ~
sudo apt install ./livecd-rootfs_2.765.53_arm64.deb
git clone https://git.launchpad.net/launchpad-buildd
sudo apt install -y python3-requests python3-netaddr python3-pylxd
sudo snap install ubuntu-image --classic
sudo apt install live-build
cd launchpad-buildd
mkdir -p auto
for s in config build clean; do ln -s /usr/share/livecd-rootfs/live-build/auto/$s auto/; done
lb clean --purge
export IMAGEFORMAT=ubuntu-image CHANNEL=edge PROJECT=ubuntu-core ARCH=arm64 SUBARCH=tegra-jetson
IMAGEFORMAT=ubuntu-image CHANNEL=edge PROJECT=ubuntu-core ARCH=arm64 SUBARCH=tegra-jetson SUITE=jammy lb config
lb build
* Install the resulting image on a Jetson device and boot it
[ Where problems could occur ]
* As this is only adding a new supported subarch in cdimage, no
problem is expected with existing arch/subarch.
[ Other Info ]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2091392/+subscriptions
More information about the foundations-bugs
mailing list