Skip to content

Commit

Permalink
Improve the compiled kernel documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed May 18, 2022
1 parent d0c82b4 commit 7b0ec30
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,10 @@ armbian-ddbr

- ### 编译内核

在 Armbian 中编译内核的用法详见 [编译内核](compile-kernel/README.cn.md) 说明文档。启动 Armbian 系统 → 输入命令:
在 Armbian 中编译内核的用法详见 [编译内核](compile-kernel/README.cn.md) 说明文档。登录 Armbian 系统 → 输入命令:

```yaml
armbian-kernel -update
armbian-kernel -d -k 5.10.100
```

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ According to the prompt, enter `b` to perform system backup, and enter `r` to pe
For the usage of compiling the kernel in Armbian, see the [compile-kernel](compile-kernel) documentation. please login in to armbian → input command:

```yaml
armbian-kernel -update
armbian-kernel -d -k 5.10.100
```

Expand Down
2 changes: 1 addition & 1 deletion compile-kernel/README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ sudo apt-get full-upgrade -y
sudo apt-get install -y $(curl -fsSL https://raw.githubusercontent.com/ophub/amlogic-s9xxx-armbian/main/compile-kernel/tools/script/armbian-compile-kernel-depends)
```

2. 更新本地编译环境`armbian-kernel -update`
2. 更新本地编译环境和配置文件`armbian-kernel -update`

3. 编译内核:运行 `armbian-kernel -d -k 5.10.100` 等指定参数命令即可编译内核。脚本会自动下载安装编译环境和内核源码并做好全部设置。打包好的内核文件保存在 `/opt/kernel/compile-kernel/output` 目录里。

Expand Down
2 changes: 1 addition & 1 deletion compile-kernel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ sudo apt-get full-upgrade -y
sudo apt-get install -y $(curl -fsSL https://raw.githubusercontent.com/ophub/amlogic-s9xxx-armbian/main/compile-kernel/tools/script/armbian-compile-kernel-depends)
```

2. Update the local compile environment: `armbian-kernel -update`
2. Update the local compile environment and config files: `armbian-kernel -update`

3. Compile the kernel: Run `armbian-kernel -d -k 5.10.100` and other specified parameter commands to compile the kernel. The script will automatically download and install the compilation environment and kernel source code and make all settings. The packaged kernel file is stored in the `/opt/kernel/compile-kernel/output` directory.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# Copyright (C) 2021- https:/unifreq
# Copyright (C) 2021- https:/ophub/amlogic-s9xxx-armbian
#
# Command: sudo ./recompile -d
# Command: armbian-kernel -update && armbian-kernel -d -k 5.10.100
# Command optional parameters please refer to the source code repository
#
#======================================= Functions list =======================================
Expand Down

0 comments on commit 7b0ec30

Please sign in to comment.