...
On a Linux PC, plug in a micro SD Card, either directly or using an USB-to-SD card converter. Any SD/SDHC Card should work.16 MB or more in density is sufficient.
Find out a
/dev/sdX
device the system has assigned to your micro SD Card. Here are some examples:Card already has some partitions:
Code Block $ dmesg | tail ... sd 1:0:0:0: [sdb] 3909632 512-byte logical blocks: (2.00GB/1.86GiB) sd 1:0:0:0: [sdb] Cache data unavailable sd 1:0:0:0: [sdb] Assuming drive cache: write through sdb: sdb1 sdb2
Other card, which has no partitions:
Code Block $ dmesg | tail ... sd 1:0:0:0: [sdb] 31116288 512-byte logical blocks: (15.9GB/14.8 GiB) sd 1:0:0:0: [sdb] Cache data unavailable sd 1:0:0:0: [sdb] Assuming drive cache: write through sdb: unknown partition table
Install U-Boot (prebuilt
SPL
andu-boot.img
images) to the micro SD card. Note that you need to specify the whole device as the destination for thedd
command (i.e. do not install the image to a partition):Code Block $ sudo dd if=SPL of=/dev/sdX bs=1k seek=1 conv=notrunc; sync $ sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync
Mount the first partition of the SD Card, and copy theĀ splash-rt1050-series_24.bmp file to the splash.bmp file on the SD card:
Code Block $ sudo mount /dev/sdX1 /mnt $ cp splash-rt1050-series_24.bmp /mnt/splash.bmp $ sudo umount /mnt $ sync
Safely remove the micro SD Card from the Linux PC.
Insert the micro SD Card to the SD Card holder on the NXP EVK board. Configure the NXP i.MX RT10XX EVK EVKB board for booting from the micro SD Card. Set the boot selection jumpers
SW7
on the i.MX RT1050 EVKB board orSW4
on the i.MX RT1050 EVKB board as follows:SW7.1-4=1010;
SW4.1-4=1010.
Connect the microUSB cable to the UART USB dongle and to the development host to provide the serial console (Refer to Connecting Serial Console to the NXP i.MX RT10XX EVK Board ) and power the board from a 5V power supply:
Code Block U-Boot SPL 2024.04 (Dec 19 2024 - 08:16:46 +0000) Trying to boot from MMC1 U-Boot 2024.04 (Dec 24 2024 - 06:30:18 +0000) DRAM: 32 MiB Core: 79 devices, 18 uclasses, devicetree: separate MMC: FSL_SDHC: 0 Loading Environment from MMC... OK In: serial@40184000 Out: serial@40184000 Err: serial@40184000 Net: eth0: ethernet@402d8000 Hit any key to stop autoboot: 0
Validate the U-boot command monitor. For example:
Code Block => help ? - alias for 'help' base - print or set address offset ... =>
...