summaryrefslogtreecommitdiff
path: root/meta-fii/meta-mori
AgeCommit message (Collapse)AuthorFilesLines
2022-10-14treewide: more obmc-host-ctl cleanupsPatrick Williams1-1/+0
obmc-host-ctl is defined as a MACHINE, DISTRO, and IMAGE feature. The IMAGE feature pulls in a virtual provider only if the COMBINED feature (MACHINE + DISTRO) is enabled. This is only done on openpower machines. There are a lot of other places where machines are half-way disabling this feature and/or changing variables which have zero effect anyhow. Clean up almost all references to `obmc-host-ctl`. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I090d782bb6a34dc4e3c43df97e8ccf6e1812fed5
2022-09-30add langdale to compatible layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I65febeeec11e6e5b40ee728f42cfbe77023dae1e
2022-09-21meta-fii: meta-mori: add phosphor console packageGrant Williams8-6/+75
Add phosphor console mori_uart_mux_ctrl script,obmc-console service files, and .conf files - Added console feature for host & mpro - Added mori_uart_mux_ctrl.sh to set gpio S0_UART0_BMC_SEL and S0_UART1_BMC_SEL allowing routing between host & mpro consoles to bmc - Added host_console_uart_configuration.service so that it runs before obmc-console. Set it to require multi-user.target, which is also required by obmc-console. Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I5d7002c20c5d1b87fa5c78e69b0885fc635c6145
2022-09-15meta-fii: meta-mori: Add u-boot configurations for moriAshwin Murali4-0/+37
Summary of Changes: - Add basic fw_env.config for Nuvoton system. - Add u-boot configuration file Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com> Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I3e0f44b965ee402c105e4020c41235ebebda375b
2022-09-15meta-fii: meta-mori: Add phosphor-state-manager configurationsCharles Boyer4-0/+70
Summary of Changes: - Add custom Chassis and Host services - Enable Host Condition GPIO using host0-ready Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I74330028d4ce20d8abf4d6a5169c1bc6c491c7d4
2022-09-12treewide: handle more upstream TEMPLATECONF movePatrick Williams1-0/+0
We also need to move the conf-notes.txt files. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic44e015c0216b526de4fec277ad42f162bca1f33
2022-09-09treewide: handle upstream TEMPLATECONF movePatrick Williams2-0/+0
The latest poky commit is requiring us to have all of our template configs in a subdirectory instead of directly in the `conf` directory. Without this we end up with errors during setup like: ``` Error: TEMPLATECONF value (which is .../openbmc/meta-facebook/meta-bletchley/conf) must point to meta-some-layer/conf/templates/template-name ``` Fix this by moving all of our template files into the 'default' template subdirectory (following the pattern of poky) and modifying `setup` as necessary to follow. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iecefde73d55acbb6bc63ae3d68c4311adaf327ae
2022-08-23meta-fii: meta-mori: Add I2C arrays of power regulators in mori-lib.shKyle Nieman1-0/+2
Defined I2C bus and address for ADM1272(HOTSWAP_CTRL) and PM6764(STBUCK). Added to prevent hardcoding and promote modularity. Signed-off-by: Kyle Nieman <kyle.nieman@fii-na.com> Change-Id: I6bd3e993d944e87b9242d6237850d2a4b0e30ada
2022-07-22meta-fii: meta-mori: Consolidate kernel configurationsCharles Boyer1-46/+28
For the upgrade to Kernel 5.15.29, - Consolidate the configurations between those required to be added and those already included - Organize the configurations into categories Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Ia0df58344772af576e9ddb5346d8d505ce11fd1b
2022-07-22meta-fii: meta-mori: Add phosphor-buttons and gpio_defs.jsonCharles Boyer3-0/+37
Adds the packages to support the button handler and signals. Add the GPIO definitions for obmc-libobmc-intf of the skeleton repository. The GPIOs configured are, - PGOOD: Host power good - POWER_BUTTON: Power button input - RESET_BUTTON: Reset button input Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I1a8ca713c00b7220793c58b1695ae680882a3404
2022-07-22meta-fii: meta-mori: Add pwm_init packageAshwin Murali4-0/+71
Add pwm_init service to set fans to pwm mode and initialise them to a value of 50% on boot. Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com> Change-Id: I07963eda9b0c264e66d1dd4f2a0d31f4e74d831e
2022-07-22meta-fii: meta-mori: Add Entity MapGrant Williams3-0/+41
Adding Mori Entity Association Map .bb and .json files. Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I3e090f9cc4258d0215a1af836ea8d85e7b852483
2022-07-22meta-fii: meta-mori: Add ipmi flash and firmware update servicesGrant Williams12-0/+207
Adding bios update, bmc update, cpld update, and phosphor ipmi flash packages Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I5543f520f710e065a476999991a48bdaf0544c0c
2022-07-20meta-fii: meta-mori: Add mori-boot and mori-cmdCharles Boyer6-0/+369
Summary of Changes: - Add basic mori.sh tool - Add mori-boot for host and switch initialization Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I2cee6a2b6a15a1e2f9a53baf331fb452f73f080d
2022-07-15meta-fii: meta-mori: Add mori-fw-utility filesGrant Williams6-0/+284
Add the mori-fw file and package in packagegroup. Supports: CPLD, BIOS, and Bootstrap flashing. Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I5541af3d07c01a0602f7794c5f1b6610622e93ee
2022-07-15meta-fii: meta-mori: Add phosphor-ipmi-blobs-binarystoreAvenash Asai Thambi3-0/+15
Add phosphor-ipmi-blobs-binarystore package with the config support for Mori. The EEPROM is at bus 4 behind mux channel 3 as virtual bus 42 and its address is 0x55. Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com> Change-Id: I071488261f97311ea094c4b575134361da4ad272
2022-07-15meta-fii: meta-mori: Add phosphor image packageGrant Williams1-1/+41
Add phosphor image obmc-phosphor-image bbappend file. Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I170ef615677f69ff570673a3343995f8efa393a3
2022-07-13meta-fii: meta-mori: Update conf filesCharles Boyer3-5/+35
Summary of Changes: - Add BBLAYERS for security, phosphor, nuvoton, google, and mori - Remove BBLAYERS_NON_REMOVABLE - Add LAYERDEPENDS for mori-layer - Add mori u-boot device tree - Use obmc-phosphor-image appends instead of packagegroups Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I7f3ae13678f36581df5abaf7ba95220a0859843d
2022-06-30meta-fii: meta-mori: Add bmcweb optionsAshwin Murali1-0/+4
1. Enable Dump log service transactions through Redfish 2. Enable BMC journal access through Redfish Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com> Change-Id: I92dcd5e6ae1ec72cf70be0d6267fb7074c4f9e18
2022-06-30meta-fii: meta-mori: Adding hotswap power cycleGrant Williams2-0/+31
Adds hotswap power cycle features. Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: Iadb9a312420a1fe70d5c2a31640b7cd2bda480a4
2022-06-30meta-fii: meta-mori: Add nic-ethtoolGrant Williams1-0/+1
Adding NIC-ethtool packageconfig to the phosphor-network bbappend file Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I10ee053a9daa49493d16851a583b7a699fe71df4
2022-06-30meta-fii: meta-mori: Add SEL Logger ConfigurationGrant Williams2-1/+3
Enables monitoring of Threshold, pulse, and watchdog systems. clear-sel packageconfig requires sel-logger-clears-sel phosphor-ipmi-host packageconfig Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I6cbd7492562ae96b97787e6c7578ad95bfc5a8f0
2022-06-28meta-fii: meta-mori: Add smbios configurationGrant Williams2-0/+5
Add the smbios-mdr configuration for Mori. cpuinfo: removed due to libpeci binaries dependency smbios-ipmi-blob: extracts SMBIOS table data Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: Ibeff229ece565925f142a1f34b8f4748fe74860a
2022-06-28meta-fii: meta-mori: Add rsyslog configurationsGrant Williams6-0/+157
Add the recipes-extended file containing the rsyslog configuration. Signed-off-by: Grant Williams <grant.williams@fii-na.com> Change-Id: I58c42c613111363db0d783aa5338a72a9f2004d3
2022-06-24meta-fii: meta-mori: Add phosphor-ipmi-configAvenash Asai Thambi2-0/+8
Add phosphor-ipmi-config package with the config for mori machine. Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com> Change-Id: I697de45514757a5d45fdf4263d2dedcdea910584
2022-05-19meta-fii: meta-mori: Override chassis capabilities settingsCharles Boyer2-0/+25
This commit adds the settings for the IPMI Chassis Capabilities command. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I2fe225a49f960eaa29d6a2d598cde77998ab28a2
2022-05-11meta-fii: meta-mori: Add mori kernel confAshwin Murali2-0/+131
Add mori kernel conf Signed-off-by: Ashwin Murali <ashwin.murali@fii-na.com> Change-Id: I13807a55806a8fa6348879bbd27e02e9888aff1c
2022-04-30treewide: remove meta-perlPatrick Williams1-1/+0
The only recipes which use content from meta-perl are openpower machines: ``` meta-openpower/recipes-bsp/pdata/pdata_git.bb: libxml-libxml-perl-native \ meta-yadro/meta-nicole/recipes-phosphor/logging/openpower-esel-parser_git.bb: libxml-libxml-perl-native \ ``` Remove meta-perl from the bblayers of every layer except openpower machines. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I51f1a8fbfbe879295c64d2339fc115dbd8823681
2022-04-22treewide: drop unused meta-security layerBrad Bishop1-1/+0
This was added with cde0f094f for libseccomp, but shortly after that upstream moved libseccomp from meta-security to core (241c7d2e6). As such, meta-security is no longer used or required. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I371e54b11f6336720dfc6edf0ef733d22b7fb4f2
2022-04-12meta-fii: meta-mori: Disable system-mgmtPeter Foley1-0/+2
Avoid build errors of the form: ERROR: Nothing RPROVIDES 'virtual-obmc-system-mgmt' (but /opt/openbmc/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb RDEPENDS on or otherwise requires it) Change-Id: I169ce0e22b74d5fd825a6f560a9ea027bad326a1 Signed-off-by: Peter Foley <pefoley@google.com>
2022-04-12treewide: Update BB_DISKMON_DIRS useGeorge Liu1-4/+4
Per [1][2], Yocto is starting to deprecate ABORT and has replaced the "ABORT" action in BB_DISKMON_DIRS entries with "HALT". 1. https://wiki.yoctoproject.org/wiki/Inclusive_language 2. https://git.yoctoproject.org/poky/commit/?id=4f77505d94a8f6260933f457e9848d1d2fa98ce5 Tested: Built obmc-phosphor-image successfully and eliminate the following warnings: ``` WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to "HALT", update configuration ``` Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: If57d0ded9fac41e23b31b01e2a0e309ac7388148
2022-02-26treewide: support yocto kirkstone releasePatrick Williams1-1/+1
* Deprecate N-1 release (hardknott). * Enable N+1 release (kirkstone). Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
2022-02-24various: sync package_ipkPatrick Williams1-1/+1
Commit 605c37cb989a95c02633fcb93efb45102781b4bb switched the tree to use 'package_ipk' instead of 'package_rpm'. Since then a few other systems have gone in which used an old package setting. Sync them to use IPK. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iecd2f65871038d6139c87f910c7c7fb19a115067
2022-02-08meta-fii:meta-mori: Add Mori machineMustafa Shehabi6-0/+80
First drop for the meta-mori machine, initial machine configuration to supports Mori machine with Nuvoton npcm730. Tested-by: Load image on Kudo_BMC board. Signed-off-by: Mustafa Shehabi <mustafa.shehabi@fii-na.com> Change-Id: I74cd554f5eb8bd6778ce27a0d7be12ed228f4c9e