Thank you for answering,
I think we have a small misunderstanding so I’ll list all the steps , that according to my understanding from your answers , I have to do:
Edit extlinux.conf on my host to specify the root path and point to my NVME(SSD) device.
Flash rootfs only (APP partition) into my NVME device I have in my custom board (using the initrd “method”). The NVME and nx module are connected by PCIe.
Flash rest of partitions (kernel,bootloader and all the rest) into emmc (using flash.sh)
Cboot will find APP partition in my NVME device and the extlinux.conf
extlinux.conf doesnt contain LINUX var , hence cboot will load kernel from kernel partition flashed in the emmc.
The whole purpose from the beginning was to put the rootfs in one place and the kernel in another. I don’t want them to be in the same device.
Last missing step in the above procedure:
If I want to flash only the rootfs - I can use its partition name. (step 2)
If I want to flash all the partitions except the APP partition - how can I do that? (step 3)
I don’t want to flash the rootfs twice into two places by mistake.
I need a way to tell the flasher to flash all of the partitions into the emmc except the APP partition (which is already flashed in the NVRAM)
Please check the Linux_for_Tegra/bootloader/t186ref/cfg.
There are the xml files which contain the partition layouts. This file “flash_l4t_t194_qspi_p3668.xml” will flash the qspi with bootloader only.
After you flash QSPI, you could use -r -k kernel in flash.sh to flash kernel partition only. But at that time, you need to use flash_l4t_t194_spi_emmc_p3668.xml, so that it will flash to emmc this time.