Skip to content

Commit 8d6f403

Browse files
SebastianCzaplamacpijan
authored andcommitted
platform-configs: Add support for VP3XX platforms
Signed-off-by: Sebastian Czapla <[email protected]>
1 parent 41549a3 commit 8d6f403

File tree

5 files changed

+57
-3
lines changed

5 files changed

+57
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*** Settings ***
2+
Resource protectli-common.robot
3+
4+
5+
*** Variables ***
6+
${FLASH_SIZE}= ${16*1024*1024}
7+
${VERIFIED_BOOT_SUPPORT}= y
8+
${IPXE_BOOT_ENTRY}= Network Boot and Utilities
9+
10+
11+
*** Keywords ***
12+
Power On
13+
Rte Power Off
14+
Sleep 5s
15+
Power Cycle On
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*** Settings ***
2+
Resource include/protectli-vp32xx.robot
3+
4+
5+
*** Variables ***
6+
${DMIDECODE_PRODUCT_NAME}= VP3210
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
*** Settings ***
2+
Resource include/protectli-vp32xx.robot
3+
4+
5+
*** Variables ***
6+
# Automatically found variables
7+
${INITIAL_CPU_FREQUENCY}= 800
8+
${PLATFORM_CPU_SPEED}= 3,80
9+
${CPU_MIN_FREQUENCY}= 800
10+
${CPU_MAX_FREQUENCY}= 3800
11+
${PLATFORM_RAM_SPEED}= 4800
12+
${PLATFORM_RAM_SIZE}= 16384
13+
${WIFI_CARD_UBUNTU}= Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 30)
14+
${BLUETOOTH_CARD_UBUNTU}= Qualcomm Atheros Communications AR3012 Bluetooth 4.0
15+
${E_MMC_NAME}= BJTD4R
16+
${CPU}= Intel(R) Core(TM) i3-N305
17+
${DMIDECODE_MANUFACTURER}= Protectli
18+
${DMIDECODE_SERIAL_NUMBER}= 123456789
19+
${DMIDECODE_PRODUCT_NAME}= VP3230
20+
${DMIDECODE_FAMILY}= Vault Pro
21+
${DMIDECODE_TYPE}= Desktop
22+
${DEF_THREADS_TOTAL}= 8
23+
${DEF_THREADS_PER_CORE}= 1
24+
${DEF_CORES_PER_SOCKET}= 8
25+
${DEF_SOCKETS}= 1
26+
${DEF_ONLINE_CPU}= 0-7
27+
${DEVICE_AUDIO1}= HDA Intel PCH

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ MarkupSafe==2.1.5
2222
mdurl==0.1.2
2323
nodeenv==1.8.0
2424
oauth2client==4.1.3
25-
osfv @ git+https://github.com/Dasharo/osfv-scripts.git@5016e8a652c0cd5a3b7b8398902b55d37cf8bc56#subdirectory=osfv_cli
25+
osfv @ git+https://github.com/Dasharo/osfv-scripts.git@9c11da03268e7d8cd8d87dc576587c21cd3984f0#subdirectory=osfv_cli
2626
paramiko==3.4.0
2727
pathspec==0.9.0
2828
pexpect==4.9.0

variables.robot

+8-2
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,11 @@ ${OS_UBUNTU}= ubuntu
238238
&{RTE66}= ip=192.168.10.193 platform=odroid-h4-Plus
239239
... platform_vendor=Hardkernel
240240
... pikvm_ip=192.168.10.120
241+
# Protectli VP3230
242+
&{RTE67}= ip=192.168.10.35
243+
... platform=protectli-vp3230
244+
... platform_vendor=protectli
245+
... sonoff_ip=192.168.10.27
241246

242247
@{RTE_LIST}= &{RTE05}
243248
... &{RTE06} &{RTE07} &{RTE08} &{RTE09} &{RTE10}
@@ -252,7 +257,7 @@ ${OS_UBUNTU}= ubuntu
252257
... &{RTE51} &{RTE52} &{RTE53} &{RTE54} &{RTE55}
253258
... &{RTE56} &{RTE57} &{RTE58} &{RTE59} &{RTE60}
254259
... &{RTE61} &{RTE62} &{RTE63} &{RTE64} &{RTE65}
255-
... &{RTE66}
260+
... &{RTE66} &{RTE67}
256261
# hardware database:
257262
# -----------------------------------------------------------------------------
258263
&{HDD01}= vendor=SAMSUNG volume=500GB type=HDD_Storage
@@ -490,6 +495,7 @@ ${OS_UBUNTU}= ubuntu
490495
@{CONFIG48}= &{RTE64} &{SSD17}
491496
@{CONFIG49}= &{RTE65} &{SSD17}
492497
@{CONFIG50}= &{RTE66} &{SSD18} # Borrowed from NV41PZ
498+
@{CONFIG51}= &{RTE67}
493499

494500
@{CONFIG_LIST}= @{CONFIG01} @{CONFIG02} @{CONFIG03} @{CONFIG04}
495501
... @{CONFIG05} @{CONFIG06} @{CONFIG08} @{CONFIG09}
@@ -503,4 +509,4 @@ ${OS_UBUNTU}= ubuntu
503509
... @{CONFIG38} @{CONFIG39} @{CONFIG40}
504510
... @{CONFIG42} @{CONFIG43} @{CONFIG44} @{CONFIG45}
505511
... @{CONFIG46} @{CONFIG47} @{CONFIG48} @{CONFIG49}
506-
... @{CONFIG50}
512+
... @{CONFIG50} @{CONFIG51}

0 commit comments

Comments
 (0)