> For the complete documentation index, see [llms.txt](https://docs.arkelectron.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arkelectron.com/products/flight-controller/ark-pi6x-flow/flashing-guide/pi-cm4-lite-with-micro-sd.md).

# Pi CM4 Lite with Micro SD

When using a Pi CM4 Lite without EMMC, a micro SD must be used for the OS. Follow the normal steps for flashing a micro SD using the Raspberry Pi Imager.

{% embed url="<https://www.raspberrypi.com/software/>" %}

If using Ubuntu:

```
wget -O pi_imager.deb https://downloads.raspberrypi.org/imager/imager_latest_amd64.deb && sudo dpkg -i pi_imager.deb && rm pi_imager.deb
```

{% hint style="warning" %}
Select **Raspberry Pi OS (Legacy, 64-bit)**, which is based on Debian Bookworm. ARK-OS has only been tested against Bookworm; newer Raspberry Pi OS releases based on Debian Trixie are not yet verified.
{% endhint %}

Apply OS customization to configure WiFi and enable SSH:

* Set the default hostname:

```
pi6x
```

* Set the Wifi:\
  It is recommended to add a Dummy Wifi to turn on the Wifi radio, it does not have to be a reachable/ functioning network.\
  Otherwise it can be turned on using the following command once you have ssh-d to the Pi using the debug port. This command is automatically applied once you install ARK OS, to clone ARK OS you either need Wifi or Ethernet connected to the board.

```
sudo nmcli radio wifi on
```

* Set the default **username (pi)** and **password (pi)**
* Enable SSH

<figure><img src="/files/FbhVfNfcfkHHNeapKaA0" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/apdAXEwy5wDJ0W2riuGj" alt=""><figcaption></figcaption></figure>

After flashing the SD card is complete, you will need to modify the **/boot/config.txt** file on the SD card before installing it into the Pi. See [**After Flashing, Before Installing**](/products/flight-controller/ark-pi6x-flow/flashing-guide/after-flashing-before-installing.md)**.**


---

# 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://docs.arkelectron.com/products/flight-controller/ark-pi6x-flow/flashing-guide/pi-cm4-lite-with-micro-sd.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.
