Skip to content

Commit

Permalink
docs/variants/protectli_vp2430: add
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Lewiński <[email protected]>
  • Loading branch information
filipleple committed Dec 9, 2024
1 parent 58a6175 commit 2d0b07d
Show file tree
Hide file tree
Showing 10 changed files with 370 additions and 13 deletions.
24 changes: 24 additions & 0 deletions docs/unified/protectli/building-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,3 +269,27 @@ then follow the steps below:

The resulting coreboot image will be placed in the coreboot directory as
`protectli_vp2420_<version>.rom`.

=== "VP2430"

1. Checkout the desired version, e.g. `v0.9.0`:

```bash
cd coreboot
git checkout protectli_vp2430_v0.9.0
```

2. Checkout submodules:

```bash
git submodule update --init --checkout
```

3. Build the firmware:

```bash
./build.sh vp2430
```

The resulting coreboot image will be placed in the coreboot directory as
`protectli_vp2430_<version>.rom`.
24 changes: 24 additions & 0 deletions docs/unified/protectli/firmware-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,27 @@ update.
```

This command also preserves Dasharo UEFI settings and the boot order.

=== "VP2430"

## Updating minor versions v1.x.y

Both `WP_RO` and `RW_SECTION_A` partitions of the flash needs to be updated.
Flash it using the following command:

```bash
flashrom -p internal -w [path] --fmap -i RW_SECTION_A -i WP_RO
```

This command also preserves current Dasharo UEFI settings and the boot order.

## Updating patch version v1.0.x

Only the `RW_SECTION_A` partition of the flash needs to be updated. Flash it
using the following command:

```bash
flashrom -p internal -w [path] --fmap -i RW_SECTION_A
```

This command also preserves Dasharo UEFI settings and the boot order.
21 changes: 21 additions & 0 deletions docs/unified/protectli/initial-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,24 @@ flashrom -p internal -r dump.rom
```

This command also preserves Dasharo UEFI settings and the boot order.

=== "VP2430"

To flash Dasharo on the platform, execute the following command - replace
`[path]` with the path to the Dasharo image you want to flash, e.g.
`protectli_vp2430_v0.9.0.rom`.

If stock firmware is currently installed:

```bash
flashrom -p internal -w [path] --ifd -i bios
```

If Dasharo is currently installed, only the `RW_SECTION_A` partition of the
flash needs to be updated. Flash it using the following command:

```bash
flashrom -p internal -w protectli_vp2430_v0.9.0.rom --fmap -i RW_SECTION_A
```

This command also preserves Dasharo UEFI settings and the boot order.
49 changes: 48 additions & 1 deletion docs/unified/protectli/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
drives). The built-in 8 GB eMMC module can be used for booting a
light-weight OS for example, or for use as optional storage.

VP2410 specification:
VP2420 specification:

* Intel Celeron® J6412 Quad Core at 2 GHz (Burst up to 2.6 GHz)
* 4 Intel® 2.5 Gigabit Ethernet NIC ports
Expand Down Expand Up @@ -170,6 +170,53 @@
describes the platform's hardware configuration used during the Dasharo
firmware validation procedure.

=== "VP2430"
The VP2430 is a small form network appliance built for use as a firewall
/ router, virtualization platform, a daily-driven personal computer,
and more. A major difference setting it apart from its predecessors is the
CPU. While the 2410 and 2420 models both utilize a J-series Intel Celeron,
the VP2430 comes equipped with a more recent Alder Lake N-series CPU. This
means a significant improvement in performance, at a comparable power
consumption level. It also features 4 x 2.5G i226 ethernet ports.

![](/images/VP2430.png)

The VP2430 can accommodate up to 16 GB DDR5 RAM and and a M.2 NVMe SSD
storage drive. The built-in 32 GB eMMC module can be used for booting a
light-weight OS for example, or for use as optional storage.

VP2430 specification:

* Intel® Processor N100 Quad Core, 6M Cache, up to 3.4 GHz
* 4 Intel® 2.5 Gigabit Ethernet NIC ports
* M.2 NVMe SSD Slot
* 32 GB eMMC module on board
* Fanless and Silent
* Included 12v Power Supply, VESA mount kit, Serial Console Cable,
SATA data and power cables for internal SSD, Quick Start Guide

