An open API service indexing awesome lists of open source software.

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

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
```