Solved using this error using “mkdir …/…/sdmountpoint/” before the “sudo mount /dev/sdb1 …/…/sdmountpoint/”.
The first SD flashing was verified after power-off and power-on cycles, Multiple times. Worked file.
But when a new SD was flashed with the different version of development SW with Jetson pack. The new SW did not work as planned. It would be great help if one can explain if there is any changes in EMMC while flashing the SD cards or what happens to the EMMC while flashing the SD card (including the kernal, kernal-dtb or others).
for the new SD card, I am able to boot from new SD card. but the SW changes did not work as planned.
The main concern is when we try to reinsert the 1st SD which worked good multiple trials, does not work after the new SD card trials. (Following the same steps for the 1st SD and new SD flashing procedure). I think there is some changes that happens in EMMC while flashing the SD card which makes the problem.
Please guide us to get create baseline for the SW development using SD card, so that each time we dont need to flash once the baselines are created, using the SD card.
I am using the ‘sudo ./flash.sh jetson-xavier internal’ and ‘sudo ./flash.sh -k kernel-dtb jetson-xavier internal’. for both the SD cards while creating the baseline, and the /boot/Images are different for each baseline (Image files are copied to the respective /boot/ folder and reboot the jetson xavier for the trials). Both the SW versions were tested using the EMMC flashing, before proceeding with the SD card’s.
We don’t have a method to flash any kind of sdcard on “AGX”.
I mean what you are doing below doesn’t really flash a sdcard.
am using the ‘sudo ./flash.sh jetson-xavier internal’ and ‘sudo ./flash.sh -k kernel-dtb jetson-xavier internal’. for both the SD cards while creating the baseline, and the /boot/Images are different for each baseline (Image files are copied to the respective /boot/ folder and reboot the jetson xavier for the trials). Both the SW versions were tested using the EMMC flashing, before proceeding with the SD card’s.
The only platforms that have “sdcard image” to work are only NX and Nano.
If SD card is not a good method for Jetson Xavier AGX, please guide us to create baseline while developing the SW without reflashing, since the reflashing takes a long time.
The intention of this baselines are to have quick functional check, for example if SD card was a method, insert various SD cards as per the baseline SW stages and test the functionalities or demonstrate the SW functionalities as per that specific baseline.
It would be a great help to propose a correct method for creating the baseline for Jetson Xavier AGX SW development.
What you can do on AGX is just “mount file system” from sd. Not able to boot from it. (for sd only. USB and NVMe could be totally booted from)
And no matter what case, you need to flash the emmc before letting external device work. And flash.sh can only flash emmc for AGX. You need to prepare the file system on the sdcard in other machine (e.g. x86 host) before you plug it into AGX.
But flash step won’t need to be repeated again if you just switch between same interface. For example, from Sdcard A to Sdcard B.
The steps that I currently follow to flash and test the SW using the EMMC in Jetson AGX Xavier is shared below. It would be a great help if you can streamline the below procedure to have one flashing and 2 SD cards (Baseline) with different SW functionalities. (note that the SW functionaries are not detailed)
1st SW version
Steps followed for flashing the Jetson Xavier AGX EMMC.
Download the Jetpack OS-image to the Ubuntu host PC * (below steps with ‘xxxxxxxx’ shows the option for the specific jetpack version)*
sudo tar xpf Tegra186_Linux_R3xxxxxxxx.tbz2
sudo tar xpf …/…/Tegra_Linux_Sample-Root-Filesystem_R3xxxxxxxx_aarch64.tbz2
Put your Jetson Developer Kit into “USB Recovery Mode” (RCM) for flashing
sudo ./flash.sh jetson-xavier mmcblk0p1
Jetson Xavier AGX restarts after flashing and now configure the Jetson desktop (including the login details)
The modified tegra194-p2888-0001-p2822-0000.dtb as per the 1st SW requirement is copied and pasted under ‘Xavier/Linux_for_Tegra/kernel/dtb’ on Ubuntu host PC
Again, Put your Jetson Developer Kit into “USB Recovery Mode” (RCM)
Jetson Xavier AGX restarts after flashing and then login to the Jetson
The modified ‘Image’ as per the 1st SW requirement is copied and pasted under the ‘/boot/’ folder on the Jetson
Restart the Jetson Xavier AGX and ready to test 1st SW version for the respective Jetpack version.
2nd SW version
The steps 1 to 9 are followed for the respective jetpack version
The steps 10 to 15 are followed with the modified ‘modified tegra194-p2888-0001-p2822-0000.dtb’ and ‘Image’ file respective to the SW requirements.
Note: The above steps works good and for both the SW versions the functionalities are completely tested on the same Jetson Xavier AGX.
Since the SW versions are increasing. Now we would need to create baselines and reduce the time taken for the flashing using the complete steps for each SW version.
If SD card is a solution for this baseline, then Insert the SD cards and the respective SW functionality should be functional for testing/demo, after restart.
I request your support to guide us to create baseline and to reduce time either using the USB-drive/NVME/other method. Please explain the steps and help to streamline the procedure.
Please inform if this is same for the Jetson Orin, if there the approach is different, please inform the details.