Skip to content

shenki/fsi-read-lpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Read LPC FW space using scoms with libpdbg

Topics

Resources

License

Stars

Watchers

Forks

Languages