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:
- Download the firmware images from this location: ftp://ftp1.digi.com/support/digiembeddedyocto/2.2/r3/images/ccimx6sbc-installer.zip
- Decompress the installer zip file.
- Save the decompressed files in the root of a FAT-formatted microSD card.
- Insert the card in the microSD socket of the ConnectCore 6 SBC.
- 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 =>
- 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.
## 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
- Once the firmware is installed, the device boots automatically. The default username is root with no password.