Skip to content

platform-configs/novacustom-nuc_box: add #871

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/novacustom.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ The steps are:

After that, the laptop can be used just like a regular platform with serial
console access. Just **make sure** you set up the OS'es to use the right
console, eg. `ttyUSB0`, not `ttyS1`.
console, eg. `ttyUSB0`, not `ttyS1`. Refer to
[this article](https://www.rogerirwin.co.nz/linux-open-source/enabling-a-serial-port-console/)
to see how it's done on Ubuntu.

## SSH + DCU

Expand Down
2 changes: 1 addition & 1 deletion keywords.robot
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ Execute Shutdown Command
[Documentation] Windows shutdown keyword, checks power LED state where available.
... Depends on existing SSH connection to DUT, restores initial connection method
... after power loss.
Set Global Variable ${DUT_CONNECTION_METHOD} ${OS_DUT_CONNECTION_METHOD}
Set Global Variable ${DUT_CONNECTION_METHOD} SSH
Execute Command In Terminal shutdown /s /f /t 0
IF '${CHECK_POWER_LED_SUPPORT}' == '${TRUE}'
${loop_iterations}= Evaluate ${WINDOWS_SHUTDOWN_AWAITING_SECONDS} * 2
Expand Down
4 changes: 3 additions & 1 deletion lib/platform/power.robot
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ Check Power Supply
END

Check The Platform Is A Laptop
${laptop_platform}= Run Keyword And Return Status Should Contain Any ${PLATFORM} novacustom tuxedo
${laptop_producer}= Run Keyword And Return Status Should Contain Any ${PLATFORM} novacustom tuxedo
${nuc}= Run Keyword And Return Status Should Contain Any ${PLATFORM} nuc_box
${laptop_platform}= Evaluate ${laptop_producer} and not ${nuc}
RETURN ${laptop_platform}

Check Power Supply On Linux
Expand Down
1 change: 0 additions & 1 deletion platform-configs/include/default.robot
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ ${ONLY_FLASH_BIOS}= ${TBD}
${OPEN_BMC_PASSWORD}= ${TBD}
${OPEN_BMC_ROOT_PROMPT}= ${TBD}
${OPEN_BMC_USERNAME}= ${TBD}
${OS_DUT_CONNECTION_METHOD}= ${TBD}
${PLATFORM_CPU_SPEED}= ${TBD}
${PLATFORM_RAM_SIZE}= ${TBD}
${PLATFORM_RAM_SPEED}= ${TBD}
Expand Down
27 changes: 27 additions & 0 deletions platform-configs/include/novacustom-nuc_box.robot
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
*** Variables ***
${INITIAL_DUT_CONNECTION_METHOD}= Telnet
${DUT_CONNECTION_METHOD}= Telnet
${POWER_CTRL}= sonoff
${TESTS_IN_FIRMWARE_SUPPORT}= ${TRUE}

${DMIDECODE_FIRMWARE_VERSION}= Dasharo (coreboot+UEFI) v0.9.0-rc2
${DMIDECODE_PRODUCT_NAME}= NUC_BOX
${FLASH_LENGTH}= ${TBD}
${FW_VERSION}= v0.9.0-rc2
${DMIDECODE_RELEASE_DATE}= 07/14/2025
${FLASHROM_FLAGS}= ${EMPTY}

${WIFI_CARD}= Intel Corporation Meteor Lake PCH CNVi WiFi

${DEFAULT_BOOT_OS_ID}= ${ENV_ID_UBUNTU}
@{TESTED_LINUX_DISTROS}=
... ${ENV_ID_UBUNTU} # ${ENV_ID_FEDORA}
${TESTS_IN_WINDOWS_SUPPORT}= ${TRUE}

${CLEVO_USB_C_HUB}= Billboard Device

${GPU_PERFORMANCE_TESTS_SUPPORT}= ${TRUE}
${ESP_SCANNING_SUPPORT}= ${TRUE}
${USB_DISKS_DETECTION_SUPPORT}= ${TRUE}
${USB_KEYBOARD_DETECTION_SUPPORT}= ${TRUE}
${FAN_SPEED_MEASURE_SUPPORT}= ${TRUE}
62 changes: 62 additions & 0 deletions platform-configs/novacustom-nuc_box-125H.robot
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
*** Settings ***
Resource include/novacustom-nuc_box.robot
Resource include/novacustom-mtl.robot
Resource include/novacustom-common.robot
Resource include/default.robot


*** Variables ***
${CPU}= Intel(R) Core(TM) Ultra 5 125H
${DEF_CORES_PER_SOCKET}= 14
${DEF_THREADS_TOTAL}= 18
${CPU_MAX_FREQUENCY}= 4800
${CPU_MIN_FREQUENCY}= 300
${PLATFORM_CPU_SPEED}= 3.0
${DEF_ONLINE_CPU}= 0-17
${DEF_SOCKETS}= 1

${EXTERNAL_HEADSET}= JMTek, LLC. USB Audio
${DEVICE_NVME_DISK}= Non-Volatile memory controller
${USB_MODEL}= ${TBD}
${USB_DEVICE}= Linux

# cpu performance Ubuntu
${ZIP_MULTI_COMPRESSION}= 79729 # MIPS
${ZIP_MULTI_DECOMPRESSION}= 52410 # MIPS
${CRAY_5_K_RENDER}= 585.333 # sec
${CRAY_4_K_RENDER}= 326.895 # sec
${CRAY_1080_P_RENDER}= 80.547 # sec
${COREMARK_SINGLE}= 407451.446 # iterations/s

# cpu performance Windows
${SMALLPT_TEST_SCORE}= 12.454
${CRAFTY_TEST_SCORE}= 9289333
${CACHEBENCH_TEST_SCORE}= 108463.4
${BLAKE2_TEST_SCORE}= 4.08

# disk i-o
${UBU_SEQ_READ_QUEUED}= 4677 # MB/s
${UBU_SEQ_WRITE_QUEUED}= 1878.5 # MB/s
${UBU_SEQ_READ_NONQUE}= 2232.5 # MB/s
${UBU_SEQ_WRITE_NONQUE}= 1884.7 # MB/s
${UBU_RAND_READ_QUEUED}= 823 # MB/s
${UBU_RAND_WRITE_QUEUED}= 917.3 # MB/s
${UBU_RAND_READ_NONQUE}= 68.6 # MB/s
${UBU_RAND_WRITE_NONQUE}= 272.1 # MB/s

${WIN_SEQ_READ_QUEUED}= 7119.5 # MB/s
${WIN_SEQ_WRITE_QUEUED}= 6511.4 # MB/s
${WIN_SEQ_READ_NONQUE}= 5001.2 # MB/s
${WIN_SEQ_WRITE_NONQUE}= 5475.5 # MB/s
${WIN_RAND_READ_QUEUED}= 886.5 # MB/s
${WIN_RAND_WRITE_QUEUED}= 461.3 # MB/s
${WIN_RAND_READ_NONQUE}= 82.8 # MB/s
${WIN_RAND_WRITE_NONQUE}= 239.6 # MB/s

${UNIGINE_SUPERPOSITION_RESULT_AC}= 20.6 # FPS
${UNIGINE_SUPERPOSITION_RESULT_BAT}= 20.3 # FPS


*** Keywords ***
Power On
Novacustom-common.Power On
64 changes: 64 additions & 0 deletions platform-configs/novacustom-nuc_box-155H.robot
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
*** Settings ***
Resource include/novacustom-nuc_box.robot
Resource include/novacustom-mtl.robot
Resource include/novacustom-common.robot
Resource include/default.robot


*** Variables ***
${CPU}= Intel(R) Core(TM) Ultra 7 155H
${INITIAL_CPU_FREQUENCY}= 2800
${DEF_CORES_PER_SOCKET}= 16
${DEF_THREADS_PER_CORE}= 2
${DEF_THREADS_TOTAL}= 22
# TODO: remove, the value below can be inferred from the one above
${DEF_ONLINE_CPU}= 0-21
${DEF_SOCKETS}= 1

${CPU_MAX_FREQUENCY}= 4800
${CPU_MIN_FREQUENCY}= 200

${EXTERNAL_HEADSET}= JMTek, LLC. USB Audio
${DEVICE_NVME_DISK}= Non-Volatile memory controller
${USB_MODEL}= ${TBD}
${USB_DEVICE}= Linux

# cpu performance Ubuntu
${ZIP_MULTI_COMPRESSION}= 63476 # MIPS
${ZIP_MULTI_DECOMPRESSION}= 39336 # MIPS
${CRAY_5_K_RENDER}= 654.5 # sec
${CRAY_4_K_RENDER}= 356.9 # sec
${CRAY_1080_P_RENDER}= 90.8 # sec
${COREMARK_SINGLE}= 400079.5 # iterations/s

# cpu performance Windows
${SMALLPT_TEST_SCORE}= 26.865
${CRAFTY_TEST_SCORE}= 7847239
${CACHEBENCH_TEST_SCORE}= 78461.6
${BLAKE2_TEST_SCORE}= 3.94

# disk i-o
${UBU_SEQ_READ_QUEUED}= 4677 # MB/s
${UBU_SEQ_WRITE_QUEUED}= 1878.5 # MB/s
${UBU_SEQ_READ_NONQUE}= 2232.5 # MB/s
${UBU_SEQ_WRITE_NONQUE}= 1884.7 # MB/s
${UBU_RAND_READ_QUEUED}= 823 # MB/s
${UBU_RAND_WRITE_QUEUED}= 917.3 # MB/s
${UBU_RAND_READ_NONQUE}= 68.6 # MB/s
${UBU_RAND_WRITE_NONQUE}= 272.1 # MB/s

${WIN_SEQ_READ_QUEUED}= 7119.5 # MB/s
${WIN_SEQ_WRITE_QUEUED}= 6511.4 # MB/s
${WIN_SEQ_READ_NONQUE}= 5001.2 # MB/s
${WIN_SEQ_WRITE_NONQUE}= 5475.5 # MB/s
${WIN_RAND_READ_QUEUED}= 886.5 # MB/s
${WIN_RAND_WRITE_QUEUED}= 461.3 # MB/s
${WIN_RAND_READ_NONQUE}= 82.8 # MB/s
${WIN_RAND_WRITE_NONQUE}= 239.6 # MB/s

${UNIGINE_SUPERPOSITION_RESULT_AC}= 20.6 # FPS


*** Keywords ***
Power On
Novacustom-common.Power On
1 change: 0 additions & 1 deletion platform-configs/novacustom-v560tnd.robot
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ ${PLATFORM_CPU_SPEED}= 3.0

${INITIAL_DUT_CONNECTION_METHOD}= Telnet
${DUT_CONNECTION_METHOD}= Telnet
${OS_DUT_CONNECTION_METHOD}= SSH
${POWER_CTRL}= sonoff
${CHECK_POWER_LED_SUPPORT}= ${TRUE}
${DTS_SUPPORT}= ${TRUE}
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mdurl==0.1.2
nodeenv==1.8.0
numpy==2.2.3
oauth2client==4.1.3
osfv @ git+https://github.com/Dasharo/osfv-scripts.git@925522f048e2bd125279b598aec83b22f40810c3#subdirectory=osfv_cli
osfv @ git+https://github.com/Dasharo/osfv-scripts.git@0fd42699842f4d2a0439f400f0e71226f5d7a2e2#subdirectory=osfv_cli
packaging==24.2
pandas==2.2.3
paramiko==3.4.0
Expand Down
18 changes: 13 additions & 5 deletions variables.robot
Original file line number Diff line number Diff line change
Expand Up @@ -254,15 +254,21 @@ ${OS_UBUNTU}= ubuntu
... platform=novacustom-ns50mu
... platform_vendor=Clevo
... sonoff_ip=192.168.10.67
#
# NovaCustom NUC BOX test rack
&{RTE71}= ip=192.168.10.25
... platform=novacustom-nuc_box
... platform_vendor=Clevo
... sonoff_ip=192.168.10.57

# NovaCustom V540TU test rack
&{RTE71}= ip=192.168.10.100
&{RTE72}= ip=192.168.10.100
... platform=novacustom-v540tu
... platform_vendor=Clevo
... sonoff_ip=192.168.10.116

# NovaCustom V560TND test desktop
&{RTE72}= ip=192.168.10.25
&{RTE73}= ip=192.168.10.25
... platform=novacustom-v560tnd
... platform_vendor=Clevo
... sonoff_ip=192.168.10.229
Expand All @@ -280,7 +286,7 @@ ${OS_UBUNTU}= ubuntu
... &{RTE55} &{RTE56} &{RTE57} &{RTE58} &{RTE59}
... &{RTE60} &{RTE61} &{RTE62} &{RTE63} &{RTE64}
... &{RTE65} &{RTE66} &{RTE67} &{RTE68} &{RTE69}
... &{RTE70} &{RTE71} &{RTE72}
... &{RTE70} &{RTE71} &{RTE72} &{RTE73}

# hardware database:
# -----------------------------------------------------------------------------
Expand Down Expand Up @@ -477,7 +483,9 @@ ${OS_UBUNTU}= ubuntu
@{CONFIG52}= &{RTE68} &{SSD18}
@{CONFIG53}= &{RTE69}
@{CONFIG54}= &{RTE70}
@{CONFIG55}= &{RTE71} &{SSD20}
@{CONFIG55}= &{RTE71}
@{CONFIG56}= &{RTE72} &{SSD20}
@{CONFIG57}= &{RTE73}

@{CONFIG_LIST}= @{CONFIG01} @{CONFIG02} @{CONFIG03} @{CONFIG04}
... @{CONFIG05} @{CONFIG06} @{CONFIG08} @{CONFIG09}
Expand All @@ -492,4 +500,4 @@ ${OS_UBUNTU}= ubuntu
... @{CONFIG42} @{CONFIG43} @{CONFIG44} @{CONFIG45}
... @{CONFIG46} @{CONFIG47} @{CONFIG48} @{CONFIG49}
... @{CONFIG50} @{CONFIG51} @{CONFIG52} @{CONFIG53}
... @{CONFIG54} @{CONFIG55}
... @{CONFIG54} @{CONFIG55} @{CONFIG56} @{CONFIG57}
Loading