summaryrefslogtreecommitdiff
path: root/meta-facebook/meta-yosemitev2
AgeCommit message (Collapse)AuthorFilesLines
2023-09-26linux-aspeed: Move to Linux v6.5Joel Stanley1-1/+1
This moves the OpenBMC kernel to a v6.5 base for ASPEED. The 6.5 kernel moved all 32-bit ARM device trees, so our BMC device tress are now under an 'aspeed' subdirectory. This change means systems must describe the KERNEL_DEVICETREE with the aspeed directory prefix. There are 78 patches in the tree, with 40 of those patches not yet queued for merging in v6.6. The remaining out of tree patches include: Andrew Jeffery (6): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): One-shot retries for failure to set page pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers ARM: dts: aspeed: witherspoon: Update max31785 node ipmi: kcs_bmc: Add a "raw" character device interface Cédric Le Goater (1): /dev/mem: add a devmem kernel parameter to activate the device Eddie James (16): ARM: dts: aspeed: bonnell: Add reserved memory for TPM event log dt-bindings: soc: Add Aspeed XDMA Engine soc: aspeed: Add XDMA Engine Driver soc: aspeed: xdma: Add user interface soc: aspeed: xdma: Add reset ioctl soc: aspeed: xdma: Add trace events i2c: core: Add mux root adapter operations iio: si7020: Lock root adapter to wait for reset eeprom: ee1004: Enable devices on multiple busses dt-bindings: trivial-devices: Add Atmel AT30TSE004A serial eeprom eeprom: ee1004: Add OF matching support leds: pca955x: Refactor with helper functions and renaming leds: pca955x: Use pointers to driver data rather than I2C client leds: pca955x: Optimize probe led selection leds: pca955x: Add HW blink support leds: Ensure hardware blinking turns off when requested Jae Hyun Yoo (1): clk: ast2600: enable BCLK for PCI/PCIe bus always Joel Stanley (14): net: ftgmac100: Ensure tx descriptor updates are visible ARM: aspeed: Add debugfs directory ARM: soc: aspeed: Add secure boot controller support dt-bindings: trivial-devices: Remove Infineon SLB9673 TPM ARM: dts: nuvoton: npmc750-evb: Add default console tpm: tis-i2c: Add more compatible strings leds: pca955x: Revert "Remove the unused function pca95xx_num_led_regs()" arm64: configs: Add Nuvoton NPCM defconfig ARM: configs: aspeed: Add new FSI drivers ARM: config: aspeed_g5: Enable SSIF BMC driver ARM: config: aspeed: Remove FIRMWARE_MEMMAP ARM: config: aspeed: Add Ampere SMPro drivers ARM: config: Add openbmc defconfig ARM: config: openbmc: Add HPE GPX and Nuvoton 7xx Johannes Holland (1): dt-bindings: tpm: Add schema for TIS I2C devices Potin Lai (1): mtd: spi-nor: winbond: Add support for w25q01jvq Change-Id: Ib97af192391af6e71c96fe14e12cfc88c23d7a7d Signed-off-by: Joel Stanley <joel@jms.id.au>
2023-08-07meta-facebook: move virtual sensor config json into platform layersDelphine CC Chiu2-0/+44
Description: Most platforms need some sort of phosphor-virtual-sensor config, but some install multiple. Modify the common bbappend so it can be reused and with a minimal bbappend most platforms can add their own config in the platform layer. Tested: Build service on changed platforms- pass Change-Id: I77f4be1519325c0ebb00d0dc9a2f4e104601f62b Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2023-08-07meta-facebook: generate ipmb configPatrick Williams1-0/+7
Rather than having each system provide a (possibly empty) IPMB config, generate the `ipmb_channels.json` in the Yocto recipe. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iab42f4aa7c3c91f610d99c3742aada82aa5b9138
2023-03-31meta-facebook: switch to static-norootfs layoutPatrick Williams1-0/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie8cb1db003e1ebc09e601ec0497d4e062841b830
2023-03-11meta-facebook: add BMC compatible strings for all platformsPatrick Williams1-0/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Idedb1dd9459b649cacbbb31284e137cc3f52327c
2023-01-13yocto:mickledore: add support for new yocto layerAndrew Geissler1-1/+1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
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-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-15meta-facebook:meta-yosemitev2:Add support for uboot-fw-utilsJayashree Dhanapal1-0/+2
Added support for uboot-fw-utils in Facebook YosemiteV2 platform. Tested: Tested and verified in Yosemite V2 platform Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com> Change-Id: I75d9fe20f1c4c537d2186fb00ab9a6f749d559e3
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-30treewide: remove meta-webserverPatrick Williams1-1/+0
No systems use content from meta-webserver (nginx, apache, etc.), so remove the clutter from our bblayers.conf.samples. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I89ab5ac8c19cd8aa486a2f42d24dcf68688e2408
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-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-03-26meta-facebook: meta-yosemitev2: switch u-boot to 2019.04Logananth Sundararaj5-48/+55
Switching the u-boot branch from the 2016.07-aspeed-openbmc to the 2019.04-aspeed-openbmc Added the config file to modify the defconfig file from the uboot-machine. Removing the files related to the 2016.07-aspeed branch. Tested: Tested in YosemiteV2 platform and Verified. Signed-off-by: Logananth Sundararaj <logananth_s@hcl.com> Change-Id: I2687d92bba5dcf7602440b3ae59113093e09e379
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-01-18u-boot: Specify u-boot package for AST2500 machinesJoel Stanley1-0/+3
This sets u-boot to the package containing the v2016.07-aspeed-openbmc branch. This ensures there will be no change if the default changes in the future. Change-Id: Iea12e1691dbdda34a3f95d6d0862add0b15bcf37 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-12-20meta-yosemitev2: fixing the build warnings.Logananth Sundararaj1-8/+8
while applying the patch facing some build warnings. Tested : Tested in Yosemitev2. Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com> Change-Id: I1544059d205413823e148eff1a56b994ca2b05c1
2021-12-10meta-yosemitev2: Fixing the u-boot console debugging.Logananth Sundararaj2-70/+48
Removed the debug uboot console prints. Initialized the baudrate to 57600. Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com> Change-Id: Ia6cd59e3d6a8a0d73d6a6113c60e13bba0f90b22
2021-12-02Remove BBLAYERS_NON_REMOVABLE variableAlexander Filippov1-14/+0
`BBLAYERS_NON_REMOVABLE` is obsolete and no longer required. As it said by Yocto documentation it can be used by `Hob` https://www.yoctoproject.org/docs/1.5.2/ref-manual/ref-manual.html#var-BBLAYERS_NON_REMOVABLE that already removed since Yocto-2.1 https://www.yoctoproject.org/tools-resources/projects/hob Change-Id: Ibc2d8268a9d837a81e9cf6b0131dba8d0a030a3f Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2021-11-10meta-facebook: simplify SERIAL_CONSOLESPatrick Williams1-2/+0
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-09-16treewide: fix comments for rpm/ipkPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia05891430c6c97a89b7bc8ba4558ae496866bf7d
2021-09-13meta-facebook: switch to ipk packagesPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I75f71a404016949179cca78605ae5be4613249e3
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: increment CONF_VERSIONPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iefe6488f6447fb3976c8f9597674227e83ad8b83
2021-08-11meta-facebook: more prep for new override syntaxPatrick Williams3-27/+67
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I21120d6215c25be49afd60d6e807b68f2798423a
2021-08-10Remove redundant code to set root passwordJoseph Reynolds1-5/+1
Background: The OpenBmc project default root account password is set in meta-phosphor/conf/distro/include/phosphor-defaults.inc and can be customized in each layer's local.conf file. Many of these local.conf.sample files had redundant code to set the password, which probably should not have been there. Removing them allows the defaults in phosphor-defaults.inc to take effect. Tested: No. Only meta-ibm was tested. Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net> Change-Id: I76dce00d269d7afa005d7bcfd63f846d3cf45596
2021-08-07meta-facebook: prep for new override syntaxPatrick Williams5-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-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III1-2/+1
This is apparently not actually working anymore and is removed in the next poky update. Change-Id: Ia1c6a258d124a4a30a14fc42e8e0bba95e64faeb Signed-off-by: William A. Kennington III <wak@google.com>
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
2021-03-22openbmc: add meta-security layerAnton D. Kachalov1-0/+2
This layer provides libseccomp. Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
2021-01-13meta-facebook: yosemitev2: Add post code support for multi host in ↵Kumar Thangavel1-0/+1
meta-facebook. Added implementation to handle post codes from multiple host to BMC with multi process approach. Each process handles post codes for corresponding host. TESTED : Built the openbmc image targetting Facebook YosemiteV2 hardware. Verified all the host's postcodes stored in corresponding host directories. (From meta-facebook rev: 3247463e69d7645ec9805a2a50d65e1c525d08cb) Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: Ib6c410a0cae9776c595d53387ab017c496bccb97 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-21meta-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 dunfell (previous). (From meta-facebook rev: 14fc581f37beea18d5b1e6eb04fbb014be5cd357) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5c460251ca3e1f7cd2a48008238cd7885e44493d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-15yosemitev2: remove meta-openpowerPatrick Williams1-2/+0
(From meta-facebook rev: 62ac22b8652ee58eb8fc9add26d9f78f9fa77a0b) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I95616b7a9d8dd3dbd31615a40cc5ed56d7bc6f11 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-27meta-facebook: meta-yosemitev2: align u-boot patch orderManikandan Elumalai3-2/+2
(From meta-facebook rev: 8843a9ca3fd5a02a77cbb27de6a121cf389231d2) Signed-off-by: Manikandan Elumalai <manikandan.hcl.ers.epl@gmail.com> Change-Id: I86c187ded8cf5dbac7812c6b186c69fe27fb4e06 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10meta-facebook: meta-yosemitev2: add support for host console in SPLManikandan Elumalai2-2/+187
This feature adds four 1S server console through debug card connected to YosemiteV2 during boot. Tested: BMC and four 1 server uart console message getting through USB debug card by change position in the knob (Adaptor card). The YV2 needs to power ON after every change in the knob position to take effect and run time debug console handler will take care by application after boot. (From meta-facebook rev: bf07eebdca7175ded4c96185fe4b182e55d09772) Signed-off-by: Manikandan Elumalai <manikandan.hcl.ers.epl@gmail.com> Change-Id: I66939c8a04cd8fa97b6fdae91ed0b52086c8d0d5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-06meta-facebook: add machine-compute include filesPatrick Williams1-1/+1
(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-12/+1
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-29Meta-facebook: Yosemitev2: Fix machine name in layerVijay Khemka1-1/+1
Replaced tiogapass with Yosemitev2 in layer compat, it was a mistake earlier. (From meta-facebook rev: d3d04815c8fdd0e4cd4f4ee2b2e5199e8ed7892e) Change-Id: I568113bcb735f3a239cdbc0fee1daa00ab41883d 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>
2020-04-04meta-yosemitev2: Change BMC console baud rateManikandan Elumalai1-0/+2
Updated BMC console baud rate to 57600 to match with server baud rate. (From meta-facebook rev: d1b8177fefe53818fb94a9c6d63628b22d197745) Signed-off-by: Manikandan Elumalai <manikandan.hcl.ers.epl@gmail.com> Change-Id: I00cf5232e6a3d5edf0d3b4bd619cb85afef7c416 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-04meta-yosemitev2: added IPMB kernel config and removed unused configManikandan Elumalai1-5/+2
(From meta-facebook rev: 4125bbcbb3c6f8107cba571fe0370b65422a0ece) Signed-off-by: Manikandan Elumalai <manikandan.hcl.ers.epl@gmail.com> Change-Id: I70b3ff73157e9720374bc61effdb173634fdb4ae Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-06meta-facebook: Yosemite: Remove recipes-phosphorVijay Khemka1-3/+0
Removed this recipes from Yosemite layer as most of config can be used from common layer under meta-facebook Later, when anything specific to Yosemite platform is required then a new bbappend can be added (From meta-facebook rev: b9fee399a82432353164bc3454c0f1cba90feee9) Change-Id: Id84a71ca20f8b5fe0e51e5e3aa62c8fbe5b5a1bf Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-06meta-facebook: Yosemite: Remove recipes-fbyv2Vijay Khemka1-20/+0
Removed this recipe from Yosemite layer as it can be referred from common recipes-fb. (From meta-facebook rev: 12335eca78d9b2a1fed8240f6e6a1ba2cd68a444) Change-Id: I974aaba99032691ef077732ce7e2da895a03bcc0 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-01-14meta-facebook: yosemitev2: Add phosphor-pid-control.Kumar Thangavel2-0/+4
Added phoshor-pid-control package for yosemiteV2 platform. Tested : Built Facebook YosemiteV2 images and loaded on the target hardware. We are able to see the fan speed updates when inlet temperature updates. (From meta-facebook rev: 256fdf1c496960923ac53b1ad0bad6141d3ee6ce) Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: Ibe04f0722f54e84909bbe81900c6e845168ba380 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-14meta-facebook: yosemitev2: Add dbus sensor and entity managerHCL-BMC3-0/+21
Added dbus-sensors and entity manager packages for yosemiteV2 platform. Tested : Built Facebook YosemiteV2 images and loaded on the target hardware. We are able to read temperature, Adc and mezz sensor values. (From meta-facebook rev: 9b7491ca408796249045abb85151973724cadb34) Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: Ia9acf270752d602d71008893366a6c2f0badf9bc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-05meta-facebook: Introducing meta-yosemitev2Vijay Khemka10-0/+563
Initial introduction of Facebook Yosemite V2 platform. The Yosemite V2 is a multi-node server platforms that hosts four OCP server and equipped with Aspeed 2500 BMC SoC. Tested: Built Facebook Yosemite v2 image and loaded on the target hardware. Ensured that BMC boots to console. (From meta-facebook rev: 83e4ecf31aa9b818e8bc9ed4e237f3f9e6a6c2a9) Change-Id: Iaa22e15371292321b636e1e1cf4bbec2d6fe1bff Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: manikandan-e <manikandan.hcl.ers.epl@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>