Skip to contentSkip to conversation

How to build I2Ctools for OpenBMC

DISCUSSION Jean Delvare 1 participant 1 message Sep 26, 2023 1 message not in the archive I2C subsystem host drivers

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi Amutha,

Quoted 11 lines · Amutha Krishnasamy

This is Amutha Krishnasamy <https://github.com/amuthakrishnasamy> from Montage technologies https://www.montage-tech.com/DDR5_SPD_PMIC_TS/M88SPD5118

Currently, I am working on adding Device authentication feature for eSPD(enhanced Serial Presence Detect) device which is under development.

For this testing, I would like to know how to rebuild the i2c-tools https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/ (used in the openBMC source) and what are the tools used for this build.

I tried to build i2ctools with https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads - x86_64 Linux hosted cross toolchains - AArch64 GNU/Linux target (aarch64-none-linux-gnu) arm-gnu-toolchain-12.3.rel1-x86_64-aarch64-none-linux-gnu.tar.xz.

This created a binary and when used the binary I could not execute and getting Execute format error.

Please let me know if you have any info on how to build the i2ctools to run on EGS system.

I can't help you with that, sorry. I have no experience with cross-building binaries for embedded systems. I don't think your problem is related to i2c-tools anyway, the tool chain used to build binaries would be the same for any project written in C.

Signature · 2 lines
Jean Delvare
SUSE L3 Support