Skip to content

Instantly share code, notes, and snippets.

@eflukx
eflukx / chip-flash.sh
Created October 14, 2017 17:24 — forked from foxbunny/chip-flash.sh
Script to flash CHIP
#!/bin/bash
#
# This script programs the CHIP's NAND flash using sunxi-tools' `fel` utiltiy,
# and U-Boot itself. The following tools must be present on the system:
#
# - dd (coreutils)
# - lsusb (usbutils)
# - fel (sunxi-tools)
# - mkimage (android-tools)
#