The documentation seems to be unclear on how to modify your file system.
We downloaded everything from the docs to build a custom kernel. It appears that by default, it comes with a rootfs that is sparse so it only has SSH and serial support, no GUI (per the documentation)
When we looked at how to update the rootfs so we would have GUI support (and OEM configuration), we ran the command that appears to build a sample_fs tar file with all the packages.
What is not clear is what we should be doing to get this new tar to be used and not the rootfs that appears to be in the L4T directory tree.
custom kernel image and rootfs are two different things.
It’s totally fine to build your own kernel while still using our sample rootfs.
Or is is that you don’t want to use the sample rootfs, and want to build your own one?
When we downloaded the kernel and the rootfs with the build and flash kernel instructions, it appears that rootfs does not have GUI enabled. When we bring it up, after the initial Nvidia screen with the boot loader, it goes black and we can only ssh into the machine.
In reading the website, it said that if we want to use the GUI enabled version, we needed a different sample_fs. It also says that this will be configured with OEM settings.
We tried running the command which runs for quite awhile and builds a tar file with sample_fs in the name.
Do we untag those contents and put them in rootfs instead?
When it says OEM configured, how do those settings then affect the kernel settings? Or do they.
Let me take a step back and say what we are trying to do. We’d like to build a file system and kernel for our first pass that exactly matches what we installed with the SDK download. That’s really all we want to do first. Then we can worry about making our customizations on it.
may I know which document page you are referring to?
If you want to build your own rootfs with GUI enabled, you should start with the desktop flavor, and add whatever packages you need to the file nvubuntu-focal-desktop-aarch64-packages.
Yes, untar the file into Linux_for_Tegra/rootfs/ with root permission just as you will do with the default rootfs.
OEM config has nothing to do with kernel configs. They are basically just some steps you go through upon the first boot to create user accounts and stuff like that.
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.10.104 aarch64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.
To restore this content, you can run the 'unminimize' command.
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
29 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm```
I tried
sudo depmod -a
sudo reboot
But still no HDMI video (w/the Orin on an Xavier devboard)
This is a DevKit by NVIDA. It’s an Orin Nano on Xavier NX DevKit. I do not believe we saw output over DP either. And that is with using the sample root that was downloaded.
Yes - a DevKit by NVIDIA: an Orin 8GB w/SD card in an NVIDIA Xavier carrier board w/both HDMI and DP.
Yes, we successfully booted and got the desktop running on DP video from the provided images.
Thn we went through the process of downloading and compiling Image, dtbs, modules, modules_install, etc with no changes and reflashed the SD card. We see the NVIDIA spash screen (and frantically press ESC to skip the IPv4/v6/pxe boot options) when plugged in via HDMI. I can ssh to unit, but there is no HDMI video after the splash screen.
I just tried restarting the board with DP hooked up and didn’t even see the splash screen, but watched it through the UART console until it got to a boot prompt.
That was going to be my next step, restart from from a clean os, re-install SDK manager, and flash from provided rootfs/. I will post the results tomorrow. Thank you for your assistance.
Incidentally, from what I can tell, you are trying to boot to the framebuffer console. This is not yet supported, but from what I know, the next JetPack release will support this. If you are booting to the GUI, then ignore this.
I switched to a monitor that has both HDMI and DP inputs and tested with working cables.
I first booted with DP attached and did not get any video.
I then unplugged the DP cable on the Xavier dev board and connected HDMI to the monitor and the desktop appeared on screen.
What should I be looking for in dmesg and Xorg.0.log ? They are attached here :
sorry but I just noticed that Orin NX/Nano only supports HDMI output when used with Xavier NX DevKit, so please use Orin Nano DevKit as the carrier board if you want to use a DP monitor.
Also, the hardware design of Orin series only has 1 video output lane, so it’s not possible to configure it as supporting both HDMI and DP.
The script looks fine to me, but a little question here:
Looks like you don’t need this, as you will tar the kernel modules and run apply_binaries.sh afterwards.
Also, shouldn’t it be lib/modules instead of modules/lib?