https://github.com/shenki/fsi-read-lpc
Read LPC FW space using scoms with libpdbg
https://github.com/shenki/fsi-read-lpc
fsi openpower powerpc
Last synced: 2 months ago
JSON representation
Read LPC FW space using scoms with libpdbg
- Host: GitHub
- URL: https://github.com/shenki/fsi-read-lpc
- Owner: shenki
- License: apache-2.0
- Created: 2021-09-07T07:35:19.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-15T01:51:54.000Z (over 3 years ago)
- Last Synced: 2025-01-29T03:32:52.763Z (4 months ago)
- Topics: fsi, openpower, powerpc
- Language: Rust
- Homepage:
- Size: 880 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
## Reading LPC firmware space over FSI
This is a small libpdbg application that reads LPC FW space on a Power9/Power10
using scoms. It can run on the BMC or the host.It is implemented as a Rust application calling in to the C libpdbg API.
https://github.com/open-power/pdbg
### Cross compiling
The project includes copies of libfdt and libpdbg built for ARMv7 hard float,
and PowerPC 64bit little endian.In `~/.cargo/config.toml`:
```
[target.arm-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"[target.powerpc64le-unknown-linux-gnu]
linker = "powerpc64le-linux-gnu-gcc"
``````
cargo build --target=arm-unknown-linux-gnueabihf
cargo build --target=powerpc64le-unknown-linux-gnu
```