raspberrypi-kernel/README.en.md
2020-07-13 09:42:41 +08:00

43 lines
1.5 KiB
Markdown

# raspberrypi-kernel
#### Description
Kernel Image of Raspberry Pi.
The `kernel.tar.gz` is from <https://gitee.com/openeuler/raspberrypi-kernel>. After you put your public ssh key into your account in gitee, you can obtain `kernel.tar.gz` by executing command `. SOURCE`. You can directly use the `kernel.tar.gz` in this repository instead.
#### Software Architecture
AArch64
#### Installation
`dnf install raspberrypi-kernel`
#### Instructions
1. The version of raspberrypi kernel ends with `.raspi`, e.g., `4.19.90-2005.2.0.0036.raspi.aarch64 `.
2. The module files will be installed into `/lib/modules`. The directory name of these module files is the same as the version of raspberrypi kernel, such as `4.19.90-2005.2.0.0036.raspi.aarch64`.
3. The image file will be installed into `/boot`, whose filename is like `vmlinuz-4.19.90-2005.2.0.0036.raspi.aarch64`. Note that the image file is in GZ compression format by default. You can decompress this file, and then rename it to `kernel8.img` as follows.
```
cd /boot
cp vmlinuz-4.19.90-2005.2.0.0036.raspi.aarch64 Image.gz
gunzip Image.gz
mv Image kernel8.img
```
4. The device tree files will be installed into `/boot`. The directory name of these files looks like `dtb-4.19.90-2005.2.0.0036.raspi.aarch64`. You need to copy the device tree files to `/boot` as follows.
```
cd /boot
cp dtb-4.19.90-2005.2.0.0036.raspi.aarch64/*.dtb ./
```
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request