---
# System prepended metadata

title: FAQ
tags: [x261]

---

<!--
 Copyright (c) 2022 Innodisk crop.
 
 This software is released under the MIT License.
 https://opensource.org/licenses/MIT
-->


# FAQ
- [FAQ](#faq)
- [What is BSP?](#what-is-bsp)
- [How to flash eMMC on X261?](#how-to-flash-emmc-on-x261)
- [How to update QSPI FW?](#how-to-update-qspi-fw)
- [How to use xmutil to check Accelerate Application is loaded?](#how-to-use-xmutil-to-check-accelerate-application-is-loaded)
- [How to update the application on X261?](#how-to-update-the-application-on-x261)
- [How to check the version on EXMU-X261?](#how-to-check-the-version-on-exmu-x261)
- [Aborted to run dpu-sc?](#aborted-to-run-dpu-sc)
- [For first time boot, what is the login account and password?](#for-first-time-boot-what-is-the-login-account-and-password)
- [How to access USB?](#how-to-access-usb)
- [How to use docker on EXMU-x261?](#how-to-use-docker-on-exmu-x261)
- [Will the kernel be updated?](#will-the-kernel-be-updated)

# What is BSP?
A Board Support Package (BSP) is a collection of drivers customized to the provided hardware description, and it also contains a lot of source code(like Petalinux, Vitis and Vivado etc.). Our BSP structure like below:  
![bsp-tree](https://hackmd.io/_uploads/HyG3Lqnnn.png)


# How to flash eMMC on X261?
1. You need to prepare a MicroSD Card which can boot on X261, then use it to boot the system.  
2. In U-Boot section, you can see the simple menu like below through debug board(UART), please select `Carrier Card (CC) boot device` here.   
![u-boot-menu](https://hackmd.io/_uploads/rklTIqhhh.png)


1. After booting, you can follow below steps to flash the image which used to replace k26's eMMC, such like:  
   ```bash  
   sudo umount /dev/mmcblk0p1
   sudo umount /dev/mmcblk0p2
   echo -e "d\n\nd\n\nd\n\nw\n" | sudo fdisk /dev/mmcblk0
   sudo dd if=<reflash-image> of=/dev/mmcblk0 bs=1M status=progress 
   ```
2. Finnaly, after `reboot` then you can see the new system which you flashed.


# How to update QSPI FW?
For partition A.
```
sudo flashcp -v BOOT.BIN /dev/mtd5
```

For partition B.
```
sudo flashcp -v BOOT.BIN /dev/mtd7
```
Example of successfuly update qspifw.
    ![](https://hackmd.io/_uploads/HyGevqhnh.gif)


# How to use xmutil to check Accelerate Application is loaded?
You can use `xmutil` to check the `listapps`. The active shows `1` means accelerate application is loaded.

```
xmutil listapps
```

<!-- ![load_dpu](./fig/load_dpu.png) -->

If the accelerate application not loaded. you can use `xmutil` to load accelerate application. And check the accelerate application list again.

<!-- ![unload_dpu](./fig/unload_dpu.png) -->

```
xmutil loadapp <accelerate application name>
```
<!-- ![load_sucess](./fig/load_sucess.png) -->


# How to update the application on X261?
All application support using RPM to upgrade.
  
# How to check the version on EXMU-X261?
For BSP version, using the following command to check. The BSP version is `Ver.x.x.x`.

```bash
cat /etc/issue
```

![bsp-version](https://hackmd.io/_uploads/BkaeDcnh2.png)


For Vitis-AI version, using the following command to check. The Vitis-AI version can be seen at `VAI Version`.
```
xdputil query
```

![xdputil_query](https://hackmd.io/_uploads/Sy5Zv9hn2.png)


The dpu-sc not preload in our system. If you need to check dpu-sc version, the version shows when running dpu-sc.

 ![dpu-sc](https://hackmd.io/_uploads/SJEMP9hnh.png)


For stesting version, stesting can't check version yet. Would be added in future version.
   
# Aborted to run dpu-sc?
When running the dpu-sc and got the error as following shows. It is because system doeesn't load DPU accelerate application yet.

![dpu-sc-aborted](https://hackmd.io/_uploads/S1szw93hh.png)


Please load DPU accelerate application. Double check accelerate application list. And run dpu-sc again.
```
xmutil loadapp <dpu accelerate application name>
```

# For first time boot, what is the login account and password?
Account name is `petalinux`. And you can set a new password at first time.

# How to access USB?
You can use the command `sudo su` to switch mode to `root` for accessing USB.

![usb-access](https://hackmd.io/_uploads/SyV7Pq2h3.png)


# How to use docker on EXMU-x261?
You can install docker on EXMU-X261 by following command and refer [kria-docker](https://github.com/Xilinx/kria-docker) for more detail.

```
    sudo dnf install docker-ce.cortexa72_cortexa53 -y
```
# Will the kernel be updated?
Our kernel cannot be updated. If any adjustments are needed, please contact us.

# Pre-build image naming role?
The following is pre-build image naming role.
```
<projectname>_<BSP Version>_<APP>_<pkg coded date>
```
