From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3EE6E7E62F for ; Tue, 26 Sep 2023 12:38:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234586AbjIZMiM (ORCPT ); Tue, 26 Sep 2023 08:38:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229827AbjIZMiL (ORCPT ); Tue, 26 Sep 2023 08:38:11 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 877EBEB for ; Tue, 26 Sep 2023 05:38:04 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 3AF391F896; Tue, 26 Sep 2023 12:38:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1695731880; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cFojz7TPEVf9RWkXOkvYUldYB5/CcDYQ7m0z7WbGZ6M=; b=wMgOZ0QmE687cNVK2sHQa+mogQ2AwmWGyxeSqi95lcBZA0Q0w7pSmHo5Roz11Mr/8a3KnV dKjuk8+h719ai48cNd/GXxn7QQ0oifcTuooZq6j3zVssnaHz3/1J6EsrmxNj4ycNGBuLk+ uIiLVP9Mpd4hQbBQcVW5iYL+Pykm5GQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1695731880; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cFojz7TPEVf9RWkXOkvYUldYB5/CcDYQ7m0z7WbGZ6M=; b=TuqmiVgu0XdQEbPFmcFJWK0F66JwSxTmkds7nAR+XC5veD1VaU94EYHSQn1LBleIT/RRsB Bvkli0PcbOtUK7BQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1AC3D13434; Tue, 26 Sep 2023 12:38:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 7qf7BKjQEmXCGQAAMHmgww (envelope-from ); Tue, 26 Sep 2023 12:38:00 +0000 Date: Tue, 26 Sep 2023 14:37:59 +0200 From: Jean Delvare To: "Amutha Krishnasamy" Cc: Subject: Re: How to build I2Ctools for OpenBMC Message-ID: <20230926143759.66eeb323@endymion.delvare> In-Reply-To: <009c01d9efe1$87f46080$97dd2180$@montage-tech.com> References: <009c01d9efe1$87f46080$97dd2180$@montage-tech.com> Organization: SUSE Linux X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.34; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Hi Amutha, On Mon, 25 Sep 2023 14:53:10 -0400, Amutha Krishnasamy wrote: > This is Amutha Krishnasamy 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. -- Jean Delvare SUSE L3 Support