The ConnectCore 6 is shipped without a default operating system loaded. Only U-Boot is flashed in the device. This step demonstrates how to install Yocto in your ConnectCore 6.

1. Establish a serial connection with your device

Before you start programming the firmware, you must open a serial connection with the device. You can use any serial terminal program such as Tera Term, Minicom, CoolTerm, or HyperTerminal.

Open a serial connection with the following settings:

Parameter Value

Port

Serial port where the device is connected

Baud rate

115200

Data bits

8

Parity

None

Stop bits

1

Flow control

None

2. Program the firmware

Once you have established the serial connection, you can start the firmware update process. Follow these steps to install Yocto in the device:

  1. Download the firmware images from this location: https://ftp1.digi.com/support/digiembeddedyocto/2.4/r3/images/ccimx6sbc-installer.zip

  2. Decompress ccimx6sbc-installer.zip.

  3. Place the decompressed files in the root of a FAT-formatted microSD card and insert it in the microSD socket of the ConnectCore 6 SBC (bottom side).

  4. Reset the device by pressing the reset button on the board and immediately press any key in the serial terminal to stop the auto-boot process. The U-Boot bootloader prompt displays:

    U-Boot dub-2017.03-r2.1-git+g3e65181 (Nov 06 2018 - 06:43:57 +0000)
    
    CPU:   Freescale i.MX6Q rev1.5 1200 MHz (running at 792 MHz)
    CPU:   Extended Commercial temperature grade (-20C to 105C) at 38C
    Reset cause: POR
    I2C:   ready
    DRAM:  1 GiB
    MMC:   FSL_SDHC: 0 (eMMC), FSL_SDHC: 1
    In:    serial
    Out:   serial
    Err:   serial
    Model: Digi International ConnectCore 6 Single Board Computer.
    ConnectCore 6 SOM variant 0x02: Consumer quad-core 1.2GHz, 4GB eMMC, 1GB DDR3, -20/+70C, Wireless, Bluetooth, Kinetis
    Board: ConnectCore 6 SBC, version 3, ID 129
    Boot device: MMC4
    PMIC:  DA9063, Device: 0x61, Variant: 0x50, Customer: 0x00, Config: 0x56
    Net:   FEC [PRIME]
    Hit any key to stop autoboot:  0
    =>
  5. Install the firmware into the internal eMMC, executing the following command:

    => run install_linux_fw_sd
  6. Once the firmware is installed, the device boots automatically. The default username is root with no password.


During installation, error messages appear when the installation process attempts to override MAC addresses. These messages are expected.

## Resetting to default environment
oldval: 00:40:9D:7D:17:9A  defval: 00:04:f3:ff:ff:fa
## Error: Can't overwrite "ethaddr"
himport_r: can't insert "ethaddr=00:04:f3:ff:ff:fa" into hash table
oldval: 00:40:9D:7D:17:9B  defval: 00:04:f3:ff:ff:fb
## Error: Can't overwrite "eth1addr"
himport_r: can't insert "eth1addr=00:04:f3:ff:ff:fb" into hash table
oldval: 00:40:9D:7D:17:9C  defval: 00:04:f3:ff:ff:fc
## Error: Can't overwrite "wlanaddr"
himport_r: can't insert "wlanaddr=00:04:f3:ff:ff:fc" into hash table
oldval: 00:40:9D:7D:17:9D  defval: 00:04:f3:ff:ff:fd
## Error: Can't overwrite "btaddr"
himport_r: can't insert "btaddr=00:04:f3:ff:ff:fd" into hash table