Git Product home page Git Product logo

christianhaitian / zpgpro Goto Github PK

View Code? Open in Web Editor NEW

This project forked from martinx72/zpgpro

1.0 2.0 0.0 193.26 MB

u-boot and linux kernel for ZPG Pro

Makefile 0.40% Shell 0.07% C 95.43% Assembly 2.09% C++ 1.55% Objective-C 0.16% Perl 0.13% Awk 0.01% Python 0.13% GDB 0.01% Yacc 0.02% Lex 0.01% UnrealScript 0.01% SmPL 0.01% Gherkin 0.01% XS 0.01% Raku 0.01% Roff 0.01% Clojure 0.01% M4 0.01%

zpgpro's Introduction

Before starting to build u-boot and kernel

1) install packages you would need for building what we need.

sudo apt-get update
sudo apt-get install -y git lzop build-essential gcc bc libncurses5-dev libc6-i386 lib32stdc++6 zlib1g:i386

2) get proper toolchain for building

sudo mkdir -p /opt/toolchains
wget https://releases.linaro.org/components/toolchain/binaries/6.3-2017.05/aarch64-linux-gnu/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.xz
sudo tar Jxvf gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.xz -C /opt/toolchains/

3) set export variables properly

export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu-
export PATH=/opt/toolchains/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/:$PATH

Building u-boot for ZPG-Pro

cd u-boot 
./make.sh odroidgo2
cd sd_fuse
./sd_fusing.sh <device/path/of/your/card>

Building Kernel for ZPG-Pro

cd kernel
make marsboard_defconfig
make

kernel image: arch/arm64/boot/Image
kernel dtb: arch/arm64/boot/dts/rockchip/rk3326-marsboard-linux.dtb

zpgpro's People

Contributors

martinx72 avatar yazgoo avatar

Stargazers

Bryan Pizzuti avatar

Watchers

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