1. Download the file of Boot from SD card image for DEBIX SOM A "SOM-A-L6.1. 22-TF-V2.7-20240816. img" from the official website (https://debix.io/Software/downloadn.html).
2. Copy the downloaded file “SOM-A-L6.1. 22-TF-V2.7-20240816. img” to the ubuntu system.
3. Run the following command to mount img image.
NOTE: The root partition stores the file system; "/dev/loop0" is a node randomly generated by the system. It may be different on other devices. The corresponding commands need to be modified according to the actual situation.
$ mkdir root
$ sudo losetup -f --show SOM-A-L6.1.22-TF-V2.7-20240816.img
[sudo] password for debix:
/dev/loop0 --ps. Loop0 is return point
$ sudo kpartx -va /dev/loop0
$ sudo mount /dev/mapper/loop0p2 root/
4. Copy the custom files to the root partition.
5. Unmount.
$ sudo umount root
$ sudo kpartx -d /dev/loop0
$ sudo losetup -d /dev/loop0
6. Copy the modified file “SOM-A-L6.1. 22-TF-V2.7-20240816. img” to the Windows system, and move it to the root directory of the DebixUpgradeTools folder.
7. Use the dual male USB Type-A data cable to connect the OTG interface of the DEBIX SOM A I/O Board and the USB interface of the PC.