-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Orin NX 16gb on Orin Nano DevKit has issues booting via USB on firmware 35.3.1 #111
Comments
We were actually unable to reproduce this issue on our Orin NX or Orin Nano. I just merged a PR that includes an update to the usb controller firmware that NVIDIA includes, which may help. Would you be able to reflash and test again with firmware after 48d86a9 ? |
Just checking in again if you were able to reproduce this issue with the latest commit? |
@danielfullmer Yep, I tested it and still am seeing the same issue. TLDR for those who stumble upon this issue:
I'll test again with 35.4.1 at some point. |
I'm facing the same issue with Orin Nano Developer Kit, tested with both Orin NX 16 GB and Orin Nano. Same issue faced.
Tested with even overlays with different device tree configurations for orin nano developer kit. Firmware boots original NVIDIA images from nvme but any nixos image on usb fail. |
This is probably due to fact systemd-boot does not allocate any extra space for the device tree. It can be patched for example like this (a bit ugly): https://github.com/tiiuae/ghaf/blob/main/modules/common/systemd/systemd-boot-double-dtb-buffer-size.patch Without the modification, because there is not any extra space, the UEFI will fail applying the overlay changes from its .dtbo files Another way probably could be to modify the .dtb file to have some extra space in end of it |
I found that when I updated the Jetpack Firmware to 35.3.1 using nix build .#initrd-flash-orin-nx-devkit I lose the ability to boot via USB in the UEFI menu, it does not seem to detect the device.
Flashing back to 35.2.1 seems to fix this.
I did some additional UEFI troubleshooting just to confirm it was the UEFI being built by jetpack-nixos that was the issue:
Test #1:
In the generated initrd script (initrd-flash-orin-nx-devki) I commented out this line:
jetpack-nixos/flash-script.nix
Line 50 in ddaff1b
Then, during flashing before it could boot the Linux initrd to update I hit ESC to get to the UEFI and confirmed that the UEFI could boot from the USB. However, because this was copied in after it was built it seems this version is only used for the initrd boot and is not programmed in.
Test #2
See https://github.com/chansen-and/jetpack-nixos/tree/chansen/orin-nx-usb-boot-fix or exact changes used to test.
The text was updated successfully, but these errors were encountered: