diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a560373bca..01c46bed1a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/.gitlab/testbed/mxl25641-hdk-6.yml b/.gitlab/testbed/mxl25641-hdk-6.yml new file mode 100644 index 0000000000..a108a0cddd --- /dev/null +++ b/.gitlab/testbed/mxl25641-hdk-6.yml @@ -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 diff --git a/.testbed/labgrid/testbed-02.yaml b/.testbed/labgrid/testbed-02.yaml index 1b3c88f8e2..23a4776b13 100644 --- a/.testbed/labgrid/testbed-02.yaml +++ b/.testbed/labgrid/testbed-02.yaml @@ -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: {}