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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D948C4338F for ; Tue, 3 Aug 2021 11:43:29 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7703860C3F for ; Tue, 3 Aug 2021 11:43:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7703860C3F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aj.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4GfCgL5BgPz307P for ; Tue, 3 Aug 2021 21:43:26 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.a=rsa-sha256 header.s=fm3 header.b=HGcNQF7v; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=n8ZWmvhe; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=aj.id.au (client-ip=64.147.123.21; helo=wout5-smtp.messagingengine.com; envelope-from=andrew@aj.id.au; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=aj.id.au header.i=@aj.id.au header.a=rsa-sha256 header.s=fm3 header.b=HGcNQF7v; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=n8ZWmvhe; dkim-atps=neutral Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4GfCfn51Fcz2yYd for ; Tue, 3 Aug 2021 21:42:56 +1000 (AEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 0AF1C3200907; Tue, 3 Aug 2021 07:42:52 -0400 (EDT) Received: from imap43 ([10.202.2.93]) by compute2.internal (MEProxy); Tue, 03 Aug 2021 07:42:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type:content-transfer-encoding; s=fm3; bh=XUiRw JMFY/QZs3l0M0PNontFvLyl4whFW8FvaHG6aus=; b=HGcNQF7vG6Ii7eO3VT17e t/GDWFngdcmjpYFAlV+K95HOxIaYH7bXmVU0MKcZSdb1BC0+uAJTNeT6u2apX+qB aZVAdUxMw8a2EfcQ8o5//Z92G3GFqsUihdf2ll8rc7eujF6Txtt8xuvZRW9czllv SUb96Rm8zk+BSXV+9VYzY+9Yz/l4iQs+qnsbJvOQ9NbhLLuKmtmksNHNOPALaiZR H7tiBOrGgia3WocHdjUGg/qQp4h7EeLiYlfM4cJAu7Rld8/Q2AY52uDHabt+O1Nq 9iAl8cWZvHWD4Wo+QKlq9fQeL8pLQKyK2FTbKAdiwt9AdY/fWpum7l6QcGjIW5Ib A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=XUiRwJMFY/QZs3l0M0PNontFvLyl4whFW8FvaHG6a us=; b=n8ZWmvheapq72oETcTyvEMxwTxr2UkZ0hLA/g8pluO04qnTMgJUybT5Fe CIbTvVkedbpEwnUyi4KWI25mF3nnQl2QAMxL2hBWzfU63suWHi7/CDuxRLehChZg C6p5TtAgE7qW+pQj0dcr428qBt7k2UhmFiXtAOQ5FE8a073JOgUKM4wec+HlRMnC 0U/aaV77YZtn5CnWB0FtZB7FDiMI3HLrsqOSKemDZWnB5VS2a6ykCTv+LRBSMFaV 2r2o1HVCQcPF28O2wqcoejEy1Ak93DTwvY/Qg0vQraJetg3o/geLLJx41ek2Vedu AWk9DGNeOlCDkpQ4fohGZigqk2XoQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrieeggdegudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgfgsehtqh ertderreejnecuhfhrohhmpedftehnughrvgifucflvghffhgvrhihfdcuoegrnhgurhgv fiesrghjrdhiugdrrghuqeenucggtffrrghtthgvrhhnpedvgeekheegfedvhfethefhud etteegueeggfeiieegueehkedugedtkefglefgheenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvfiesrghjrdhiugdrrghu X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id D921BAC0DD0; Tue, 3 Aug 2021 07:42:51 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-548-g3a0b1fef7b-fm-20210802.001-g3a0b1fef Mime-Version: 1.0 Message-Id: <8bb488fe-a2a0-4fca-b751-ab20db1f4578@www.fastmail.com> In-Reply-To: References: Date: Tue, 03 Aug 2021 21:12:31 +0930 From: "Andrew Jeffery" To: =?UTF-8?Q?=E5=90=B3=E7=A7=89=E6=98=8C?= , openbmc@lists.ozlabs.org Subject: Re: Module develop issue Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" On Mon, 2 Aug 2021, at 19:31, =E5=90=B3=E7=A7=89=E6=98=8C wrote: > Hi teams >=20 > Today, I try to install SDK, I can build and run "hello world=E2=80=9D= , but I=20 > still can=E2=80=99t build the hello-mod module. > Please give me some suggestions. Many thanks! I'm not aware of anyone else in the OpenBMC community developing kernel=20= modules this way, which might be why you haven't got many responses. My approach is just to work on the kernel directly (i.e. clone the=20 kernel sources and add your code to the appropriate locations). Is this=20= something that you can try? Andrew