> For the complete documentation index, see [llms.txt](https://dev.solid-run.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.solid-run.com/nxp/imx6/sbc-platform/imx6-other-articles/installing-and-booting-an-image-on-imx6-som-emmc.md).

# Installing and booting an image on i.MX6 SOM eMMC

#### Background

The instructions below can be used to install the SolidRun provided Debian image on the i.MX6 SOM eMMC as an example. Customer can use these instructions to install any other Linux image.

* Set the boot select jumpers to boot from SDHC, please see [HummingBoard Edge/Gate Boot Jumpers](/nxp/imx6/sbc-platform/imx6-other-articles/hummingboard-edge-gate-boot-jumpers.md) article for more information.
* Boot from SDHC
* Download the Debian image :

```
wget https://images.solid-run.com/IMX6/Debian/sr-imx6-debian-stretch-cli-20180916.img.xz
```

* As root write the image to the eMMC:

```
xz -dc sr-imx6-debian-stretch-cli-20180916.img.xz | dd of=/dev/mmcblk2 bs=4M conv=fsync
```

* Download bootloader images:

```
wget https://images.solid-run.com/IMX6/U-Boot/v2018.01/spl-imx6-sdhc.bin
wget https://images.solid-run.com/IMX6/U-Boot/v2018.01/u-boot-imx6-sdhc.img
```

* As root write the bootloader images to the eMMC:

```
dd if=spl-imx6-sdhc.bin of=/dev/mmcblk2 bs=1K seek=1 conv=fdatasync
dd if=u-boot-imx6-sdhc.img of=/dev/mmcblk2 bs=1K seek=69 conv=fdatasync
```

* Shut the system down with the ‘poweroff’ command
* Disconnect power source
* Set the boot select jumpers to eMMC boot
* Boot the system from eMMC


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.solid-run.com/nxp/imx6/sbc-platform/imx6-other-articles/installing-and-booting-an-image-on-imx6-som-emmc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
