mirror of
https://github.com/armbian/build.git
synced 2026-01-06 09:58:46 -08:00
Minor H3 fixes
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
;;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user