Preparing U-Boot▲
Finally, prepare the i.MX6 Quad board for U-Boot:
-
Connect to your i.MX6 Quad board with a serial connection at a baud rate of 115200.
-
Set the following environment variables in the U-Boot terminal:
Sélectionnezsetenv bootcmd_demo_dt 'mmc dev
1
; fatload mmc1
:1
20000000
demo.image; fatload mmc1
:1
4
FFE0000 imx6q-
sabrelite.dtb; bootm20000000
-
4
FFE0000' setenv bootcmd 'run bootcmd_demo_dt' saveenvThe file demo.image was built with the mkimage tool in Building U-Boot Image.
-
Reset the i.MX6 Quad board.
Now your i.MX6 Quad board is ready to run your application.