* [Protectli knowledge base](https://kb.protectli.com/)
* [Buy VP2430 in Protectli shop](https://eu.protectli.com/product/vp2430/)

## Documentation sections

* [Releases](../../variants/protectli_vp2430/releases.md) - groups
information about all releases.
* [Building manual](./building-manual.md) -
describes how to build Dasharo for Protectli 2430.
* [Initial deployment](
./initial-deployment.md) -
describes initial Dasharo deployment methods (i. e. flashing new
firmware) for Protectli VP2430.
* [Recovery](./recovery.md) - gathers
information on how to recover the platform from potential failure.
* [Hardware configuration matrix](
../../variants/protectli_vp2430/hardware-matrix.md) -
describes the platform's hardware configuration used during the Dasharo
firmware validation procedure.
* [Test matrix](./test-matrix.md) - describes
validation scope used during Dasharo firmware validation procedure.

=== "VP6630/VP6650/VP6670"
The Vault is a small form network appliance built for use as a firewall /
router, virtualization platform, a daily-driven personal computer, and more.
Expand Down
70 changes: 70 additions & 0 deletions docs/unified/protectli/recovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,73 @@ and Dasharo open-source firmware.
```bash
flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=16000 -c "MX25L12835F/MX25L12845E/MX25L12865E" -w [path_to_binary]
```

=== "VP2430"

## Prerequisites

* [Prepared RTE](../../transparent-validation/rte/v1.1.0/quick-start-guide.md)
* 6x female-female wire cables

## Connections

To prepare the stand for flashing follow the steps described below:

1. Open the platform cover.
1. Connect the J1 and J2 flash headers to the [SPI
header](../../transparent-validation/rte/v1.1.0/specification.md) on RTE.

| SPI header | VP2430 J2 |
|:----------:|:------------:|
| Vcc | pin 1 (Vcc) |
| SCLK | pin 3 (CLK) |
| MOSI | pin 4 (MOSI) |

| SPI header | VP2430 J1 |
|:----------:|:------------:|
| GND | pin 4 (GND) |
| CS | pin 1 (CS) |
| MISO | pin 2 (MISO) |

## Firmware flashing

To flash firmware follow the steps described below:

1. Login to RTE via `ssh` or `minicom`.
1. Turn on the platform by connecting the power supply.
1. Wait at least 5 seconds.
1. Turn off the platform by using the power button.
1. Wait at least 3 seconds.
1. Set the proper state of the SPI by using the following commands on RTE:

```bash
# set SPI Vcc to 3.3V
echo 1 > /sys/class/gpio/gpio405/value
# SPI Vcc on
echo 1 > /sys/class/gpio/gpio406/value
# SPI lines ON
echo 1 > /sys/class/gpio/gpio404/value
```

1. Wait at least 2 seconds.
1. Disconnect the power supply from the platform.
1. Wait at least 2 seconds.
1. Flash the platform by using the following command:

```bash
flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=16000 -w [path_to_binary]
```

> Flashing with flashrom takes about 1 minute.

1. Change back the state of the SPI by using the following commands:

```bash
echo 0 > /sys/class/gpio/gpio404/value
echo 0 > /sys/class/gpio/gpio406/value
```

1. Turn on the platform by connecting the power supply.

The first boot of the platform after proceeding with the above procedure can
take much longer than standard.
109 changes: 109 additions & 0 deletions docs/unified/protectli/test-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -547,3 +547,112 @@ subjected from before the release of the new binary.
[BOV]: ../../unified-test-documentation/dasharo-performance/413-opnsense-vga-booting-performance-test.md
[BPS]: ../../unified-test-documentation/dasharo-performance/414-pfsense-serial-booting-performance-test.md
[BPV]: ../../unified-test-documentation/dasharo-performance/415-pfsense-vga-booting-performance-test.md

=== "VP2430"

## Module: Dasharo compatibility

| No. | Supported test suite | Test suite ID | Supported test cases |
|:----:|:--------------------------------------|:-------------:|:-------------------------------------|
| 1. | [Memory HCL][HCL] | HCL | All |
| 2. | [UEFI compatible interface][EFI] | EFI | All |
| 3. | [Display ports][DSP] | DSP | DSP002.001, DSP002.002, DSP002.003, DSP003.001, DSP003.002, DSP003.003 |
| 4. | [Network boot utilities][NBT] | NBT | All |
| 5. | [NVMe support][NVM] | NVM | All |
| 6. | [Custom logo][CLG] | CLG | All |
| 7. | [Custom boot menu key][CBK] | CBK | All |
| 8. | [USB HID and MSC Support][USB] | USB | USB001.XXX and USB002.XXX |
| 9. | [FreeBSD support][BSD] | BSD | All |
| 10. | [Debian Stable and Ubuntu LTS support][LBT] | LBT | LBT003.001, LBT003.002, LBT004.001, LBT004.002|
| 11. | [USB-C support][UTC] | UTC | UTC004.001, UTC004.002 |
| 12. | [M.2 WiFi/Bluetooth][WLE] | WLE | ALL |
| 14. | [SMBIOS][DMI] | DMI | DMI002.001, DMI003.001, DMI004.001, DMI005.001, DMI006.001 |
| 15. | [Custom network boot entries][CNB] | CNB | CNB001.002 |
| 17. | [Windows booting][WBT] | WBT | WBT001.001 |
| 18. | [Audio subsystem][AUD] | AUD | AUD001.001, AUD001.002, AUD002.001, AUD002.002, AUD003.001, AUD003.002, AUD004.001, AUD004.002, AUD005.001, AUD005.002, AUD006.001, AUD006.002 |
| 19. | [UEFI Shell][USH] | USH | All |
| 20. | [USB detection][UDT] | UDT | All |
| 21. | [USB booting][UBT] | UBT | All |
| 22. | [pfSense support][PFS] | PFS | All |
| 23. | [OPNsense support][OPN] | OPN | All |
| 24. | [Proxmox support][PVE] | PVE | All |
| 25. | [Ubuntu Server support][USS] | USS | All |

[HCL]: ../../unified-test-documentation/dasharo-compatibility/301-memory-hcl.md
[EFI]: ../../unified-test-documentation/dasharo-compatibility/30M-uefi-compatible-interface.md
[DSP]: ../../unified-test-documentation/dasharo-compatibility/31E-display-ports-and-lcd.md
[NBT]: ../../unified-test-documentation/dasharo-compatibility/315b-netboot-utilities.md
[NVM]: ../../unified-test-documentation/dasharo-compatibility/312-nvme-support.md
[CLG]: ../../unified-test-documentation/dasharo-compatibility/304-custom-logo.md
[CBK]: ../../unified-test-documentation/dasharo-compatibility/303-custom-boot-menu-key.md
[USB]: ../../unified-test-documentation/dasharo-compatibility/306-usb-hid-and-msc-support.md
[BSD]: ../../unified-test-documentation/dasharo-compatibility/307-freebsd-support.md
[LBT]: ../../unified-test-documentation/dasharo-compatibility/308-debian-stable-and-ubuntu-lts-support.md
[UTC]: ../../unified-test-documentation/dasharo-compatibility/31H-usb-type-c.md
[WLE]: ../../unified-test-documentation/dasharo-compatibility/318-m2-wifi-bluetooth.md
[MWL]: ../../unified-test-documentation/dasharo-compatibility/31K-minipcie-verification.md
[DMI]: ../../unified-test-documentation/dasharo-compatibility/31L-smbios.md
[CNB]: ../../unified-test-documentation/dasharo-compatibility/30A-custom-network-boot-entries.md
[WBT]: ../../unified-test-documentation/dasharo-compatibility/31A-windows-booting.md
[AUD]: ../../unified-test-documentation/dasharo-compatibility/31F-audio-subsystem.md
[USH]: ../../unified-test-documentation/dasharo-compatibility/30P-uefi-shell.md
[UDT]: ../../unified-test-documentation/dasharo-compatibility/31O-usb-detect.md
[UBT]: ../../unified-test-documentation/dasharo-compatibility/31N-usb-boot.md
[PFS]: ../../unified-test-documentation/dasharo-compatibility/341-pfSense-support.md
[OPN]: ../../unified-test-documentation/dasharo-compatibility/342-OPNsense-support.md
[PVE]: ../../unified-test-documentation/dasharo-compatibility/348-proxmox-support.md
[USS]: ../../unified-test-documentation/dasharo-compatibility/349-ubuntu-server-support.md

## Module: Dasharo security

| No. | Supported test suite | Test suite ID | Supported test cases |
|:-----|:--------------------------------------|:-------------:|:-------------------------------------|
| 1. | [TPM Support][TPM] | TPM | Without TPM001.001,TPM002.001 and TPM003.001 |
| 2. | [Verified Boot support][VBO] | VBO | Without VBO006.001 and VBO007.001 |
| 3. | [Measured Boot support][MBO] | MBO | All |
| 4. | [Secure Boot support][SBO] | SBO | All |
| 5. | [ME disable/neuter support][MNE] | MNE | MNE004.001 |
| 6. | [BIOS lock support][BLS] | BLS | All |
| 7. | [USB stack enable/disable][USS] | USS | All |
| 8. | [SMM BIOS write protection][SMM] | SMM | All |

[TPM]: ../../unified-test-documentation/dasharo-security/200-tpm-support.md
[VBO]: ../../unified-test-documentation/dasharo-security/201-verified-boot.md
[MBO]: ../../unified-test-documentation/dasharo-security/203-measured-boot.md
[SBO]: ../../unified-test-documentation/dasharo-security/206-secure-boot.md
[MNE]: ../../unified-test-documentation/dasharo-security/20F-me-neuter.md
[BLS]: ../../unified-test-documentation/dasharo-security/20J-bios-lock-support.md
[USS]: ../../unified-test-documentation/dasharo-security/20S-usb-stack.md
[SMM]: ../../unified-test-documentation/dasharo-security/20O-SMM-bios-write-protection.md

## Module: Dasharo performance

| No. | Supported test suite | Test suite ID | Supported test cases |
|:-----|:--------------------------------------|:-------------:|:-------------------------------------|
| 1. | [coreboot bring up time measurement][CBMEM] | CBMEM | All |
| 2. | [CPU temperature measure][CPT] | CPT | All |
| 3. | [CPU frequency measure][CPF] | CPF | Without CPU003.XXX and CPU005.XXX |
| 4. | [Platform stability][STB] | STB | All |
| 5. | [Ubuntu booting performance test][BUB] | BUB | All |
| 6. | [Debian booting performance test][BDE] | BDE | All |
| 7. | [FreeBSD booting performance test][BFB] | BFB | All |
| 8. | [Proxmox booting performance test][BPM] | BPM | All |
| 9. | [Ubuntu Server booting performance test][BUS] | BUS | All |
| 10. | [OPNsense (serial output) booting performance test][BOS] | BOS | All |
| 11. | [OPNsense (VGA output) booting performance test][BOV] | BOV | All |
| 12. | [pfSense (serial output) booting performance test][BPS] | BPS | All |
| 13. | [pfSense (VGA output) booting performance test][BPV] | BPV | All |

[CBMEM]: ../../unified-test-documentation/dasharo-performance/400-coreboot-boot-measure.md
[CPT]: ../../unified-test-documentation/dasharo-performance/401-cpu-temperature.md
[CPF]: ../../unified-test-documentation/dasharo-performance/402-cpu-frequency.md
[STB]: ../../unified-test-documentation/dasharo-performance/404-platform-stability.md
[BUB]: ../../unified-test-documentation/dasharo-performance/407-ubuntu-booting-performance-test.md
[BDE]: ../../unified-test-documentation/dasharo-performance/408-debian-booting-performance-test.md
[BFB]: ../../unified-test-documentation/dasharo-performance/409-freebsd-booting-performance-test.md
[BPM]: ../../unified-test-documentation/dasharo-performance/410-proxmox-booting-performance-test.md
[BUS]: ../../unified-test-documentation/dasharo-performance/411-ubuntu-server-booting-performance-test.md
[BOS]: ../../unified-test-documentation/dasharo-performance/412-opnsense-serial-booting-performance-test.md
[BOV]: ../../unified-test-documentation/dasharo-performance/413-opnsense-vga-booting-performance-test.md
[BPS]: ../../unified-test-documentation/dasharo-performance/414-pfsense-serial-booting-performance-test.md
[BPV]: ../../unified-test-documentation/dasharo-performance/415-pfsense-vga-booting-performance-test.md
27 changes: 27 additions & 0 deletions docs/variants/protectli_vp2430/hardware-matrix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Hardware configuration matrix

## Introduction

This document describes the hardware configuration used for validation of the
coreboot port on the Protectli VP2430 firewall.

## Protectli VP2430

| Component | Description |
|------------------------|----------------------------------------------------------|
| **CPU** | Intel(R) N100 @ 3.40GHz |
| **RAM** | Corsair CMSX32GX5M2A4800C40 |
| **Flash memory** | Macronix KH25L12835F
| **SSD** | 1. SSD Goodram PX700 M.2 NVMe 1TB |
| **MMC drive** | SAMSUNG 32GB (on-board) |
| **USB pendrives** | 1. SanDisk USB 3.2Gen1 16 GB |
| | 2. SanDisk USB 3.2Gen1 16 GB |
| | 3. USB Type-C Hub Pro UCN3286 |
| **USB headers** | USB Expander |
| **Attached devices** | 1. Logitech, Inc. Keyboard K120 |
| | 2. Dell Mouse MS116p |
| | 3. USB Type-C Hub Pro UCN3286 |
| **Wireless card** | Intel Wi-Fi 6 AX200 |
| **Display** | HDMI 1920x1080p, DP 1920x1080p |
| **Ethernet** | 4x intel i226 (on-board) |
| **Power supply** | Channel Well Technology 12V, 5.0A 60W |
6 changes: 6 additions & 0 deletions docs/variants/protectli_vp2430/openness-score.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Dasharo Openness Score

This page contains the [Dasharo Openness
Score](../../glossary.md#dasharo-openness-score) for Protectli VP2430 Dasharo
releases. The content of the page is generated with [Dasharo Openness Score
utility](https://github.com/Dasharo/Openness-Score).
Loading

0 comments on commit 2d0b07d

Please sign in to comment.