Documentation for writing libreCMC image to SD card (TPE-R1400 router)

Documentation for writing libreCMC image to a microSD card using a computer and microSD card reader (TPE-R1400 router):

1. Download the libreCMC ISO for TPE-R1400 from

Downloads > OEM > thinkpenguin > librecmc_tpe_v1512_src.iso

2. Open a terminal and use the cd command to change to the appropriate directory where you have downloaded the ISO; example:

cd Downloads

3. Insert a microsd card to your computers microsd card reader and unmount any auto-mounted partitions; example:

sudo fdisk -l

Disk /dev/mmcblk0: 7.44 GiB, 7990149120 bytes, 15605760 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: 0x00000000

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 32 15605759 15605728 7.4G c W95 FAT32 (LBA)

Note: The above Disk /dev/mmcblk0 matches the size of our sd card, this is the disk and /dev/mmcblk0p1 is a partition on the disk, so unmount the partition

sudo umount /dev/mmcblk0p1

4. Make a directory called iso and mount the librecmc ISO file to it and cd to the directory with the libreCMC image for the router

mkdir iso
sudo mount librecmc_tpe_v1512_src.iso ./iso
cd iso/bin/rockchip

5. Copy the librecmc-rockchip-armv8-thinkpenguin_tpe-r1400-ext4-sysupgrade.img.gz file to a writable temporary folder

cp librecmc-rockchip-armv8-thinkpenguin_tpe-r1400-ext4-sysupgrade.img.gz /tmp

6. Cd to the temporary folder and decompress the .img.gz file containing our disk image

cd /tmp
gzip -d librecmc-rockchip-armv8-thinkpenguin_tpe-r1400-ext4-sysupgrade.img.gz

7. Identify the disk using fdisk -l (see step 3 to identify the Disk or sd card, as oposed to the partition, in our example it is /dev/mmcblk0)

sudo dd if=librecmc-rockchip-armv8-thinkpenguin_tpe-r1400-ext4-sysupgrade.img of=/dev/mmcblk0