Code Monkey home page Code Monkey logo

rpi-arm64's Introduction

RPi-arm64

Build a Debian-based ARM64 system for Raspberry Pi 3 (including 3 B+)

Currently supported stages:

  • Stage 1: Prepare and build kernel (Using rpi-4.14.y branch by default)
  • Stage 2: Build rootfs using debootstrap , making system chrootable
  • Stage 3: Install bootcode and Raspberry Pi userland, making system bootable
  • Stage 4: Offline operations (like adding users)

Currently supported features:

  • On-board Wi-Fi
  • Bluetooth (But hciattach should be run manually)
  • bcm2835_v4l2(Camera, requires 4.12+ kernel)
  • RPi.GPIO (Using UMRnInside/RPi.GPIO )

中文版向导

Prebuilt version (By UMRnInside): Baidu Netdisk

f2fs + desktop apps (xfce/i3wm/lxde rpi-chromium) Prebuilt version (By sherylynn): Baidu Netdisk

If you preferred ubuntu built by Ubuntu-Base, see chainsx/ubuntu64-rpi

Simple guide

It is really simple...

  1. Install dependencies, which goes like this on Debian/Ubuntu :
# Debian or Ubuntu
./install_deps.sh

# Debian
apt-get -y install \
    wget busybox unzip tar patch parted \
    qemu-user-static debootstrap \
    dosfstools btrfs-progs \
    make build-essential bc xxd kmod vim cmake \
    gcc-aarch64-linux-gnu g++-aarch64-linux-gnu 

# Ubuntu (16.04)
apt-get -y install \
    wget busybox unzip tar patch parted \
    qemu-user-static debootstrap \
    dosfstools btrfs-tools \
    make build-essential bc kmod vim cmake \
    gcc-aarch64-linux-gnu g++-aarch64-linux-gnu 
  1. ./build.sh
  2. Have a cup of tea of coffee...

But, if you want to modify some configuations...

  1. if you want F2FS or XFCE , you can just copy file from configExamples to config
  2. cp rpi3_defconfig config
  3. edit config
  4. ./build.sh
  5. Have a cup of tea/coffee/cola...

絶対だいじょうぶだよ!

Absolutely NO PROBLEM!

Docker build

  1. if you prefer f2fs or xfce , you can just copy file from configExamples
  2. cp rpi3_defconfig config
  3. edit config on demand
  4. ./build_docker.sh

Options

See README.md in every stage, or read rpi3_defconfig

rpi-arm64's People

Contributors

hlgsdx avatar jesset avatar sherylynn avatar umrninside 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.