Git Product home page Git Product logo

br2_external's Introduction

Tibbo/SunPlus Buildroot Layers

Tibbo/SunPlus Linux BuildRoot layers for SoC

Plus1 (sp7021): A Linux Chip for IoT and Industrial Control Applications

Before build (do once)

brv="2021.02"
// or latest stable BuildRoot release
// brv="2022.05.1"
git clone [email protected]:tibbotech/br2_external.git
wget https://buildroot.org/downloads/buildroot-${brv}.tar.gz
tar -xvf ./buildroot-${brv}.tar.gz
rsync -a --exclude=.git ./buildroot-${brv}/ ./br2_external/br.a5/
rsync -a --exclude=.git ./buildroot-${brv}/ ./br2_external/br.a7/

Building OS for main CPU (A-Chip)

cd ./br2_external/
curdir=`pwd`
cd ./br.a7/
make BR2_EXTERNAL=${curdir}/br.LTPPxG2 LTPPxG2_defconfig && make && cd ${curdir}

Building bootloader and arm926 test code for co-processor (B-Chip, optional)

cd ./br2_external/
curdir=`pwd`
cd ./br.a5/
make BR2_EXTERNAL=${curdir}/br.LTPPxG2 LTPPxG2a5_defconfig && make && cd ${curdir}
cp ./br.a5/output/images/xboot.bin ./br.a7/output/images/
cp ./br.a5/output/images/a926*.bin ./br.a7/output/images/

Generating ISPBOOOT image

cd ./br2_external/br.a7/output/images/;
make -f ./sp_make.mk D1=. F_XBT=xboot F_UBT=u-boot.bin F_KRN=uImage F_ROO=rootfs.ext4

On success you'll get the ISPBOOOT.BIN at ./br2_external/br.a7/output/images/sp_out/

br2_external's People

Contributors

dmitrydvorkin avatar

Watchers

 avatar  avatar  avatar

Forkers

ezulian

br2_external's Issues

ISPBOOT.BIN

Hi there, have built everything just fine.
The target was SDCard, got a 70 meg file starting with XBUT.

Dumb question: what is it? It's neither an image to flash (no partition table), nor a filesystem. According to makefile, it has to have everything inside - boot, dtb, kernel, and even a root fs, - but what's the way to have it sent it to the board?

Thanks in advance.

PS. The BR layer looks in fact very quick-n-dirty, no board package / genimage, thus weird image format. Investigating now...

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.