Step 3: Program the Yocto firmware

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

Datat 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: ftp://ftp1.digi.com/support/digiembeddedyocto/2.2/r3/images/ccimx6sbc-installer.zip
  2. Decompress the installer zip file.
  3. Save the decompressed files in the root of a FAT-formatted microSD card.
  4. Insert the card in the microSD socket of the ConnectCore 6 SBC.
  5. Reset the device by pressing the reset button on the board. Then immediately press any key in the serial terminal to stop the auto-boot process. The U-Boot bootloader prompt displays:
U-Boot dub-2015.04-r8.3+g0de0373ade (Apr 23 2017 - 22:26:53)
			
CPU: Freescale i.MX6Q rev1.5 1200 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 52C
Reset cause: WDOG
I2C: ready
DRAM: 1 GiB
MMC: FSL_SDHC: 0 (eMMC), FSL_SDHC: 1
In: serial
Out: serial
Err: serial
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: 0x60, Customer: 0x00, Config: 0x56
Net: FEC [PRIME]
Hit any key to stop autoboot: 0 
=>
  1. Install the firmware into the internal eMMC, executing the following commands:
=> fatload mmc 1 $loadaddr install_linux_fw_sd.scr
=> source $loadaddr

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

  1. Once the firmware is installed, the device boots automatically. The default username is root with no password.