On Fri, Jul 05, 2019 at 08:06:16PM -0400, Anthony MOI wrote: > Hi Thierry, > > Thank you immensely for your work on the Jetson Nano and Linux Tegra. We > are two developers that are trying to install Arch Linux on a Jetson Nano, > and you have helped us tremendously with your multiple tutorials. > > We are reaching out today because we feel like we have hit a wall and we > would be very grateful if you could give us any indication whatsoever as to > what the next step could be. > > Allow us to give you background on what we have done so far: > > - We can easily flash the provided sample root file system and get a > running Ubuntu. > - We managed to flash an ArchLinux-aarch64, putting all the drivers > manually. With this installation, we have the 4.9 Kernel provided with the > L4T drivers package. Everything seems to be working fine, except that we > can't get Xorg to run. > - We can update/upgrade the arch system as long as we don't update the > kernel/firmware > - We tried to compile both U-Boot and the kernel using your `p3450` > branches. We can boot using both but in the end, Xorg doesn't work either, > and the USB firmware does not load. > > We have what seems to be a fully working Arch Linux system right now, > except for the actual display (and the USB with the custom kernel). > > When we try to launch our X server, we have the following error: > [ 540.384] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics > device! > [ 540.384] (EE) NVIDIA(0): Failing initialization of X screen 0 > When running the command `shasum -c /etc/nv_tegra_release`, all our drivers > return OK. > > We are at a loss at what to do next, we have tried everything we could > think of, and would love to have your opinion on the matter. > > Thank you so much for everything you’ve done, Hi, sorry this got burried in my inbox and I only stumbled across it by accident. First of all, the p3450 branch for the Linux kernel is mostly stale at this point. You should get equivalent, if not better, functionality using a recent linux-next release. Second, if I understand correctly, you're trying to run the L4T userspace on top of an upstream kernel. However, that's not supported and will not work. If you want to use an upstream kernel you're going to have to stick to an upstream graphics stack, which for X means the modesetting driver (which is built into recent X servers) and Mesa. The version of Mesa that ships with Arch Linux should support Tegra X1 and therefore Jetson Nano out of the box. If you need to stick with the L4T driver package, then I'm afraid but you also need to stick with the L4T kernel image. Thierry
Attachment:
signature.asc
Description: PGP signature