NXP 8M Mini EVK devices
This process currently uses a micro-SD card. A future release will use the on-board EMMC.
This platform is still in development and is only partially supported. The boot partitioning has not been finished.
Check the current block storage devices on your PC:
A list of devices displays. For example:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 0 1.8T 0 disk └─sdb1 8:17 0 1.8T 0 part /mnt/2tb-disk sr0 11:0 1 1024M 0 rom sda 8:0 0 238.5G 0 disk ├─sda2 8:2 0 238G 0 part │ ├─vg00-swap 253:1 0 7.5G 0 lvm [SWAP] │ └─vg00-root 253:0 0 230.6G 0 lvm / └─sda1 8:1 0 476M 0 part
You'll need to refer to this output in the following steps, so save it for reference.
Connect a micro-SD card to your PC. You can now see new storage devices:
In this example, the device is listed as
sdc(the partitions on the device are also shown):
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 0 1.8T 0 disk └─sdb1 8:17 0 1.8T 0 part /mnt/2tb-disk sr0 11:0 1 1024M 0 rom sdc 8:32 1 14.5G 0 disk └─sdc1 8:33 1 14.5G 0 part /media/user01/141E-8726 sda 8:0 0 238.5G 0 disk ├─sda2 8:2 0 238G 0 part │ ├─vg00-swap 253:1 0 7.5G 0 lvm [SWAP] │ └─vg00-root 253:0 0 230.6G 0 lvm / └─sda1 8:1 0 476M 0 part
In the commands below, replace
/dev/sdXwith the device file name for the SD card without a number at the end.
Ensure none of the micro-SD card's partitions are mounted (replace
/dev/sdXas explained above):
sudo umount /dev/sdX*
Write the disk image to the SD card device - not a partition on it (replace
/dev/sdXas explained above):
sudo bmaptool copy --nobmap /path/to/artifacts/machine/imx8mmevk-mbl/images/mbl-image-development/images/mbl-image-development-mx8mmevk-mbl.wic.gz /dev/sdX
This action may take some time.
--nobmapfor the initial flashing, to ensure your flash is set up correctly. On all subsequent flashings, you can use the
--bmapoption with a bmap file to speed up the process:
sudo bmaptool copy --bmap /path/to/artifacts/machine/imx8mmevk-mbl/images/mbl-image-development/images/mbl-image-development-imx8mmevk-mbl.wic.bmap /path/to/artifacts/machine/imx8mmevk-mbl/images/mbl-image-development/images/mbl-image-development-imx8mmevk-mbl.wic.gz /dev/sdX
bmaptoolhas finished, eject the device:
sudo eject /dev/sdX
To let the device boot from the SD-card, set up the device's DIP switches as explained on the device:
Detach the micro-SD card from your PC, and plug it into the NXP 8M Mini EVK.
Connect the board's micro-USB port to a regular USB port on your PC.
Power on the device.
From your PC, connect to the device's serial console (over your micro-USB port):
minicom -D /dev/ttyUSB1
Note: There will be two
ttyUSBconnections when you plug in the NXP 8M Mini EVK. You need to use the second connection to get the serial console output.
Use the following settings:
- Baud rate: 115200.
- Encoding: 8N1.
- No hardware flow control (enabled by default).
Connect the NXP 8M Mini EVK USB-C power socket to the kit's power supply.
Connect the kit's power supply to a wall plug.
The device now boots into MBL.
To log in to MBL, wait for a login prompt, and then enter the username
root. You will not be prompted for a password.