diff --git a/.github/workflows/rebuild-armbian.yml b/.github/workflows/rebuild-armbian.yml index 7f64aff634..79f9a2692a 100644 --- a/.github/workflows/rebuild-armbian.yml +++ b/.github/workflows/rebuild-armbian.yml @@ -73,7 +73,7 @@ jobs: with: armbian_path: ${{ env.ARMBIAN_URL }} armbian_soc: s905x3_s905d - armbian_kernel: 5.10.100_5.4.180 + armbian_kernel: 5.15.25_5.4.180 - name: Upload Armbian image to Release id: release diff --git a/README.cn.md b/README.cn.md index 638d17a91d..9a814f98e7 100644 --- a/README.cn.md +++ b/README.cn.md @@ -46,7 +46,7 @@ armbian-install armbian-update ``` -如果当前目录下有成套的内核文件,将使用当前目录的内核进行更新(更新需要的 4 个内核文件是 `header-xxx.tar.gz`, `boot-xxx.tar.gz`, `dtb-amlogic-xxx.tar.gz`, `modules-xxx.tar.gz`。其他内核文件不需要,如果同时存在也不影响更新,系统可以准确识别需要的内核文件)。如果当前目录没有内核文件,将从服务器查询并下载同系列的最新内核进行更新。你也可以查询[可选内核](https://github.com/ophub/kernel/tree/main/pub/stable)版本,进行指定版本更新:`armbian-update 5.4.180`。在设备支持的可选内核里可以自由更新,如从 5.4.180 内核更新为 5.10.100 内核。内核更新时,默认从 [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.180 stable no` +如果当前目录下有成套的内核文件,将使用当前目录的内核进行更新(更新需要的 4 个内核文件是 `header-xxx.tar.gz`, `boot-xxx.tar.gz`, `dtb-amlogic-xxx.tar.gz`, `modules-xxx.tar.gz`。其他内核文件不需要,如果同时存在也不影响更新,系统可以准确识别需要的内核文件)。如果当前目录没有内核文件,将从服务器查询并下载同系列的最新内核进行更新。你也可以查询[可选内核](https://github.com/ophub/kernel/tree/main/pub/stable)版本,进行指定版本更新:`armbian-update 5.4.180`。在设备支持的可选内核里可以自由更新,如从 5.4.180 内核更新为 5.15.25 内核。内核更新时,默认从 [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.180 stable no` 内核中的 `headers` 文件默认安装在 `/use/local/include` 目录下。在编译应用程序的时候,在 `GCC` 的 `CFLAG` 参数中添加 `-I /usr/local/include` 即可找到头文件。 @@ -150,18 +150,18 @@ armbian-ddbr | -d | Defaults | 使用默认配置 | | -b | BuildSoC | 指定电视盒子型号,如 `-b s905x3` . 多个型号使用 `_` 进行连接,如 `-b s905x3_s905d` . 可以指定的型号有: `a311d`, `s905x3`, `s905x2`, `s905x`, `s905w`, `s905d`, `s905d-ki`, `s905`, `s922x`, `s922x-n2`, `s912`, `s912-t95z` 。说明:`s922x-reva` 是 `s922x-gtking-pro-rev_a`,`s922x-n2` 是 `s922x-odroid-n2` ,`s912-t95z` 是 `s912-t95z-plus` ,`s905d-ki` 是 `s912-mecool-ki-pro`,`s905x2-km3` 是 `s905x2-mecool-km3` | | -v | Version | 指定内核 [版本分支](https://github.com/ophub/kernel/tree/main/pub) 名称,如 `-v stable` 。指定的名称须与分支目录名称相同。默认使用 `stable` 分支版本。 | -| -k | Kernel | 指定 [kernel](https://github.com/ophub/kernel/tree/main/pub/stable) 名称,如 `-k 5.4.180` . 多个内核使用 `_` 进行连接,如 `-k 5.10.100_5.4.180` | +| -k | Kernel | 指定 [kernel](https://github.com/ophub/kernel/tree/main/pub/stable) 名称,如 `-k 5.4.180` . 多个内核使用 `_` 进行连接,如 `-k 5.15.25_5.4.180` | | -a | AutoKernel | 设置是否自动采用同系列最新版本内核。当为 `true` 时,将自动在内核库中查找在 `-k` 中指定的内核如 5.4.180 的 5.4 同系列是否有更新的版本,如有 5.4.180 之后的最新版本时,将自动更换为最新版。设置为 `false` 时将编译指定版本内核。默认值:`true` | | -s | Size | 对固件的 ROOTFS 分区大小进行设置,默认大小为 2748M, 固件大小必须大于 2000M. 例如: `-s 2748` | - `sudo ./rebuild -d` : 使用默认配置,对全部型号的电视盒子进行打包。 - `sudo ./rebuild -d -b s905x3 -k 5.4.180` : 推荐使用. 使用默认配置进行相关内核打包。 -- `sudo ./rebuild -d -b s905x3_s905d -k 5.10.100_5.4.180` : 使用默认配置,进行多个内核同时打包。使用 `_` 进行多内核参数连接。 +- `sudo ./rebuild -d -b s905x3_s905d -k 5.15.25_5.4.180` : 使用默认配置,进行多个内核同时打包。使用 `_` 进行多内核参数连接。 - `sudo ./rebuild -d -b s905x3 -k 5.4.180 -s 2748` : 使用默认配置,指定一个内核,一个型号进行打包,固件大小设定为2748M。 - `sudo ./rebuild -d -b s905x3 -v dev -k 5.7.19` : 使用默认配置,指定型号,指定版本分支,指定内核进行打包。 - `sudo ./rebuild -d -b s905x3_s905d` 使用默认配置,对多个型号的电视盒子进行全部内核打包, 使用 `_` 进行多型号连接。 -- `sudo ./rebuild -d -k 5.10.100_5.4.180` : 使用默认配置,指定多个内核,进行全部型号电视盒子进行打包, 内核包使用 `_` 进行连接。 -- `sudo ./rebuild -d -k 5.10.100_5.4.180 -a true` : 使用默认配置,指定多个内核,进行全部型号电视盒子进行打包, 内核包使用 `_` 进行连接。自动升级到同系列最新内核。 +- `sudo ./rebuild -d -k 5.15.25_5.4.180` : 使用默认配置,指定多个内核,进行全部型号电视盒子进行打包, 内核包使用 `_` 进行连接。 +- `sudo ./rebuild -d -k 5.15.25_5.4.180 -a true` : 使用默认配置,指定多个内核,进行全部型号电视盒子进行打包, 内核包使用 `_` 进行连接。自动升级到同系列最新内核。 - `sudo ./rebuild -d -s 2748 -k 5.4.180` : 使用默认配置,设置固件大小为 2748M, 并指定内核为 5.4.180 ,对全部型号电视盒子进行打包。 - ### 本地化打包 @@ -176,7 +176,7 @@ sudo apt-get install -y $(curl -fsSL git.io/ubuntu-2004-server) 2. 克隆仓库到本地 `git clone --depth 1 https://github.com/ophub/amlogic-s9xxx-armbian.git` -3. 在根目录下创建文件夹 `build/output/images` ,并上传 Armbian 镜像文件 ( 如:`Armbian_21.11.0-trunk_Lepotato_current_5.10.100.img` ) 到 `~/amlogic-s9xxx-armbian/build/output/images` 目录里。原版 Armbian 镜像文件名称中的发行版本号(如:`21.11.0`)和内核版本号(如:`5.10.100`)请保留,它将在重构后用作 Armbian 固件的名称。 +3. 在根目录下创建文件夹 `build/output/images` ,并上传 Armbian 镜像文件 ( 如:`Armbian_21.11.0-trunk_Lepotato_current_5.15.25.img` ) 到 `~/amlogic-s9xxx-armbian/build/output/images` 目录里。原版 Armbian 镜像文件名称中的发行版本号(如:`21.11.0`)和内核版本号(如:`5.15.25`)请保留,它将在重构后用作 Armbian 固件的名称。 4. 进入 `~/amlogic-s9xxx-armbian` 根目录,然后运行 `sudo ./rebuild -d -b s905x3 -k 5.4.180` 命令即可生成指定 soc 的 Armbian 镜像文件。生成的文件保存在 `build/output/images` 目录里。 @@ -199,7 +199,7 @@ sudo apt-get install -y $(curl -fsSL git.io/ubuntu-2004-server) build_target: armbian armbian_path: build/output/images/*.img armbian_soc: s905d_s905x3_s922x_s905x - armbian_kernel: 5.10.100_5.4.180 + armbian_kernel: 5.15.25_5.4.180 ``` - GitHub Actions 输入参数说明 @@ -211,7 +211,7 @@ sudo apt-get install -y $(curl -fsSL git.io/ubuntu-2004-server) | armbian_path | no | 设置原版 Armbian 文件的路径,支持使用当前工作流中的文件路径如 `build/output/images/*.img` ,也支持使用网络下载地址如: `https://dl.armbian.com/*/Armbian_*.img.xz` | | armbian_soc | s905d_s905x3 | 设置打包盒子的 `SOC` ,功能参考 `-b` | | version_branch | stable | 指定内核 [版本分支](https://github.com/ophub/kernel/tree/main/pub) 名称,功能参考 `-v` | -| armbian_kernel | 5.10.100_5.4.180 | 设置内核 [版本](https://github.com/ophub/kernel/tree/main/pub/stable),功能参考 `-k` | +| armbian_kernel | 5.15.25_5.4.180 | 设置内核 [版本](https://github.com/ophub/kernel/tree/main/pub/stable),功能参考 `-k` | | auto_kernel | true | 设置是否自动采用同系列最新版本内核,功能参考 `-a` | | armbian_size | 2748 | 设置固件 ROOTFS 分区的大小,功能参考 `-s` | @@ -232,7 +232,7 @@ sudo apt-get install -y $(curl -fsSL git.io/ubuntu-2004-server) uses: ophub/amlogic-s9xxx-armbian@main with: build_target: kernel - kernel_version: 5.10.100_5.4.180 + kernel_version: 5.15.25_5.4.180 kernel_auto: true kernel_sign: -meson64-dev ``` diff --git a/README.md b/README.md index 4c2766451b..173f6dec93 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Login in to armbian → input command: 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 (The 4 kernel files required for the update are `header-xxx.tar.gz`, `boot-xxx.tar.gz`, `dtb-amlogic-xxx.tar.gz`, `modules-xxx.tar.gz`. Other kernel files are not required. If they exist at the same time, it will not affect the update. The system can accurately identify the required kernel files). 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.180`. The optional kernel supported by the device can be freely updated, such as from 5.4.180 kernel to 5.10.100 kernel. 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.180 stable no ` +If there is a set of kernel files in the current directory, it will be updated with the kernel in the current directory (The 4 kernel files required for the update are `header-xxx.tar.gz`, `boot-xxx.tar.gz`, `dtb-amlogic-xxx.tar.gz`, `modules-xxx.tar.gz`. Other kernel files are not required. If they exist at the same time, it will not affect the update. The system can accurately identify the required kernel files). 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.180`. The optional kernel supported by the device can be freely updated, such as from 5.4.180 kernel to 5.15.25 kernel. 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.180 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. @@ -150,18 +150,18 @@ According to the prompt, enter `b` to perform system backup, and enter `r` to pe | -d | Defaults | Compile all cores and all firmware types. | | -b | BuildSoC | Specify the Build firmware type. Write the build firmware name individually, such as `-b s905x3` . Multiple firmware use `_` connect such as `-b s905x3_s905d` . You can use these codes: `a311d`, `s905x3`, `s905x2`, `s905x`, `s905w`, `s905d`, `s905d-ki`, `s905`, `s922x`, `s922x-n2`, `s912`, `s912-t95z` . Note: `s922x-reva` is `s922x-gtking-pro-rev_a`, `s922x-n2` is `s922x-odroid-n2`, `s912-t95z` is `s912-t95z-plus`, `s905d-ki` is `s912-mecool-ki-pro`, `s905x2-km3` is `s905x2-mecool-km3`. | | -v | Version | Specify the [version branch](https://github.com/ophub/kernel/tree/main/pub), Such as `-v stable`. The specified name must be the same as the branch directory name. The `stable` branch version is used by default. | -| -k | Kernel | Specify the [kernel version](https://github.com/ophub/kernel/tree/main/pub/stable), Such as `-k 5.4.180` . Multiple kernel use `_` connection such as `-k 5.10.100_5.4.180` | +| -k | Kernel | Specify the [kernel version](https://github.com/ophub/kernel/tree/main/pub/stable), Such as `-k 5.4.180` . Multiple kernel use `_` connection such as `-k 5.15.25_5.4.180` | | -a | AutoKernel | Set whether to automatically adopt the latest version of the kernel of the same series. When it is `true`, it will automatically find in the kernel library whether there is an updated version of the kernel specified in `-k` such as 5.4.180 version. If there is the latest version of 5.4 same series, it will automatically Replace with the latest version. When set to `false`, the specified version of the kernel will be compiled. Default value: `true` | | -s | Size | Specify the size of the ROOTFS partition in MB. The default is 2748, and the specified size must be greater than 2000. Such as `-s 2748` | - `sudo ./rebuild -d`: Use the default configuration to pack all boxes. - `sudo ./rebuild -d -b s905x3 -k 5.4.180`: recommend. Use the default configuration, specify a kernel and a firmware for compilation. -- `sudo ./rebuild -d -b s905x3_s905d -k 5.10.100_5.4.180`: Use the default configuration, specify multiple cores, and multiple firmware for compilation. use `_` to connect. +- `sudo ./rebuild -d -b s905x3_s905d -k 5.15.25_5.4.180`: Use the default configuration, specify multiple cores, and multiple firmware for compilation. use `_` to connect. - `sudo ./rebuild -d -b s905x3 -k 5.4.180 -s 2748`: Use the default configuration, specify a kernel, a firmware, and set the partition size for compilation. - `sudo ./rebuild -d -b s905x3 -v dev -k 5.7.19`: Use the default configuration, specify the model, specify the version branch, and specify the kernel for packaging. - `sudo ./rebuild -d -b s905x3_s905d`: Use the default configuration, specify multiple firmware, use `_` to connect. compile all kernels. -- `sudo ./rebuild -d -k 5.10.100_5.4.180`: Use the default configuration. Specify multiple cores, use `_` to connect. -- `sudo ./rebuild -d -k 5.10.100_5.4.180 -a true`: Use the default configuration. Specify multiple cores, use `_` to connect. Auto update to the latest kernel of the same series. +- `sudo ./rebuild -d -k 5.15.25_5.4.180`: Use the default configuration. Specify multiple cores, use `_` to connect. +- `sudo ./rebuild -d -k 5.15.25_5.4.180 -a true`: Use the default configuration. Specify multiple cores, use `_` to connect. Auto update to the latest kernel of the same series. - `sudo ./rebuild -d -s 2748 -k 5.4.180`: Use the default configuration and set the partition size to 2748m, and only compile the armbian firmware with the kernel version 5.4.180. - ### Local build instructions @@ -176,7 +176,7 @@ sudo apt-get install -y $(curl -fsSL git.io/ubuntu-2004-server) 2. Clone the repository to the local. `git clone --depth 1 https://github.com/ophub/amlogic-s9xxx-armbian.git` -3. Create the `build/output/images` folder, and upload the Armbian image ( Eg: `Armbian_21.11.0-trunk_Lepotato_current_5.10.100.img` ) to this `~/amlogic-s9xxx-armbian/build/output/images` directory. Please keep the release version number (e.g. `21.11.0`) and kernel version number (e.g. `5.10.100`) in the name of the original Armbian image file, It will be used as the name of the armbian firmware after rebuilding. +3. Create the `build/output/images` folder, and upload the Armbian image ( Eg: `Armbian_21.11.0-trunk_Lepotato_current_5.15.25.img` ) to this `~/amlogic-s9xxx-armbian/build/output/images` directory. Please keep the release version number (e.g. `21.11.0`) and kernel version number (e.g. `5.15.25`) in the name of the original Armbian image file, It will be used as the name of the armbian firmware after rebuilding. 4. Enter the `~/amlogic-s9xxx-armbian` root directory. And run Eg: `sudo ./rebuild -d -b s905x3 -k 5.4.180` to build armbian for `amlogic s9xxx`. The generated Armbian image is in the `build/output/images` directory under the root directory. @@ -199,7 +199,7 @@ You can use other methods to build the Armbian system. Or use [Armbian](https:// build_target: armbian armbian_path: build/output/images/*.img armbian_soc: s905d_s905x3_s922x_s905x - armbian_kernel: 5.10.100_5.4.180 + armbian_kernel: 5.15.25_5.4.180 ``` - GitHub Actions Input parameter description @@ -211,7 +211,7 @@ The relevant parameters correspond to the `local packaging command`, please refe | armbian_path | no | Set the path of the original Armbian file, support the file path in the current workflow such as `build/output/images/*.img`, and also support the use of the network download address such as: `https://dl.armbian.com/*/Armbian_*.img.xz` | | armbian_soc | s905d_s905x3 | Set the `SOC` of the packaged box, function reference `-b` | | version_branch | stable | Specify the name of the kernel [version branch](https://github.com/ophub/kernel/tree/main/pub), function reference `-v` | -| armbian_kernel | 5.10.100_5.4.180 | Set kernel [version](https://github.com/ophub/kernel/tree/main/pub/stable), function reference `-k` | +| armbian_kernel | 5.15.25_5.4.180 | Set kernel [version](https://github.com/ophub/kernel/tree/main/pub/stable), function reference `-k` | | auto_kernel | true | Set whether to automatically use the latest version of the same series of kernels, function reference `-a` | | armbian_size | 2748 | Set the size of the firmware ROOTFS partition, function reference `-s` | @@ -232,7 +232,7 @@ For the compilation method of the custom kernel, see [compile-kernel](compile-ke uses: ophub/amlogic-s9xxx-armbian@main with: build_target: kernel - kernel_version: 5.10.100_5.4.180 + kernel_version: 5.15.25_5.4.180 kernel_auto: true kernel_sign: -meson64-dev ``` diff --git a/action.yml b/action.yml index efc99b5fd7..366eb5c18c 100644 --- a/action.yml +++ b/action.yml @@ -15,7 +15,7 @@ inputs: armbian_kernel: description: "Set kernel." required: false - default: "5.10.100_5.4.180" + default: "5.15.25_5.4.180" version_branch: description: "Set kernel." required: false @@ -40,7 +40,7 @@ inputs: kernel_version: description: "select kernel version" required: false - default: "5.10.100_5.4.180" + default: "5.15.25_5.4.180" kernel_auto: description: "Auto use the latest kernel" required: false diff --git a/compile-kernel/README.cn.md b/compile-kernel/README.cn.md index 8820abbf3d..c699b0ebfa 100644 --- a/compile-kernel/README.cn.md +++ b/compile-kernel/README.cn.md @@ -11,7 +11,7 @@ | 参数 | 含义 | 说明 | | ---- | ---- | ---- | | -d | Defaults | 使用默认配置 | -| -k | Kernel | 指定 [kernel](https://cdn.kernel.org/pub/linux/kernel/v5.x/) 名称,如 `-k 5.4.180` . 多个内核使用 `_` 进行连接,如 `-k 5.10.100_5.4.180` | +| -k | Kernel | 指定 [kernel](https://cdn.kernel.org/pub/linux/kernel/v5.x/) 名称,如 `-k 5.4.180` . 多个内核使用 `_` 进行连接,如 `-k 5.15.25_5.4.180` | | -a | AutoKernel | 设置是否自动采用同系列最新版本内核。当为 `true` 时,将自动查找在 `-k` 中指定的内核如 `5.4.180` 的 `5.4` 同系列是否有更新的版本,如有 `5.4.180` 之后的最新版本时,将自动更换为最新版。设置为 `false` 时将编译指定版本内核。默认值:`true` | | -n | CustomName | 设置内核自定义签名。默认值为 `-meson64-dev` ,生成的内核名称为 `5.4.180-meson64-dev` 。设置自定义签名时请勿包含空格。 | | -r | Repo | 指定编译内核的源代码仓库。默认为 `unifreq` 。可选择 `kernel.org` 的源码和 `github.com` 的内核源代码仓库。例如 `-r kernel.org` 或 `-r unifreq` 等。当使用 `github.com` 的内核源代码仓库时,可设置参数格式为 `owner/repo@branch` 三项组合,参数中的所有者名称 `owner` 为必选参数,内核源代码仓库名称 `/repo` 和 仓库的分支名称 `@branch` 为可选参数。当仅指定所有者名称 `owner` 参数时,将自动匹配所有者的名称为 `linux-5.x.y` 格式且分支为 `main` 的内核源代码仓库。如果仓库名称或分支名称不同,请使用组合方式指定,如 `owner@branch` 或 `owner/repo` 或 `owner/repo@branch` | @@ -21,7 +21,7 @@ - `sudo ./recompile -d -k 5.4.180 -a true` : 使用默认配置,并通过 `-a` 参数设置编译内核时,是否自动升级到同系列最新内核。 - `sudo ./recompile -d -k 5.4.180 -n -good-luck` : 使用默认配置,并通过 `-n` 参数设置内核自定义签名。 - `sudo ./recompile -d -k 5.4.180 -r kernel.org` : 使用默认配置,并通过 `-r` 参数设置内核源代码仓库。 -- `sudo ./recompile -d -k 5.10.100_5.4.180 -a true -n -good-luck -r kernel.org` : 使用默认配置,并通过多个参数进行设置。 +- `sudo ./recompile -d -k 5.15.25_5.4.180 -a true -n -good-luck -r kernel.org` : 使用默认配置,并通过多个参数进行设置。 💡提示:推荐使用 `unifreq` 的 [5.4](https://github.com/unifreq/linux-5.4.y), [5.10](https://github.com/unifreq/linux-5.10.y), [5.15](https://github.com/unifreq/linux-5.15.y) 等仓库的内核源代码进行编译,他针对相关盒子添加了驱动和补丁。推荐使用 [tools/config](tools/config) 中的模板,已经根据相关盒子进行了预配置,可以在此基础上进行个性化定制。也可以使用 [kernel.org](https://cdn.kernel.org/pub/linux/kernel/v5.x/) 等其他内核源代码进行编译。 @@ -54,7 +54,7 @@ sudo apt-get install -y $(curl -fsSL git.io/ubuntu-2004-server) uses: ophub/amlogic-s9xxx-armbian@main with: build_target: kernel - kernel_version: 5.10.100_5.4.180 + kernel_version: 5.15.25_5.4.180 kernel_auto: true kernel_sign: -good-luck ``` @@ -67,7 +67,7 @@ sudo apt-get install -y $(curl -fsSL git.io/ubuntu-2004-server) |-------------------|------------------|-----------------------------------------------------------| | build_target | kernel | 固定参数 `kernel`,设置编译目标为内核。 | | kernel_repo | unifreq | 指定编译内核的源代码仓库。默认值为 `unifreq` 。功能参考 `-r` | -| kernel_version | 5.10.100_5.4.180 | 指定 [kernel](https://cdn.kernel.org/pub/linux/kernel/v5.x/) 名称,如 `5.4.180`。功能参考 `-k` | +| kernel_version | 5.15.25_5.4.180 | 指定 [kernel](https://cdn.kernel.org/pub/linux/kernel/v5.x/) 名称,如 `5.4.180`。功能参考 `-k` | | kernel_auto | true | 设置是否自动采用同系列最新版本内核。默认值为 `true`。功能参考 `-a` | | kernel_sign | -meson64-dev | 设置内核自定义签名。默认值为 `-meson64-dev`。功能参考 `-n` | | kernel_config | 无 | 默认使用 [tools/config](tools/config) 目录下的配置模板。你可以设置编译内核的配置文件在你仓库中的存放目录,如 `kernel/config_path` 。在此目录下存放的各系列的内核配置模板都必须以 `config-5.x` 的名称为开头,例如编译 `5.4` 系列内核的模板可命名为以 `config-5.4` 开头的各种名字,如 `config-5.4` 、 `config-5.4.174` 或者 `config-5.4.174-good-luck` 等,有多个以 `config-5.4` 为开头的文件时,将使用版本号最大的文件。 | @@ -76,7 +76,7 @@ sudo apt-get install -y $(curl -fsSL git.io/ubuntu-2004-server) | 参数 | 默认值 | 说明 | |-----------------------------------|--------------------------|----------------------------| -| ${{ env.PACKAGED_OUTPUTTAGS }} | 5.10.100_5.4.180 | 编译好的内核的名称 | +| ${{ env.PACKAGED_OUTPUTTAGS }} | 5.15.25_5.4.180 | 编译好的内核的名称 | | ${{ env.PACKAGED_OUTPUTPATH }} | compile-kernel/output | 编译完成的内核所在文件夹的路径 | | ${{ env.PACKAGED_OUTPUTDATE }} | 2021.04.13.1058 | 编译日期 | | ${{ env.PACKAGED_STATUS }} | success | 编译状态:success / failure | diff --git a/compile-kernel/README.md b/compile-kernel/README.md index 4353360580..33fc33ac10 100644 --- a/compile-kernel/README.md +++ b/compile-kernel/README.md @@ -11,7 +11,7 @@ You can adjust the configuration of the kernel as needed, such as adding drivers | Parameter | Meaning | Description | | ---- | ---- | ---- | | -d | Defaults | Compile all kernels with default configuration. | -| -k | Kernel | Specify [kernel](https://cdn.kernel.org/pub/linux/kernel/v5.x/) name, such as `-k 5.4.180`. Multiple kernels use `_` to connect, such as `- k 5.10.100_5.4.180` | +| -k | Kernel | Specify [kernel](https://cdn.kernel.org/pub/linux/kernel/v5.x/) name, such as `-k 5.4.180`. Multiple kernels use `_` to connect, such as `- k 5.15.25_5.4.180` | | -a | AutoKernel | Set whether to automatically adopt the latest version of the kernel of the same series. When it is `true`, it will automatically find whether there is a newer version of the kernel specified in `-k` such as `5.4.180` of the `5.4` series. If there is the latest version after `5.4.180`, it will be automatically replaced with the latest version . When set to `false`, the specified version of the kernel will be compiled. Default value: `true` | | -n | CustomName | Set the kernel custom signature. The default value is `-meson64-dev` and the generated kernel is `5.4.180-meson64-dev`. Do not include spaces when setting a custom signature. | | -r | Repo | Specifies the source code repository for the compiled kernel. Defaults to `unifreq` . You can choose the source code of `kernel.org` and the kernel source of `github.com` code repository. For example `-r kernel.org` or `-r unifreq`, etc., When using the kernel source code repository of `github.com`, the parameter format can be set to the three-item combination of `owner/repo@branch` , The owner name `owner` in the parameters is a required parameter, the kernel source code repository name `/repo` and the repository branch name `@branch` are optional parameters. When only the owner name `owner` parameter is specified, it will automatically match kernel source code repositories whose owner's name is in `linux-5.x.y` format and branch is `main`. If the repository name or branch name is different, use a combination, such as `owner@branch` or `owner/repo` or `owner/repo@branch` | @@ -21,7 +21,7 @@ You can adjust the configuration of the kernel as needed, such as adding drivers - `sudo ./recompile -d -k 5.4.180 -a true`: Use the default configuration, and use the `-a` parameter to set whether to automatically upgrade to the latest kernel of the same series when compiling the kernel. - `sudo ./recompile -d -k 5.4.180 -n -good-luck`: Use the default configuration, and use the `-n` parameter to set the kernel custom signature. - `sudo ./recompile -d -k 5.4.180 -r kernel.org`: Use the default configuration, and set the kernel source code repository through the `-r` parameter. -- `sudo ./recompile -d -k 5.10.100_5.4.180 -a true -n -good-luck -r kernel.org`: Use the default configuration, and set through multiple parameters. +- `sudo ./recompile -d -k 5.15.25_5.4.180 -a true -n -good-luck -r kernel.org`: Use the default configuration, and set through multiple parameters. 💡Tip: It is recommended to use the kernel source code of unifreq's [5.4](https://github.com/unifreq/linux-5.4.y), [5.10](https://github.com/unifreq/linux-5.10.y), [5.15](https://github.com/unifreq/linux-5.15.y) and other repositories for compilation. He has added drivers and patches for related boxes. It is recommended to use the templates in [tools/config](tools/config), which have been pre-configured according to the relevant boxes and can be customized on this basis. Other kernel sources such as [kernel.org](https://cdn.kernel.org/pub/linux/kernel/v5.x/) can also be used to compile. @@ -54,7 +54,7 @@ You can call the kernel compilation script of this repository through Actions in uses: ophub/amlogic-s9xxx-armbian@main with: build_target: kernel - kernel_version: 5.10.100_5.4.180 + kernel_version: 5.15.25_5.4.180 kernel_auto: true kernel_sign: -good-luck ``` @@ -67,7 +67,7 @@ The relevant parameters correspond to the `local compilation commands`, please r | ---- | ---- | ---- | | build_target | kernel | Fixed parameter `kernel`, set the compilation target to the kernel. | | kernel_repo | unifreq | Specifies the source code repository for the compiled kernel. The default is `unifreq` . Function reference `-r` | -| kernel_version | 5.10.100_5.4.180 | Specify [kernel](https://cdn.kernel.org/pub/linux/kernel/v5.x/) name, such as `5.4.180`. Function reference `-k` | +| kernel_version | 5.15.25_5.4.180 | Specify [kernel](https://cdn.kernel.org/pub/linux/kernel/v5.x/) name, such as `5.4.180`. Function reference `-k` | | kernel_auto | true | Set whether to automatically adopt the latest kernel version of the same series. The default value is `true`. Function reference `-a` | | kernel_sign | -meson64-dev | Set the kernel custom signature. The default is `-meson64-dev`. Function reference `-n` | | kernel_config | null | The default uses the configuration templates in the [tools/config](tools/config) directory. You can set the directory where the compiled kernel configuration files are stored in your repository, such as `kernel/config_path` . The kernel configuration templates of each series stored in this directory must start with the name of `config-5.x`. For example, templates for compiling `5.4` series kernels can be named with various names starting with `config-5.4`, such as `config-5.4`, `config-5.4.174` or `config-5.4.174-good-luck`, etc., When there are multiple files starting with `config-5.4`, the file with the highest version number will be used. | @@ -76,7 +76,7 @@ The relevant parameters correspond to the `local compilation commands`, please r | Parameter | For example | Description | |-----------------------------------|--------------------------|-----------------------------------| -| ${{ env.PACKAGED_OUTPUTTAGS }} | 5.10.100_5.4.180 | The name of the compiled kernel | +| ${{ env.PACKAGED_OUTPUTTAGS }} | 5.15.25_5.4.180 | The name of the compiled kernel | | ${{ env.PACKAGED_OUTPUTPATH }} | compile-kernel/output | kernel files storage path | | ${{ env.PACKAGED_OUTPUTDATE }} | 2021.04.13.1058 | compile date | | ${{ env.PACKAGED_STATUS }} | success | Compile status. success / failure | diff --git a/rebuild b/rebuild index 126e246794..cda6adeeda 100755 --- a/rebuild +++ b/rebuild @@ -64,7 +64,7 @@ build_armbian=("a311d" "s922x" "s922x-n2" "s922x-reva" "s905x3" "s905x2" "s905x2 # Latest kernel download repository kernel_repo="https://github.com/ophub/kernel/tree/main/pub" version_branch="stable" -build_kernel=("5.10.100" "5.4.180") +build_kernel=("5.15.25" "5.4.180") auto_kernel="true" # # Set Armbian firmware size (BOOT_MB >= 256, ROOT_MB >= 2000) diff --git a/recompile b/recompile index b919213ec6..604c24e0d9 100755 --- a/recompile +++ b/recompile @@ -61,7 +61,7 @@ kernel_org_repo="https://cdn.kernel.org/pub/linux/kernel/v5.x/" # Set the default for downloading kernel sources from github.com repo_owner="unifreq" repo_branch="main" -build_kernel=("5.4.180" "5.10.100") +build_kernel=("5.4.180" "5.15.25") auto_kernel="true" custom_name="-meson64-dev" #