summaryrefslogtreecommitdiff
path: root/meta-openpower/recipes-bsp
AgeCommit message (Collapse)AuthorFilesLines
2021-12-21openpower: libekb srcrev bump c1d1ff7f15..9a8b5a419f2Jayanth Othayoth1-1/+1
rajerpp1 (2): libekb: Removing HWIDs which are not handled now libekb: Special error handling for clock errors Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Iabaf972e638f2527846d3a9a32bb4e2a2560bd0c
2021-12-21openpower: pdbg: Bump version to v3.4Joel Stanley1-1/+1
Changes: - Add more p10 hardware support (dimm, mem_port, oscrefclock, tpm, nx) - Add i2c bus implementation for generic i2c targets - Implement (nest and core) htm for P10 Change-Id: Id1250ab557e4a73f90a1002f8a00b8e0af6438c0 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-12-08openpower: pdata devtree file based attribute override supportJayanth Othayoth1-1/+2
attributes tool enabled to track the updates to attributes done using "write" command. This features requires environment variable PDATA_ATTR_OVERRIDE is defined and is pointing to a file path that can be appended to. This commits add support for setting shell context environment variable to enable attribute override for devtree attributes. Refer gerrit review for details https://gerrit.openbmc-project.xyz/c/openbmc/openpower-proc-control/ +/49298 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I744b86018440b6626307d447934152c978f6bd4b
2021-12-08openpower: pdata srcrev bump ..b2c92eff16Jayanth Othayoth1-1/+1
Amitay Isaacs (1): attribute: export attribute to override file during write Jayanth Othayoth (1): Revert "Revert "data: p10: Changed default value as 1 for DISABLE_SECURITY"" Ramesh Iyyar (5): data: p10: Added the OSCREFCLK target data: p10: Added the POSITION attribute scripts: attribute: xml: Added notRequiredInDevTree tag support scripts: genDTS: Added the OSCREFCLK target under the I2C target data: p10: Added clock target support for Rainier system Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Ib3bc7cd0d784ed009ef783d2ec6e0e2fa1aaeefe
2021-12-03openpower: libekb srcrev bump 5ac6a46364..c1d1ff7f15Jayanth Othayoth1-1/+1
Jayanth Othayoth (2): plat: remove unused procedure callouts plat: update procedure callout strings with BMC defined names Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I808527a61586d9454b4650bd1ba51372c62836c3
2021-12-03openpower pdata srcrev bump ..79da01b670Jayanth Othayoth1-1/+1
Amitay Isaacs (7): libdtm: Optimize node search by path libdtm: Mark unmutable arguments with const libdtree: Add device tree library for attribute manipulation attribute: Archive the original attribute tool implementation attribute: Add new implementation based on libdtree attribute: Skip attributes for unmatched target for read command tests: Fix the attribute values for complex attribute Jayanth Othayoth (2): data/p10: Add devtree host reboot preserve attribute list Revert "data: p10: Changed default value as 1 for DISABLE_SECURITY" Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Ia753c160e4d45fdd3168fe384cec47dd3ae91d0e
2021-11-17openpower: ipl version bump ..11775c0f84Jayanth Othayoth1-1/+1
Jayanth Othayoth (1): libphal: getLocationCode API support Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I73fc7219b3b44a4f81a610a68b539ec13ed3b508
2021-11-12openpower: ipl version bump ..65468bce95Jayanth Othayoth1-1/+1
Jayanth Othayoth (2): libphal: utility function to get target from bin path libphal: deconfigureTgt API support Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I82e0b99496cf66b29aea8b058e13b0730d113e77
2021-11-03meta-openpower:meson: pkgconfig inherit requiredAndrew Geissler1-1/+1
Upstream yocto made a change recently that brought to light a bug in some of our recipes. If your meson makefiles utilize the dependency() function then the recipe must also include pkgconfig. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I48c062226275c6e110bde27e815d2643c369c14c
2021-11-02openpower: guard version bump ..3fa0e5e312Jayanth Othayoth1-1/+1
Adriana Kobylak (1): Update GUARD PATH Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I018b931f5d15e0841f623958ba88c6fe3cea3876
2021-10-27openpower: libekb: srcrev bump 742ec3d703..5ac6a46364Jayanth Othayoth1-1/+1
Jayanth Othayoth (4): ekb: Update EKB to ..a9996cb686 hwpf: fix crosses initialization error in switch case libekb: Updated SBE Error xml list ..a9996cb686 libekb: Added sbe hreset hwp support Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I405d17e7a0bde2222274d35b2cb00f9e8fcc283d
2021-10-26treewide: clean up recipe checks in OBMC_MACHINE_FEATURESPatrick Williams1-1/+1
OBMC_MACHINE_FEATURES is a variable that probably shouldn't even exist as all it does is provide a level of indirection to the real MACHINE_FEATURES (in phosphor-base.inc, OBMC_ is added to the base). There are a few recipes that have developed checks against OBMC_MACHINE_FEATURES for enabling recipe-level features when they should be checking the standard MACHINE_FEATURES variable. Clean up this recipe-level indirection. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id437b93aa6c1de9a27726eea9b7e2c30e71ab3bf
2021-10-26openpower: ecmd-pdbg initial commitJayanth Othayoth1-0/+23
The code in this repo provides the glue code necessary for pdbg to be used as an eCMD plugin. Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Id1e621025d3ee2f536bf0936533068dc202c0c65
2021-10-26openpower: ekb: srcrev bump eba08e93a7..a9996cb686Jayanth Othayoth1-1/+1
Commit included - Added sbe hreset procedure. - refershed sbe error xmls with latest. Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I9ad4c08aeed55d3345c5523e1e05c9ecc51a08f0
2021-10-20pdata: srcrev bump b05eb90ad1..9d6b94bcd5Jayanth Othayoth1-1/+1
Jayanth Othayoth (1) build: Added bootstrap script Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I2af69eab47200f4f0f05d0a12f9989197c34d37c
2021-10-20openpower: guard version bump ..ebb9771055Jayanth Othayoth1-1/+1
Chirag Sharma (5): libguard: Adding space check before creating record libguard: Add support for guard record history libguard: Storing oldest resolved record's position libguard: Adding user defined exceptions tool: Changes in options of guard tool Ramesh Iyyar (7): libguard: Throwing exception on create failure libguard: Return created record data libguard: Added helper function to delete guard record libguard: Using helper function to delete guard record libguard: Throwing exception on delete guard record libguard: Added a clear() interface to pass record id libguard: Added a interface to get guard file path Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I54fe14b1ada8cbaa54ea126c63c5ac79fff86ca7
2021-10-20openpower: ipl version bump ..d3d5471263Jayanth Othayoth1-3/+3
Jayanth Othayoth (15): libphal: Add exception class support for pdbg utils libphal: isTgtPresent API support libphal: isTgtFunctional API support libphal: isPrimary processor API support libphal: getPrimaryProc API support libphal: getCFAM API support libphal: putCFAM API support libphal: sbe setState API support libphal: sbe getState API support libphal: sbe isPrimaryIplDone API support libphal: sbe isDumpAllowed API support libphal: sbe getDump API support libphal: isSbeVitalAttnActive API support libphal: update in pdbg init function libphal: fix validateSBEState function build issue Added pdata dependencies to enable phal devtree custom api's Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Ibb4d487989ba0c2c2edd965f5bf88bc8f060e017
2021-10-12openpower: ipl version bump ..ea1162e71bJayanth Othayoth1-1/+1
Dhruvaraj Subhashchandran (1): libphal: Add support for SBE dump collection Jayanth Othayoth (4): libphal: SbeError class updates libphal: pdbg init api support libipl: MPIPL skip sbe state updates in updatehwmdel step libipl: refactor mpipl_continue chip-op Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Ic4a7bc5cf74d54c05ced2707ac9ee10e126c9c00
2021-10-06libekb: srcrev bump a68c2f6102..742ec3d703Jayanth Othayoth1-1/+1
Commits included Dhruvaraj Subhashchandran (1): libekb: Add support for SBE dump HWPs Jayanth Othayoth (1): ekb: Update EKB to hw093021a.opmst10 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I71b95167c67ca55affb30a9316eecb6b1a2d3c4e
2021-10-06ekb: srcrev bump c14cb37697..eba08e93a7Jayanth Othayoth1-1/+1
Commits included - RAS Review updates - fix build issues related to xml syntax - Release tag & head commit information updated for hw093021a.opmst10 - SBE Dump procedure updates. Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I53873c603c0441a11611eec057392854075a5eba
2021-09-29openpower: phal utility library supportJayanth Othayoth1-1/+1
phal(power hardware abstraction layer) utility library Utility library functions for PHAL repository provided APIs. This is mainly intended for advanced RAS support for phal provided APIs in a common place. Also provides c++ wrapper around some of libpdbg functionality. This commit enabled build support for libphal libarary source code is available here https://github.com/open-power/ipl/blob/main/libphal/ Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I976133727ae7b632baf5d1a38c6c433b9c8b641c
2021-09-29openpower: ipl version bump ..2af23633e2Jayanth Othayoth1-1/+1
Changes: Jayanth Othayoth (17): libipl: fix sbe_start error handling issues libphal: initial commit libphal: Create TemporaryFile class libphal: exception based error handling infrastructure libphal: error log infrastructure support for SBE utils libphal: Add buffer management support libphal: initial commit for pdbg utility functions libphal: validateSBEState api support libphal: captureFFDC api support libphal: mpiplContinue api support libphal: getTiInfo api support libphal: mpiplEnter api support libphal: update on pdbg_target type declaration syntax libipl: Add helper function to support SBE state management libipl: Step 0 SBE state management updates libipl: pre-poweroff path SBE state management updates libipl: rename IPL_ERR_CFAM to IPL_ERR_FSI_REG Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I2fbfadbc2a965e9d54eea238436d1e98670a981d
2021-09-10openpower: bump ipl to 5edb65dJayanth Othayoth1-1/+1
Amitay Isaacs (2): libipl/p10: libpdbg api always returns -1 on error libipl: Improve naming IPL_ERR_NILL to IPL_ERR_OK Chirag Sharma (1): libipl: Check to not apply resolved guard records Jayanth Othayoth (6): libipl: Add support for hostboot attribute overrides libipl: Add support for disabling denial list based SCOM libipl: pdbg v3.3 related changes libipl: Add sbe ffdc data logging support libipl: Log FFDC data if mpipl_continue chip-op fails libipl: ipl_error_callback_func prototype change Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I817d48e88a484b70119314f3e54e5029c233c632
2021-08-11meta-openpower: prep for new override syntaxAdriana Kobylak8-15/+15
Change-Id: I5ca16c6fa7bc616bfa9bc41c4f86d32fd92b0287 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-08-09ekb: srcrev bump 52e5c0038a..c14cb37697Jayanth Othayoth1-1/+1
Commit included. - Release tag & head commit information updated for hw071421a.opmst10  - Gard the clock on CBS_NOT_IN_IDLE_STATE error                        - SW528598 - Unmask MCFIR bit 5                                        - Supporing 48 bit target type for SBE FFDC                            - RAS Review: p10_do_fw_hb_istep.xml                                   - RAS Review: p10_ram_errors.xml                                       - RAS Review: p10_block_wakeup_intr_errors.xml                         - RAS Review: p10_qme_sram_access_errors.xml                           - RAS Review: p10_query_core_stop_state.xml                            - Release tag & head commit information updated for hw071221a.opmst10  - RAS Review: p10_scomt_errors.xml                                     - p10_fbc_eff_config -- calculate tsnoop based on core, mc, pau freqs  - RAS Review: p10_query_host_meminfo_errors.xml                        - p10_sbe_scrach_regs -- raise DD2 PAU frequency to support high frequency sorts - Define ATTR_MRW_FREQ_SYSTEM_CORE_FLOOR_MHZ for per system control    - RAS Review: p10_qme_customize_errors.xml                             - RAS Review - p10_tod                                                 - Release tag & head commit information updated for hw070921a.opmst10  - Change MFG OMI screen test to use x4 downgrade                       - Add null pointer check to FFDC gathering functions                   - Release tag & head commit information updated for hw070721a.opmst10  - Minor attribute cleanup                                              - Minor attribute cleanup                                              - Add type for MDS Media Controller Device                             - Allow multicast targets for target ffdc in fapi error xml            - Add correct FFDC info for RNG regs                                   - Release tag & head commit information updated for hw070521a.opmst10  - p10_frequency_buckets -- adjust DDR 2933 mesh clock speed constant   - p10_mss_eff_grouping RAS updates                                     - Release tag & head commit information updated for hw063021a.opmst10  - Using uint8_t variable for CLOCK_POS FFDC                            - p10.pci.scan.initfile -- updates for HW 507934                       - P10 Dynamic VIO Setpoint                                             - Release tag & head commit information updated for hw062821a.opmst10  - Adding simple clock detector check                                   - Fix for defect SW521078                                              - QME: enable MMA dynamic mode                                         - Release tag & head commit information updated for hw062521a.opmst10  - PPB HWP: Bug fix in handling unsorted parts                          - P10 RAS Review io_init_done, io_lib, io_power, omi_init, omi_train_check - DD2 updates. For meas seeprom use bkp for all errors as upd is not possible - Release tag & head commit information updated for hw062321a.opmst10  - p10_sbe_gptr_time_initf -- swap PAUC DTS constants                   - Release tag & head commit information updated for hw062121a.opmst10  - Release tag & head commit information updated for hw061821a.opmst10  - DD2 ABUS CCM updates                                                 - RCS Setup Updates Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Ic5b7eb3eca9236d26979fc2e60d498f5e27d6032
2021-08-09pdata: srcrev bump ad43980485..b05eb90ad1Jayanth Othayoth1-1/+1
Amitay Isaacs (4) attribute: Improve usage message for attribute tool attribute: Fix argument check for export command configure: Update version scripts: genDTS: Fix to handle uint16 type attributes Ilya Smirnov (1) data: p10: Add SECURE_VERSION_NUM attribute Jayanth Othayoth (1) Add devtree preserve attribute list Ramesh Iyyar (4) scripts: Updated MRW xml processing scripts data: p10: Added the lcard-dimm-ddimm4u scripts: Add FAPI attributes in more than one MRW target type. scripts: Updated MRW xml processing scripts Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Ie0029444a733bdeb8ced62af77d0f375c085b4da
2021-06-30meta-openpower: Add ipl supportJayanth Othayoth1-0/+23
Library provides support to boot POWER based host. Boot process covers time between power on and running the hypervisor. Also provide istep (Boot step defined by ecmd interface) back-end support. This library provides interface to OpenBMC apps to execute required hardware procedure based istep execution and custom POWER processor based initialisation functions. This requires, - pdbg (harwdare access layer) - POWER devicetree - libekb ( Harwdare procedure support) Repository: https://github.com/open-power/ipl Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I853392a8e6a62cbc9c3135f8fc23b479922ad927
2021-06-30meta-openpower: Add guard supportJayanth Othayoth1-0/+19
guard repository provides the libraries and tools to create/list/delete guard records, which is stored in BMC flash space. This library currently supported OpenPOWER based systems guard format owned by hostboot. Repository: https://github.com/open-power/guard Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I2b6e3be8492795be40a862fad6edbae3e8b205b5
2021-06-30meta-openpower: Add pdata supportJayanth Othayoth3-0/+55
OpenPOWER systems uses devicetree based data structure to manage CEC hardware information. Devicetree data modelling mainly includes the hardware topology and attributes, which includes the configuration data. Devicetree data base is constructed during the build time, based on the System specific MRW and hardware team provided attributes, and packaged as part of Hostboot image. pdata provides tools and libraries to manage the phal(power hardware abstraction layer) devicetree. Repository: https://github.com/open-power/pdata Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I2a7186210ca46d8ee99b457a2b6af61a9a8d8f96
2021-06-30meta-openpower: Add libekb supportJayanth Othayoth1-0/+27
This library contains a copy of hardware procedures provided by the hardware team and OpenBMC specific platform code. The platform code is essentially required for the hardware procedure execution. Library from this repository will provide interfaces for executing the HWP from the OpenBMC. libekb library is based on Hardware Procedure Framework. Framework: This is the set of code providing an environment in which the Hardware (HW) Procedure runs. It consists of: - A standard set of interfaces which the HW Procedure is designed and coded to use - A platform/environment-specific implementation of the standard interfaces which allows the common HW Procedure to run in the target environment. Hardware Procedure (HWP): This is the common code which runs inside a Framework and provides the hardware-specific logic for controlling some portion of the system hardware. Invocation Environment: This is the platform/environment-specific path(s) in which a HWP may be executed. This commits enables the HWP execution environment with help of OpenPOWER pdbg and pub-ekb repository provided back-ends. Repository: https://github.com/open-power/libekb_p10 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I11e2fb6b9f94f87dad17173d20f7ca2e0e96af41
2021-06-30meta-openpower: Add ekb supportJayanth Othayoth2-0/+48
Hardware procedures(HWP) are C++ code that does all of the hardware accesses required to test and initialize the POWER based host hardware. Also provides the xml files, which includes initialisation data. These procedures and xml files are provided by the hardware team. This commits enables the POWER based devicetree build, to add support for the required HWP attributes xml file with respective directory structures. Repository : https://github.com/open-power/pub-ekb Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I216fa41f8994562f24adcea9b349494fa3db70e9
2021-06-30meta-openpower: pdbg version bump v3.3Jayanth Othayoth1-1/+1
PDBG release 3.3 Changes: - Implement p10 thread controls - Update p10 sbefifo chip-ops - For p10 switch default backend to sbefifo - Separate sbe api into new header libpdbg_sbe.h Added version bumps to fix build dependency - openpower-hw-diags - openpower-proc-control Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Ib667c87792f31a8c9475420ba653b441224e9a52
2021-05-25openpower: bump croserver to 57b4010Andrew Geissler1-1/+1
A needed fix was merged recently which is required for our latest rebase of upstream yocto to work. See the following for more details: https://github.com/open-power/eCMD/issues/451 Ed Tanous (1): Fix format security in eCMD Jason Albert (1): fix deepcopy on templated structs (#440) Kahn Evans (9): Fix spr access when p0 is deconfigured Update from ekb Add ECMD_INACTIVE_THREAD return code, and check for it in command line code Update to resolve warnings Add multicast checkrings modes Update eCMD version to 14.21 Add additional chipunits in chiplet check logic Add new target relationship Minor updates from ekb Steven B. Janssen (2): additional paths for an increase in devices update i2c instruction to allow the caller to specify a force of a slave address Steven Janssen (14): server enablement for xdma access update .gitignore Remove unnecessary includes update RUN_CMD to use pipe,fork,dup2,execl,select,read instead of popen. This allows the server to better handle the STDERR output that can cause issues when running commands remotely Update default constructors to initialize all elements of the class Resolves issue where some elements are eval'd later with bad data in them. resolve compiler warning Wstringop-truncation by copying n-1 string size Add ability to specify the i2c flags that can be sent to the device driver or plugin. Change default busspeed to unknown so plugin can set appropriate default. Affects cases where we need to know something was specified on the command line vs just being set. update api to have a default value of 0 resolve issue with no param for i2cFlags update dump command to allow for hex dump instead of defaulting to enums Resolve issue where a reset of the FSI2PIB is necessary but didn't work properly. resolve compiler issue by handling what handle really is here resolve compiler issue by handling what handle really is here remove requirement for aspeed-xdma.h file for builds sangram alapati (9): changed the ecid output format for p10 use last 2 chars to check the wafer type change the # of bits we check fix for using large dump files on aix code cleanup removing slibclean as it can't be executed on aix changes to p10 help text added cachecore fixed the right target to loop upon while grabbing the data Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I4ecdafe51617c1758c5ee94bd9c72bac3363cb83
2020-12-22pdbg: Move to v3.2Joel Stanley1-1/+1
libpdbg: - Added support for P10 chip - Implemented new chip-ops for P10 libpdbg fixes: - register access in sbefifo driver - thread status in sbefifo driver pdbg fixes: - drop special spr access commands - getspr/setspr uses spr names (From meta-openpower rev: 8f73ef738b986950eb268c129f48a6eb805feee0) Change-Id: Id264a39de1fcefa4b1df837d27075e8a8982f60a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-17openpower: update croserverBrad Bishop1-1/+1
Updates since last time: Jason Albert (3): Big update to ecmdDllSpy.C Fixed in memory spy db performance Added getSpyImages support Joachim Fenkes (2): pyecmd: Data buffer improvements pyecmd: Check keyword arguments in Target constructor Kahn Evans (4): Fix data input on gpr/fpr when using chip/chipunit input Fix for finding latch array entries in hash file in full lookup mode Fixes for latch caching...it wasn't working right before Update to valid owners/contacts Lakshminarayana R. Kammath (1): Use python3 env Matt K. Light (2): enable support for fapi2::Target::reduceType() cipinstruct stop should call spwkup enable before stopping Steven Janssen (3): Update version to 14-20 Update fsi locations for new bmc code Update spidev path locations for bmc sangram alapati (2): updated the help text for stopclocks updated the help text for stopclocks (From meta-openpower rev: 5f3950154f13437bd4e4223f07e063645f36d332) Change-Id: I7eee38e8cca5cdcad3a22e9c8fde77f7227b297f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-07-23meta-openpower: fix pflash runningAlexander Filippov1-0/+5
With the latest changes in poky `libflash.so` is not installed in the rootfs. It causes the error like this: ``` pflash: error while loading shared libraries: libflash.so: cannot open shared object file: No such file or directory ``` This commit restore the missing symlink. Tested: `libflash.so` present in the `/usr/lib` and `pflash` works fine. (From meta-openpower rev: 66c74979d5992f466f243e4b1505d93a4d961744) Change-Id: I84d015bd145ad0d30cd84d1b76f9cb02262438e2 Signed-off-by: Alexander Filippov <a.filippov@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10pdbg: Move to v3.0Joel Stanley1-1/+1
The 3.0 release follows from the 2.5-rc1. The changelog for 3.0 is as follows: Major upstream change was the split out the access method from the device-tree representation to enable backend agnostic system device trees. Other notable features: - Swift support - get/putmempba - Added SBEFIFO backend - Expanded use of SBEFIFO chipops (From meta-openpower rev: 9c2e7744375b992d4cc7cca91d9dc9009f2b76e9) Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I3a1ed00c0b3bacc64312fe6c09b4b5b13e691772 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-30python3: ecmd croserver supportAndrew Geissler1-1/+2
This picks up a variety of fixes needed to support python3 within croserver. python3 is now required for the upcoming yocto upstream release (dunfell) The new distro package is required in the move to python3 for croserver (From meta-openpower rev: 6577f7133d1ca8d1e3ff725bf1be048798b9edf6) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I00c6283279f32359827837391e09db16213c2c62 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14pdbg: Update to v2.5-rc1Joel Stanley1-3/+1
Major upstream change was the split out the access method from the device-tree representation to enable backend agnostic system device trees. Other notable features: - Swift support - get/putmempba (From meta-openpower rev: 7781319d72b706d900253bc1ca730b44d2ca11f7) Change-Id: I94b4c36427632fa13ea4cf582b4fce22e433c54e Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03croserver: build using python3Patrick Williams1-2/+4
(From meta-openpower rev: 80327188d074d91d52500647bb09d810b5e5b2e6) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I64f184cc47835e0afc9663f9d377eddd5704729c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-26openpower: Build libecmd, capi, ext and stub librariesLakshminarayana R. Kammath1-0/+61
1) ecmd-pdbg(edbg) will use this as depends 2) All the ecmd, stub, capi & ext headers are copied to standard location instead of module specific path 3) help text files are copied under /usr/share/libecmd/help (From meta-openpower rev: 7814d18487f8836b40fb6fedb7c001250400cbc4) Signed-off-by: Lakshminarayana R. Kammath <lkammath@in.ibm.com> Change-Id: Id1e516873a1d6a2c4c24e7b709861a274d8cc6b2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-24croserver: Fix systemd address familiesJoel Stanley1-1/+1
The croserver opens a network socket, not a unix socket. OpenBMC will hit this and cause croserver to exit if run on a kernel with seccomp system call filtering enabled. (From meta-openpower rev: 4e016c59f027ba09a9a4efe363e531c37f4bbb69) Change-Id: Ib6bd0bb5d2e9f87eca5f1e61210511f49544fc01 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-01-20meta-openpower: croserver: use pythonnativeBrad Bishop1-1/+3
croservers config script requires python2. Use the yocto built python2 instead of the build host python2, for cases where the build host does not have python2 installed (or env python is python3). (From meta-openpower rev: 1f32015926ead63cea102bbbd67d452e9685f165) Change-Id: I5ef071c141c5b3e3cf2524b5e166bc4891445846 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-01-08croserver: Bump for fsi device path fixJoel Stanley1-7/+2
Upstream now accepts linker flags from the environment, so remove the hard codeded --hash-style=gnu option from the conigure step. Jason Albert (3): Add ecmdChipTarget hash support to pyapi Defined __deepcopy__ functions on classes Added python support for vector<vector<databuffer>> Joel Stanley (2): Fix device paths again server: Fix linking Kahn Evans (10): More complete use of ECMD_REMOVE_SCOM_FUNCTIONS compile flag Use chipUnitNum instead of core in targets Resolve doxygen errors/warnings Adding spy APIs to pass in multiple images Updated query code as well Use const ecmdChipTargets in new APIs update to version 14.19 Revert to checking all return codes instead of just a single one for non-enum retry. Syncing up with what's in Cronus Use system _AIX compile flag Lakshminarayana R. Kammath (1): Adding support for LDFLAGS and SLDFLAGS to pickup value from environment Matt K. Light (6): update fapi2::ReturnCode get/putspi get/putspi links and htxt fix doxygen param name fix serverlock authorization storage fix target for ecmdGetPbaUnit (From meta-openpower rev: c02a90c17ab5b19bd1c2d4db3cb5af78ac474b2a) Change-Id: If64c0394ed0d39cac432c205785eb4ce2069d662 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-12-10Revert "Enable ecmd-pdbg for openbmc"Brad Bishop1-19/+0
This reverts commit cdda494596425d01a8fa5e68c428546cc12b67bc. cdda494 breaks the build with errors like: meson.build:89:2: ERROR: Problem encountered: git submodule update of ecmd : FAILED in the do_configure task. A closer inspection of the build process for ecmd-pdbg shows that it does not support offline builds (it attempts to fetch source code and provides no alternative for offline builds) - this is not supported when building with yocto. To build with yocto, anything requiring network access must be done in do_fetch. (From meta-openpower rev: b8c25333b8045b1d576c2e0ef472d9e7260c32ad) Change-Id: I27464cb386e2cff75aa7374e103bef24341842b2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-22Enable ecmd-pdbg for openbmcLakshminarayana R. Kammath1-0/+19
1. Enable ecmd-pdbg to build with openbmc 2. ecmd-pdbg will use newly enabled meson build infrastructure to build 3. Enabled and tested HW access utils like getscom/putscom, getmem/putmem & getcfam/putcfam, etc. (From meta-openpower rev: cdda494596425d01a8fa5e68c428546cc12b67bc) Signed-off-by: Lakshminarayana R. Kammath <lkammath@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I54fcca0de41224c99d6ef8cd88a2a89562056597 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-18openpower: pdbg: Enable native buildRamesh Iyyar1-0/+2
The pHAL infrastructure is expects pdbg to run as part of the build process in order to generate the attributes database. (From meta-openpower rev: 0b1645b540d30b5f76af19d8998a7120b1e116cd) Change-Id: I7fe44768cabbb030d09720c38b0b38ccf30f4fb1 Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-05openpower: skiboot: Bump version to v6.5.1Joel Stanley1-3/+3
(From meta-openpower rev: 27653bb5bb34433743c2b42ff31fec52c4706b15) Change-Id: I22ab48db5097c3a01c1a039ffa6cbc7c54e664ef Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-05openbmc: Add systemd service for croserverJoel Stanley2-0/+19
The upstream application does not ship a systemd service file so we include it in meta-openpower. The service does not have an 'install' section as it should be started on demand by the cronus user. This may change in the future if OpenBMC gains the ability to put itself in a debug state, where starting the croserver will be part of that process. (From meta-openpower rev: c6c86e4602e7d8734e771ee4bf2fb1049acbfb75) Change-Id: I088ae4acfb7a8f039fd9342ba2314255ec7987f1 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-05openpower: Build croserver from eCMDJoel Stanley1-0/+29
This packages the croserver so it can be shipped as part of the image. It should only be started on developer systems, as it listens on a network port without further authentication. The eCMD build process is unique. Due to the way it handles LDFLAGS the recipe passes the GNU hash style to the linker manually. If/when eCMD's build scripts are improved to support the build environment providing extra LDFLAGS this could be removed. (From meta-openpower rev: d02041513915469430aed06ad60804d625331b87) Change-Id: Ic842089770e4f9e0c7e47ba855a074ae6ef70d73 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>