Difference between revisions of "DMS-SJ15"
From ESS-WIKI
(4 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
</pre> | </pre> | ||
− | == Build Image | + | == Build Image == |
Build Image | Build Image | ||
Line 47: | Line 47: | ||
Copy (Replace) All all of files from <span style="color:#0000FF">'''thumbdrive'''</span> folder to /mnt And unmount | Copy (Replace) All all of files from <span style="color:#0000FF">'''thumbdrive'''</span> folder to /mnt And unmount | ||
<pre>$ sudo umount /mnt | <pre>$ sudo umount /mnt | ||
− | |||
</pre> | </pre> | ||
== Reference == | == Reference == | ||
− | <div id="gtx-trans" style="position: absolute; left: | + | |
+ | [[\\172.22.31.139\acg_dms\document\DMS-SJ15_TX1|DMS-SJ15_TX1 Document]]<br/> [[\\172.22.31.139\acg_dms\document\DMS-SJ15_TX2|DMS-SJ15_TX2 Document]]<br/> [[\\172.22.31.139\acg_dms\image\DMS-SJ15|Images]] | ||
+ | <div id="gtx-trans" style="position: absolute; left: 364px; top: 262.925px;"><div class="gtx-trans-icon"> </div> </div> |
Latest revision as of 07:37, 20 September 2022
Linux BSP Version
Ubuntu 18.04
Kernel4.9.140
L4T R32.4.2
Jetpack 4.4
Getting Linux Source Code
$ git clone http://172.22.31.139:30000/ted/tx2_8717.git
Build Image
Build Image
$ ./create_codebase.sh
Collect all files for thumb drive. It will generate a thumbdrive folder
$ ./prepare_usb.sh
thumbdrive
thumbdrive/ ├── dms-sj15 ├── entry_recovery └── flash
Flash Image
Get the partition sector value from a pre-generated SD cared image.
$ sudo fdisk DMS-SJ15-TX2_SD_Installer_20210205.img -l Disk DMS-SJ15-TX2_SD_Installer_20210205.img: 14.1 GiB, 15099494400 bytes, 29491200 sectors 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: dos Disk identifier: 0x7693670d Device Boot Start End Sectors Size Id Type DMS-SJ15-TX2_SD_Installer_20210205.img1 2048 4196352 4194305 2G 83 Linux DMS-SJ15-TX2_SD_Installer_20210205.img2 4198400 29462527 25264128 12G 83 Linux
Mount 2 partition, where 2149580800 = 4198400*512
$ sudo mount -o loop,offset=2149580800 DMS-SJ15-TX2_SD_Installer_20210205.img /mnt
Copy (Replace) All all of files from thumbdrive folder to /mnt And unmount
$ sudo umount /mnt
Reference
DMS-SJ15_TX1 Document
DMS-SJ15_TX2 Document
Images