Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

alxgcrz/chip-tools

Repository files navigation

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.

About

How to Flash C.H.I.P Offline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages