Problem booting from NVMe

Hello… I was looking at this topic I posted 2 weeks ago, but I can no longer post since I marked it as solved:

The thing is, on practise it is not solved… I got to the point of the command:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_l4t_t194_qspi_p3668.xml”
–showlogs --network usb0 jetson-xavier-nx-devkit internal

And what I get is:
Flashing external device requires -c option to specify device partition layout.


Can I get some help here? And which are the next steps afterwards?

Thanks.

Show the complete log, please.

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_l4t_t194_qspi_p3668.xml"
–showlogs --network usb0 jetson-xavier-nx-devkit internal

Also, don’t mess up with the quotation mark.

lalo@lalo:~/Downloads/Linux_for_Tegra$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p ‘-c bootloader/t186ref/cfg/flash_l4t_t194_qspi_p3668.xnl’ -showlogs --network usb0 jetson-xavier-nx-devkit internal [sudo] password for lalo: /home/lalo/Downloads/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --no-flash --external-device-nvme0n1p1 /hone/lalo/Downloads/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh: line 48: /home/lalo/Downlaads/Linux_for_Tegra/–external-device .conf: No such file or directory Flashing external device requires -c option to specify device partition layout Cleaning up… -c: command not found -showlogs: command not found lalo@lalo:~/Downloads/Linux_for_Tegra$

You are not even running the right command…

Oh… I see what you mean. The thing is I took a picture from the screen and converted it to text and post it through my phone… Let me do it directly from the PC… Sorry about that.

Here it is:

lalo@lalo:~/Downloads/Linux_for_Tegra$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_l4t_t194_qspi_p3668.xml”
–showlogs --network usb0 jetson-xavier-nx-devkit internal
[sudo] password for lalo:
/home/lalo/Downloads/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --no-flash --external-device nvme0n1p1
/home/lalo/Downloads/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh: line 48: /home/lalo/Downloads/Linux_for_Tegra/–external-device.conf: No such file or directory
Flashing external device requires -c option to specify device partition layout
Cleaning up…
-c: command not found
–showlogs: command not found
lalo@lalo:~/Downloads/Linux_for_Tegra$

Take a screenshot of the the terminal window.

Then the issue lies here.

It is the same even after removing the quotes… I don’t know what’s happening, the previous steps worked perfectly but the last one.

You are still using the wrong quotation mark.
" ", not “”.

Sorry, I sent the wrong image… Here’s without quotes, and also I already tried all type of quotes… Sorry if this is taking to long to solve Dave, even


as a software developer I just can’t get this to work. I followed every step as you showed on the other topic 2 weeks ago… But I’m stuck on this final step… I believe is the final though.

You need the right quotation mark.
I’m not telling you to delete them…


Here’s even with the correct quotes… It doesn’t work. :S

You need to add \ to the end of a line for a command that is split into multiple lines, or they will be treated as separate commands.
You should know this given that you say you are a software developer.

I see just as the QuickStart for Orin Nano, I didn’t notice… Although it still doesn’t work with backslashes… Do you think there’s a chance there might be something wrong on that last step command you showed me 2 weeks ago for Jetson Xavier NX?

I’m 100% sure it’s working.
Don’t just say stuff like Oh, it doesn’t work, which helps nothing at all.
Always show the log.

Also, of course there is no way it will work when you run the command under a wrong directory.
I really don’t want to spend time teaching some of the most basic things, which are not even related to Jetson at all.

Oh! Holy! All this time I thought I was on the right directory… This could have been a lot easier. Sorry for this Dave… I’m getting something now, but the image is not being created… Can you point me on the right direction here? So I take no more of your time… Really sorry for this, is embarrassing.

Just point me on the right direction on these last errors, and I will keep digging this myself, thanks!

strings : command not found

Then just install it:

sudo apt update
sudo apt install binutils