Giter VIP home page Giter VIP logo

chip-tools-1's Introduction

SEE REDDIT POST:

https://www.reddit.com/r/ChipCommunity/comments/htkasm/chip_flashing_guide_july_2020/

CHIP-tools

A collection of scripts for working with CHIP

Requirements

sudo apt -y install build-essential git mercurial cmake curl screen unzip device-tree-compiler libncurses-dev ppp cu linux-image-extra-virtual u-boot-tools android-tools-fastboot android-tools-fsutils python-dev python-pip libusb-1.0-0-dev g++-arm-linux-gnueabihf pkg-config libacl1-dev zlib1g-dev liblzo2-dev uuid-dev sunxi-tools

Instructions for flashing process

  1. Ensure CHIP is powered off and not connected to the host computer. Put a jumper wire between FEL and GND pins.
  2. Clone CHIP-tools repository to $HOME/CHIP-tools: git clone [email protected]:alxgcrz/chip-tools.git $HOME/CHIP-tools
  3. Change to 'CHIP-tools' folder: cd CHIP-tools
  4. Modify permissions: sudo chmod 755 *.sh
  5. Execute setup script: bash setup.sh
  6. Execute FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false
  7. Execute tool to flash CHIP:
    • With local firmware: ./chip-update-firmware.sh -L ./stable-server-b149
    • Downloading remote firmware: ./chip-update-firmware.sh
  8. When "Waiting for fel......" prompt appears, connect CHIP to the host computer with a microUSB cable.
  9. When "FLASH VERIFICATION COMPLETE" message appears, flashing is successful.
  10. Disconnect CHIP from PC
  11. Remove jumper wire between FEL and GND pins.
  12. Connect CHIP to host computer again.
  13. Wait few seconds
  14. Control CHIP Using a Serial Terminal: screen $(ls -tw 1 /dev/tty* | head -1) 115200

Included Tools

chip-update-firmware

This tool is used to download and flash the latest firmware release for CHIP. The tool also now only supports fastboot flashing.

chip-create-nand-images

This tool is used to generate local firmware images for CHIP and CHIP Pro.

chip-tools-1's People

Contributors

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