summaryrefslogtreecommitdiff
path: root/meta-openpower/recipes-bsp/pdbg
AgeCommit message (Collapse)AuthorFilesLines
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
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-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-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>
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-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-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-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-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-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>
2018-09-05meta-openpower: Move layer content from common/Brad Bishop2-0/+47
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>