rootfs on external (SATA) device #424
Replies: 3 comments
-
Which Jetson are you planning on using? You mention U-Boot, so I'm guessing either a Nano or a TX2. I think U-Boot for Nano includes SATA support, but I'm not sure if it's there on the TX2. That would be the first thing to check. A few other things off the top of my head:
An alternative to directly booting from the SATA drive from U-Boot, you could put a kernel/initramfs into a partition on the eMMC, point U-Boot at that, and then have the init script in the initramfs mount the SATA drive for you. |
Beta Was this translation helpful? Give feedback.
-
Thank you for reply! As I understand, partitioning for SATA should be added to flash.xml file, right? Your concern regarding SATA drive is quite unexpected, can you please tell what kind of compatibility issues you faced with? |
Beta Was this translation helpful? Give feedback.
-
I don't think the tegraflash tool supports "flashing" to a SATA drive, which is why I suggested the two-step process - flash an installer/recovery image to the MMC using tegraflash. Have the tools in that image to format and install your final rootfs onto the SATA drive.
All that file does is tell tegraflash to assign a UUID to the APP flash partition, and to update the kernel command line with a
It's been a few years, but IIRC it had to do with DEVSLP (device sleep) support. The controller or driver didn't fully support that feature, and I think I had to hack the driver to just ignore it when it was advertised by the drive. That may not be an issue any more, or may have been something unique to the drive I was testing at the time. |
Beta Was this translation helpful? Give feedback.
-
Hello!
I'm wondering if there is a way to use SATA as default rootfs location.
As I know u-boot should be located at eMMC partition anyway, but maybe it's possible to keep u-boot and rootfs separately on different devices?
My goal is mender integration + rootfs on SATA, so I can't just copy rootfs to SATA from eMMC after flashing
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions