项目作者: shenki

项目描述 :
Read LPC FW space using scoms with libpdbg
高级语言: Rust
项目地址: git://github.com/shenki/fsi-read-lpc.git
创建时间: 2021-09-07T07:35:19Z
项目社区:https://github.com/shenki/fsi-read-lpc

开源协议:Apache License 2.0

下载


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:

  1. [target.arm-unknown-linux-gnueabihf]
  2. linker = "arm-linux-gnueabihf-gcc"
  3. [target.powerpc64le-unknown-linux-gnu]
  4. linker = "powerpc64le-linux-gnu-gcc"
  1. cargo build --target=arm-unknown-linux-gnueabihf
  2. cargo build --target=powerpc64le-unknown-linux-gnu