From fd12ecea115a220c4bf10cb1439aa70ec54fc80f Mon Sep 17 00:00:00 2001 From: ophub <68696949+ophub@users.noreply.github.com> Date: Tue, 22 Feb 2022 22:12:19 +0800 Subject: [PATCH] Add kernel directory description --- build-armbian/amlogic-kernel/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 build-armbian/amlogic-kernel/README.md diff --git a/build-armbian/amlogic-kernel/README.md b/build-armbian/amlogic-kernel/README.md new file mode 100644 index 0000000000..21579d71e6 --- /dev/null +++ b/build-armbian/amlogic-kernel/README.md @@ -0,0 +1,24 @@ +# Kernel Instructions / 内核使用说明 + +- Create a folder corresponding to the version number in the `amlogic-kernel` directory, such as `5.4.180` , and put the 4 needed kernel files into this directory (Other kernel files are not required, and putting them in does not affect use). Multiple kernels create directories in turn and put corresponding kernel files. Kernel files can be downloaded from the [kernel](https://github.com/ophub/kernel) repository or [custom compilation](https://github.com/ophub/amlogic-s9xxx-armbian/tree/main/compile-kernel). If the kernel file is not downloaded and stored manually, the script will also be automatically downloaded from the kernel repository at compile time. + +- 在 `amlogic-kernel` 目录下创建版本号对应的文件夹,如 `5.4.180` ,并将 4 个需要的内核文件放入此目录 (其他内核文件不需要,放入也不影响使用)。多个内核依次创建目录并放入对应的内核文件。内核文件可以从 [kernel](https://github.com/ophub/kernel) 仓库下载,也可以[自定义编译](https://github.com/ophub/amlogic-s9xxx-armbian/tree/main/compile-kernel)。如果没有手动下载存放内核文件,在编译时脚本也会自动从 kernel 仓库下载。 + +```yaml +~/amlogic-s9xxx-armbian + └── build-armbian + └── amlogic-kernel + ├── 5.4.180 + │ ├── header-5.4.180-xxx.tar.gz + │ ├── boot-5.4.180-xxx.tar.gz + │ ├── dtb-amlogic-5.4.180-xxx.tar.gz + │ └── modules-5.4.180-xxx.tar.gz + │ + ├── 5.10.100 + │ ├── header-5.10.100-xxx.tar.gz + │ ├── boot-5.10.100-xxx.tar.gz + │ ├── dtb-amlogic-5.10.100-xxx.tar.gz + │ └── modules-5.10.100-xxx.tar.gz + │ + ├── more kernel... +```