machines.conf: Add new machine hw26-vcupro

This is the new VCU pro based on HW26 but which includes the user
module.
Because of this change, we cannot reuse HW21 nor HW26 machines.

BugzID: 81969
This commit is contained in:
Alexandre Bard 2022-11-14 15:40:40 +01:00
parent 3c281d8e78
commit 6fa868f2d4
3 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,9 @@
#@TYPE: Machine
#@NAME: NetModule HW 26 with user module
#@DESCRIPTION: NG800 (hw26) was based on VCU1 (hw21), but later on,
# the new VCU pro was based on the changes done on NG800
require am335x-hw26.conf
MACHINEOVERRIDES .= ":am335x-hw26"
USER_MODULE_MACHINE_FEATURE = "user-module"

View File

@ -6,5 +6,8 @@
require am335x-nmhw21.conf require am335x-nmhw21.conf
KERNEL_DEVICETREE_TO_USE = "${HW26_DT}" KERNEL_DEVICETREE_TO_USE = "${HW26_DT}"
MACHINEOVERRIDES .= ":am335x-nmhw21" MACHINEOVERRIDES .= ":am335x-nmhw21"
MACHINE_FEATURES += "pps" MACHINE_FEATURES += "pps"
MACHINE_FEATURES_remove = "user-module"
# Remove usermodule
USER_MODULE_MACHINE_FEATURE = ""

View File

@ -30,7 +30,9 @@ MACHINE_FEATURES += " \
neo-m8l \ neo-m8l \
wifi \ wifi \
ti-wifi \ ti-wifi \
user-module \
da9063-ignition \ da9063-ignition \
" "
USER_MODULE_MACHINE_FEATURE = "user-module"
MACHINE_FEATURES_append = " ${USER_MODULE_MACHINE_FEATURE}"