This is a Docker container for Buildroot building. It was created to support the Firefly Open Source Project. We install the required dependencies and make the development environment based on Ubuntu 16.04 LTS.
It currently only supports to ROC-RK3308-CC Buildroot SDK.
To install Docker CE, you need the 64-bit version of one of these Ubuntu versions:
You can refer to ¡°Get Docker CE for Ubuntu¡± to install Docker CE.
DKCook is a hell script programming, put at FFTools/DockerCook/.
If you can¡¯t find FFTools, please update the SDK.
DKCookdefault use a docker image tchip/buildroot-builder£¬it will automatically download the buildroot-builder from Docker Hub.
To build the SDK, you can add ./FFTools/DockerCook/DKCook in front of the building command. As below:
Building the whole SDK£º
NOTE
If you have build the SDK on PC, and want to do it in container instead. Or the opposite. You must rebuild the whole SDK with new environment(rm SDK/buildroot/output/ directory), to avoid some misstake.
If you are familiar with Docker, you can customize the Docker operation by referring to the following.
There are two ways to get Docker image:
Github for Dockerfile: https://github.com/T-Firefly/buildroot-builder
Get the project:
You can download the docker image from Docker Hub , search for tchip/buildroot-builder.
Run commands:
The container default working directory is /home/project, it is also a mountpoint that can be used to mount your current working directory into the container, like:
Run bash into container, to build the SDK refer to ¡°Building System Firmware¡±.
Access Firefly Wiki to know more
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) | Powered by Discuz! X3.1 |