https://github.com/open-power/ecmd-pdbg
eCMD for pdbg
https://github.com/open-power/ecmd-pdbg
Last synced: about 1 month ago
JSON representation
eCMD for pdbg
- Host: GitHub
- URL: https://github.com/open-power/ecmd-pdbg
- Owner: open-power
- License: apache-2.0
- Created: 2019-03-26T01:08:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-16T12:23:43.000Z (about 1 year ago)
- Last Synced: 2024-05-09T08:23:31.488Z (about 1 year ago)
- Language: C
- Size: 542 KB
- Stars: 1
- Watchers: 10
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ecmd-pdbg
The code in this repo provides the glue code necessary for pdbg
to be used as an eCMD plugin## building
Known good & working version of ecmd and pdbg are included as subrepos
and will build automatically as part of the ecmd-pdbg build### Configuring ecmd-pdbg
In the ecmd-pdbg clone root dir run:
`$ ./config.py`
The initial config.py call will init and checkout the ecmd and pdbg
subrepos automatically (subsequent config.py calls will not do this)
config.py will then do the required config steps for the subrepos### Building ecmd-pdbg
In the ecmd-pdbg clone root dir run:
`$ make`
This will build all three repos.### Build just ecmd-pdbg
After doing the initial required build of ecmd and pdbg, you can build
just ecmd-pdbg with:
`$ make edbg-build`### Configuring to build for openbmc
You can build ecmd-pdbg in a pre-established obmc build env with:
`$ ./config.py --bmc-build`
You can then build with a regular `make` call### To Build using meson
Alternatively ecmd-pdbg can be built using `meson`.Need `meson` and `ninja`. Alternatively, source an OpenBMC ARM/x86 SDK.
Before running the meson build the following submodule init and update
commands should be executed```
git submodule init
git submodule update
meson build && ninja -C build
```#### Requirements on the native (build) machine
* Meson version should be >= 0.51
* Needs git command support
* Perl and Python is optional#### Meson install procedure
Meson is available in the Python Package Index and can be installed with
`pip3 install meson` which requires root and will install it system-wide.