summaryrefslogtreecommitdiff
path: root/meta-facebook/conf
AgeCommit message (Collapse)AuthorFilesLines
2021-11-10meta-facebook: simplify SERIAL_CONSOLESPatrick Williams1-0/+2
The majority of our hardware uses ttyS4 and 57600. Rather than have each machine specify this, put it into a generic "facebook" override as the default for all our machines. Assuming OVERRIDES is set correctly, machines can still make specific overrides as alternatives. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id8b704163dc57d94e27481dba7aef1bdf66aeee5
2021-11-10meta-facebook: revamp OVERRIDESPatrick Williams6-10/+12
Ensure OVERRIDES are specific, MACHINE or DISTRO, rather than extending the primary OVERRIDES variable. Fix the order so that the variables are ordered from least-specific to most-specific since bitbake applies overrides in increasing order. This makes it so that 'fb-withhost' is applied before 'fb-compute-multihost' is applied before 'yosemitev2'. Thus, if a recipe has a specialization for 'yosemitev2' it is used rather than the weaker specialization for 'fb-withhost'. Tested by checking the OVERRIDES and MACHINEOVERRIDES for Bletchley, Tiogapass, and Yosemitev2 to verify they look correct. ``` MACHINEOVERRIDES="armv7a:aspeed:aspeed-g6:fb-nohost:bletchley" MACHINEOVERRIDES="armv6:aspeed:aspeed-g5:fb-withhost:fb-compute:fb-compute-singlehost:tiogapass" MACHINEOVERRIDES="armv6:aspeed:aspeed-g5:fb-withhost:fb-compute:fb-compute-multihost:yosemitev2" ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id5fa38de29c748e4ceafd5ef5c831b4f6434ea01
2021-11-04Partially revert "treewide: remove obmc-system-mgmt feature"Patrick Williams1-0/+1
The obmc-system-mgmt feature is currently used in the image to trigger inclusion of a virtual-provider which provides a number of packages many systems need. Partially revert the removal of this feature so that the outcome is: 1. The empty obmc-phosphor-sysd package is still removed. 2. By default the 'obmc-system-mgmt' feature is included, unless specifically exempted. 3. All EVB platforms remove the 'obmc-system-mgmt' feature since they have no system they are managing. This partially reverts commit 060ad3ff7fcc30aff78a9e504efee9d8fa0d4526. Tested: * Built `bletchley` and confirmed `packagegroup-fb-apps-system` and `entity-manager` are present. ``` entity-manager armv7ahf-vfpv4d16 0.1+git0+6bf41588ab-r0 packagegroup-fb-apps-system all 1.0-r1 ``` * Built `witherspoon` and confirmed `packagegroup-op-apps-system` and `pdbg` are present. ``` packagegroup-op-apps-system noarch 1.0 pdbg arm1176jzs 3.3 ``` * Ran `bitbake -p` on `evb-ast2600` to confirm the undefined `virtual-obmc-system-mgmt` is not being included in the image. Change-Id: I8b7804d5101cc84a2c57473b3f85672bf7767c67 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-10-26treewide: remove obmc-system-mgmt featurePatrick Williams1-1/+0
Every machine layer treats 'system-management' as either part of a package-group or removes the feature. The sample implementation in meta-phosphor is a do-nothing shell script (and up until recently was a Python script). There appears to be no useful purpose to this feature as a stand-alone concept, so remove it. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20ca1fa8ff3cb01cac2d07d4ded84e0769e4514b
2021-10-26treewide: clean up use of OBMC_MACHINE_FEATURESPatrick Williams2-2/+2
Modify the machine meta-layer configs to remove the use of the OBMC_MACHINE_FEATURES indirection and favor the Yocto MACHINE_FEATURES variable instead. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ifafb79e4e4c010e9476b9547cd4982f5b645060e
2021-08-25meta-bletchley: enable tpm2-toolsPatrick Williams1-0/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I478258cbf55a66b5c93eca7a09b264e3a2325ca2
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams1-1/+1
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current and the upcoming. Remove 'gatesgarth' is it is now 2 releases back. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
2021-08-11meta-facebook: more prep for new override syntaxPatrick Williams3-8/+8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I21120d6215c25be49afd60d6e807b68f2798423a
2021-08-07meta-facebook: prep for new override syntaxPatrick Williams3-9/+9
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-06-04meta-facebook: prep for host-less machinesPatrick Williams4-8/+19
Create config files that split "nohost" and "withost" variants of facebook machines. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I23460d8da076d02ebb6e5105b80244ca8a5681a4
2021-04-06hardknott: yocto releaseAndrew Geissler1-1/+1
Latest upstream yocto has moved on to the 3.3 hardknott release Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
2020-11-05meta-facebook: update Yocto compat for gatesgarthPatrick Williams1-1/+1
The next release of Yocto is soon and most of the upstream layers have switched support strings for it. Support layer compat for gatesgarth (current) and dunsfell (previous). (From meta-facebook rev: 056ec6f35e906dbc6eb2493bd8e26cb28d74d0ba) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I101c12f361c042cc2eb6d0d7373295e62dac028a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-03meta-facebook: remove ikvmVijay Khemka1-0/+2
Facebook platforms doesn't use obmc-ikvm currently so removing it. (From meta-facebook rev: 2b532a586562096d77c0546154807bc9bb7d1747) Change-Id: I0c672baaa5988598f37846d14658e3ec12cd7235 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-06meta-facebook: add machine-compute include filesPatrick Williams3-0/+9
(From meta-facebook rev: 355b76e8abbb4566f0c8d201358b0e794c80f29f) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I3718d245fc570c151f3df8602a55e862e98e018e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-06meta-facebook: restructure phosphor default-virtualsPatrick Williams1-0/+22
Due to our structure and missing RPROVIDES we were picking up old python-based implementations of some daemons. Restructure our conf and package group files to look more like meta-intel, and point to the proper implementations of services. (From meta-facebook rev: fbe12f7a42a592be01e2ced7215705ad5261e529) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0995a3d80604f71900222983574f3b29d418fe1b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-29meta-facebook: Remove warrior yocto releaseVijay Khemka1-1/+1
(From meta-facebook rev: e072a27c813016cf0a0961f299320a2207910700) Change-Id: I4b94045ff897cf97d434623a5a81f683fb3548a1 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-28dunfell: add support for new layerAndrew Geissler1-1/+1
(From meta-facebook rev: e7ca2cd4edb25b44205da051630ab28f36f1e0a2) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I643b04c0ec805d0155f62fc6e136de40248f018f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-10-14meta-facebook: layer.conf: Add zeus compatibilityVijay Khemka1-1/+1
oe-core branched in preparation for the upcoming Yocto release. We'll retain compatibility for warrior until we do our own branch or stop testing warrior. (From meta-facebook rev: fbbba83da1e5f2c2750fd5893aefc7a8439c72aa) Change-Id: Ia459c224e0130aec85f27a5d8ff04bdae99a01e2 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-17Cure Bitbake warningsWilfred Smith [Facebook]1-2/+2
These trivial updates are intended to cure the following Bitbake warnings: WARNING: Layer tiogapass-layer should set LAYERSERIES_COMPAT_tiogapass-layer in its conf/layer.conf file to list the core layer names it is compatible with. WARNING: No bb files matched BBFILE_PATTERN_tiogapass-layer '' Compatibility was previously not specified. Also, the BBFILE_PATTERN did not point to the layer directory. A warning will still be generated regarding no BB files at the Facebook layer because there aren't any present at this time. However, this patch makes it look in the correct place when there are BB files present. (From meta-facebook rev: c0d6c3eeaa6bc45815d86aee5d0721461442a418) Signed-off-by: Wilfred Smith [Facebook] <wilfredsmith@fb.com> Change-Id: I6eee6568b8ab00963d6eac72f9cd48ae716af26e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06meta-facebook: layer.conf: Add warrior compatibilityPatrick Venture1-1/+1
oe-core branched in preparation for the upcoming 2.7 Yocto release and as of 13e45ff requires core layer compatibility to "warrior" instead of "thud". We'll retain compatibility for both until we do our own branch or stop testing thud. (From meta-facebook rev: ecbe3814cf69ecf51052ac9f0129306f9fd2dd78) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Icd1ed7dd25f959f888f1125ad47bdbb2b16c02e1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-01-10meta-facebook: upgrade to yocto 2.6Vijay Khemka1-1/+1
set layer compatability to thud (From meta-facebook rev: f3275f5f3161f23fe2610417265d12577e69540a) Change-Id: I6ab2683f7c2996ad31a6c8e0579428fdb5b892e7 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-26Introducing meta-facebookVijay Khemka1-0/+10
Initial introduction of Facebook TiogaPass family equipped with Aspeed 2500 BMC SoC. Tested: Build Facebook TiogaPass board and load on the target hardware. Ensure that BMC boots to console. (From meta-facebook rev: 92e80d2b576a8c57ae073a0284652d8ea39602e8) Change-Id: Iefaf535e382b1e4fcfc212b5d29cd7166c90998e Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>