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