I used their guide for build custom BSP with jetpack 6. compilation, flashing are successful, then I am trying to create mfi just like with jetpack5
The only problem for J5 DaveYYY helped me with custom script modification to make it work with board where just NVMe drive, do I need something similar for J6? ( tried to use old scripts inside new jetpack bsp, didnt worked )
Waiting for target to boot-up...
Waiting for device to expose ssh ......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: Serial Number: 1421123009874
[ 0]: l4t_flash_from_kernel: Starting to create gpt for emmc
Active index file is /mnt/internal/flash.idx
Number of lines is 18
max_index=17
writing item=1, 1:3:primary_gpt,0,20480,gptmbr.img,20480,fixed-<reserved>-0,24cb9b0967c03aaf9043e45f1a55c5643f5f46e3
Error: Could not stat device /dev/mmcblk0 - No such file or directory.
Flash failure
Either the device cannot mount the NFS server on the host or a flash command has failed. Debug log saved to /tmp/tmp.N6A162k662. You can access the target's terminal through "sshpass -p root ssh root@fc00:1:1:0::2"
Cleaning up...
Added -c tools/kernel_flash/flash_l4t_t234_nvme.xml
Where flash_l4t_t234_nvme.xml custom file from Seeed (xml not allowed to upload, changed to txt) flash_l4t_t234_nvme.xml.txt (8.8 KB)
Disk /dev/nvme0n1: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk model: FORESEE XP1000F128G
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 6862803F-AFE7-497B-B0CD-45219CAD6D48
Device Start End Sectors Size Type
/dev/nvme0n1p1 2682408 250069639 247387232 118G Microsoft basic data
/dev/nvme0n1p2 40 262183 262144 128M Microsoft basic data
/dev/nvme0n1p3 262184 263719 1536 768K Microsoft basic data
/dev/nvme0n1p4 263720 328487 64768 31.6M Microsoft basic data
/dev/nvme0n1p5 328488 590631 262144 128M Microsoft basic data
/dev/nvme0n1p6 590632 592167 1536 768K Microsoft basic data
/dev/nvme0n1p7 592168 656935 64768 31.6M Microsoft basic data
/dev/nvme0n1p8 656936 820775 163840 80M Microsoft basic data
/dev/nvme0n1p9 820776 821799 1024 512K Microsoft basic data
/dev/nvme0n1p10 821800 1436199 614400 300M Microsoft basic data
/dev/nvme0n1p11 1436200 1567271 131072 64M EFI System
/dev/nvme0n1p12 1567272 1731111 163840 80M Microsoft basic data
/dev/nvme0n1p13 1731112 1732135 1024 512K Microsoft basic data
/dev/nvme0n1p14 1732136 1863207 131072 64M Microsoft basic data
/dev/nvme0n1p15 1863208 2682407 819200 400M Microsoft basic data
Partition table entries are not in disk order.
Thanks you for an update, I will try to test these commands asap.
One question, is this means what in 6.0 there is some bug in scripts? As my device only support J6.0 at the moment, should I overwrite scripts in my BSP with J6.0 from J6.1?
There are no bugs in JP 6.0; the difference in JP 6.1 is the addition of NVMe support. You could try replacing the JP 6.0 files with those from JP 6.1.
# under the Linux_for_Tegra/tools
backup_restore/l4t_backup_restore.func
backup_restore/l4t_backup_restore.sh
backup_restore/nvbackup_partitions.sh
backup_restore/nvrestore_partitions.sh
kernel_flash/l4t_flash_from_kernel.sh