> 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/imx8/sbc-platform/imx8m-plus-mini-nano-software/buildroot-for-imx8m.md).

# Buildroot for iMX8M

### Buildroot for the SolidRun iMX8M based boards

This is a target platform for the iMX8M based SolidRun devices. It includes a custom config pre-configured to pull in the latest U-Boot and Linux kernel from the SolidRun BSP

### Building

The most basic image designed to boot from an SD-Card can be built with the following commands.

```
git clone https://github.com/SolidRun/buildroot.git --branch sr-latest
cd buildroot
make solidrun_imx8mq_hbpulse_defconfig
make
```

### Flashing

Once the build completes the image can be found at `output/images/sdcard.img` and can written to the SD card with your favorite imaging utility or dd.

```
sudo dd if=output/images/sdcard.img of=/dev/sdX bs=4M conv=fsync
```


---

# 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/imx8/sbc-platform/imx8m-plus-mini-nano-software/buildroot-for-imx8m.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.
