summaryrefslogtreecommitdiff
path: root/meta-ingrasys
AgeCommit message (Collapse)AuthorFilesLines
2025-08-05meta-openpower: Remove support P8 and P9 processors on occ_controlSheldon Bailey2-2/+1
Starting with this commit, occ-control will no longer support the following: P8 Processors :uses I2C communication with the OCCs P9 Processors :uses SBEFIFO for communication with the OCCs Change-Id: Ia3db23c8987b99f61225937e67fd81948681e5b8 Signed-off-by: Sheldon Bailey <baileysh@us.ibm.com>
2025-07-23treewide: add whinlatter LAYERSERIES_COMPATPatrick Williams2-2/+2
Change-Id: I1d53510329749ff122c8a65157a72c8ff88bd306 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2025-05-24treewide: add walnascar LAYERSERIES_COMPATPatrick Williams2-2/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I6291eeaf0ca7d4bd674bf0717f1234bfd757f6fe
2025-02-11openpower-occ-control: srcrev bump 3ece5b9902..601cea4cbfAndrew Geissler1-0/+1
Chris Cain (1): Set default package to build for POWER10 Patrick Williams (3): build: use allowed over enabled or not-disabled clang-format: update latest spec and reformat meson: reformat with meson formatter Change-Id: Ie7111746bd0e24663974166c5dde298ba8942e06 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-12-20meta-ingrasys: zaius: reduce unpack warningsPatrick Williams2-0/+6
Due to the UNPACKDIR introduction, there are a few source-included packages in zaius that raise warnings. Fix those by using the recommendation from the latest Yocto migration guide. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I41d0317432f43189383f38104e9ab0cf04469fd2
2024-12-20treewide: switch debug-tweaks to allow-root-loginPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2665e9e7e37242d546eafdb4d1c65dd0369ca635
2024-12-20treewide: add styhead to LAYERSERIES_COMPATPatrick Williams2-2/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8f74fcbb7bf66bb24fde1571ef09fac1095c7e59
2024-12-06styhead: update WORKDIR usageAndrew Geissler3-3/+4
The latest yocto release(styhead,5.1) has made a significant change[1] to the use of the WORKDIR parameter. This is not the complete change required but gets us going in the right direction. [1]: https://docs.yoctoproject.org/next/migration-guides/migration-5.1.html#workdir-changes Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4f184b361be69e7704a0657a4a00cdad981aff8a
2024-12-06treewide: add Upstream-Status to patchesJayanth Othayoth1-0/+2
Yocto rebase build reports QA Issue: Missing Upstream-Status in patch Added simple fix by amending patch commit message "Upstream-Status: Pending" now to unblock rebase. Change-Id: I753c2c7faa4dcede7dd2b5e6eaba79580ce5e2a1 Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
2024-09-03linux-aspeed: Rename APB nodes, PT5161L support, Catalina updatesAndrew Jeffery16-15/+15
The notable change is to the phosphor-hwmon configuration paths for all Aspeed-based platforms. The changes were generated with the following incantations: ``` git ls-files -- :/:*/ahb/apb/bus@1e78* | while read -r S; do D="$(echo $S | sed -E 's|ahb/apb/bus@1e78a000/i2c-bus|ahb/apb@1e780000/bus@1e78a000/i2c|')"; mkdir -p "$(dirname "$D")"; git mv "$S" "$D"; done git ls-files -- :/:*/ahb/apb/pwm-tacho-controller@1e786* | while read -r S; do D="$(echo "$S" | sed -E 's|ahb/apb/pwm-tacho-controller@1e786000|ahb/apb@1e780000/pwm-tacho-controller@1e786000|')"; mkdir -p "$(dirname "$D")"; git mv "$S" "$D"; done sed -Ei 's|ahb/apb/|ahb/apb@1e780000/|g' meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-quanta/meta-f0b/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-quanta/meta-q71l/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend sed -Ei 's/i2c-bus@/i2c@/g' meta-ibm/dynamic-layers/meta-openpower/recipes-phosphor/vpd/openpower-fru-vpd_%.bbappend meta-ibm/meta-palmetto/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-ibm/meta-romulus/recipes-phosphor/logging/files/callouts.yaml meta-ibm/meta-romulus/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-ibm/recipes-phosphor/chassis/vrm-control/ibm-ac-server/ir35221-unbind-bind.sh meta-ibm/recipes-phosphor/fans/phosphor-fan-presence-config/swift/config.yaml meta-ibm/recipes-phosphor/logging/ibm-logging/ibm-ac-server/policyTable.json meta-ibm/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-quanta/meta-f0b/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend meta-quanta/meta-q71l/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend sed -Ei 's|/ahb:apb/|/1e780000.apb/|g' $(git grep -lE 'ahb:apb/.*1e78') sed -Ei 's|ahb:apb:i2c@1e78a000|1e780000.apb:bus@1e78a000|g' $(git grep -l ahb:apb:i2c@1e78a000) sed -Ei 's|ahb:apb|1e6e0000.apb|g' meta-phosphor/recipes-phosphor/video/uart-render-controller/uart-render-controller.service git ls-files -- :/:meta-ibm/*/ahb--apb/* | while read -r S; do D="$(echo "$S" | sed -E 's/ahb--apb/1e780000.apb/g')"; mkdir -p "$(dirname "$D")"; git mv "$S" "$D"; done; sed -Ei 's/ahb--apb/1e780000.apb/g' $(git grep -l ahb--apb -- meta-ibm) git ls-files -- :/:*i2c-bus* | while read -r S; do D="$(echo "$S" | sed -E 's/(1e78a..0).i2c-bus/\1.i2c/g')"; mkdir -p "$(dirname "$D")"; git mv "$S" "$D"; done; sed -Ei 's/(1e78a..0).i2c-bus/\1.i2c/g' $(git grep -lE '(1e78a..0).i2c-bus') ``` What couldn't be automated was cleaning up the ibm-logging policy table, which had many duplicate keys that needed manual inspection to remove. It's worth noting that even for the remaining, non-duplicate keys, the sysfs paths are not correct: The physical address of the I2C controllers needs to map to the assigned device index, but in the file they all have address 1e78a100 despite changes to the device index. From eslint in CI: ``` meta-ibm/recipes-phosphor/logging/ibm-logging/ibm-ac-server/policyTable.json 9999:10 error Duplicate object key json/* 10020:10 error Duplicate object key json/* 10041:10 error Duplicate object key json/* 10062:10 error Duplicate object key json/* 10083:10 error Duplicate object key json/* 10104:10 error Duplicate object key json/* 17097:10 error Duplicate object key json/* 17118:10 error Duplicate object key json/* 17139:10 error Duplicate object key json/* 17160:10 error Duplicate object key json/* 17181:10 error Duplicate object key json/* 17202:10 error Duplicate object key json/* 17223:10 error Duplicate object key json/* 17244:10 error Duplicate object key json/* 17265:10 error Duplicate object key json/* 17286:10 error Duplicate object key json/* 17307:10 error Duplicate object key json/* 17328:10 error Duplicate object key json/* 17349:10 error Duplicate object key json/* 17370:10 error Duplicate object key json/* 17391:10 error Duplicate object key json/* 17412:10 error Duplicate object key json/* 17433:10 error Duplicate object key json/* 17454:10 error Duplicate object key json/* 19575:10 error Duplicate object key json/* 19596:10 error Duplicate object key json/* ``` Andrew Jeffery (1): ARM: dts: aspeed: Rework APB nodes Cosmo Chou (3): dt-bindings: vendor-prefixes: add asteralabs dt-bindings: trivial-devices: add Astera Labs PT5161L hwmon: Add driver for Astera Labs PT5161L retimer Potin Lai (2): ARM: dts: aspeed: catalina: add pdb cpld io expander ARM: dts: aspeed: catalina: update io_expander7 & io_expander8 line name Rob Herring (Arm) (1): arm: dts: aspeed: Use standard 'i2c' bus node name Change-Id: I32ca7579eabd59ed20da3f481da687589a361763 Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2023-11-25treewide: add scarthgap to LAYERSERIES_COMPAT2.16.0-devPatrick Williams2-2/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I28ee50fa55ae47dd7fd8c99f8f6db8f5f6dfa53d
2023-11-24treewide: add nanbield to LAYERSERIES_COMPATPatrick Williams2-2/+2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I85272779478b66452acd11be93f5fea99e4c3a34
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-07-20ipmi-fru-parser: srcrev bump 06514028f8..7153343816Andrew Geissler1-4/+2
Patrick Williams (6): clang-format: copy latest and re-format writefrudata: remove vla strgfnhandler: suppress unused parameter warnings frup: suppress stringop-truncation warning scripts: accept absolute paths to YAML build: enable meson builds build: install strgfnhandler into ipmi-providers dir Vernon Mauery (1): Set new maintainer as Patrick Williams Willy Tu (1): fru-parser: Remove the use of mktime Switch to Meson. Change-Id: Iec9c41cc17a72f84248b8cd75f70353e053f17e2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-12Revert "Add socket-id for the first console"Andrew Jeffery1-1/+0
This reverts commit ec7cab9378f548e94ee4af83946b2583d1fc7194. ec7cab9378f5 ("Add socket-id for the first console") was only a partial fixup of the obmc-console configurations found in the tree. For historical reasons not all platforms that support multiple consoles install a client configuration file for all consoles. Instead they relied on some default behaviour that was removed in obmc-console's 4e7186918599 ("Fixed broken dbus interface for multiple consoles"). Applying the configuration changes in the manner of ec7cab9378f5 ("Add socket-id for the first console") resulted in an asymmetric configuration between the client and server, breaking some SSH SOL instances. As of ae2460d0b8e8 ("obmc-console: Provide a default value for `console-id`.") in obmc-console the requirement to specify `socket-id`[^1] is lifted. Instead, the configuration can choose to override a default value. This restores the original behaviour and unbreaks SSH SOL. [^1]: Now an alias of the `console-id` configuration key Websocket and IPMI consoles remain broken. A fix is under development that also takes a proper approach to supporting multiple consoles in bmcweb, and the same solution pattern can be applied in ipmid. More discussion of the problems involved can be found here: https://amboar.github.io/notes/2023/05/08/happenings-in-obmc-console.html Change-Id: I274284c791758f336da6d6301dc523bac2b5dd69 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2023-04-21Add socket-id for the first consoleNinad Palsule1-0/+1
This drop adds socket-id for first console. This was left out before but with the new design this parameter is required and enforced by obmc-console code. It is decided to set "socket-id = console0" initially because that is the current path used by bmcweb but in future you can change this value to whatever is appropriate. The console information is now available through the DBUS interface. Each console server register it's object path on DBUS. The leaf node of the object path is used to create a console path. For example in the following console0 the leaf node "console0" is used to make up the console path and the GUI will use console path "/console/console0" to connect to the console. busctl tree xyz.openbmc_project.Console.console0 `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/console `-/xyz/openbmc_project/console/console0 Here is a discord thread where new design was discussed. https://discord.com/channels/775381525260664832/1083551792094249051 Tested: Tested on the rainier system. Related commits: 1) phosphor-dbus-interface: https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/61486 2) obmc-console: https://gerrit.openbmc.org/c/openbmc/obmc-console/+/62496 3) bmcweb: https://gerrit.openbmc.org/c/openbmc/bmcweb/+/62525 Change-Id: I5fd06f3aac69872a3e5032d592a9b59711795cfe Signed-off-by: Ninad Palsule <ninadpalsule@us.ibm.com>
2023-04-20meta-ingrasys: fix shellcheck issuesPatrick Williams3-20/+19
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5fd106fcc9de9895bc0d79f265e5c0ab06ee624a
2023-01-13yocto:mickledore: add support for new yocto layerAndrew Geissler2-2/+2
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8e54833ac78e540e9dd5011533d53ff9a3af6763
2022-11-02meta-google: systemd: Enable timesyncd by defaultWilliam A. Kennington III2-7/+0
This enables timesync support for the gbmc distro. Change-Id: Idb653e6b98a347b5d8c3a0b3a16c6a4abbe268ac Signed-off-by: William A. Kennington III <wak@google.com>
2022-11-02meta-ingrasys: Add Google OWNERSWilliam A. Kennington III1-0/+3
The only machine in this layer is the google / rackspace zaius system so we should have maintainers that own in. Change-Id: I4ba35e53efaa4eb0d4b824e0fc3c0edb5d6f9e9a Signed-off-by: William A. Kennington III <wak@google.com>
2022-10-13treewide: remove pointless abstractionsBrad Bishop1-1/+1
All of these abstractions have exactly one implementation. Remove the indirection to improve at a glance comprehension. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I5d701aff6d0876fa3b2d16c841cbdcb0433b221f
2022-09-30add langdale to compatible layerAndrew Geissler2-2/+2
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-06-21phosphor-host-ipmid: srcrev bump 33d90e182d..0e7a8af0e5Andrew Geissler1-3/+3
Harvey.Wu (2): dbus-sdr: fix SEL record Generator ID to fit SPEC dbus-sdr: fix the vector size in sdrWriteTable and sdrStatsTable Jian Zhang (1): Add data types to Value to extend setDbusProperty Vernon Mauery (1): fix header install Willy Tu (4): cleanup: Remove all warning errors for the Meson build support build: Add meson build for phosphor-host-ipmi build: move all shared_library/module to library with version suffix build: Remove dynamicsensor library if it is not enabled Change-Id: I92503c6625d1ec2bf88c0a28afac9b4eeb8fbd75 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Willy Tu <wltu@google.com>
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-02-26treewide: support yocto kirkstone releasePatrick Williams2-2/+2
* Deprecate N-1 release (hardknott). * Enable N+1 release (kirkstone). Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
2022-02-18treewide: fix append/remove directivesPatrick Williams1-2/+2
As mentioned by I970e06ca6f9d0a9792af122eb25da1bb9a06f058, append and remove directives with '+=' are no longer valid Yocto syntax and raise a warning. See https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n40 One interesting caveat has to do with the difference between "append" and "+=". foo:append = "a" foo:append = "b" Results in `foo = "ab"`, but foo += "a" foo += "b" Results in `foo = "a b"`. When `:append +=` is used it has behavior like the `+=` operator. Therefore, in some cases we need to insert additional whitespace after the `:append = "` to ensure concatenation behaves as expected. I've manually reviewed the results to ensure there is no ill side-effects from an additional space potentially being added. Fix up the entire tree with the following one-liner (and similar for `remove`): git ls-files -- ':!:poky/**' ':!:meta-security/**' \ ':!:meta-raspberrypi/**' ':!:meta-openembedded/**' \ | grep "\.bb" | xargs grep -l ":append.*+=" \ | xargs sed -i 's/:append\(.*\)+=\([^"]*\)" */:append\1=\2" /' or ... | xargs grep -l ":remove.*+=" \ | xargs sed -i "s/:remove\(.*\)+=/:remove\1=/" Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iea6235e7c76e252f4d473652957c2925f6b8845a
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-02Remove BBLAYERS_NON_REMOVABLE variableAlexander Filippov1-13/+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-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 Williams4-8/+8
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 Williams2-2/+2
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-ingrasys: meta-zaius: Cleanup for Yocto override syntax changeBrandon Kim20-39/+39
Cleanup with ``` convert-overrides.py meta-ingrasys git grep -l _zaius -- meta-ingrasys \ | xargs sed -i 's/_zaius/:zaius/' ``` After cleanup ``` $ git grep "_[a-z0-9_/-]*[ :]" -- meta-ingrasys | grep '.bb' meta-ingrasys/meta-zaius/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend:# compose_list is not defined immediately so don't use := ``` Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ib2da97530167688313ac16aedd69168137788c86
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-06hardknott: yocto releaseAndrew Geissler2-2/+2
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-02-23zaius: remove empty distro indirectionPatrick Williams2-2/+1
Most openpower machines use DISTRO="openbmc-openpower" but Zaius has a "openbmc-zaius" distro config file. This config file has nothing except an inclusion of the openpower one, so remove this useless indirection. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I58a5c8b8990f4ba2d18df1a4c731a5134e373f87
2021-02-23ingrasys: zaius: move mac2 to machine configPatrick Williams2-1/+2
We have a distro feature used within u-boot-aspeed to control the use of MAC2. This is effectively a function of the machine and not a function of the distro. Move the 'require' statement from the openbmc-zaius distro into the zaius machine config to reflect this. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I56a6f57b26915908b5c05bc922e54e764cf72300
2020-11-22meta-ingrasys: 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-ingrasys rev: 7dfbc01f6787cf41bf9be2bd0f5b3c46ce710016) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I359e4ce2c8dcbcfbe77bea3c36cc38398a60c6ba Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-06meta-ingrasys: 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-ingrasys rev: 52368129e9b624f9acd98c6156ea7a5d6d21ba4f) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If78b0ef8b9db95b8af2254d4b299a6c28e262044 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-03Use correct type for Dbus sensor interface in IPMI sensors YAML filesKonstantin Aladyshev1-7/+7
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-ingrasys rev: a77281516cf6aa609bb64196b6f48dbf0c52d725) Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Ic14b9488d4da964a1d48052d9a8b334dbb753996 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-02zaius: Enable 7segKun Yi1-0/+1
Enable the postcode-7seg support as part of phosphor-host-postd. (From meta-ingrasys rev: b23cce18cfd15c88984c6ed781c75d926ae381c5) Signed-off-by: Kun Yi <kunyi731@gmail.com> Change-Id: Iec63f90460e6b4fd711b256bac0ee781b5535a0d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-29phosphor-settings-manager: remove override for Time.OwnerPatrick Williams1-6/+0
Time.Owner has been removed from phosphor-dbus-interfaces so this override is no longer appropriate. (From meta-ingrasys rev: 5d9fdf55c5d0400cfb92b27a9a5e4755e4c1e0c5) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iaa96326d0f624df72054b0be53698f85d3d48fac Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-28meta-zaius: Remove mention of vcs-workaroundJoel Stanley3-6/+1
This was a P9 DD1 workaround. These systems are no longer supported and are not found in the wild, so the workaround has been retired. Zaius opted to use it's own application for vcs control. We can now add that directly instead of overriding vcs workaround with vcs control. (From meta-ingrasys rev: 721db18e94f400a0b81d4a92ad2336be76fe1a6d) Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I4e9b26e5791a9b1dc8a5de343e52d5859154330a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-16dunfell: add support for new layerAndrew Geissler2-2/+2
(From meta-ingrasys rev: f6f1bf099107971f737a87b8fd4f85fadc0a3e78) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: If877cad79cb8f581c1b28e012837402e5e73d956 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03meta-ingrasys: remove unused zaius-config recipePatrick Williams1-6/+0
(From meta-ingrasys rev: 3ffec70944abf2a222f8a57839584519fd4efd92) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ifedf4a3183af5ba3269b7edc28087e0ebd650528 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-12-16Revert "Fixup hwmon filenames"Brad Bishop3-3/+3
This reverts commit 66419549bc438ce800b9149ccae0ef02bf7e3bca. This patch is still under development and as is breaks the build. (From meta-ingrasys rev: df05e2d9f5843abf8cf4ef81a6b42752475ad6d8) Change-Id: I2158c28a2033c2bcf5f8a9cded8e345e39d5df6b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-12Fixup hwmon filenamesWilliam A. Kennington III3-3/+3
Our previous start_hwmon.sh script was not escaping the filenames properly, resulting in configuration filepaths that differed from the actual filepaths. (From meta-ingrasys rev: 66419549bc438ce800b9149ccae0ef02bf7e3bca) Change-Id: I4d7c634c8cbe0987ae4407d9fd1431ff16064119 Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>