Giter Site home page Giter Site logo

rock-bsp's Introduction

rock-bsp

Introduction

rock-bsp is a collection of bootloader(u-boot), Linux kernel, flashing tools and toolchains for making a Linux images for radxa products as well as other rockchip based platform. Currently supported boards are:

  • rock full(2013)
  • rock pro
  • rock lite
  • rock2 square

supported Linux distributions are Debian and Ubuntu.

Getting Started

  1. install required packages

    sudo apt-get install build-essential lzop libncurses5-dev libssl-dev libusb-1.0-0-dev

you also need to install the following if you run it on 64bit system:

sudo apt-get install libc6-i386
  1. get the source code

    git clone https://github.com/radxa/rock-bsp.git cd rock-bsp

  2. Choose a board doing ./config.sh board, or ./config.sh to see the list of supported boards.

    ./config.sh Usage: ./config.sh < board > supported boards:

    • rock2_square
    • rock_lite
    • rock_pro
  3. Run make to build and pack nand/emmc/sdcard image or make help to list available targets

    make

Configuration

The directory structure of rock-bsp is as below:

.
├── configs
│   ├── defconfig
│   ├── *board*_config
├── package-file
│   ├── *board*-package-file
├── parameter
│   ├── *board*-parameter
├── rootfs
│   └── rootfs_null.ext4
└── tools
    └── scripts
  • configs: define board kernel/u-boot repository, revision, defconfigs and rootfs name/url.
  • package-file: define what can be packed into the image
  • parameter: define kernel command line, emmc/nand partitions
  • rootfs: put your rootfs image here and add the image name in board_config
  • tools: tools developed by linux-rockchip community and arm toolchains

rock-bsp's People

Contributors

frep avatar hipboi avatar jim3306 avatar

Stargazers

 avatar

Watchers

 avatar  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.