Giter Site home page Giter Site logo

riscv-d1-buildroot's Introduction

D1 Buildroot

NOTE: I'm currently not keeping a close eye on this repository and updating it for all new buildroot releases. If you would like a different buildroot release added to the system, please open an issue and I will add it

Build Containers

This repository contains the files necessary to create Docker containers that can then be used to build Linux Images for the D1 Nezha

Building the Containers is automated using GitHub actions. The containers are re-built automatically once a week, or whenever a push is made to the master branch.

Container Tags

Containers are built for each full release of Buildroot that supports the D1-Nezha. Pre-release and release candidates for Buildroot are not created. All containers are currently based on the ubuntu:20.04 container created by Docker. For each version of Buildroot, three containers are generated.

  • base: Buildroot and dependencies installed, nezha_defconfig selected
  • toolchain: Everying in the base image, plus the toolchain is pre-compiled by running make toolchain
  • prebuilt: Everything in the toolchain image, plus a base Linux system is pre-compiled by running make.

Manually Building Containers

If you want to manually build a container, using docker build will create a container based on the newest version of Buildroot, with a Linux image pre-compiled.

Specifying Pre-Compilation

If you just want your container to have Buildroot and its dependencies installed and configured for the D1 Nezha, without pre-compiling the toolchain or a Linux image, set Docker's --target option to base, like so:

docker build --target base .

If you want the container to have a pre-built toolchain, but not a pre-built Linux image, set the --target option to toolchain, like so:

docker build --target toolchain .

Specifying Buildroot Version

To specify a custom Buildroot version, use pass BUILDROOT_VERSION as a build argument to Docker, and the specified version of buildroot will be downloaded during the build process. For example, to create a container based on Buildroot 2021.11-rc2, run the following command:

docker build --build BUILDROOT_VERSION=2021.11-rc2 .

riscv-d1-buildroot's People

Contributors

marsfan avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.