summaryrefslogtreecommitdiff
path: root/meta-openpower/recipes-bsp/ecmd
AgeCommit message (Collapse)AuthorFilesLines
2021-08-11meta-openpower: prep for new override syntaxAdriana Kobylak2-5/+5
Change-Id: I5ca16c6fa7bc616bfa9bc41c4f86d32fd92b0287 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
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-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-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-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-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>