summaryrefslogtreecommitdiff
path: root/meta-openpower/recipes-bsp
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-10-17pdbg: Bump version to v2.4Joel Stanley1-2/+2
This release contains various fixes, and improved support for running the SBE in istep mode. Alistair Popple (5): libpdbg: Fix segfault when auto-detecting host backend libpdbg/host.c: Use reg property index of index to find chip-id libpdbg: Fix pib_to_sbefifo pdbg: Make getmem always hexdump configure.ac: Tag version 2.4 Amitay Isaacs (3): main: sbe_istep takes pib target istep: Add checking for istep major/minor numbers istep: Run all sub-steps if minor is 0 (From meta-openpower rev: b1c73efdc2d7e1ea7b506e1ddb30493aa818bc1d) Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: Ib621492778359205b2eb497de20567454e1d0534 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-03pdbg: Bump version to v2.3Joel Stanley1-2/+2
New features since v2.2: - Support for using the SBE to read/write memory - General SBE chip-op support - Cronus backend - Fixed for clang - Default device-tree selection for applications - Bugfix for newer OpenBMC kernels using alternate FSI paths (From meta-openpower rev: 42f47f251fabfbc1c19d0616a429be48f6a6918d) Change-Id: Id602f80f8fb87b3258c3b4d4bd72a5c2b3f6ecda Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-26pdbg: Bump version to 2.2Jayanth Othayoth1-2/+2
Upstream changes: - api for custom sbe chip-op - SBE chip-op based sreset - sbefifo procedure to get ffdc data (From meta-openpower rev: b91da78f6bbc02f6aee8a16b00ab9ef98c6b0d1d) Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Ic573d66a24b96a183e29f15a9b9dbd4be9d641ba Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-14pdbg: Bump version to 2.1Joel Stanley1-2/+2
Upstream changes: - libpdbg API clean-up - Path based targetting - POWER8 sreset fixes - gdbserver (From meta-openpower rev: b04dd8356006348552b41a81994404299af52a4d) Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I625ef7adceb7b0086c424dfe764ed442528e6a16 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-13skiboot: Move to v6.3 releaseJoel Stanley2-38/+2
Upstream release notes: https://open-power.github.io/skiboot/doc/release-notes/skiboot-6.3.html The stringop truncation warnings were fixed upstream. (From meta-openpower rev: 645eed6d3f0b2f87604e48a9bdf15868e3f84ff1) Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I2b658f56757968c725d2feb600f820d465ee21b4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-11meta-openpower: fix file search pathsBrad Bishop1-1/+1
Typically it does not make any sense to append to FILESEXTRAPATHS. FILESEXTRAPATHS is set in a bbappend when overriding something from another layer. The typical desire will be to make bitbake search for files in the layer with the bbappend and not some other layer earlier in the priority list. Further, appending to FILESEXTRAPATHS will introduce unexpected behavior when multiple layers append the same recipe - layers with higher layer priorities that append to FILESEXTRAPATHS will find their files overriden by files in layers with lower priorities. (From meta-openpower rev: 6e889e3889a474e481dc78890696b922a3bbbafc) Change-Id: I3607828dea6bd16b457ce3de3a26320ac8525f66 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-07pdbg: Bump to latest versionJoel Stanley1-1/+1
Alistair Popple (4): Revert incorrect version of "libpdbg/p8chip.c: release special wakeups for P8" Revert incorrect version of "libpdbg: use MTMSRD opcode rather than MTMSR" Revert incorrect version of "libpdbg/p8chip.c: ram state setup sequence ..." Revert incorrect version of "libpdbg/p8chip.c: Emulate sreset using ramming..." Amitay Isaacs (9): adu: Convert __adu_{get, put}mem_blocksize to adu functions adu: Add read/write methods for adu target adu: Set default blocksize for adu adu: Add new api for memory read/write main: Use new api to read/write memory path: Match targets with dn name correctly tests: Add a test for dn name match path: Avoid a match for nested nodes of the same class tests: Fix the core address calculation Artem Senichev (1): api: Fix API interface for external usage Nicholas Piggin (11): libpdbg: Fix CHECK_ERR macro to evaluate once in error case libpdbg/p8chip.c: read status from correct target libpdbg/p8chip.c: Only write the SP_STOP bit once libpdbg/p8chip.c: release special wakeups for P8 libpdbg: use MTMSRD opcode rather than MTMSR libpdbg/p8chip.c: ram state setup sequence match workbook libpdbg/p8chip.c: Emulate sreset using ramming for active threads libpdbg/p8chip.c: release special wakeups for P8 libpdbg: use MTMSRD opcode rather than MTMSR libpdbg/p8chip.c: ram state setup sequence match workbook libpdbg/p8chip.c: Emulate sreset using ramming for active threads (From meta-openpower rev: 35f5adc0a390d2d398cdcb949b613eeb3d0d25d9) Change-Id: Ia36ba13d8ccf75994f844223bc65d7d8e5798b93 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-05pdbg: srcrev bump 59ebe397a3..deb577949aArtem Senichev1-2/+2
Alistair Popple (20): pdbg/gdbserver: Make ragel optional libpdbg: Add api to get 32-bit device tree property libpdbg: fix a bug in get_class_target_addr libpdbg: Add API to get device tree path and find target via path libpdbg: Add indirect address translation via callback libpdbg: Add xbus hardware unit libpdbg: Remove unused code libpdbg: Make more declarations static libpdbg: Move property code into libpdbg/device.c libpdbg: Rename property functions libpdbg: Rework chip-id functions libpdbg: Rework target addressing libpdbg: Remove old dt_prop functions libpdbg: Rework target compatible libpdbg: Make dt_root private libpdbg: Remove device.h device.c: Fix pdbg_target_address libpdbg: Remove zalloc macro optcmd: Add parser for 8-bit power of 2 integers adu: Add arugments for block size Amitay Isaacs (49): Makefile: Install libpdbg header libpdbg.h Makefile: Keep libfdt sources sorted Makefile: Keep libpdbg sources sorted Makefile: Add missing header file in libpdbg_SOURCES Makefile: Keep pdbg sources sorted Makefile: Add missing headers to pdbg_SOURCES Makefile: Define arch dependent sources explicitly Makefile: Redefine sources required for gdbserver Makefile: Package src/gdb_parser.rl Makefile: Order the libraries for make install to work build: Allow device tree headers to be generated in subdirs tests: Fix the condition to check if bmc is up tests: Update driver to pass test_wrapper argument tests: Exit on first test failure tests: Ensure tests can be run from builddir tests: Log stderr output (if any) on test failure libpdbg: Convert printf to DEBUG statements main: Convert target_selection() to return a boolean util: Move parse_list() into a separate file path: Add device tree path based targeting main: Add an option for path based targetting main: Add explicit probing of selected targets main: Convert -p/-c/-t/-a/-l to path based targets main: Switch to path based target selection main: Fix probe() to print targets correctly tests: Add path based selection tests main: Do not use argv[0] for progname main: Update probe output to display device names libpdbg: Add an api for address translation main: Convert getcfam/putcfam to use path based targeting main: Convert getscom/putscom to use path based targeting main: Convert register functions to path based targeting main: Ignore nodes that do not have class names libpdbg: Split nhtm hardware units for p8 and p9 main: Move device_node setting before parse_options main: Mark print_target static main: Convert getring to path based targeting main: Convert thread commands start/stop/step/sreset main: Convert threadstatus command to path based targeting main: Convert regs command to path based targeting main: Drop unused iterators with callbacks main: Convert htm commands to path based targeting main: Convert gdbserver command to path based targeting main: Drop unused target_select/target_selected functions libpdbg: Fix probing of pib libpdbg: Use index instead of chip-id for id libpdbg: Drop pdbg_target_chip_id() dtc: Drop chip-id property README: Add information about target selection Artem Senichev (1): main: Set I2C backend device specified in arguments Joel Stanley (1): Fix build failure in target detection Nicholas Piggin (1): stack: guess endian for stack frame walking Rashmica Gupta (3): pdbg/gdbserver: Add in basic skeleton for a gdbserver on p8 pdbg/gdbserver: Make gdbserver optional README: Add some gdbserver info (From meta-openpower rev: 16c5b8f97176373b8e91ab2f8e86b6b3dea314d9) Change-Id: Ic03552fc25a7cf4c64796347d38acb50209ea30e Signed-off-by: Artem Senichev <a.senichev@yadro.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-12-17skiboot: fix stringop-truncationsBrad Bishop2-0/+36
These warnings start to occur under GCC8. Submitted to upstream skiboot: https://patchwork.ozlabs.org/patch/1001179/ (From meta-openpower rev: ddbe3f7349269e5b2a94581fd7e5908159fab2e2) Change-Id: I9257e7e37c563d62660980ed07ebba12e828093a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-15skiboot: Bump to 6.0.13Adriana Kobylak1-3/+3
Bump skiboot to 6.0.13 which contains the commit that adds the --skip flag to pflash[0] plus the release notes[1]: [0] 977aa1e pflash: Add --skip option for reading [1] e550528 skiboot v6.0.13 release notes Tested: Copied the built pflash binary to romulus and verified it had the new flag. (From meta-openpower rev: 13f6cad2d40fd06340500348e06097cdfb39eca1) Change-Id: I04d960471e0dfb728774b3eb6b5953c1b5eabcc2 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-30openpower: pdbg: Set PV for git fetcherBrad Bishop1-0/+2
Explicitly set PV according to OE convention. From the "Fetching Code" section of the Yocto Project Development Tasks Manual: Another way of specifying source is from an SCM. For Git repositories, you must specify SRCREV and you should specify PV to include the revision with SRCPV. (From meta-openpower rev: b400ee0dd89004c227d9f1e4bf1458e701ed7553) Change-Id: Ic033541f38417df87dc152fb9759f567f2259bb9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-27meta-openpower: bsp: skiboot: rename recipes as gitPatrick Venture3-1/+1
Rename the skiboot-based recipes as git and modify the PV for skiboot.inc. (From meta-openpower rev: 464edf2aee03db592fce093ef27b8c2902456e92) Change-Id: Ifec88c2be214e2493836e1c49f99f2ec13cfd954 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-26pdbg: Bump to v2.0Joel Stanley1-1/+1
Alistair Popple (1): Bump version to 2.0 Amitay Isaacs (3): script: Mark dtb pointers as extern build: Add explicit dependency of libfdt for libpdbg generate_dt_header: Fix typo (From meta-openpower rev: 354ee8d443f15f9716f04ff3390abb8a69bd3f66) Change-Id: Iecdee14b91332d62fafee40cdcd11773ca369125 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-18meta-openpower: fsidbg: rename as gitPatrick Venture1-0/+0
Rename fsidbg.bb _git per OE norms. (From meta-openpower rev: 369b43c4dea67b02b8c68a37c2a2dc0c40605c6e) Change-Id: I39fae1184926800e9e0598560c34b9637854e801 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-17openpower: pdbg: Update to latest upstreamJoel Stanley1-1/+1
This includes a number of bugfixes, and some new commands: - getcr: Get Condition Register (CR) - putcr: Write Condition Register (CR) - getxer: Get Fixed Point Exception Register (XER) - putxer: Write Fixed Point Exception Register (XER) The kernel backend will detect the host type (P8 vs P9) so the user does not need to specify it. (From meta-openpower rev: b6b2c3e11118edde149ac3e91c2ef7f8b10ebcb6) Change-Id: Ieb6b30e0e064e0f7bc0111870cfe1ac33f241534 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-17openpower: pdbg: Remove stray patchJoel Stanley1-34/+0
This patch should be submitted to the pdbg project for review and inclusion. (From meta-openpower rev: c95d7cb25c733715ff766260de96214b39e9ebe5) Change-Id: I471f2a16ef8331ca799ce2e81e122a8c22f158ac Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-11pdbg: bump to latest upstreamJoel Stanley1-1/+1
* HTM capture support * Power8 kernel FSI support * Addition of test suite (From meta-openpower rev: 372330d4935b920347ff9237f1eb1b51ef5f2526) Change-Id: I88bba9c5b9f71f67516cab666bfb7babccdb68e0 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>