# bpi-update

**How to : Use bpi-update command to update kernel image**

Step1: Update bpi-tools

```
$ git clone https://github.com/BPI-SINOVOIP/bpi-tools.git8
$ cd bpi-tools
$ sudo ./bpi-tools -u -U
```

Step 2: Check bpi-tools version

```
$ bpi-tools -v
```

Step 3: Use bpi-update to update kerenl

```
$ mkdir update_file
$ cd update_file
```

BPI-M2U

```
$ sudo bpi-update -c bpi-m2u.conf
```

BPI-M2P

```
$ sudo bpi-update -c bpi-m2p.conf
```

BPI-M3

```
$ sudo bpi-update -c bpi-m3.conf
```


---

# Agent Instructions: 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://bananapi.gitbook.io/bpi-m2-ultra-open-source-single-board-computer/bpi-m2-ultraberry-software/bpi-tools/bpi-update.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.
