blob: 7844bee87372d3b1dd715fb6c1ee2327aaef54ae [file] [log] [blame]
FranHsu96dc8632019-01-29 14:57:38 +08001KMACHINE = "nuvoton"
2KERNEL_DEVICETREE = "${KMACHINE}-npcm730-gsj.dtb"
3
4UBOOT_MACHINE = "PolegSVB_config"
Benjamin Fair07d758c2019-10-31 11:15:49 -07005IGPS_MACHINE = "EB"
FranHsu96dc8632019-01-29 14:57:38 +08006
Duke Du6d763a22019-03-25 17:13:18 +08007FLASH_SIZE = "32768"
FranHsu96dc8632019-01-29 14:57:38 +08008require conf/machine/include/npcm7xx.inc
9require conf/machine/include/obmc-bsp-common.inc
10
11IMAGE_FSTYPES += " cpio.${INITRAMFS_CTYPE}.u-boot"
12IMAGE_FSTYPES += " mtd-ubi-tar"
13
Patrick Williamsade3e142021-10-22 14:26:27 -050014MACHINE_FEATURES += "\
FranHsu96dc8632019-01-29 14:57:38 +080015 obmc-phosphor-fan-mgmt \
16 obmc-phosphor-chassis-mgmt \
17 obmc-phosphor-flash-mgmt \
FranHsu96dc8632019-01-29 14:57:38 +080018 obmc-host-state-mgmt \
19 obmc-chassis-state-mgmt \
20 obmc-bmc-state-mgmt \
21 "
Benjamin Fair9b3a0db2020-04-13 20:07:28 -070022# Remove unneeded binaries from image
Vivekanand Veeracholandc60e492021-08-30 23:21:17 -070023IMAGE_FEATURES:remove = "obmc-bmc-state-mgmt"
24IMAGE_FEATURES:remove = "obmc-bmcweb"
25IMAGE_FEATURES:remove = "obmc-chassis-state-mgmt"
26IMAGE_FEATURES:remove = "obmc-chassis-mgmt"
27IMAGE_FEATURES:remove = "obmc-console"
Vivekanand Veeracholandc60e492021-08-30 23:21:17 -070028IMAGE_FEATURES:remove = "obmc-devtools"
29IMAGE_FEATURES:remove = "obmc-fan-control"
30IMAGE_FEATURES:remove = "obmc-fan-mgmt"
31IMAGE_FEATURES:remove = "obmc-flash-mgmt"
32IMAGE_FEATURES:remove = "obmc-fru-ipmi"
33IMAGE_FEATURES:remove = "obmc-health-monitor"
Vivekanand Veeracholandc60e492021-08-30 23:21:17 -070034IMAGE_FEATURES:remove = "obmc-host-ipmi"
35IMAGE_FEATURES:remove = "obmc-host-state-mgmt"
36IMAGE_FEATURES:remove = "obmc-ikvm"
37IMAGE_FEATURES:remove = "obmc-inventory"
38IMAGE_FEATURES:remove = "obmc-leds"
39IMAGE_FEATURES:remove = "obmc-logging-mgmt"
40IMAGE_FEATURES:remove = "obmc-remote-logging-mgmt"
41IMAGE_FEATURES:remove = "obmc-rng"
42IMAGE_FEATURES:remove = "obmc-sensors"
43IMAGE_FEATURES:remove = "obmc-settings-mgmt"
44IMAGE_FEATURES:remove = "obmc-software"
Patrick Williams5a5f33c2021-11-03 10:35:37 -050045IMAGE_FEATURES:remove = "obmc-system-mgmt"
Vivekanand Veeracholandc60e492021-08-30 23:21:17 -070046IMAGE_FEATURES:remove = "obmc-user-mgmt"
47IMAGE_FEATURES:remove = "obmc-user-mgmt-ldap"
Willy Tua38b7cc2021-08-10 15:33:55 -070048IMAGE_FEATURES:remove = "obmc-debug-collector"
Vivekanand Veeracholandc60e492021-08-30 23:21:17 -070049IMAGE_FEATURES:remove = "obmc-network-mgmt"
50IMAGE_FEATURES:remove = "obmc-telemetry"
51OBMC_IMAGE_BASE_INSTALL:remove = "packagegroup-obmc-apps-extras"
FranHsu96dc8632019-01-29 14:57:38 +080052
53PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-gsj-apps"
54PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-gsj-apps"
55PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-gsj-apps"
Duke Du6d763a22019-03-25 17:13:18 +080056PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-inventory = "gsj-ipmi-inventory-map-native"
Willy Tu43a03d22021-04-26 16:51:50 -070057PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-properties = "gsj-ipmi-fru-properties-native"
Duke Du6d763a22019-03-25 17:13:18 +080058PREFERRED_PROVIDER_virtual/phosphor-ipmi-fru-read-inventory = "gsj-ipmi-fru-read-inventory-native"
Brad Bishopfc81e382019-04-06 13:58:07 -040059PREFERRED_PROVIDER_virtual/phosphor-ipmi-sensor-inventory = "gsj-ipmi-sensor-map-native"
tony lee15388b12019-03-20 16:30:03 +080060PREFERRED_PROVIDER_virtual/phosphor-led-manager-config-native = "gsj-led-manager-config-native"