I am working with a 1TB PCIe Gen4 SSD from WD (WD SN850). Please find the log file below and let me know how to move ahead with booting from the SSD. I also read that flashing with initrd doesn’t work with Gen4 SSDs, let me know if that is the reason for this problem. [flash_1-12_0_20211006-153641.log|attachment]
You need to take a look at the configuration file in tools/kernel_flash/flash_l4t_nvme.xml which has two entries:
sector_size
num_sectors
You need to configure it so that the multiplication of both, give you the size of the disk you are going to use. So you probably need to increase the num_sectors variable and leave the sector_size in 512 just for consistency, then you can use that amount of bytes you assigned, and subtract that 1GiB that you are talking into the size of the partition in the -S flag, so that you use something like sector_size*num_sectors/1024^3 - 1.
Hey @robertogs2 ,
Thank you for responding. The current method worked, but I kept the -S flag at 16GiB, I wanted to use 512GiB/1000GiB as my default drive space. How much would the value of Num_sectors be for making that possible?
Thank you for your help.
Doing the math, for 512GiB it should be 51210241024*1024 bytes, and for each sector 512 bytes, then just divide both values, and that is the amount of num_sectors
Adding escape sequences so the forums won’t mess it up:
“Doing the math, for 512GiB it should be 512*1024*1024*1024 bytes”
(I love the power of the backslash key! Why are there no ballads/heroic songs about the backslash?? :P )