Giter Club home page Giter Club logo

br-wrapper's Introduction

br-wrapper

br-wrapper contains custom-br-configs-and-packages for mainline buildroot. Contents of br-wrapper are used as BR2_EXTERN folder for buildroot. Saperating the custom-br-configs-and-packages with BR2_EXTERN mechanism, removes the dependency on a fast moving buildroot project which is under constant development. Using buildroot as a submodule makes it easy to build custom-br-configs-and-packages with different versions of mainline buildroot.

Maintainer

Albert David ([email protected])

Build steps

git clone --recursive https://github.com/hackboxguy/br-wrapper.git
cd br-wrapper
make -C buildroot BR2_EXTERNAL=../ BR2_DL_DIR=../../br-dl O=../../br-output <config_name>
make -C buildroot BR2_EXTERNAL=../ BR2_DL_DIR=../../br-dl O=../../br-output

Available Configs

  1. zynqmp_zcu106_defconfig (Xilinx Zynq Ultrascale+ SoC evaluation board)
  2. zynq_ebaz4205_defconfig (Refurbished crypto miner board based on Xilinx Zynq)
  3. zynq_zed_defconfig (Xilinx Zynq-7000 based zed-board from digilent: www.zedboard.org)
  4. stm32mp157a_dk1rt_defconfig (stm32mp157a based board used for evaluating preempt-rt linux)
  5. stm32mp157a_dk1_brbox_defconfig (stm32mp157a based board with brbox packages)
  6. raspberrypi4_aws_iot_defconfig (custom linux image for rpi-4 with aws iot demo sdk and utils)
  7. olimex_a20_olinuxino_som204_defconfig (custom linux image for olimex-A20-SOM-204 board)

Build Options

BR2_DL=/some/path : Keeping buildroot download folder in a out-of-tree location(using BR2_DL_DIR) helps to reduce the build time by avoiding repeated downloads of source-packages.

O=/some/path : Saperating the buildroot output folder using O= option helps in development where multiple build configurations are built.

Build tips

Building the embedded linux image with buildroot is a time consuming task which may take few minutes to few hours depending on the pc-hw and board-configuration. Incase if you are bulding on a powerful remote server, use screen session to attach and detach from the buildroot shell terminal as shown below

screen -R my-br-session
cd ~/
git clone --recursive https://github.com/hackboxguy/br-wrapper.git
cd br-wrapper
make -C buildroot BR2_EXTERNAL=../ BR2_DL_DIR=../../br-dl O=../../br-output zynqmp_zcu106_defconfig
make -C buildroot BR2_EXTERNAL=../ BR2_DL_DIR=../../br-dl O=../../br-output

press Ctr+a and then d to detach from the buildroot-shell-terminal.

Use following command to re-attach to buildroot-shell-terminal

screen -r my-br-session

How to build br-wrapper's custom-board-config with specific version of mainline-buildroot?

git clone --recursive https://github.com/hackboxguy/br-wrapper.git
cd br-wrapper/buildroot/
git checkout 2021.02.x
cd ..
make -C buildroot BR2_EXTERNAL=../ BR2_DL_DIR=../../br-dl O=../../br-output zynqmp_zcu106_defconfig
make -C buildroot BR2_EXTERNAL=../ BR2_DL_DIR=../../br-dl O=../../br-output

br-wrapper's People

Contributors

barco-adav avatar hackboxguy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

br-wrapper's Issues

How do you get GPIO output on BBB?

I've seen you're using a 5.15 kernel on BBB. I wonder how you succeeded getting GPIO to work on this board with this kernel ?

No matter what I'm doing, even with GPIO Device Tree's overlay, I can't get any signal to change on any GPIO, just like it got lost in a black hole (no error whatsoever). I'm not even sure the pin mux is right, but I can't change it anymore, since the bone cape manager is gone with > 4.14 kernel, IIUC.

The board worked fine on kernel 3.8 but I did one of the most stupid thing: I've updated my system, and now I've a 5.15 kernel and nothing is working anymore.

Can you post your DTS for your GPIO setup ?

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.