DMS-SJ15

From ESS-WIKI
Jump to: navigation, search

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