summaryrefslogtreecommitdiff
path: root/meta-lenovo
AgeCommit message (Collapse)AuthorFilesLines
2021-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III2-2/+2
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-05-18meta-lenovo: hr855xg2: Remove autotools specific configWilliam A. Kennington III1-4/+2
We want to use packageconfig options instead of build system specific ones. Change-Id: Ie9b0b274c6ea137e44edaf02ea3d4f2109d727fb Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-18meta-lenovo: hr630: Remove autotools specific configWilliam A. Kennington III1-4/+2
We want to use packageconfig options instead of build system specific ones. Change-Id: I04f76ce0967033ab5fb1133068782f99475a1890 Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-22build phosphor-hwmon with mesonMatt Spinler1-1/+1
The repository supports it, so switch it over in bitbake. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
2021-04-06hardknott: yocto releaseAndrew Geissler3-3/+3
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. Kachalov2-0/+4
This layer provides libseccomp. Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
2021-02-23lenovo: modify distro includesPatrick Williams2-2/+2
Each machine in meta-lenovo has its own distro conf file. These files are currently including a base inc file from meta-phosphor, but the preferred pattern elsewhere is to include the openbmc-phosphor distro. Since the lenovo machines are really just openbmc-phosphor with some minor changes to the distro name, redirect to that full distro for future compatiblity. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I29ffa425ba3ff432f077e832295993006a06b162
2021-01-16Add Owners Plugin to meta-lenovoEd Tanous1-0/+3
Please see https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/39379 for details about why this is necessary. (From meta-lenovo rev: 37340b5e9807536fe8e38e0032db1388ea2ac06c) Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: I22a237492f4dc69e38307a4d2f04188502f5d023 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-03meta-lenovo: update Yocto compat for gatesgarthPatrick Williams2-2/+2
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-lenovo rev: 7cb057d597100ce7f6483f487a3b6c4ebe10b30f) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iecf217b8ab2ba47e8f741f8792e6b32fdfa7332d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-12MAINTAINERS: fix email address for Lisa LiuPatrick Williams1-1/+1
There was a small typographical error which resulted in an email address which does not exist in Gerrit. s/lui/liu (From meta-lenovo rev: 2ad0eb3dac33fc09a8d02d538989c7e96199a0a4) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib9fce6b331b2b7e4fb61510044f62bd998afaa4a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-12meta-lenovo: 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-lenovo rev: 71e316c8833bd6cdb691b6b36ed581dc14b0b237) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0277bc74158d4f4fcf9a9c9c9368b435c8494de6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-12Remove 'scale' parameter from the sensor interface in IPMI sensors YAML filesKonstantin Aladyshev1-87/+0
Support for the Scale property on the sensor Value interface was dropped in the phosphor-hwmon commit ecac0ae208cfc437 ("Fixes for when sensor value is a double"). (From meta-lenovo rev: 95fc122925c1370e9fe5bb7785ef76ea727d8d12) Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I874cbaf58382eb4d71c863959037a3dbca6955a9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-12Use correct type for Dbus sensor interface in IPMI sensors YAML filesKonstantin Aladyshev1-35/+35
Dbus sensor interface 'xyz.openbmc_project.Sensor.Value' migrated from int to double. Therefore all old 'int64_t' types in "*-ipmi-sensor*.yaml" files for this interface should be changed to 'double'. (From meta-lenovo rev: 5151dc21b034d829cfd310c778bdb03b1ce3c9e2) Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I3cf17b60c0faf77639f50ce8f26f5004c2ccc25b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-11-22lenovo: Add maintainer fileBrad Bishop1-0/+46
Benjamin is an obvious choice here - look at any patch in meta-lenovo and Benjamin has done a review - clearly Benjamin is invested the quality of meta-lenovo. On the contributor side, Lisa has by far submitted the most patches to meta-lenovo. (From meta-lenovo rev: fae512c598a542be289c87c34ce0a926725ea80b) Change-Id: I8721ffab2524e3bcc24c5a9b206611b2e7e37d67 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Benjamin Fair <benjaminfair@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-26meta-lenovo: hr855xg2: flash: update bbappendPatrick Venture1-3/+3
Update the configuration options to leverage the now available PACKAGECONFIG options. (From meta-lenovo rev: 32472874c254fd791fe5da9e0c41a82d2a4d45b9) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I1e0cd65502e530994d02dc486041d0d47c79ef6c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-19meta-lenovo: hr855xg2: ipmi-flash use mapped addr varPatrick Venture1-1/+3
Use the IPMI_FLASH_BMC_ADDRESS mapped address variable to configure the mapped_address configuration option. (From meta-lenovo rev: 011afb2278f83d4038d42eb4ff0ec10ef8a02932) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: If614065d3022b1868c93a62fd975322f4db68237 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-14meta-lenovo: obmc-libobmc-intf: Add hr630 gpio definitionsLisa Liu2-0/+29
Add gpio definitions for the hr630 machine. Tested: Built hr630 machine and checked that the file /etc/default/obmc/gpio/gpio_defs.json was correct for hr630 machine. (From meta-lenovo rev: 4c930790c1d1bca841bf091dad0b6da694eedd7d) Signed-off-by: Lisa Liu <liuyj19@lenovo.com> Change-Id: Iae56787f9440c9a7247d4f6de5364613d30350d6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-12meta-lenovo: hr855xg2: Disable link-local IP address auto configurationDerek Lin1-0/+6
Add --disable-link-local-autoconfiguration flag for auto-configure. Tested: Check IP addresses can be displayed using ifconfig. (From meta-lenovo rev: 67ce09bec382bfb805b811075cf2156facfd6ba0) Signed-off-by: Derek Lin <dlin23@lenovo.com> Change-Id: I2ec22e12db6f9d54acf668e5a0e4a445e15f1012 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-11meta-lenovo: hr855xg2: add kernel configurationsLisa Liu2-0/+25
Add kernel configurations. Tested: Build Lenovo hr855xg2 image and load on the target hardware, make sure BMC could boot to console. (From meta-lenovo rev: 0af73ed9f290ac032f1f45f276fa529bd421ebe7) Signed-off-by: Lisa Liu <liuyj19@lenovo.com> Change-Id: I3a84172d9512dce9a766dc4f755e834962c4f7bb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-09meta-lenovo: hr855xg2: Add sensor configsLisa Liu6-0/+111
temperature sensors ambient and outlet of tmp75, adc voltage sensors and fan-tach sensors. Tested: Build it in hr855xg2 image, load on hr855xg2 platform, ensure it could show these sensors correctly with command: ipmitool sdr list. (From meta-lenovo rev: 3293e0f1dc327000f173ec59beaea5d5fe266d0a) Signed-off-by: Lisa Liu <liuyj19@lenovo.com> Change-Id: Iee53d6dcf05e534f6507775c02b2d631da06d93a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-09meta-lenovo: obmc-libobmc-intf: Add hr855xg2 GPIO definitionsLisa Liu2-0/+39
Add GPIO definitions for the hr855xg2 machine. Tested: Built hr855xg2 machine and checked that the file /etc/default/obmc/gpio/gpio_defs.json was correct for hr855xg2 machine. (From meta-lenovo rev: a325e2489b6c482c48deb822b063c15231af2b93) Signed-off-by: Lisa Liu <liuyj19@lenovo.com> Change-Id: I2192a5ec39ced50a46a2e62eb3f15ddd445c4f4b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-09meta-lenovo: hr855xg2: Initial led yaml file equipped with hr855xg2 platformAndrew Peng1-0/+6
Move led yaml file to configuration folder and define YAML_PATH to led parse tool. (From meta-lenovo rev: 7fc1adfc0b64fbd6ef390a55f2ad648dd4693db0) Signed-off-by: Andrew Peng <pengms1@lenovo.com> Change-Id: Id1cafab42e33f99457288ff200992da2465f61c4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-09meta-lenovo: hr855xg2: add IPMI configurationsLisa Liu6-0/+40
1. Add some autoconfigure parameters for phosphor-ipmi-flash. 2. Add some sensor and FRU definitions for ipmi. 3. Add IPMI device id configuration. Tested: This has been tested on hr855xg2 machine via ipmitool from host. (From meta-lenovo rev: 1d57596f3206006189166000e8bfd351b3935aca) Signed-off-by: Lisa Liu <liuyj19@lenovo.com> Change-Id: Ib387c38ba70df53b6320138993912eb900069bc1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-09meta-lenovo: hr855xg2: new YAML dependency schemeLisa Liu5-0/+2868
Move YAML file of ipmi fru, sensors and led to configuration folder to create simpler scheme for hr855xg2 platform, for all the IPMI virtuals and PREFERRED_PROVIDERS in meta-phosphor are in the process of being deprecated. (From meta-lenovo rev: 6f4d757420bf82b9a7805a7c318e356d13f6bf6d) Signed-off-by: Lisa Liu <liuyj19@lenovo.com> Change-Id: Ic203c00bbd47b5a058995dc8328749909d72b41e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-09meta-lenovo: hr855xg2: Add hr855xg2 platformLisa Liu6-0/+92
hr855xgw is a lenovo platform. Add machine to repo. (From meta-lenovo rev: 57f917c8d869833d8d3a4fd6a914bc795cf6b843) Signed-off-by: Lisa Liu <liuyj19@lenovo.com> Change-Id: I2f20578eee3849ac49988e0cbc69f21f0676e22f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10meta-lenovo: hr630: Add sensor configsLisa Liu5-0/+92
temperature sensors inlet and outlet of tmp75, adc voltage sensors and fan-tach sensors. Tested: Build it in hr630 image, load on hr630 platform, make sure it could show these sensors correctly with command: ipmitool sdr list. (From meta-lenovo rev: 8cd1949d5b4c66682baf951bb8c060320032ad0b) Signed-off-by: Lisa Liu <liuyj19@lenovo.com> Change-Id: Idfd89ea40642130daddbb9e8c0384004c076638a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10meta-lenovo: hr630: Initial led yaml file equipped with hr630 platformLisa Liu2-0/+35
Add heartbeat and fault led in yaml file. (From meta-lenovo rev: 8a7b9b0a15f36b6ecbd47442b7095f9d43639e79) Signed-off-by: Lisa Liu <liuyj19@lenovo.com> Change-Id: I87418b92d988ba92dd4a4a33e1484d2e42fceca9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10meta-lenovo: hr630: add kernel configurationsLisa Liu2-0/+21
Add kernel configurations. Tested: Build Lenovo hr630 image and load on the target hardware, ensure that BMC boots to console. (From meta-lenovo rev: 5c27e5f9f7504fc9b9c9567f2ff0ca6d3a9e7eed) Signed-off-by: Lisa Liu <liuyj19@lenovo.com> Change-Id: I32d845b4990d7769e3ddc1b57301c778cfb265f6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10meta-lenovo: network: Disable link-local IP address auto configurationLisa Liu1-0/+6
Add --disable-link-local-autoconfiguration flag for auto-configure. Tested: Check IP address in debug console by ifconfig to see real IP address. (From meta-lenovo rev: f6ec76794761cf29d70c56788570400b7c16fcee) Signed-off-by: Lisa Liu <liuyj19@lenovo.com> Change-Id: I05a10baa1071cd6d93e0a2bcf317c95187bf7539 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-10meta-lenovo: hr630: Add hr630 platformLisa Liu6-0/+96
hr630 is a Lenovo platform. Add machine to repo. kernel device tree of Lenovo is being reviewed, so aspeed-bmc-lenovo-hr630.dts has not been merged yet. (From meta-lenovo rev: 460c31a424e0ee831933f61ecb55f60a0c9ba38f) Signed-off-by: Lisa Liu <liuyj19@lenovo.com> Change-Id: I1577775ea92fd8dbc9ab5b3f2b045ef04e524dc6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-30meta-lenovo: add subtreeBrad Bishop8-0/+263
Brad Bishop (1): Initial commit Lisa Liu (2): meta-lenovo: commit lenovo configuration files meta-lenovo: common: react to features removal Change-Id: I10e7d4599ee2e0a071e6b70520c129f17ba35d63 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>