Skip to content
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

Add the ability to flash NixOS to eMMC on AGX Orin #26

Closed
wants to merge 1 commit into from

Conversation

nesteroff
Copy link
Contributor

Description of changes

This pull request adds the ability to flash NixOS to the eMMC on Nvidia AGX Orin.

In this implementation I'm copying boot and rootfs partitions from the sd-image to the place where the flashing script expects them to be and passing the -r flag so that it doesn't try to rebuild them. I decided to use L4TLauncher as a UEFI bootloader in order to make it similar to how it is done in Nvidia SDK and for simplicity. However it shouldn't be to hard to switch to systemd-boot or something similar if needed.

I'm not sure if this is the best possible implementation because I'm still new to Nix. Feel free to improve it or suggest changes.

Hopefully it resolves #16

Testing

Tested on Nvidia AGX Orin Developer Kit using the following commands:

nix build .#flash-scripts.flash-orin-agx-devkit-emmc
sudo ./result/bin/flash-orin-agx-devkit

@nesteroff
Copy link
Contributor Author

Closing this one since it's already outdated and can't be merge. It can be fixed and improved later on in case there is any interest in this feature in the community.

@nesteroff nesteroff closed this May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

eMMC Flash Support
1 participant