This repository is main repository of openEuler RaspberryPi SIG, and provides scripts for building openEuler image for Raspberry Pi and related documents:
## How to collaborate
You can get introduction of openEuler RaspberryPi SIG from [sig-RaspberryPi](https://gitee.com/jianminw/community/tree/master/sig/sig-RaspberryPi)。
- Issues: welcome to collaborate with us by create new issues or reply opened issues. You can get repository list from [sig-RaspberryPi](https://gitee.com/jianminw/community/tree/master/sig/sig-RaspberryPi).
-[Invite link](https://join.slack.com/t/openeuler-raspberrypi/shared_invite/zt-dlqztpyb-GSgR98xIAI06SoTpFiJH6A), this link will be due on May 15th. We will update the link periodically.
-[build_img.sh](build_img.sh): Script for building openEuler image for Raspberry Pi
-[config](./config/): config files for building image
-[documents](./documents/):
-[Building openEuler image for Raspberry Pi](documents/openEuler镜像的构建.md)
-[Cross-compile the kernel](documents/交叉编译内核.md)
-[Install openEuler on a SD card](documents/树莓派刷机.md)
-[How to use Raspberry Pi](documents/树莓派使用.md)
## How to download latest image
Alpha version of openEuler 20.03 LTS image for Raspberry Pi: <https://isrc.iscas.ac.cn/EulixOS/repo/dailybuild/1/isos/20200415/openEuler_20200415.img.xz>.
...
...
@@ -13,26 +39,22 @@ Basic information of the above image:
- Repository of rootfs: [openEuler-20.03-LTS](http://repo.openeuler.org/openEuler-20.03-LTS/everything/aarch64/)
- Repository inside the image: [openEuler 20.03 LTS repository](https://gitee.com/openeuler/raspberrypi/blob/master/config/openEuler-20.03-LTS.repo)
This repository provides scripts for building openEuler image for Raspberry Pi and related documents:
*[Script for building openEuler image for Raspberry Pi](build_img.sh)
*[Building openEuler image for Raspberry Pi](documents/openEuler镜像的构建.md)
*[Cross-compile the kernel](documents/交叉编译内核.md)
*[Install openEuler on a SD card](documents/树莓派刷机.md)
*[How to use Raspberry Pi](documents/树莓派使用.md)
## How to Use image
Refer to [Install openEuler on a SD card](documents/树莓派刷机.md) and [How to use Raspberry Pi](documents/树莓派使用.md) for details about how to use the image on Raspberry Pi.
#### Build openEuler image
## How to build image locally
##### Prepare the environment
### Prepare the environment
To build openEuler AArch64 image for Raspberry Pi, the requirements of runing scripts of this repository are as follows:
- OS: openEuler or Centos 7/8
- Architecture: AArch64
For example, you can use [QEMU](https://www.qemu.org/) to build AArch64 system emulation or directly use an AArch64 hardware such as Raspberry Pi.
- OS: openEuler or CentOS 7/8
- Hardware: AArch64 hardware, such as Raspberry Pi
For other architecture hardwareyou can use [QEMU](https://www.qemu.org/) to build AArch64 system emulation.
##### Run the scripts to build image
### Run the scripts to build image
Refer to [Script for building openEuler image for Raspberry Pi](documents/openEuler镜像的构建.md) for details.
...
...
@@ -59,7 +81,3 @@ The meaning of each parameter:
- REPO_FILE:The URL or name of openEuler's file, which defaults to `openEuler-20.03-LTS.repo`. Caution, if REPO_FILE is a file name, please make sure this file in the config directory. Otherwise, if REPO_FILE is a URL, please make sure you can get a correct repo file from this URL.
- --cores:Followed by parameter MAKE_CORES
- MAKE_CORES:The number of parallel compilations, according to the actual number of CPU of the server running the script. The default is 18.
#### Use image
Refer to [Install openEuler on a SD card](documents/树莓派刷机.md) and [How to use Raspberry Pi](documents/树莓派使用.md) for details about how to use the image on Raspberry Pi.