Minor H3 fixes

This commit is contained in:
ThomasKaiser
2016-08-21 18:03:34 +02:00
parent 21e1ea81ab
commit eff169cd82
3 changed files with 4 additions and 1 deletions

View File

@@ -362,6 +362,7 @@ fi
# h3disp for sun8i/3.4.x
if [[ $LINUXFAMILY == sun8i && $BRANCH == default ]]; then
install -m 755 "$SRC/lib/scripts/h3disp" "$CACHEDIR/sdcard/usr/local/bin"
install -m 755 "$SRC/lib/scripts/h3consumption" "$CACHEDIR/sdcard/usr/local/bin"
fi
}

View File

@@ -122,7 +122,7 @@ prepare_board() {
# Send GBit Ethernet IRQs to cpu3
echo 8 >/proc/irq/$(awk -F":" "/${GbE}/ {print \$1}" </proc/interrupts | sed 's/\ //g')/smp_affinity
;;
"NanoPi M1"|"Orange Pi PC Plus"|"Orange Pi PC +"|"Orange Pi PC")
"NanoPi M1"|"Orange Pi PC Plus"|"Orange Pi PC +"|"Orange Pi PC"|"NanoPi Neo")
# Send 3rd USB port's IRQs to cpu3
echo 8 >/proc/irq/$(awk -F":" "/${USB3}/ {print \$1}" </proc/interrupts | sed 's/\ //g')/smp_affinity
;;

View File

@@ -27,6 +27,8 @@ if [ "$-" != "${-#*i}" ]; then
read -n1 ConfigureDisplay
if [ "X${ConfigureDisplay}" != "Xn" -a "X${ConfigureDisplay}" != "XN" ]; then
echo -e "\n" ; /usr/local/bin/h3disp
else
echo -e "\n"
fi
fi