Coder Social home page Coder Social logo

lichee-pi-zero / licheepi-tree Goto Github PK

View Code? Open in Web Editor NEW

This project forked from genzorr/licheepi-tree

0.0 1.0 0.0 259 KB

An external tree for Licheepi Zero configuring with Buildroot. Use this repo if you need UART over USB port (official dont have that feature). also, if using this repo with daily update or another release of buildroot, it cant compile, 2020.02 work fine

Makefile 46.79% Shell 53.21%

licheepi-tree's Introduction

licheepi-tree

External tree used to configure Buildroot for Lichee Pi Zero.

Main goals of this project:

  • use audio, recording and play are enabled
  • use Wi-Fi via ESP8089, driver is installed as kernel module and loaded on startup
  • use console via Serial Gadget (by power cable)

Structure

  1. board - Linux configuration, rootfs overlay, out-of-tree dts files and setup scripts.
  2. configs - Buildroot config

Installation

  1. Clone project next to Buildroot . i using buildroot 2020.02

    git clone https://github.com/korr237i/licheepi-tree.git
  2. Initialize tree of licheepi zero (fish shell, in buildroot/)

    make licheepi_zero_defconfig
    
    
  3. Initialize tree as external (fish shell, in buildroot/)

    make BR2_EXTERNAL=../licheepi-tree/ ../licheepi-tree/configs/licheepi.config

    You can check output/.br2-external.mk to see if external tree was initialized correctly.

  4. Run make menuconfig to initialize Buildroot and merge config from external tree:

    support/kconfig/merge_config.sh .config ../licheepi-tree/configs/licheepi.config
  5. Run make linux-menuconfig and save Linux configuration obtained from external tree.

  6. Add esp8089 driver to kernel: in board/setup/, run ./kernel-add-esp8089.sh, and enable esp8089 package in Networking support / Wireless as kernel module.

  7. Run make

  8. Write image on disk (e.g. /dev/sdc/), in licheepi-tree/board/, run:

    ./target_load.sh "/dev/sdc"

    To update filesystem on remote working machine, in licheepi-tree/board/, run:

     ./target_load_remote.sh port_number hostname password

licheepi-tree's People

Contributors

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