Move RFS to from mmc to nvme Jetson Tx2+ Auvidea J121

Hi there,
I am trying to move the RFS from the internal memory(/dev/mmcblk0) to the M.2 type M PCIe NVME( /dev/nvme0n1) flash memory.
I tried already this suggestions. But always gets stuck on bootloader. Luckly I can revert everything throught the terminal.
https://forums.developer.nvidia.com/t/booting-from-nvme-on-tx2/54117/29

Here is my output from /proc/cmdline

jetson@jetson-desktop:~$ cat /proc/cmdline
root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x2772e0000 gpt usbcore.old_scheme_first=1 tegraid=18.1.2.0.0 maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.2031647.1 bl_prof_dataptr=0x10000@0x275840000 sdhci_tegra.en_boot_part_access=1 quiet

The current working for mmc /boot/extlinux/extlinux.conf

jetson@jetson-desktop:~$ cat  /boot/extlinux/extlinux.conf
TIMEOUT 30
DEFAULT primary

MENU TITLE L4T boot options

LABEL primary
      MENU LABEL primary kernel
      LINUX /boot/Image
      INITRD /boot/initrd
      APPEND ${cbootargs} quiet
jetson@jetson-desktop:~$ ls /dev/nvme0
nvme0    nvme0n1  

I tried to replace the APPEND ${cbootargs} quiet from the /boot/extlinux/extlinux.conf to

APPEND root=/dev/nvme0n1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x2772e0000 gpt usbcore.old_scheme_first=1 tegraid=18.1.2.0.0 maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.2031647.1 bl_prof_dataptr=0x10000@0x275840000 sdhci_tegra.en_boot_part_access=1 quiet

But then it gets stuck on boot. I have then under bash terminal mount the mmc and change the extlinux.conf back to the original in order to be able to boot.
Any toughts what I might be missing?
Any help would be much appreciated

Remove the quiet in your extlinux.conf and then use the uart console to see what get stuck during boot.

https://www.jetsonhacks.com/2017/03/24/serial-console-nvidia-jetson-tx2/

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.