-
Notifications
You must be signed in to change notification settings - Fork 70
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
issues/questions encountered while installing on an Orin Nano #113
Comments
The first 3 questions are likely all related: Is there a BSP package for this board? How do they intend for you to flash the device normally? (not using jetpack-nxios)? Typically, vendors provide a package that contains a set of files you're supposed to copy on top of the official NVIDIA flashing tools. That package often contains a The flashing script created by Jetpack-nixos does use On the last question, I may have encountered a similar issues with the |
Many thanks for the detailed reply. Ack, I filed #114. The BSP contains:
It sounds like:
|
Hi! Firstly, wanted to say thank you so much for this invaluable project. The activation energy on something like this must have been huge and I'm very glad it exists. I've had a go at smashing my way through installing on an Orin Nano with a dsboard-ornx-lan, which is a bit non-standard but hopefully good enough.
There are three main issues/questions that I've ended up hitting, and though I've in general worked around, I figured I'd check in here to see if these had been hit before/had obvious solutions.
Firmware flash
Here, actually building the firmware went well, but actually flashing consistently blows up when trying to write. I've attached a flash log. Googling, it sounds like this is because 'the configuration is wrong' but it's hard for me to actually know what parts might be differing that's causing the flash to fail. Have you seen this error before? The board provides some DTB overlays which I put in the right places.
log.txt
However, I already have EFI on my dev board so I eventually figured it was probably optional. Actually getting into the EFI boot menu sadly required a USB-to-RS232/UART/TTL/whatever connector (this weekend has been Amazon same-day-delivery heavy).
What about DTB overlays?
So, clearly, from the above, I haven't succeeded at flashing. But, it's not obvious to me how the flashing would affect kernel runtime if I then just nuke the system partition. As far as I can tell, support in jetpack-nixos for DTB overlays is limited to the flashing parts of the code - not entirely clear what those overlays actually apply to. Is that right? It seems as though my carrier board has some DTB overlays that are supposed to be applied. Should I be trying to jam these in somewhere else? I assume parts of my jetson are presently non-functional due to the absence, though have not yet found the reason. Or maybe, since the flash failed, are they still the right DTBs?
USB ports not working
It's possible that I'm just suffering from #111 combined with not having managed to flash this thing yet - this is an Orin Nano 8GB not an Orin NX, but I think it is the Nano devkit. Basically, no USB device will show up until the kernel has booted - keyboards, mass storage, etc. Serial wire fixes keyboard issue.
In the end, I discovered a pretty hacky solution, which is that if you simply mount your ISO on an HTTP endpoint, you can point the HTTP boot of the Jetson at that. It can boot enough of NixOS from there that it can then pick up the USB drive for the rest of the boot. Wild! It made sense until I realised it was mounting the USB drive and didn't work without it!
Some missing kernel modules
This was a weird one. I found that LUKS pulled in some kernel modules not supported (blowfish in particular).
A broken kernel module
This was pretty brutal to deal with. It turns out that LUKS interacts with nVidia's hardware encryption (tegra_se_nvhost) poorly - depending on how you configure LUKS it causes hangs, kernel panics, FS corruption. Generally no bueno. Thankfully, their module is seemingly the only place which writes
Couldn't get free cmdbuf
on the internet. In the end I disabled by settinginitcall_blacklist=tegra_se_module_init
, which disabled the module. With it gone, LUKS seemed happy, although presumably with less performance. On this one - do you know who I would best follow up with on this? nVidia? OE4T?This was a bit of an essay but hopefully there are some useful bits either for project maintainers or for people who hit similar issues.
Specific questions are:
The text was updated successfully, but these errors were encountered: