summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-q71l
AgeCommit message (Collapse)AuthorFilesLines
2021-12-14meta-x86: remove layerPatrick Williams1-1/+0
This layer has nothing in it. The current direction is for anything architecture specific to end up in meta-phosphor. Remove this "layer" so that it doesn't keep getting copied into new machines. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ied03175589840490bcd1eda8c704c73e224ba9a9
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-10-26treewide: clean up use of OBMC_MACHINE_FEATURESPatrick Williams1-1/+1
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-09-16bitbake: Use IPK packaging for rootfs assemblyAndrew Jeffery1-1/+1
bitbake offers a choice of DEB, RPM or IPK packaging. To a degree the choice is functionally arbitrary for image generation but control over the package format becomes important if we want to: 1. Include runtime package management functionality in the firmware image 2. Mess about with the packages on the build system With respect to 1 the IPK format and opkg (an ipk package manager) are designed for embedded systems[1] - by contrast to RPMs have heavier dependencies and a greater impact on the size and complexity of the firmware image. Regarding 2, the embedded nature and the need for opkg to work without much fuss leads to a lower configuration barrier by comparison to RPMs. With ipk it becomes possible to reuse the packages built during image preparation for core analysis without needing to generate an SDK: ``` $ export LD_LIBRARY_PATH=./tmp/work/x86_64-linux/opkg-native/*/recipe-sysroot-native/usr/lib $ MY_DEBUG_ROOT=tmp/rootfs-debug $ ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \ -f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/*/opkg.conf \ -o $MY_DEBUG_ROOT \ update $ fakeroot ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \ -f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/opkg.conf \ -o $MY_DEBUG_ROOT \ install dbus-sensors dbus-sensors-dbg $ gdb-multiarch (gdb) set solib-absolute-prefix .../tmp/rootfs-debug (gdb) add-auto-load-safe-path .../tmp/rootfs-debug (gdb) file tmp/rootfs-debug/usr/bin/nvmesensor (gdb) core-file obmcdump_17_9597/core.nvmesensor.0.aae91b519d0e4e0e8bbe746e3f6cd25f.2779.9594000000 Core was generated by `/usr/bin/nvmesensor'. Program terminated with signal SIGABRT, Aborted. pthread_kill.c:45 45 pthread_kill.c: No such file or directory. (gdb) bt pthread_kill.c:45 ../sysdeps/posix/raise.c:26 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6 "xyz.openbmc_project.NVMeSensor", this=0x488f04) at /usr/include/sdbusplus/bus.hpp:234 ../../../../../../workspace/sources/dbus-sensors/src/NVMeSensorMain.cpp:159 (gdb) ``` This approach documented in the Poky Reference Manual: https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#platdev-gdb-remotedebug-launch-gdb-inferiorbins Switch all machines to IPK to align the debugging experience with upstream's documentation and to facilitate efficient use of packaged software at runtime. [1] https://openwrt.org/docs/guide-user/additional-software/opkg Change-Id: I8ef526add2d7a6790de1b3eb3fb85cd39b864f23 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams2-3/+3
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-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-17meta-quanta: Fix incorrect change in Yocto syntax updateDavid Wang2-3/+3
'SYSTEMD_ENVIRONMENT_FILE', 'SYSTEMD_LINK', 'SYSTEMD_OVERRIDE' should stay underscore Signed-off-by: David Wang <davidwang@quantatw.com> Change-Id: Ia30f306857d1552b19ff5ed06664c8bd5360cb4c
2021-08-13meta-quanta: Cleanup for Yocto override syntax changeDavid Wang7-19/+19
- Cleanup subtree meta-f0b, meta-olympus-nuvoton, meta-q71l with convert-overrides.py meta-quanta/meta-f0b convert-overrides.py meta-quanta/meta-olympus-nuvoton convert-overrides.py meta-quanta/meta-q71l git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-f0b git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-olympus-nuvoton git grep "_[a-z0-9_/-]*[ :]" -- meta-quanta/meta-q71l git grep -l _f0b -- meta-quanta/meta-f0b | xargs sed -i 's/_f0b/:f0b/' git grep -l _olympus-nuvoton -- meta-quanta/meta-olympus-nuvoton | xargs sed -i 's/_olympus-nuvoton/:olympus-nuvoton/' git grep -l _quanta-q71l -- meta-quanta/meta-q71l | xargs sed -i 's/_quanta-q71l/:quanta-q71l/' - Fix up a few by hand - Revert 'BBFILE_PATTERN' and 'LAYERSERIES_COMPAT' - Add honister to 'LAYERSERIES_COMPAT' - Update 'CONF_VERSION' - Fix up 'SYSTEMD_ENVIRONMENT_FILE', 'SYSTEMD_LINK' and 'SYSTEMD_OVERRIDE' in all subtree Signed-off-by: David Wang <davidwang@quantatw.com> Change-Id: Ic431624d09dc5899b1d84439559bea9efca08ad8
2021-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III1-1/+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-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-17meta-quanta: q71l: add compatsPatrick Venture1-0/+1
Adds the compatible layers for this machine configuration. Tested: With a companion uboot configuration change patch was able to build image. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia517c46647249279a3cadd75e04eb1d8ff5df209
2021-04-15meta-quanta: q71l: fix uboot configPatrick Venture1-1/+1
Fix the uboot config to always apply because the palmetto machine override is no longer set. Tested: With companion layers patch was able to build. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ifc16e06a0906d5530a8ccfbe2a15dcc8d9fa9296
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
2020-11-12Remove 'scale' parameter from the sensor interface in IPMI sensors YAML filesKonstantin Aladyshev1-24/+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-quanta rev: 8158024f02f58e04bae6677a5703d4e69d990877) Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Ic21f54a1f21529d4e36d5111fb4562f2581b4c82 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-12Use correct type for Dbus sensor interface in IPMI sensors YAML filesKonstantin Aladyshev1-24/+24
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-quanta rev: e48a99450e7c33ddca74cf9aeab4258e38ed1cab) Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I42da4df4e06d22fdd68dae4ab1ab9213908feac8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-09-14meta-quanta: Remove references to QUANTABASEBrad Bishop4-4/+4
QUANTABASE is only used for pointing at licenses...point at the licenses in oe-core in meta/files/common-licenses instead. to match the defacto convention used in other oe layers like meta-openembedded. (From meta-quanta rev: 170929b6044497d12e65a6a2c5e7025262c9d783) Change-Id: I12defd008e095db3227e5cd39261f942abd1406c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-09meta-quanta: q71l: drop workbook skeletonPatrick Venture3-91/+0
Drop workbook skeleton as it's now obsolete. (From meta-quanta rev: 6b6f78519cff678e0135298e2fccd00193291e81) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ie1bd674ed2ec905b9d221447630091f3fc998a32 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-09meta-quanta: q71l: bugfix: drop removed pkg spictrlPatrick Venture1-1/+0
Drop the inclusion of a package that is no longer provided. (From meta-quanta rev: 3f1d96998c127c958c9f105adcf31072e451b134) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia64c547c1073541745a7fd2a336150e0e5e580b5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-11meta-quanta: q71l: powerctrl: install scripts in binPatrick Venture1-4/+4
Install the power control shell scripts into bin instead of sbin. These control power for the host, not the BMC. (From meta-quanta rev: 77c5f7af4311516e393cda73db75c907acd1171d) Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I5294196516d458d6bbf930a287e42ceea1bc88e2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06update upstream subtreesBrad Bishop1-1/+1
A number of corequisites exist so squashing these all into one patch. meta-ingrasys - refresh master bc513127f4..67bcaf389f meta-hxt - refresh master 86a4df514f..8fe0d38bbb meta-phosphor - refresh master 06c09d7cce..df6ddae3d2 meta-quanta - refresh master 4f126361a1..53f3025271 Change-Id: I3daeef2a0467d8ea4f1fd1c617e526f8b11258af Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-26meta-quanta: q-71l: Update I2C hwmon paths for the 5.0 kernelPatrick Venture8-2/+2
In the 5.0 Linux kernel, an I2C device path segment changed: i2c@1e78a000 -> bus@1e78a000 (From meta-quanta rev: 55e686fb453abeb4fa72e4e58e79faca35be7429) Tested: Verified paths visually, but not tested on hardware. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I7f0d2752cc2a28df8d8c8e1a63e40df6153b2db8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-05meta-quanta: q71l: drop ipmi-channel-configPatrick Venture3-25/+0
Drop the ipmi-channel-config as it's no longer used by phosphor-host-ipmid. (From meta-quanta rev: d92f64f7e750210582f9d0828ef82c2007d5ef89) Change-Id: I9fb8640386cbf9b5cd8f5213e9f63be221031faa Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-03-05meta-quanta: q71l: drop spictrl scriptPatrick Venture2-167/+0
Drop the spimaster python script. This script let one, via devmem accesses, change the SPI control to let the BMC access the BIOS flash chip. OpenBMC is aiming to drop python support, and this script was only a proof-of-concept. If required, a linux driver should be written to handle this. (From meta-quanta rev: fa279684ea0fa59cd106c6955c92d2f9f539c3a0) Change-Id: I74e4e62054b914013d230b834e882353eb70a67e Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-02-04meta-quanta: q71l: add psus to dbusPatrick Venture5-0/+64
Add the PSUs to dbus. (From meta-quanta rev: 3e55555b7f8f760525a1291265097bba38a435f2) Change-Id: Ib3b4d99d3d83520747b93d62816610e85519fdd7 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-02-04meta-quanta: q71l: add iio-hwmon-battery sensorPatrick Venture2-0/+8
Add the iio-hwmon-battery sensor from device-tree to dbus. (From meta-quanta rev: 277985acdc85091dcad500e43042eeb68198d977) Change-Id: Ia0b4b1e68aa8c70760548545db6c55328548a6e9 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-02-04meta-quanta: q71l: move pwm-tacho to new locationPatrick Venture2-1/+3
Move the pwm-tacho sensor list to new location based on device-tree changes. (From meta-quanta rev: 1d43ee5096218aa4f42aebe5a8b3db434dcc5953) Change-Id: Ia4515b92e178d19b1105bba2c063c693bc39ef74 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-02-04meta-quanta: q71l: add prefixes to phosphor-hwmonPatrick Venture1-6/+8
Add prefixes to phosphor-hwmon variables so they won't interfere with other machines variables of the same name. (From meta-quanta rev: 9b85273bcf43426b3a8b712a55a7d80b4d49afeb) Change-Id: I94f24923c89ea5e61ad7c1e9e69f723c920ab915 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-21meta-quanta: Removed unused meta-poky layerPatrick Venture1-2/+0
The meta-poky layer is unused. Remove from the layer configuration. (From meta-quanta rev: a1e978bc7a5b5c3b210599324b48daa149f117c8) Change-Id: I082e487a17bd274621bde84e9aa37cb94bc16a94 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-08meta-quanta: master refresh bfbdc52828..a20f4c0dddBrad Bishop6-6/+13
Update meta-quanta to master HEAD. Patrick Venture (6): meta-quanta: q71l: ipmi-channel-config-native: set LICENSE field meta-quanta: q71l: ipmi-fru-merge-config-native: set LICENSE field meta-quanta: q71l: ipmi-inventory-map-native: set LICENSE field meta-quanta: q71l: ipmi-sensor-map-native: set LICENSE field meta-quanta: q71l: quanta-powerctrl: set LICENSE field meta-quanta: q71l: quanta-q71l-config: set LICENSE field Change-Id: I3cdd9be9868335a9224130ef316ad46606c4d7ec Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-08meta-quanta: q71l: enable phosphor-host-postd packagePatrick Venture1-0/+3
Add the phosphor-host-postd package to the build. The lpc snooping is enabled in the device-tree. (From meta-quanta rev: bfbdc52828b19ff47b6f413105381df84fdc6e48) Change-Id: I12e2078547de03ae8ba277314dcbffcf14fbcfaf Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-22meta-quanta: q71l: Update IPMI sensor config YAML to include rExpKun Yi1-0/+20
Tested: None (From meta-quanta rev: a8044aeea140cf99537fa0dbbd7971c59fa45498) Change-Id: Ia6b185518d099c50f797692d9490ec4d5082fc37 Signed-off-by: Kun Yi <kunyi731@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-17meta-quanta: q71l: phosphor-ipmi-fru version wildcardPatrick Venture5-0/+0
Rename phosphor-ipmi-fru%.bbappend to phosphor-ipmi-fru_%.bbappend (From meta-quanta rev: 974b090a71bd1ec530e932be6aca71d0df3dcc87) Change-Id: Ie82abee63b673c14fdbde0461e73b54a10869059 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-05meta-quanta: q71l: rename phosphor-hwmon bbappendPatrick Venture6-0/+0
Rename phosphor-hwmon%.bbappend to phosphor-hwmon_%.bbappend. Tested: Built quanta-q71l and found confs in rootfs. (From meta-quanta rev: 09536415f92461f26f357a341e63b4e0267bd6bb) Change-Id: I9b35e71eefef156eb8d76d79a7c599a940258715 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-08-23[Subtree] Bring openbmc machines to top levelDave Cobbley36-0/+1357
The new subtree model brings the subtrees up from the openbmc-machines layer. Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0 Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>