Add pocketchip flashing script

chip/stable
computermouth 7 years ago
parent e5ca20eca9
commit e74619bae5
  1. 6
      chip-local-flash.sh

@ -16,7 +16,7 @@ DL_DIR=".dl"
##############################################################
# main
##############################################################
while getopts "fdnu:" opt; do
while getopts "fdpnu:" opt; do
case $opt in
f)
echo "fastboot enabled"
@ -27,6 +27,10 @@ while getopts "fdnu:" opt; do
echo "desktop selected"
DL_FLAVOR=desk
;;
p)
echo "desktop selected"
DL_FLAVOR=pocket
;;
n)
echo "next enabled"
DL_DIST=testing-rootfs

Loading…
Cancel
Save