@@ -14,11 +14,11 @@ This repository provides scripts for building openEuler image for Raspberry Pi a
##### Prepare the environment
To build openEuler ARM64 image for Raspberry Pi, the requirements of runing scripts of this repository are as follows:
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: ARM
- Architecture: AArch64
For example, you can use [QEMU](https://www.qemu.org/) to build ARM system emulation or directly use an ARM hardware such as Raspberry Pi.
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.
##### Run the scripts to build image
...
...
@@ -44,7 +44,7 @@ The meaning of each parameter:
- KERNEL_BRANCH:The branch name of kernel source's repository,which defaults to `openEuler-1.0-LTS-raspi`.
- KERNEL_DEFCONFIG:The filename of configuration for compiling kernel, which defaults to `openeuler-raspi_defconfig`. The configuration file should be in the config directory or in arch/arm64/configs of the kernel source. If this configuration file does not exist, the script uses the next parameter: DEFAULT_DEFCONFIG.
- DEFAULT_DEFCONFIG:The filename of configuration for kernel, which defaults to `openeuler-raspi_defconfig`. The configuration file should be in arch/arm64/configs of the kernel source. If both KERNEL_DEFCONFIG and this file do not exist, the process of building image will exit.
- REPO_FILE:The URL or name of openEuler's file, which defaults to `openEuler-1.0-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.
- 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.