ci: testbed-02: add mxl25641-hdk-6 aka OSPv2

Add mxl25641-hdk-6 aka OSPv2 board with ethernet WAN uplink so we can QA
this new board.

References: PCF-1136
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
This commit is contained in:
Petr Štetiar 2024-04-10 21:09:14 +02:00
parent c6f301038c
commit 7b77da8dbf
No known key found for this signature in database
GPG Key ID: 58EE120F30CC02D3
3 changed files with 51 additions and 0 deletions

View File

@ -22,6 +22,7 @@ include:
- local: .gitlab/testbed/turris-omnia.yml
- local: .gitlab/testbed/urx851-hdk-3.yml
- local: .gitlab/testbed/urx851-b0-dk-pon.yml
- local: .gitlab/testbed/mxl25641-hdk-6.yml
- local: .gitlab/testbed/wnc-freedom.yml
stages:
@ -102,6 +103,12 @@ run test URX851-B0-DK-PON with system on eMMC:
optional: true
extends: .urx851-b0-dk-pon testbed
run test MXL25641-HDK-6 with system on eMMC:
needs:
- job: build test mxl_x86_osp_tb341_v2 mxl_wlan_hostap_ng_wav700 prpl security
optional: true
extends: .mxl25641-hdk-6 testbed
run test Freedom initramfs:
needs:
- job: build test qca_ipq95xx prpl security

View File

@ -0,0 +1,13 @@
.mxl25641-hdk-6 testbed:
extends: .testbed true.cz
variables:
DUT_ARCH: x86_64
DUT_TARGET: intel_x86
DUT_SUBTARGET: lgm
DUT_BOARD: mxl25641-hdk-6
LABGRID_TARGET: mxl25641-hdk-6-emmc
TFTP_IMAGE_FILENAME: openwrt-intel_x86-lgm-PRPL_OSP_TB341_v2-osp_tb341_v2_wav700_eth_fullimage.img
TFTP_IMAGE_FILENAME_PATTERN: /.*openwrt-intel_x86-lgm-PRPL_OSP_TB341_v2-osp_tb341_v2_wav700_eth_fullimage.img/
DUT_ARCH_PACKAGES_PATH: $PACKAGE_DIR/${DUT_ARCH}
tags:
- dut-mxl25641-hdk-6

View File

@ -221,3 +221,34 @@ targets:
- if test -n $untar_addr_kernel; then flash "0:HLOS" 0x$untar_addr_kernel 0x$untar_size_kernel; else echo "kernel is not found"; fi
- if test -n $untar_addr_root; then flash "rootfs" 0x$untar_addr_root 0x$untar_size_root; else echo "rootfs is not found"; fi
UBootStrategy: {}
mxl25641-hdk-6-emmc:
resources:
ModbusTCPCoil:
host: quido.testbed-02.vpn.true.cz
coil: 0
managed_coils: 8
write_multiple_coils: True
exclusive_coil_mode: True
RawSerialPort:
port: "/dev/mxl25641-hdk-6"
drivers:
ModbusCoilDriver: {}
DigitalOutputPowerDriver: {}
SerialDriver:
txdelay: 0.01
ShellDriver:
console_ready: Please press Enter to activate this console.
prompt: 'root@[\w()]+:[^ ]+ '
login_prompt: built-in shell (ash)
username: kingbanik
UBootDriver:
prompt: 'Lightning #'
console_decodeerrors: 'backslashreplace'
init_command_timeout: 90
init_commands:
- setenv serverip 192.168.1.2
- setenv ipaddr 192.168.1.1
- setenv fullimage openwrt-intel_x86-lgm-PRPL_OSP_TB341_v2-osp_tb341_v2_wav700_eth_fullimage.img
- mmc dev 0 && mmc erase ${overlay_container_a_block_start} ${overlay_container_a_block_size} && run update_fullimage
UBootStrategy: {}