> 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/marvell/a38x/sbc-platform/a388-other-articles/switching-pcie-to-msata.md).

# Switching PCIe to MSATA

The mini-pcie slots on the top of the board can be configured to be either SATA or PCIe. This configuration does not auto-detect yet and needs to be hard coded in u-boot. I can add a u-boot env variable to switch between them. You need to modify the #if 1 to #if 0 in the following two places –\
[https://github.com/SolidRun/u-boot-armada38x/blob/u-boot-2013.01-15t1-clearfog/tools/marvell/bin\_hdr/src\_phy/a38x/mvHighSpeedTopologySpec-38x.c#L92](https://github.com/SolidRun/u-boot-armada38x/blob/u-boot-2013.01-15t1-clearfog/tools/marvell/bin_hdr/src_phy/a38x/mvHighSpeedTopologySpec-38x.c#l92)

and

[https://github.com/SolidRun/u-boot-armada38x/blob/u-boot-2013.01-15t1-clearfog/tools/marvell/bin\_hdr/src\_phy/a38x/mvHighSpeedTopologySpec-38x.c#L98](https://github.com/SolidRun/u-boot-armada38x/blob/u-boot-2013.01-15t1-clearfog/tools/marvell/bin_hdr/src_phy/a38x/mvHighSpeedTopologySpec-38x.c#l98)

This will modify the SERDES of the PEX (pcie) to become a SATA port

### Bootdevice (Dipswitch)

On both carrier boards – the boot device can be chosen by using the SW1 Dipswitch.

![](/files/mZqhhgzuIzGhZdOUXCtd)

{% hint style="info" %}
White is the dip position. Black is the background.
{% endhint %}

{% hint style="warning" %}
UART Booting does **not** work with above configuration! Instead, use **01001** where 1 means on, and 0 means off.
{% endhint %}

{% hint style="warning" %}
Additional Information: If the SOM has eMMC onboard – SD interface will not work.
{% endhint %}


---

# 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/marvell/a38x/sbc-platform/a388-other-articles/switching-pcie-to-msata.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.
