| Willy Tu | bcae900 | 2021-09-12 13:58:04 -0700 | [diff] [blame] | 1 | option('tests', type: 'feature', description: 'Build tests') | 
|  | 2 |  | 
|  | 3 | # Build Options | 
|  | 4 | option('bmc-blob-handler', type: 'feature', description: 'Build the BMC BLOB handler') | 
|  | 5 | option('cleanup-delete', type: 'feature', description: 'Enable use of the delete files cleanup mechanism') | 
|  | 6 | option('host-tool', type: 'feature', description: 'Build the host tool') | 
|  | 7 |  | 
|  | 8 | # BMC Blob Handler Options | 
|  | 9 | option('host-bios', type: 'boolean', value: false, description: 'Install default BIOS update configs') | 
|  | 10 | option('reboot-update', type: 'boolean', value: false, description: 'Enable use of reboot update mechanism') | 
|  | 11 | option('update-status', type: 'boolean', value: false, description: 'Enable use of update status file') | 
|  | 12 |  | 
|  | 13 | option('update-type', type : 'combo', choices : ['none', 'static-layout', 'tarball-ubi'], description: 'Enable firmware update via Blobs') | 
|  | 14 |  | 
|  | 15 | option('lpc-type', type : 'combo', choices : ['none', 'aspeed-lpc', 'nuvoton-lpc'], description: 'Enable external transfers using Aspeed/Nuvoton LPC') | 
|  | 16 | option('p2a-type', type : 'combo', choices : ['none', 'aspeed-p2a', 'nuvoton-p2a-vga', 'nuvoton-p2a-mbox'], description: 'Enable external transfers using Aspeed PCI-to-AHB, Nuvoton PCI-to-AHB via VGA, or Nuvoton PCI-to-AHB via MBOX') | 
|  | 17 | option('net-bridge', type: 'boolean', value: false, description: 'Enable external transfers using a TCP connection') | 
|  | 18 |  | 
|  | 19 | # Host Tool Options | 
|  | 20 | option('ppc', type: 'boolean', value: false, description: 'Enable ppc host memory access') | 
| Tim Lee | 2d57d52 | 2023-09-18 11:47:53 +0800 | [diff] [blame] | 21 | # Default value 1872 is 0x0750 below | 
|  | 22 | option('nuvoton-pci-did', type : 'integer', value : 1872, description : 'The device-id for Nuvoton PCI bridge') | 
| Willy Tu | bcae900 | 2021-09-12 13:58:04 -0700 | [diff] [blame] | 23 |  | 
|  | 24 | # Configuration Details | 
|  | 25 |  | 
|  | 26 | # The address used for mapping P2A or LPC into the BMC's memory-space: | 
|  | 27 | # e.g. https://github.com/openbmc/linux/blob/1da2ce51886a3b2f5db2087f26c661e13ee13b84/arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts#L26 | 
|  | 28 | # or https://github.com/openbmc/linux/blob/1da2ce51886a3b2f5db2087f26c661e13ee13b84/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts#L166 | 
|  | 29 | # for PCI, this address is passed back to the host and is used directly. | 
|  | 30 | option('mapped-address', type : 'string', value : '0', description : 'Value for memory region mapping') | 
|  | 31 |  | 
|  | 32 | option('static-handler-staged-name', type : 'string', value : '/run/initramfs/bmc-image', description : 'The file to use for staging the firmware update') | 
|  | 33 | option('tarball-staged-name', type : 'string', value : '/tmp/image-update.tar', description : 'The file to use for staging the firmware update') | 
|  | 34 | option('hash-filename', type : 'string', value : '/tmp/bmc.sig', description : 'The file to use for the hash provided') | 
|  | 35 | option('verify-status-filename', type : 'string', value : '/tmp/bmc.verify', description : 'The file checked for the verification status.') | 
|  | 36 | option('update-status-filename', type : 'string', value : '/tmp/bmc.update', description : 'The file checked for the update status') | 
|  | 37 | option('bios-verify-status-filename', type : 'string', value : '/tmp/bios.verify', description : 'The file checked for the verification status') | 
|  | 38 |  | 
|  | 39 | option('preparation-dbus-service', type : 'string', value : 'phosphor-ipmi-flash-bmc-prepare.target', description : 'The systemd target started when the host starts to send an update') | 
|  | 40 | option('verify-dbus-service', type : 'string', value : 'phosphor-ipmi-flash-bmc-verify.target', description : 'The systemd target started for verification') | 
|  | 41 | option('update-dbus-service', type : 'string', value : 'phosphor-ipmi-flash-bmc-update.target', description : 'The systemd target started for updating the BMC') | 
|  | 42 | option('bios-staged-name', type : 'string', value : 'bios-staged-name', description : 'The file to use for staging the bios firmware update') | 
|  | 43 | option('preparation-bios-target', type : 'string', value : 'phosphor-ipmi-flash-bios-prepare.target', description : 'The systemd target started when the host starts to send an update') | 
|  | 44 | option('verify-bios-target', type : 'string', value : 'phosphor-ipmi-flash-bios-verify.target', description : 'The systemd target started for verifying the BIOS image') | 
|  | 45 | option('update-bios-target', type : 'string', value : 'phosphor-ipmi-flash-bios-update.target', description : 'The systemd target started for updating the BIOS') |