> For the complete documentation index, see [llms.txt](https://bananapi.gitbook.io/bpi-m2-ultra-open-source-single-board-computer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bananapi.gitbook.io/bpi-m2-ultra-open-source-single-board-computer/bpi-m2-ultraberry-software/bpi-tools/bpi-update.md).

# 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
```
