summaryrefslogtreecommitdiff
path: root/meta-facebook/recipes-phosphor
AgeCommit message (Collapse)AuthorFilesLines
2021-11-04meta-facebook: fix shellcheck issues in scriptsPatrick Williams1-17/+18
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I62cf17d414795e91d673d468a196d4f0a6c0a71b
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-1/+1
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-25meta-bletchley: enable tpm2-toolsPatrick Williams1-0/+6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I478258cbf55a66b5c93eca7a09b264e3a2325ca2
2021-08-07meta-facebook: prep for new override syntaxPatrick Williams13-38/+38
Ran `scripts/contrib/convert-overrides.py` from upstream Yocto and fixed up a few by hand that were missed. Tested: Built bletchley and tiogapass. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0489ba007132901697e4ef1a29b03a3591b3ee3b
2021-07-30meta-facebook: phosphor-sel-logger: Use packageconfigWilliam A. Kennington III1-3/+1
This makes it possible for us to change out build specific settings. Change-Id: Iebcf178e7f392381d06480c72a193907b3a61f96 Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-16meta-facebook: fix IPMB channel nameKumar Thangavel1-1/+1
TESTED: Tested and verified in YosemiteV2. Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: I7bbea7c0caf51fc1fc4acfc6923a795e8b280e6e
2021-07-01meta-facebook: bletchley: add valid virtual-sensor configPatrick Williams1-0/+1
phosphor-virtual-sensors was crashing on bletchley due to an empty file, which is invalid JSON. Add a valid JSON file, which is just an empty array, instead. Tested: Ran in QEMU and ensured service no longer crashes. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ibf30771a158344cbce519260d44ea945a0e12723
2021-06-04meta-facebook: bletchley: create basic machinePatrick Williams1-0/+0
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5801ad2ce5b7e421a62619c57787465bfa585e95
2021-06-04meta-facebook: remove console for nohostPatrick Williams2-0/+8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I629b298d659f5e593e2b04e702ccfe92867d1c1d
2021-04-30meta-facebook:Yv2:add ipmi channel config for OCP debug cardManikandan Elumalai1-0/+7
Tested: Tested in Yosemitev2 with OCP debug card. Signed-off-by: Manikandan Elumalai <manikandan.hcl.ers.epl@gmail.com> Change-Id: I6260a84862f71012dc07cea372dccea02de77f54
2021-04-07Add Airflow virtual sensor supportKumar Thangavel3-0/+108
Added support in the machine layer for Airflow sensor as virtual sensor. TESTED : Built Facebook YosemiteV2 images and loaded on the target hardware. Verified the airflow sensor values in the phosphor-virtual-sensor dbus objects. Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: I46b377cc119a31f76286ba2d03f14764f578283f
2021-04-01Add hostlogger supportKumar Thangavel6-0/+52
Added hostlogger support to store console histories for all the host. TESTED : Built the openbmc image targetting Facebook Tiogapass and YosemiteV2 hardware. Verified all the host log were generated. Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: Iee494d8ce025a253f0e7f915ec893acc44fd84a1
2021-03-15Add settings-manager suppport for multihost.Jayashree-D2-0/+41
Added settings manager support to create multiple dbus path for boot order configuration. TESTED: Tested in tiogapass and yosemitev2 hardware. Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com> Change-Id: I51424a463804d3a59833abc5b230c0bd1f31553a
2020-12-17meta-facebook: yosemitev2: Add json config for more than two channels ↵Kumar Thangavel1-0/+32
support in ipmbbridge. Added json configurations to support multi host channels or more than two channels in ipmbbridge. TESTED : Built Facebook YosemiteV2 images and loaded on the target hardware. We are able to see BMC to all host communications through Ipmb (From meta-facebook rev: 2d70e814173a16d601e9b829669a766182776551) Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: I79c960fa3940afdb6d1b69807d206480be875f8d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-25meta-facebook: console: Fix new yocto update issueVijay Khemka1-1/+10
As per latest yocto update, following error reported so fixing it. URL: 'file://*.conf' has invalid parameters. file:// urls using globbing are no longer supported. Please place the files in a directory and reference that instead. (From meta-facebook rev: 66b327f6b7b70c3ed3752ed89b9b18de463b3c36) Change-Id: I3c1eca1f3fd3fb8acb6166cb3bfb8c8857cb09fc Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-18meta-facebook: Fix bios upgrade pathVijay Khemka1-2/+2
Yosemite build was failing after bios upgrade file moved (From meta-facebook rev: 9472c0f096924d2a44d6bb86c1713dcd3f9646e4) Change-Id: Ibaf4b3d2ec0b0207a4d08713f6fce6ac6a44751d Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-16meta-facebook: move flash pathVijay Khemka3-0/+159
flash feature was included earlier for bios upgrade but by mistake it added a new directory structure meta-facebook under meta-facebook. So corrected this here. (From meta-facebook rev: 515339cf26a50d544156bdff80e754ff0bead63f) Change-Id: I67fd0b2f06cdd95e13aefb56b87bd89fb0a8e429 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-13meta-facebook: yosemitev2: Add obmc-console log support.Kumar Thangavel4-0/+4
Added obmc-console log support for all the hosts of yosemiteV2 platform. TESTED : Built Facebook YosemiteV2 images and loaded on the target hardware. We are able to see all the host console logs. (From meta-facebook rev: 5a93819c4470490ea826931a6c6a98083fef1125) Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: I2efa5a251da4a1d7c3a71e2be2f379a0c440979d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-07meta-facebook: console: renamed config fileVijay Khemka1-0/+0
Renamed tiogapass config file to ttyS2 as it is needed as per new design. (From meta-facebook rev: 212df90f07a809d0fd1fcf501a3e2062fc6a8d2e) Change-Id: I12988b9261f988951892189b591c4b1cbaae50fd Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-29meta-facebook: sensors: Add nvme sensorsVijay Khemka2-0/+44
Added phosphor nvme sensors for tiogapass platform to read ssd cards sensors over NVME-MI interface. (From meta-facebook rev: 45dcaede279fa03ace2b4f5b8306bdabab90f8f6) Change-Id: I6b696470a091dc9f43f3da2be24200f26761be22 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-16meta-facebook: ipmb: Add machine specific dirVijay Khemka2-3/+3
Removed machine specific info from meta data and created search path for each machine type. (From meta-facebook rev: 168f510d5c8865a5b825aa69a4bc1f3c4fd992ff) Change-Id: I1ca32dd034f38ecece64ea384d23d4d462b78fd3 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14meta-facebook: console: Add support for YV2 platform.Vijay Khemka9-0/+19
Added obmc-console multi host support for yosemiteV2 platform. Tested : Verified this on Yosemite V2 platform by launching all 4 server instance and verified SoL output from hosts. (From meta-facebook rev: c5c27cab30c0110f801ce3cbdb3b2f50a2a87ab2) Change-Id: I56fb843b8b8c3f86982d46fe1913c444b8db608a Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14meta-facebook: obmc-console: Fix SoL with new designVijay Khemka2-1/+12
With new design changes in obmc-console, config file needed changes to follow design. Also created separate directorey for machine to have machine specific config file. Tested: Verified this with tiogapass and see ttyS2 service is launching. (From meta-facebook rev: fc641dad18c84b391ce27da202a417f28d4da00b) Change-Id: I811e8241fd40fa503aa9861894602344c85eba5f Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-10ipmi: Remove machine nameVijay Khemka2-2/+2
Removed machine name from bbappend file to support multiple facebook platform through same append file. (From meta-facebook rev: 65c2e000ab802076d552f21b24415202a0cb28fa) Change-Id: Ie2347740117babe7702441c1b4c755f154d1dfe3 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-06meta-facebook: making pid control config as a commonVijay Khemka1-1/+1
Removing tiogapass from pid contol bbappend so that it can be used for multiple facebook platform. (From meta-facebook rev: deae5242d999be127c5a6bfe9c68018414efa750) Change-Id: I231ab33ef23b12f6a74b35268bab95f12c5b793c Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-05meta-facebook: Move recipes-phosphor to facebook layerVijay Khemka14-0/+127
Moved recipe-phosphor to meta-facebook to support multiple facebook platform and make use of common code across platforms. (From meta-facebook rev: 2b00ba0327fcef6ae98243bc48367b395460805f) Change-Id: If3b847b60c60d1d93c3c26be0018eb8408e4f93e Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>