Git Product home page Git Product logo

build's Introduction

The build and update image usage as follows: Which config needed for us, pls refer to build/board_configs.sh or http://opensource.rock-chips.com/wiki_Board_Config

##Fox example the rk3288-evb Usage:

build kernel image: (output : boot.img and out/kernel)

build/mk-kernel.sh rk3288-evb

build u-boot image: (output : out/u-boot)

build/mk-uboot.sh rk3288-evb

build rootfs image:

follow readme in rk-rootfs-build

build one system image: (output : system.img)

build/mk-image.sh -c rk3288 -t system -r rk-rootfs-build/linaro-rootfs.img

update image:

eMMC: build/flash_tool.sh   -c rk3288 -p system  -i  out/system.img
sdcard: build/flash_tool.sh -c rk3288  -d /dev/sdb -p system  -i  out/system.img 

Debian package

To pack the firmware in the deb package: (output : out/debian)

build/pack_deb.sh -c rk3288 -d /dev/mmcblk0(mmc index in target device, not host) (-r rk-rootfs-build/linaro-rootfs.img)

Tthe debs could be installed in the board by the following command.

sudo dpkg -i u-boot-rockchip_1.0_all.deb
sudo dpkg -i kernel-rockchip_1.0_all.deb

Tips

  • You must boot into maskrom to flash the eMMC. Booting into rkusb mode will not work.
    • An easy way to enter maskrom is by erasing the eMMC and rebooting.
  • Provide the chip name for -c parameters, not the board name! (e.g. rk3288 instead of rk3288-evb).

build's People

Contributors

wzyy2 avatar yanghanxing avatar zhengshunqian avatar rk-hgc avatar acgzx avatar caesar-github avatar iammattcoleman avatar mmeyer724 avatar

Watchers

 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.