|
|
|
@ -49,7 +49,33 @@ select_boards()
|
|
|
|
|
local choice |
|
|
|
|
local call=${1} |
|
|
|
|
|
|
|
|
|
boards=("orangepir1" "orangepizero" "orangepipc" "orangepipch5" "orangepipcplus" "orangepiplus2e" "orangepione" "orangepioneh5" "orangepilite" "orangepiplus" "orangepizeroplus2h3" "orangepizeroplus" "orangepipc2" "orangepiprime" "orangepizeroplus2h5" "orangepiwin" "orangepiwinplus" "orangepi3" "orangepi3-lts" "orangepilite2" "orangepioneplus" "orangepi4" "orangepirk3399" "orangepi800" "orangepizero2" "orangepir1plus") |
|
|
|
|
boards=("orangepir1" |
|
|
|
|
"orangepizero" |
|
|
|
|
"orangepipc" |
|
|
|
|
"orangepipch5" |
|
|
|
|
"orangepipcplus" |
|
|
|
|
"orangepiplus2e" |
|
|
|
|
"orangepione" |
|
|
|
|
"orangepioneh5" |
|
|
|
|
"orangepilite" |
|
|
|
|
"orangepiplus" |
|
|
|
|
"orangepizeroplus2h3" |
|
|
|
|
"orangepizeroplus" |
|
|
|
|
"orangepipc2" |
|
|
|
|
"orangepiprime" |
|
|
|
|
"orangepizeroplus2h5" |
|
|
|
|
"orangepiwin" |
|
|
|
|
"orangepiwinplus" |
|
|
|
|
"orangepi3" |
|
|
|
|
"orangepi3-lts" |
|
|
|
|
"orangepilite2" |
|
|
|
|
"orangepioneplus" |
|
|
|
|
"orangepi4" |
|
|
|
|
"orangepirk3399" |
|
|
|
|
"orangepi800" |
|
|
|
|
"orangepizero2" |
|
|
|
|
"orangepizero2-lts" |
|
|
|
|
"orangepir1plus") |
|
|
|
|
|
|
|
|
|
if [[ -f /etc/orangepi-release ]]; then |
|
|
|
|
|
|
|
|
@ -58,7 +84,6 @@ select_boards()
|
|
|
|
|
elif [[ -f /etc/armbian-release ]]; then |
|
|
|
|
|
|
|
|
|
source /etc/armbian-release |
|
|
|
|
|
|
|
|
|
[[ $BOARD == orangepi-r1 ]] && BOARD=orangepir1 |
|
|
|
|
[[ $BOARD == orangepi-rk3399 ]] && BOARD=orangepirk3399 |
|
|
|
|
[[ $BOARD == orangepizeroplus2-h3 ]] && BOARD=orangepizeroplus2h3 |
|
|
|
@ -107,6 +132,7 @@ select_boards()
|
|
|
|
|
[[ $BOARD == orangepilite2 ]] && BOARD=orangepilite2-h6 |
|
|
|
|
[[ $BOARD == orangepioneplus ]] && BOARD=orangepioneplus-h6 |
|
|
|
|
[[ $BOARD == orangepizero2 ]] && BOARD=orangepizero2-h616 |
|
|
|
|
[[ $BOARD == orangepizero2-lts ]] && BOARD=orangepizero2-h616 |
|
|
|
|
[[ $BOARD == orangepir1plus ]] && BOARD=orangepir1plus-rk3328 |
|
|
|
|
|
|
|
|
|
export BOARD="${BOARD}" |
|
|
|
|