I’m working with a Jetson AGX Orin (64 GiB) Dev-Kit. Our use case requires installing a more up to date OS like Fedora (more precise Fedora Silverblue).
I dug through all docs and noticed in theory the Jetson AGX Orin supports installing a custom OS. So I went through installing Fedora (Silverblue) on it. It works but now I need drivers for e.g. the ethernet card, cpu/gpu etc.
So I’m currently digging through the ref root file system porting what I can find.
Since this is a lot of work, is there a way to get the drivers for Ubuntu not backed in to the ref linux image so I can port them more easily?
For all that are interested, here is a installation guide for Fedora 38 that should work for a bunch of other distros as well.
I will keep this post updated with my latest findings.
===
Installing Fedora on the NVIDIA Jetson AGX Orin
This is not supported by NVIDIA. It is a DIY solution for our use case and requirements. The installation can target either the internal eMMC
flash or an installed M.2
(NVME) SSD.
Limitations
- No visual boot screen (rhgb/playmouth).
- No Ethernet driver out of the box. Wifi works!
- Usability feels a bit sluggish. This is caused by the nouveau driver/software rendering. No, installing
xorg-x11-drv-nvidia-cuda
does not fix this since the Jetson is not supported by this driver (Jetson won’t boot).
Preparing the Image
- Install the Fedora Media Writer (
sudo dnf install mediawriter
on Fedora). - Plug in an USB-Sick with at least 8 GiB. This USB-Stick will be flashed with the fedora image for installing.
- Start the Fedora Media Writer.
- Click
Next
andNext
. Now you should be on theWrite Options
screen. There select asHardware Architecture
AArch64
. UnderUSB Drive
select the one you want the image to be written to. Then clickWrite
to start flashing. - Once flashing is done, eject and unplug the USB-Stick.
Preparing the NVIDIA Jetson Orin
- Plug in a monitor, keyboard and mouse to the Jetson module.
- Plug in the USB-C power cable so the Jetson powers up.
- Start pressing
esc
again and again until you land in the Jetson system configuration screen. - Select
Device Manager
and hitenter
. - Select
O/S Hardware Description Section
and hitenter
. SelectACPI
asO/S Hardware Description
. - Hit
F10
and thenY
to save your changes. - Go back one level by pressing
esc
. - [OPTIONAL BUT SUGGESTED FOR NOW] Enter the
Secure Boot Configuration
and setCurrent Secure Boot State
toDisabled
. - Hit
F10
and thenY
to save your changes. Then exit this section by hittingesc
. - Hit
esc
again to exit theDevice Manager
. - Now the Jetson is ready for installing Fedora.
- Before selecting
Reset
, plug in your flashed USB-Stick, then select theReset
option.
Installing
- On boot press
F11
until you land in thePlease select boot device:
screen. There select your USB-Stick and hitenter
to boot from it. - Grub should show up now. There navigate to the
Start Fedora 38 Workstation-Live
option and presse
to change kernel parameters. Please make sure, you do not select theTest this media & start Fedora 38 Workstation-Live
option since it does not boot based on my experience. Do not know why right now. - Inside the Grub parameter configuration remove
quiet rhgb
from the text displayed. If you do not removerhgb
it will not boot. Right now I did not debug why exactly. - Once removed, press
F10
to boot with this configuration. This will take some time! Don’t worry. For my Jetson Orin 64GiB Dev-kit it takes roughly 1 minute to get to the Fedora desktop without any visual feedback. - Once on the Fedora Desktop start the
Discs
program. - Format the storage media (
eMMC
flash or an installedM.2
(NVME) SSD) withGPT
as partitioning standard. The internaleMMC
flash is identified asSD Card Reader
. Most likely when formatting the disk, you will see some kind of error and it does not look like anything changed. This is expected. Wait ~3 minutes and then reboot Fedora. Follow steps1.
to5.
again for rebooting. - Once rebooted the
eMMC
flash should be formatted (empty). The installed installedM.2
(NVME) SSD might still be unchanged. In this case retry or plug the SSD in to your computer and format it there. - Now you are ready for installing Fedora using the installer without anything special.
- Once installed reboot the Jetson and Fedora should start up without any special kernel parameter required. This might take a few minutes (~4 min) without any useful output on the screen. Depending on the media you installed Fedora to, you might want to change the boot order via the Jetson configuration (
esc
when booting).
Installing Cuda
- TODO. Requires graphics drivers or porting the Cuda Jetson .deb package to a rpm/Fedora.