From 4f49a5ec5a6d14fb4898e3bb040af3bbf2a5895f Mon Sep 17 00:00:00 2001 From: ophub Date: Fri, 4 Feb 2022 17:18:57 +0800 Subject: [PATCH] Complete documentation --- README.cn.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.cn.md b/README.cn.md index f8f23549c6..61b8ecb1d4 100644 --- a/README.cn.md +++ b/README.cn.md @@ -46,7 +46,7 @@ armbian-update 如果当前目录下有成套的内核文件,将使用当前目录的内核进行更新。如果当前目录没有内核文件,将从服务器查询并下载同系列的最新内核进行更新。你也可以查询[可选内核](https://github.com/ophub/kernel/tree/main/pub/stable)版本,进行指定版本更新:`armbian-update 5.4.170`。在设备支持的可选内核里可以自由更新,如从 5.4.170 内核更新为 5.15.13 内核。内核更新脚本会在开发中不断更新,可使用此命令同步更新本地的脚本:`wget -O /usr/sbin/armbian-update git.io/armbian-update` 。或者直接使用服务器端最新脚本进行内核更新:`bash <(curl -fsSL git.io/armbian-update) 5.4.170` -内核更新时,默认从 [stable](https://github.com/ophub/kernel/tree/main/pub/stable) 内核版本分支下载,如果下载其他 [版本分支](https://github.com/ophub/kernel/tree/main/pub) 的内核,请在第 `2` 个参数中根据分支文件夹名称指定,如 `armbian-update 5.7.19 dev` 。默认不安装主线 u-boot,如果选择安装,请在第 `3` 个输入参数中指定,如 `armbian-update 5.4.170 stable yes` +内核更新时,默认从 [stable](https://github.com/ophub/kernel/tree/main/pub/stable) 内核版本分支下载,如果下载其他 [版本分支](https://github.com/ophub/kernel/tree/main/pub) 的内核,请在第 `2` 个参数中根据分支文件夹名称指定,如 `armbian-update 5.7.19 dev` 。默认会自动安装主线 u-boot,这对使用 5.10 以上版本的内核有更好的支持,如果选择不安装,请在第 `3` 个输入参数中指定,如 `armbian-update 5.4.170 stable no` 内核中的 `headers` 文件默认安装在 `/use/local/include` 目录下。在编译应用程序的时候,在 `GCC` 的 `CFLAG` 参数中添加 `-I /usr/local/include` 即可找到头文件。 diff --git a/README.md b/README.md index d3749e7aa0..e13dbaf6bd 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ armbian-update If there is a set of kernel files in the current directory, it will be updated with the kernel in the current directory. If there is no kernel file in the current directory, it will query and download the latest kernel of the same series from the server for update. You can also query the [optional kernel](https://github.com/ophub/kernel/tree/main/pub/stable) version and update the specified version: `armbian-update 5.4.170`. The optional kernel supported by the device can be freely updated, such as from 5.4.170 kernel to 5.15.13 kernel. The kernel update script will be continuously updated during development. You can use this command to update the local script synchronously: `wget -O /usr/sbin/armbian-update git.io/armbian-update` . Or directly use the latest script on the server side to update the kernel: `bash <(curl -fsSL git.io/armbian-update) 5.4.170` -When the kernel is updated, By default, download from [stable](https://github.com/ophub/kernel/tree/main/pub/stable) kernel version branch, if you download other [version branch](https://github.com/ophub/kernel/tree/main/pub), please specify according to the branch folder name in the `2` parameter, such as `armbian-update 5.7.19 dev` . The mainline u-boot is not installed by default, and individual boxes need to be installed when using kernels above 5.10. If you choose to install, specify it in the `3` input parameter, e.g. `armbian-update 5.4.170 stable yes` +When the kernel is updated, By default, download from [stable](https://github.com/ophub/kernel/tree/main/pub/stable) kernel version branch, if you download other [version branch](https://github.com/ophub/kernel/tree/main/pub), please specify according to the branch folder name in the `2` parameter, such as `armbian-update 5.7.19 dev` . The mainline u-boot will be installed automatically by default, which has better support for kernels using versions above 5.10. If you choose not to install, please specify it in the `3` input parameter, such as `armbian-update 5.4.170 stable no ` The `headers` files in the kernel is installed in the `/use/local/include` directory. When compiling the application, add `-I /usr/local/include` to the `CFLAG` parameter of `GCC` to find the headers files.