SBC-C61 SECO

Overview

SBC-C61 is an SBC built upon the NXP i.MX 8M mini Application Processors characterised by HEVC/VP9 decoding in 1080p60. As for the memory, it features a LPDDR4 RAM. The range of connectivity options is particularly broad, with optional Wi-Fi and BT LE 4.2 and optionally soldered on-board LTE Cat 4 Modem with microSIM slot or eSIM. Interestingly, it also features a Cortex-M4, that is real-time operating system capable for serving real-time applications that process data as it comes in without buffer delays.

Hardware

For more detailed specifications of SBC-C61 SECO board, see SBC-C61 Specification.

Working with the board

Building OHOS image

To clone the source code, perform the procedure in: Setting up a repo workspace.

Linux image

  1. Source the environment with proper template settings, flavour being linux and target machine being seco-imx8mm-c61.

$ TEMPLATECONF=../oniro/flavours/linux . ./oe-core/oe-init-build-env build-oniro-linux
  1. You will find yourself in the newly created build directory. Call bitbake to build the image. The supported image is allscenarios-image-base.

$ MACHINE=seco-imx8mm-c61 bitbake allscenarios-image-base

To generate images for eMMC, refer to the following flashing procedure.

Flashing OHOS image

Linux image

MMC Storage

Prerequisites

  • USB To UART adapter

  • USB to OTG adapter

  • Download and install mfgtools

  • Linux Host

To flash OHOS using USB to OTG adapter, perform the following steps:

  1. Short circuit pin 1 and 2 of CN52 pin header to enter the Serial Download mode.

  2. Connect USB to OTG adapter to your host PC

  3. Navigate to the inside build output directory:

    $ cd tmp/deploy/images/seco-imx8mm-c61/
    
  4. Unzip build output using Gzip software:

    $ gzip -d allscenarios-image-base-seco-imx8mm-c61.wic.gz
    
  5. To write uboot and image(p1:kernel, p2:dtb, rootfs) into c61 mmc via mfgtools:

    $ sudo uuu -b emmc_all imx-boot-seco-imx8mm-c61-emmc.bin-flash_evk allscenarios-image-base-seco-imx8mm-c61.wic
    
  6. Power ON SBC-C61

  7. Remove CN52 short circuit

  8. Press the reset button

Testing the board

Ethernet

You can use standard tools like ip, ifconfig to configure the connection.

root@seco-imx8mm-c61:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 1A:20:58:83:70:F0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

For any fault in the hardware device, see How to handle faulty hardware device.

USB Host

root@seco-imx8mm-c61:~# lsusb
Bus 001 Device 003: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

eMMC

root@seco-imx8mm-c61:~# fdisk -l /dev/mmcblk0
Disk /dev/mmcblk0: 59 GB, 63585648640 bytes, 124190720 sectors
1940480 cylinders, 4 heads, 16 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/mmcblk0p1 *  64,0,1      893,3,4           8192     114403     106212 51.8M  c Win95 FAT32 (LBA)
/dev/mmcblk0p2    896,0,1     1023,3,32       114688     558903     444216  216M 83 Linux

Loaded Modules

root@seco-imx8mm-c61:~# lsmod
Module                  Size  Used by
nfc                    90112  0
bluetooth             409600  8
ecdh_generic           16384  1 bluetooth
ecc                    32768  1 ecdh_generic
rfkill                 36864  3 nfc,bluetooth
ipv6                  442368  26
caam_jr               196608  0
caamhash_desc          16384  1 caam_jr
caamalg_desc           36864  1 caam_jr
crypto_engine          16384  1 caam_jr
rng_core               24576  1 caam_jr
authenc                16384  1 caam_jr
libdes                 24576  1 caam_jr
snd_soc_simple_card    20480  0
fsl_imx8_ddr_perf      20480  0
crct10dif_ce           20480  1
snd_soc_simple_card_utils    24576  1 snd_soc_simple_card
rtc_snvs               16384  1
snvs_pwrkey            16384  0
caam                   40960  1 caam_jr
clk_bd718x7            16384  0
error                  24576  4 caamalg_desc,caamhash_desc,caam,caam_jr
imx8mm_thermal         16384  0
snd_soc_fsl_sai        20480  0
imx_cpufreq_dt         16384  0