Skip to content

Commit

Permalink
Tuning the kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Oct 9, 2021
1 parent b724d2c commit 3742482
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-armbian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ jobs:
if: steps.build.outputs.status == 'success'
run: |
sudo chmod +x make
sudo ./make s922x_s905x3_s905x2_s912_s905d
sudo ./make s905x_s905w 5.4.149
sudo ./make s922x_s905x3_s905x2_s912_s905d 5.10.70_5.4.150
sudo ./make s905x_s905w 5.4.150
cd ./build/output/images && sudo gzip *.img && sync
echo "FILEPATH=$PWD" >> $GITHUB_ENV
echo "FILE_DATE=$(date +"%Y.%m.%d.%H%M")" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/use-releases-file-to-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
[ -s DOWNLOAD_ARMBIAN ] && wget -q -P build/output/images https://github.com/${GITHUB_REPOSITORY}/releases/download/$(cat DOWNLOAD_ARMBIAN)
cd ./build/output/images && gzip -df *.img.gz && sync && cd ../../../
sudo chmod +x make
sudo ./make s922x_s905x3_s905x2_s912_s905d
sudo ./make s905x_s905w 5.4.149
sudo ./make s922x_s905x3_s905x2_s912_s905d 5.10.70_5.4.150
sudo ./make s905x_s905w 5.4.150
cd ./build/output/images && sudo gzip *.img && sync
echo "FILEPATH=$PWD" >> $GITHUB_ENV
echo "FILE_DATE=$(date +"%Y.%m.%d.%H%M")" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ armbian-update 5.10.66

- 编译单个盒子的 Armbian 时,输入对应的 soc 型号,如 `sudo ./make s905x3`。 如果同时编译多个不同盒子时,将对应的 soc 型号使用 `_` 连接, 如 `sudo ./make s922x_s905x3`

- 可选项: 替换内核。如 `sudo ./make s905x 5.4.150`。当一次编译多个内核版本时,内核版本号使用 `_` 连接。如 `sudo ./make s922x_s905x3 5.4.150_5.14.9`。编译程序会自动到 [内核库](https://github.com/ophub/flippy-kernel/tree/main/library) 中查找你指定的内核系列是否有更新的版本,如果有则直接使用最新版。如果你想使用指定的固定版本,可以在版本号后使用 false 参数固定版本,如 `sudo ./make s905x 5.4.150 false`
- 可选项: 替换内核。如 `sudo ./make s905x 5.4.150`。当一次编译多个内核版本时,内核版本号使用 `_` 连接。如 `sudo ./make s922x_s905x3 5.10.70_5.4.150`。编译程序会自动到 [内核库](https://github.com/ophub/flippy-kernel/tree/main/library) 中查找你指定的内核系列是否有更新的版本,如果有则直接使用最新版。如果你想使用指定的固定版本,可以在版本号后使用 false 参数固定版本,如 `sudo ./make s905x 5.4.150 false`

💡提示:当前 ***`s905x`******`s905w`*** 系列的盒子只支持使用 `5.4.*` 内核,不能使用 5.10.* 或更高版本,请在编译时指定替换内核。其他型号的盒子可任选内核版本使用。

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ armbian-update 5.10.66

- compile `a single soc` can be directly input `sudo ./make s905x3`. When `multiple soc` is compiled at the same time, please use `_` to connect multiple soc, such as `sudo ./make s922x_s905x3`

- Optionality: Replace the kernel. Run Eg: `sudo ./make s905x 5.4.150`. When multiple kernel versions are generated at one time, the kernel version number is connected with `_` . Run Eg: `sudo ./make s922x_s905x3 5.4.150_5.14.9`. When there is an latest version of the same series of the specified kernel version, the `latest version` will be download from [kernel library](https://github.com/ophub/flippy-kernel/tree/main/library) and used automatically. When you want to compile a `fixed kernel`, Run `sudo ./make s905x 5.4.150 false`.
- Optionality: Replace the kernel. Run Eg: `sudo ./make s905x 5.4.150`. When multiple kernel versions are generated at one time, the kernel version number is connected with `_` . Run Eg: `sudo ./make s922x_s905x3 5.10.70_5.4.150`. When there is an latest version of the same series of the specified kernel version, the `latest version` will be download from [kernel library](https://github.com/ophub/flippy-kernel/tree/main/library) and used automatically. When you want to compile a `fixed kernel`, Run `sudo ./make s905x 5.4.150 false`.

💡Tips: The ***`s905x`*** and ***`s905w`*** boxs currently only support `5.4.*` kernels, Cannot use kernel version 5.10 and above. Please add kernel substitution variables when compiling these two models of devices. Other devices can be freely selected.

Expand Down

0 comments on commit 3742482

Please sign in to comment.