Skip to content
Permalink
Browse files

Distinguish between 2 GB + 4 GB ODROID-N2

  • Loading branch information...
Cat5TV committed Mar 31, 2019
1 parent 3043b75 commit 37fa2b6cb2f6b23bbdde011ade8b3efb19e2bc99
Showing with 12 additions and 3 deletions.
  1. +12 −3 hw_model.sh
@@ -57,7 +57,8 @@
# HW_MODEL 30 OrangePi PC
# HW_MODEL 21 x86_64 native (PC)
# HW_MODEL 20 VM x64 (VMware VirtualBox)
# HW_MODEL 15 ODROID-N2
# HW_MODEL 16 ODROID-N2 (4 GB)
# HW_MODEL 15 ODROID-N2 (2 GB)
# HW_MODEL 13 oDroid U3
# HW_MODEL 12 oDroid C2
# HW_MODEL 11 oDroid XU3/XU4/HC1/HC2
@@ -656,9 +657,17 @@

#ODROID-N2
elif (( $HW_MODEL == 15 )); then
if (( $MEMTOTAL > 3800000 )); then

HW_MODEL_DESCRIPTION='ODROID-N2'
IMAGE_ADDITIONAL_CREDITS='Meveric'
HW_MODEL_DESCRIPTION='ODROID-N2 (4 GB)'
HW_MODEL=16

else

HW_MODEL_DESCRIPTION='ODROID-N2 (2 GB)'
IMAGE_ADDITIONAL_CREDITS='Meveric'

fi

# Logic Supply CL100
elif (( $HW_MODEL >= 98010 && $HW_MODEL <= 98019 )); then

0 comments on commit 37fa2b6

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