jetsonhacks / rootOnNVMe

Switch the rootfs to a NVMe SSD on the Jetson Xavier NX and Jetson AGX Xavier
MIT License
395 stars 145 forks source link

Update copy-rootfs-ssd.sh #15

Closed RchGrav closed 3 years ago

RchGrav commented 3 years ago

rootOnNVMe presumes the boot process begins on the emmc for it to work properly. I’ll make a pull request to the github project.

Long story short, Jetpack 4.5.1 /boot folder on NVMe isn’t used since boot flow has progressed past any need for it., Jetpack 4.6 /boot folder on NVMe breaks rootOnNVMe method, even if emmc is copied to the NVMe device.

Solution: Exclude boot folder from rsync copy of emmc → nvme found in the copy-rootfs-ssd.sh script.

See: https://forums.developer.nvidia.com/t/jetpack-4-6-xserver-does-not-start/186499

RchGrav commented 3 years ago

I'm going to close this because I want to think on this a bit more.. look for another way to mitigate this.

jetsonhacks commented 3 years ago

@RchGrav With JetPack 4.6, you can just boot from NVMe directly without having to jump through any hoops. See: https://www.jetsonhacks.com/2021/08/25/native-boot-for-jetson-xaviers/