This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) | |
# |