Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
(From meta-openpower rev: 80327188d074d91d52500647bb09d810b5e5b2e6)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I64f184cc47835e0afc9663f9d377eddd5704729c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
(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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
* 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>
|
|
Adopt a more conventional directory hierarchy. meta-openpower is still
a _long_ way from suitable for hosting on yoctoproject.org but things
like this don't help.
(From meta-openpower rev: 2c8db5661cecd7e4cc20bcb96df76490e62cfb67)
Change-Id: I415caaa28ec728f24e755ddb549012f24874fefe
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|