mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-08 22:24:32 +00:00
2bdfde5a00
Set dd "of=" to "of=/dev/sdX" to be generic and prevent host hard drive damage. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
31 lines
808 B
Text
31 lines
808 B
Text
How to use U-Boot on NXP i.MXRT1020 EVK
|
|
-----------------------------------------------
|
|
|
|
- Build U-Boot for i.MXRT1020 EVK:
|
|
|
|
$ make mrproper
|
|
$ make imxrt1020-evk_defconfig
|
|
$ make
|
|
|
|
This will generate the SPL image called SPL and the u-boot.img.
|
|
|
|
- Flash the SPL image into the micro SD card:
|
|
|
|
sudo dd if=SPL of=/dev/sdX bs=1k seek=1; sync
|
|
|
|
- Flash the u-boot.img image into the micro SD card:
|
|
|
|
sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128; sync
|
|
|
|
- Jumper settings:
|
|
|
|
SW8: 0 1 1 0
|
|
|
|
where 0 means bottom position and 1 means top position (from the
|
|
switch label numbers reference).
|
|
|
|
- Connect the USB cable between the EVK and the PC for the console.
|
|
(The USB console connector is the one close the ethernet connector)
|
|
|
|
- Insert the micro SD card in the board, power it up and U-Boot messages should
|
|
come up.
|