Skip to content
Permalink
Browse files

Begin Tinker Board S compatibility

  • Loading branch information...
NEMS Linux
NEMS Linux committed Apr 12, 2019
1 parent c7eb4ba commit 8ce356d2bd20edbea0d35dd16df35831ac934d72
Showing with 3 additions and 2 deletions.
  1. +1 −1 build/160-asus-tinker-board
  2. +2 −1 nems-cleanup.sh
@@ -3,7 +3,7 @@ echo $0 > /var/www/html/userfiles/nems-build.cur

platform=$(/usr/local/share/nems/nems-scripts/info.sh platform)

if (( $platform == 100 )); then
if (( $platform == 100 )) || (( $platform == 101 )); then

# Lower the CPU frequency to reduce temperature and improve reliability
echo 1300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
@@ -209,7 +209,8 @@ nameserver 2001:4860:4860::8844

# Make it so filesystem resizes at first boot
# 100 = Tinker Board
if (( $platform == 100 )); then
# 101 = Tinker Board S
if (( $platform == 100 )) || (( $platform == 101 )); then
# NEMS Universal Filesystem Restore
addition="/root/nems/nems-admin/resize_rootfs/nems-fs-resize\n"
if grep -q "exit" /etc/rc.local; then

0 comments on commit 8ce356d

Please sign in to comment.
You can’t perform that action at this time.