- Install sunxi-tools, uboot-tools, and android-tools (for fastboot)
FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -pto flash a PocketCHIP image.
A table of flags that can be provided:
== Help == -s -- Server [Debian + Headless] -g -- GUI [Debian + XFCE] -p -- PocketCHIP [CHIP on the go!] -b -- Buildroot [Tiny, but powerful] -f -- Force clean [re-download if applicable] -n -- No limit [enable greater power draw] -r -- Reset [reset device after flash] -B -- Branch [eg. -B testing] -N -- Build# [eg. -N 150] -F -- Format [eg. -F Toshiba_4G_MLC] -L -- Local [eg. -L ../img/buildroot/]
Note that when updating this script to work with new versions of fastboot, I
-i flag that specified a specific device to target. Shouldn't be
an issue unless you have your Android phone in fastboot mode plugged in at the
same time as your CHIP, but be warned I guess.
A collection of scripts for working with CHIP
- sunxi-tools from your package manager or from the Sunxi repository
- uboot-tools from your package manager
- mtd-utils-mlc from our repository (https://github.com/nextthingco/chip-mtd-utils) [for creating images]
This tool is used to download and flash the latest firmware release for CHIP. The tool also now only supports fastboot flashing.
This tool is used to generate local firmware images for CHIP and CHIP Pro.