Difference between revisions of "DMS-SJ15"
From ESS-WIKI
(9 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Linux BSP Version == | == Linux BSP Version == | ||
− | Ubuntu 18.04<br/> Kernel 4.9.140<br/> L4T R32.4.2<br> Jetpack 4.4 | + | Ubuntu <span style="color:#0000FF">'''18.04'''</span><br/> Kernel<span style="color:#0000FF">'''4.9.140'''</span><br/> L4T <span style="color:#0000FF">'''R32.4.2'''</span><br/> Jetpack <span style="color:#0000FF">'''4.4'''</span> |
== Getting Linux Source Code == | == Getting Linux Source Code == | ||
− | + | <pre>$ git clone http://172.22.31.139:30000/ted/tx2_8717.git | |
− | <pre> | ||
− | $ git clone http://172.22.31.139:30000/ted/tx2_8717.git | ||
</pre> | </pre> | ||
− | + | == Build Image == | |
− | == Build Image | ||
Build Image | Build Image | ||
Line 17: | Line 14: | ||
</pre> | </pre> | ||
− | Collect all files for thumb drive. It will | + | Collect all files for thumb drive. It will generate a <span style="color:#0000FF">'''thumbdrive'''</span> folder |
<pre>$ ./prepare_usb.sh | <pre>$ ./prepare_usb.sh | ||
+ | </pre> | ||
+ | |||
+ | thumbdrive | ||
+ | <pre>thumbdrive/ | ||
+ | ├── dms-sj15 | ||
+ | ├── entry_recovery | ||
+ | └── flash | ||
</pre> | </pre> | ||
== Flash Image == | == Flash Image == | ||
+ | |||
+ | Get the partition sector value from a pre-generated SD cared image. | ||
+ | <pre>$ 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 | ||
+ | </pre> | ||
+ | |||
+ | Mount 2 partition, where 2149580800 = <span style="color:#0000FF">'''4198400'''</span>*512 | ||
+ | <pre>$ sudo mount -o loop,offset=2149580800 DMS-SJ15-TX2_SD_Installer_20210205.img /mnt | ||
+ | </pre> | ||
+ | |||
+ | Copy (Replace) All all of files from <span style="color:#0000FF">'''thumbdrive'''</span> folder to /mnt And unmount | ||
+ | <pre>$ sudo umount /mnt | ||
+ | </pre> | ||
== Reference == | == Reference == | ||
+ | |||
+ | [[\\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