-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
override_target: generic | ||
target: x86/64 | ||
image_search_pattern: "*-ext4-combined-efi.img*" | ||
model_nice: Protectli Vault Pro VP6630 | ||
int_port: eth0 | ||
wireless_profile: disable | ||
|
||
openwrt_version: 24.10-SNAPSHOT | ||
|
||
model__packages__to_merge: | ||
# Dont install unncessary network kernel modules (reference: https://github.com/openwrt/openwrt/blob/main/target/linux/x86/image/64.mk) | ||
- "-kmod-amazon-ena -kmod-amd-xgbe -kmod-bnx2 -kmod-dwmac-intel -kmod-e1000e -kmod-e1000" | ||
- "-kmod-forcedeth -kmod-igb -kmod-ixgbe -kmod-r8169 -kmod-tg3" | ||
|
||
- "intel-microcode" | ||
- "kmod-igc kmod-i40e" # Network: Only igc for 2.5G Ports and i40 for SFP+ Ports are required | ||
# - "kmod-it87-wdt" # Watchdog (only supported in kernel 6.8+) | ||
- "lm-sensors lm-sensors-detect" | ||
# - "kmod-hwmon-it87" # Not yet supported in mainline | ||
|
||
|
||
|
||
# Make interface names stable and match them to whats written on the case | ||
# TODO: Bring Upstream | ||
custom_network_detect: | | ||
protectli-vp6630) | ||
ucidef_set_network_device_path "eth1" "pci0000:00/0000:00:1c.4/0000:02:00.0" | ||
ucidef_set_network_device_path "eth2" "pci0000:00/0000:00:1c.5/0000:03:00.0" | ||
ucidef_set_network_device_path "eth3" "pci0000:00/0000:00:1c.6/0000:04:00.0" | ||
ucidef_set_network_device_path "eth4" "pci0000:00/0000:00:1c.7/0000:05:00.0" | ||
ucidef_set_network_device_path "sfp1" "pci0000:00/0000:00:1c.0/0000:01:00.0" | ||
ucidef_set_network_device_path "sfp2" "pci0000:00/0000:00:1c.0/0000:01:00.1" | ||
ucidef_set_interfaces_lan_wan "eth1 eth2 eth3 eth4 sfp1" "sfp2" | ||
;; | ||
# Device has two console ports | ||
# ttyS0 - RJ45 Port | ||
# ttyS1 - USB-C Port <- Lets use choose that for on site debugging | ||
|
||
additional_serial_ports: | ||
- ttyS1 | ||
|
||
imagebuilder_config: | ||
CONFIG_TARGET_SERIAL: ttyS1 |