IMX8/iMX8MEVK/Getting Started/Selecting Boot Options: Difference between revisions
mNo edit summary |
|||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{IMX8/Head}}</noinclude> | <noinclude>{{IMX8/Head|previous=iMX8MEVK/Getting Started|next=iMX8MEVK/Getting Started/System Setup|metakeywords=evk,imx8evk, evaluation kit, i.MX8M Quad Evaluation Kit, iMX8MEVK, configure, configuring host machine, boot, boot options, EMMC, USB boot}}</noinclude> | ||
__TOC__ | |||
==Boot Loading Options== | ==Boot Loading Options== | ||
The i.MX8M Evaluation Kit provides two switches in order to set the boot configurations according to your needs. You can see both switches | The i.MX8M Evaluation Kit provides two switches in order to set the boot configurations according to your needs. You can see both switches in the following picture: | ||
[[File:switchesevk.png|300px|center|Boot switches on the i.MX8M EVK]] | [[File:switchesevk.png|300px|center|Boot switches on the i.MX8M EVK]] | ||
Where the one surrounded by a red square is the '''SW801''' switch and the one surrounded by a yellow square is the '''SW802''' switch. | Where the one surrounded by a red square is the '''SW801''' switch and the one surrounded by a yellow square is the '''SW802''' switch. | ||
*<span style="color:#edc93b">'''SW802:'''</span> This switch allows to configure the boot source by selecting one of the following options: | *<span style="color:#edc93b">'''SW802:'''</span> This switch allows to configure the boot source by selecting one of the following options: | ||
**Boot From Fuses: The i.MX8M Applications Processor can be | **Boot From Fuses: The i.MX8M Applications Processor can be set as a boot configuration. This can be made established via eFUSE, a dynamic real-time reprogramming technology of computer chips. | ||
**Serial Downloader: The i.MX8M downloads a program image from a USB connection. | **Serial Downloader: The i.MX8M downloads a program image from a USB connection. | ||
**Internal Boot: For development. The boot mode is selected by configuring the '''SW801''' switch. | **Internal Boot: For development. The boot mode is selected by configuring the '''SW801''' switch. | ||
Line 41: | Line 43: | ||
|- | |- | ||
! scope="row" | Boot from EMMC | ! scope="row" | Boot from EMMC | ||
| style="text-align: center" | OFF | OFF | ON | OFF | | style="text-align: center" | OFF || style="text-align: center" | OFF || style="text-align: center" | ON || style="text-align: center" | OFF | ||
|- | |- | ||
! scope="row" | Boot from SD2 | ! scope="row" | Boot from SD2 | ||
| style="text-align: center" | ON | ON | OFF | OFF | | style="text-align: center" | ON || style="text-align: center" | ON || style="text-align: center" | OFF || style="text-align: center" | OFF | ||
|} | |} | ||
==Boot from EMMC== | |||
This is how the physical switches '''SW802''' and '''SW801''' should be set in order to boot from EMMC respectively: | |||
[[File:switchsd.png|500px|center|Boot switches on the i.MX8M EVK]] | |||
This is how the physical | ==Boot from SD2== | ||
This is how the physical switches '''SW802''' and '''SW801''' should be set to boot from SD2 respectively: | |||
[[File:switchemmc.png|500px|center|Configuration to boot from the EMMC]] | |||
[[File:switchemmc.png| | |||
==Advanced Boot Options== | |||
You can load the kernel and filesystem by using advanced methods. Please refer to the [[IMX8/iMX8MEVK/Yocto/Advanced_image_loading | Advanced Image Loading]] page for more information. | |||
<noinclude>{{IMX8/Foot|iMX8MEVK/Getting Started| | <noinclude>{{IMX8/Foot|iMX8MEVK/Getting Started|iMX8MEVK/Getting Started/System Setup}}</noinclude> |
Latest revision as of 10:40, 3 March 2023
Boot Loading Options
The i.MX8M Evaluation Kit provides two switches in order to set the boot configurations according to your needs. You can see both switches in the following picture:
Where the one surrounded by a red square is the SW801 switch and the one surrounded by a yellow square is the SW802 switch.
- SW802: This switch allows to configure the boot source by selecting one of the following options:
- Boot From Fuses: The i.MX8M Applications Processor can be set as a boot configuration. This can be made established via eFUSE, a dynamic real-time reprogramming technology of computer chips.
- Serial Downloader: The i.MX8M downloads a program image from a USB connection.
- Internal Boot: For development. The boot mode is selected by configuring the SW801 switch.
- Reserved.
- SW801: This switch allows to configure the boot mode by selecting one of the following options:
- Boot from EMMC.
- Boot from SD2.
The method used to determine where the processor finds its boot information is from two dedicated BOOT MODE pins. In the following table you can see how to configure each mode on SW802:
Boot Source | PIN1 | PIN2 |
---|---|---|
Boot from fuses | OFF | OFF |
Serial Downloader | OFF | ON |
Internal Boot | ON | OFF |
Reserved | ON | ON |
For example, if the method of determining the bootable source code is selected to be from the switch, then the developer must set the SW802: PIN1 to ON, PIN2 to OFF, and the four i.MX8M pins of the SW801 must be set on the EVK board by considering the information present in the following table:
BOOT Configuration | PIN1 | PIN2 | PIN3 | PIN4 |
---|---|---|---|---|
Boot from EMMC | OFF | OFF | ON | OFF |
Boot from SD2 | ON | ON | OFF | OFF |
Boot from EMMC
This is how the physical switches SW802 and SW801 should be set in order to boot from EMMC respectively:
Boot from SD2
This is how the physical switches SW802 and SW801 should be set to boot from SD2 respectively:
Advanced Boot Options
You can load the kernel and filesystem by using advanced methods. Please refer to the Advanced Image Loading page for more information.