# rockchip **Repository Path**: tideao/rockchip ## Basic Information - **Project Name**: rockchip - **Description**: It provides scripts for building openEuler image on Rockchip Socs and documents - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 26 - **Created**: 2021-04-06 - **Last Updated**: 2021-11-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # rockchip English | [简体中文](./README.md) This repository provides build scripts and related documents for the openEuler image of Firefly-RK3399 Socs - [rockchip](#rockchip) - [File description](#file-description) - [How to download latest image](#how-to-download-latest-image) - [How to Use image](#how-to-use-image) - [Building image](#building-image) - [Build rootfs image](#build-rootfs-image) - [Prepare the environment](#prepare-the-environment) - [Run the scripts to build image](#run-the-scripts-to-build-image) ## File description - [documents](./documents/): - [Building the kernel image](documents/编译内核镜像.md) - [Production rootfs image](documents/rootfs制作.md) - [scripts](./scripts): Script to build openEuler RK3399 image - [Build rootfs image](scripts/build_rootfs.sh) ## How to download latest image Basic information of the image is as follows:

Version

System user(password)

Release date

Size

Kernel version

Repository of rootfs

openEuler-rk3399 20210401-2212
  • root(openeuler)

2021/04/01

346 MiB

4.19.90-ge221bb1

openEuler 20.03 LTS repository
## How to Use image - [Install image](documents/刷写镜像.md) ## Building image ### Build rootfs image #### Prepare the environment - OS:openEuler - Hardware:AArch64 hardware, such as Raspberry Pi #### Run the scripts to build image `sudo bash build_rootfs.sh -r REPO_INFO -p PACKAGE` **Note: Since build_rootfs.sh provides default parameters, you can directly execute ./build_rootfs.sh as the root user** After the script runs, rootfs.img generated in the directory where buil_rootfs.sh is located is the RK3399 rootfs image. The meaning of each parameter: 1. -r, --repo REPO_INFO The URL/path of target repo file. Examples are as follows: - The URL of target repo file: `https://gitee.com/src-openeuler/openEuler-repos/raw/openEuler-20.03-LTS/generic.repo` - The path of target repo file: - `./openEuler-20.03-LTS.repo`:for building openEuler 20.03 LTS image, refer to for details. 2. -p, --package PACKAGE The URL of the openEuler release package for making rootfs. For example: - The release package of openEuler-20.03-LTS: `http://repo.openeuler.org/openEuler-20.03-LTS/everything/aarch64/Packages/openEuler-release-20.03LTS-33.oe1.aarch64.rpm`