We designed a carrier board to be compatible with multiple core boards。
For some reason, the ssd interface of Orin NX can only be connected from pcie2. How do I configure and write the system?
I used an Orin NX module + Xavier NX devkit carrier board to flash successfully。
by cmd: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_t234_qspi.xml” --showlogs --network usb0 p3509-a02+p3767-0000 internal
After we replace it on our base plate,they make error on step 3:
*
Step 3: Start the flashing process *
*
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for device to expose ssh …RTNETLINK answers: File exists
RTNETLINK answers: File exists
Waiting for device to expose ssh …Run command: flash on fc00:1:1:0::2
SSH ready
blockdev: cannot open /dev/mmcblk0boot0: No such file or directory
[ 0]: l4t_flash_from_kernel: Starting to create gpt for emmc
Active index file is /mnt/internal/flash.idx
Number of lines is 58
max_index=57
[ 10]: l4t_flash_from_kernel: Successfully create gpt for emmc
[ 10]: l4t_flash_from_kernel: Starting to create gpt for external device
Active index file is /mnt/external/flash.idx
Number of lines is 17
max_index=16
writing item=1, 9:0:primary_gpt, 512, 19968, gpt_primary_9_0.bin, 16896, fixed--0, 0ef91466f0476b4719fa4d889d01abf3f3abe980
Error: Could not stat device /dev/nvme0n1 - No such file or directory.
Flash failure
Cleaning up…
exportfs: /etc/exports [1]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “*:/home/lyi/Work/imx/imx7/NFS”.
Assuming default behaviour (‘no_subtree_check’).
NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: /etc/exports [2]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “*:/home/lyi/Work/imx/imx6/NFS”.
Assuming default behaviour (‘no_subtree_check’).
NOTE: this default has changed since nfs-utils version 1.0.x
exportfs: /etc/exports [3]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “*:/home/lyi/Work/”.
Assuming default behaviour (‘no_subtree_check’).
NOTE: this default has changed since nfs-utils version 1.0.x
Q2:I need to recompile the whole project every time I flash the system. How can I skip the previous step of system building?
Just like we did with the -r argument(./flash.sh -r jetson-xavier-nx-devkit-emmc mmcblk0p1)
Please boot from usb first and see if your pcie could detect this nvme or not.
Make it more easier to understand, “initrd flash” depends on the device tree. Thus, you need to make sure device tree is okay to run your pcie device. Otherwise it won’t detect and won’t be able to flash.
hi.
Do I need to modify the pin configuration and device tree?
I downloaded the <<Jetson_Orin_NX_series_and_Orin_Nano_series_Pinmux_Config_Template.xlsm>>,The default pin is pcie2,Does that mean I don’t have to change it?