Git Product home page Git Product logo

buildroot_intel_stick_stk1aw32sc's Introduction

Notice

The sole purpose of this repository is to generate an image tested on buildroot 2022.08.1 that can be flashed on the internal eMMC of the Intel Stick STK1AW32SC, which is based on Intel Atom x5-Z8300

Originally this repo started as a fork from this Buildroot running in Docker repo. However, later it was stripped to contain only the relevant files of the external directory allowing it to be used with different developments setups.

Quick setup

Besides using this repo in your existing Buildroot installation using the external mechanism, there is also the option to use this docker-buildroot repo that provides a fast and convenient way to start working right away and keep multiple and independent instances for different targets at the same time.

Those are the instructions for the later case, as the ones to use your existing Buildroot installation are contained in Buildroot's documentation:

  1. Get a clone of docker-buildroot:
git clone https://github.com/vidalastudillo/docker-buildroot
  1. Get a clone of this repo to be placed at the folder externals/STK1AW32SC:
git clone https://github.com/maovidal/buildroot_intel_stick_STK1AW32SC externals/STK1AW32SC
  1. Build the Docker image:
docker build -t "advancedclimatesystems/buildroot" .
  1. Create a data-only container. The name will be used on the scripts to refer to this spacific build:
docker run -i --name br_output_STK1AW32SC advancedclimatesystems/buildroot /bin/echo "Data only for STK1AW32SC."

This container has 2 volumes at /root/buildroot/dl and /buildroot_output. Buildroot downloads all data to the first volume, the last volume is used as build cache, cross compiler and build results.

  1. Setup the new external folder and load the default configuration:
./externals/STK1AW32SC/run.sh make BR2_EXTERNAL=/root/buildroot/externals/STK1AW32SC menuconfig
./externals/STK1AW32SC/run.sh make intelstick_defconfig

These are the two relevant folders on your host:

  • externals/STK1AW32SC: the new external folder with the configs and other related files for this Intel Stick board.
  • images/STK1AW32SC: with your valuable results.

Also, the target/STK1AW32SC folder is provided just to ease checking the building process.

Usage

A small script has been provided to make using the container a little easier. It's located at the folder ./externals/STK1AW32SC/run.sh which is a modified version of the one at ./scripts/run.sh.

This modified script uses the data only container defined exclusively for this STK1AW32SC and produces the output separated in the STK1AW32SC folders.

Then you can use usual commands like this:

./externals/STK1AW32SC/run.sh make menuconfig
./externals/STK1AW32SC/run.sh make linux-rebuild
./externals/STK1AW32SC/run.sh make linux-menuconfig
./externals/STK1AW32SC/run.sh make all

Journey

Read about the steps I took to achieve the purpose of this fork on the file the_journey.md.

License

This software is licensed under MIT License.

© 2022 Mauricio Vidal.

buildroot_intel_stick_stk1aw32sc's People

Contributors

kevba avatar maovidal avatar mrmauro avatar orangetux 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.