You can create a bootable microSD card and use it to boot the ConnectCore 8M Nano.
Create a bootable microSD card
Requirements
-
Root/administrator permissions in your development computer
-
A microSD card with a minimum capacity of 2 GB
Build images suitable for microSD card
Refer to Create bootable sdcard image for information on creating an image for the microSD card.
As a result of this process, you’ll obtain an artifact in the form <image-name>-ccimx8mn-dvk.sdcard.gz
.
Program the microSD card
This process formats and erases all contents on the microSD card. |
-
Decompress the file using the following command:
$ gzip -d -f <image-name>-ccimx8mn-dvk.sdcard.gz
-
Insert the microSD card into your computer and check the node Linux assigns to it (
/dev/<sdcard>
) usingdmesg
:$ dmesg [1413652.901270] sd 41:0:0:0: [sdc] 7744512 512-byte logical blocks: (3.96 GB/3.69 GiB) [1413652.903140] sd 41:0:0:0: [sdc] No Caching mode page present [1413652.903144] sd 41:0:0:0: [sdc] Assuming drive cache: write through [1413652.905638] sd 41:0:0:0: [sdc] No Caching mode page present [1413652.905642] sd 41:0:0:0: [sdc] Assuming drive cache: write through [1413652.915154] sdc: sdc1
Do not mount any partitions the card might contain (or unmount any partition if automatically mounted) as you will be writing to the entire block device.
Using an incorrect device node in the next step might destroy all data on your computer hard drive. -
Raw write the image file to the microSD card with this command:
$ sudo dd if=<image-name>-ccimx8mn-dvk.sdcard of=/dev/<sdcard> $ sync
The microSD card is now ready.
Boot the target from microSD card
-
Power off the device.
-
Insert the microSD card on the socket of the ConnectCore 8M Nano Development Kit
-
Change the boot mode switches to boot from the microSD:
-
S1.1
: OFF -
S1.2
: ON -
S1.3
: ON -
S1:4
: n/a
-
-
Power on the device.
The target boots from the microSD.