I have a customized Xavier NX board, and there is only a 128GB SD card inside according to ‘gnome-disks’. And since the board is not able to open, I cannot remove the SD card inside.
I need to flash the system to the SD card using Jetpack. However, every time I chose EMMC/SD, it creates a 15GB partition and flashes the system to it, instead of the whole 128GB.
I notice that there is an option, custom, but I am not sure what I should type.
I tried to use flash.sh instead. I modified <device type="sdcard" instance="0" sector_size="512" num_sectors="209715200"> in file “flash_l4t_t194_spi_sd_p3668.xml”, and I tried to run
I think you wanted to set the size of the whole SD card to 100GB, and the size of the rootfs to 99GB. Then apparently you should use either 101376KiB or 99GiB, but not 103809024KiB. Also, such operation leaves only 1GB for other partitions on the disk, and I’m not sure if it’s enough. You may also try like 97 or maybe 95.
If that still does not work, please give r35 a try.
I changed <device type="sdcard" instance="0" sector_size="512" num_sectors="209715200">
to <device type="sdcard" instance="0" sector_size="512" num_sectors="244277248">
Then I tried with sudo ./flash.sh -S 100GiB jetson-xavier-nx-devkit mmcblk0p1. But I got the same error.
Then I tried with the latest r35, with <device type="sdcard" instance="0" sector_size="512" num_sectors="244277248"> and sudo ./flash.sh -S 100GiB jetson-xavier-nx-devkit mmcblk0p1. But I encountered a endless loop
[ 1758.5407 ] tegrarcm_v2 --isapplet
[ 2766.4491 ] tegrarcm_v2 --ismb2
[ 3782.2580 ] tegradevflash_v2 --iscpubl
[ 3782.2595 ] CPU Bootloader is not running on device.
I’m kind of not sure about r32, but r35 should by default use all the space of the storage device.
Can you leave the partition layout file unchanged, take out the -s option and try again?
I changed <device type="sdcard" instance="0" sector_size="512" num_sectors="244277248">
back to default <device type="sdcard" instance="0" sector_size="512" num_sectors="123731968">
And run ./flash.sh jetson-xavier-nx-devkit mmcblk0p1
But I encountered the same endless loop:
...
[ 6.8381 ] [................................................] 100%
[ 7.7595 ] tegrarcm_v2 --boot recovery
[ 7.7613 ] Applet version 01.00.0000
[ 9.1025 ] tegrarcm_v2 --isapplet
[ 1010.1889 ] tegrarcm_v2 --ismb2
[ 2026.0236 ] tegradevflash_v2 --iscpubl
[ 2026.0245 ] CPU Bootloader is not running on device.
[ 3042.8061 ] tegrarcm_v2 --isapplet
...
can you make a summary of what you encountered here?
Under what circumstances do you succeed in flashing the device, but end up getting only 15GB for rootfs? Because it looks like you fail to flash it even with the default setting.
then can you help to collect both flashing log and serial console log when you fail to flash it with flash.sh? I need them in full length, not the cropped version.
Put aside the issue of the size of rootfs, SDK Manager is just a front-end GUI tool of the underlying flashing scripts, and it sounds weird that they act differently.
from the flashing log with SDK Manager, your device is jetson-xavier-nx-devkit-emmc, but not jetson-xavier-nx-devkit, can you please confirm it?
Also, can you please attach the UART log during bootup, and also result of df -h after you get into the system.
Yes, you are right, it is jetson-xavier-nx-devkit-emmc , not jetson-xavier-nx-devkit. Sorry for my mistake. I can successfully flash the board using command: sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1. But the rootfs is still only 15GiB. Full log is here: emmc_default.txt (68.2 KB)
Here is the log file during bootup, I hope this is what you asked: kern.log (294.9 KB)
I tried to use command :sudo ./flash.sh -S 100GiB jetson-xavier-nx-devkit-emmc mmcblk0p1. But it failed. Here is the full log. emmc_100GB.txt (30.8 KB)
I think there is probably a mistake here… we don’t sell and not allow a vendor to “remove emmc” on a module because customize a module is not allowed…
Please be aware that vendor only makes their carrier board. They still get module from us. And our module will only have emmc on it if this is production module.
I guess what actually happened before was your vendor use software to enable a sdcard “on the carrier board”. And they disabled the emmc by the software (not physically removed from hardware).
That was what happened in the beginning.
You thought it was a sdcard module by this behavior so you tried to use jetson-xavier-nx-devkit to flash your board and lots of tricks which try to flash a sdcard.
But actually this thing is totally a emmc module at all. So jetson-xavier-nx-devkit won’t be able to flash it because “jetson-xavier-nx-devkit” is only for sdcard module and such module will have sdcard “on the module” but not “on the carrier board”.
There are two kinds of modules we sold here. One kind is sdcard module, which will be coming along with a devkit carrier board and won’t have emmc.
And another one is emmc module which won’t have sdcard slot. This kind is the one vendor got to make their own product.