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.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,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 C68D7C388F9 for ; Fri, 23 Oct 2020 10:27:42 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 BD22B20EDD for ; Fri, 23 Oct 2020 10:27:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="duz5DC/x" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD22B20EDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CHgQz3L6CzDqyG for ; Fri, 23 Oct 2020 21:27:39 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::531; helo=mail-pg1-x531.google.com; envelope-from=shaikkhaderbasha601@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=duz5DC/x; dkim-atps=neutral Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) (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 4CHgNf1t8YzDqwb for ; Fri, 23 Oct 2020 21:25:37 +1100 (AEDT) Received: by mail-pg1-x531.google.com with SMTP id b23so888869pgb.3 for ; Fri, 23 Oct 2020 03:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=b65X0qO6JVtlw7ryxclDcUA/15WtwhM1Ql/zkvUh5Ow=; b=duz5DC/xTCRJSKKnIRS5a+0U0Ck5WcTvPuG9xw0q4UgHnl2Lnn3ocRChF5r4l068bQ CrXz0jfJBGzZSxpqKpWX2BI2kI4SEQK4hDFC1Re3Gjzo42h13qan/OfGzW+frFodwyu9 KtTIqVBcvJrznCLm4uEsjNBYCKDkpfGGzyiKybkdJijkna4IoIXbwccY+R1GMnO2Ylmn 0ZhjBbj86M/dmuqFYoc65f35ZPSzzBKZitWPCs5aPxFhuv1lqerk8atxmOU3Jk6EWGv5 sPvK+aPXK5nf+7TM3EX14NrYJ1oDxnHqYT7aTRtdNoHDIhIt0WbEhP4LFsZVF+pD9o4e adsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=b65X0qO6JVtlw7ryxclDcUA/15WtwhM1Ql/zkvUh5Ow=; b=BSfZqeYIu6uZjQOR0VyGrPOdOA1ndPhQuZWz4jKobfglI0SKle/H4BomBX0UqMZi3a 6DK4bq64U0MgTjTTpxDS5SBXT8sFU1zC8ifjaRzJc66LSwUWvd+vR+IJzUA/uiWIb6gb 5QnEuSs95qaEK008uka6xiiDrRpHTWIm20fBpFDjZuc/RcK9QdmVZXqi1eUyE4lQcxFA mMn2gG+t024WjocU7l4vusOKONH2JtqLAkZwC2QZoZXuQv552AOrn1Wi68Qfl//mUGoO DgPxLTcqcrrGWrk5NXpIDsyGnsQwLCnSzAO8bC8QkN2hB6J0NNUUeV2aMZ9CA6l6FJbL oP8w== X-Gm-Message-State: AOAM532EXwxImkQL1bA7xrtbYYiItYpWGYAThMRLIKimmMq9xcdRz5+F iEdK1OkFFCgo+3sTr3AJWvoESYI+3+srGpSq9QQpUH4W1Io= X-Google-Smtp-Source: ABdhPJwXbAJU6oN9CEdvex4Z6m8Iodwi8MoUHFak1eqLgesR6eDSHwAUehpM5u2lBPsyTgTwei/XzFYknG1XCZ18FR8= X-Received: by 2002:a17:90a:6301:: with SMTP id e1mr1767992pjj.131.1603448732992; Fri, 23 Oct 2020 03:25:32 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: khader basha shaik Date: Fri, 23 Oct 2020 15:55:22 +0530 Message-ID: Subject: Re: openbmc:Error while running bitbake for raspberrypi-3 To: openbmc@lists.ozlabs.org Content-Type: multipart/alternative; boundary="0000000000002548c605b2540078" 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" --0000000000002548c605b2540078 Content-Type: text/plain; charset="UTF-8" Hi Team, Any suggestions or input on this please. Thanks & Regards, Khader B Shaik On Thu, 22 Oct 2020 at 13:54, khader basha shaik < shaikkhaderbasha601@gmail.com> wrote: > Hi Team, > > I am getting errors while running the bitbake for raspberrypi-3. > Following are the steps I have followed to run the bitbake: > > 1. Clonned the latest code from the master branch for openbmc repo. > 2.TEMPLATECONF=meta-phosphor/conf . openbmc-env > 2. open the conf/local.conf file in the editor and update to add the > raspberrypi3-64 > -MACHINE ??= "qemuarm" > +MACHINE ??= "raspberrypi3-64" > > 4.open the conf/bblayers.conf file in the editor and add the following line > /home/basha/openbmc/meta-phosphor \ > > - /home/basha/openbmc/meta-raspberrypi \ > > > 1. bitbake obmc-phosphor-image > > After the bitbake I am getting following errors: > > | /home/basha/openbmc/meta-raspberrypi/recipes-kernel/linux/files/ > | DEBUG: Executing shell function do_kernel_metadata > | ERROR: Feature 'phosphor-gpio-keys' not found, this will cause configuration failures. > | ERROR: Check the SRC_URI for meta-data repositories or directories that may be missing > | ERROR: Set KERNEL_DANGLING_FEATURES_WARN_ONLY to ignore this issue > | WARNING: exit code 1 from a shell command. > | ERROR: Execution of '/home/basha/openbmc/build/tmp/work/raspberrypi3_64-openbmc-linux/linux-raspberrypi/1_5.4.69+gitAUTOINC+5d52d9eea9_31d364af25-r0/temp/run.do_kernel_metadata.118535' failed with exit code 1: > | WARNING: exit code 1 from a shell command. > | > ERROR: Task (/home/basha/openbmc/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.4.bb:do_kernel_metadata) failed with exit code '1' > Waiting for 4 running tasks to finish: > > > Also I have referred to the following issue "#2434 > " and added > KERNEL_FEATURES_remove = "phosphor-gpio-keys" to the local.conf file and > recompiled using the above steps again. > I did not get the above errors but the rpi-sdimg file was not generated in > the following path. > > > "build/tmp/deploy/images/raspberrypi3-64/obmc-phosphor-image-raspberrypi3-64-2020XXXXXXXXXX.rootfs.rpi-sdimg" > > Please let me know if there are any additional steps to be followed to run > bitbake for raspberrypi-3 in order to generate the rpi-sdimg file. > > Thanks & Regards, > Khader B Shaik > --0000000000002548c605b2540078 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Team,

Any suggestions or input on th= is please.

Thanks & Regards,
Khader = B Shaik


On Thu, 22 Oct 2020 at 13:54, khader basha = shaik <shaikkhaderbasha= 601@gmail.com> wrote:

Hi Team,

I am getting errors while running the bitbake for = raspberrypi-3.
Following are the steps I= have followed to run the bitbake:

  1. Clonned the latest code from = the master branch for openbmc repo.
    2.TE= MPLATECONF=3Dmeta-phosphor/conf . openbmc-env
  2. open the conf/local.conf file in the editor an= d update to add the raspberrypi3-64
    -MAC= HINE ??=3D "qemuarm"
    +MACHINE = ??=3D "raspberrypi3-64"

4.o= pen the conf/bblayers.conf file in the editor and add the following line/home/basha/openbmc/meta-phosphor \

  • /home/basha/openbmc/meta-raspberrypi \
    1. b= itbake obmc-phosphor-image

    After the = bitbake I am getting following errors:

    |     /home/basha/openbmc/meta-raspberrypi/recipe=
    s-kernel/linux/files/
    | DEBUG: Executing shell function do_kernel_metadata
    | ERROR: Feature 'phosphor-gpio-keys' not found, this will cause co=
    nfiguration failures.
    | ERROR: Check the SRC_URI for meta-data repositories or directories that m=
    ay be missing
    | ERROR: Set KERNEL_DANGLING_FEATURES_WARN_ONLY to ignore this issue
    | WARNING: exit code 1 from a shell command.
    | ERROR: Execution of '/home/basha/openbmc/build/tmp/work/raspberrypi3_=
    64-openbmc-linux/linux-raspberrypi/1_5.4.69+gitAUTOINC+5d52d9eea9_31d364af2=
    5-r0/temp/run.do_kernel_metadata.118535' failed with exit code 1:
    | WARNING: exit code 1 from a shell command.
    |
    ERROR: Task (/home/basha/openbmc/meta-raspberrypi/recipes-kernel/linux/linu=
    x-raspberrypi_5.4.bb:do_kernel_metadata) failed with exit code '1'
    Waiting for 4 running tasks to finish:
    
    

    Also I have referred to the follo= wing issue "#2434" and added KERNEL_FEATURES_remove= =3D "phosphor-gpio-keys" to the local.conf file and recompiled u= sing the above steps again.
    I did not ge= t the above errors but the rpi-sdimg file was not generated in the followin= g path.

    "build/tmp/deploy/images/raspb= errypi3-64/obmc-phosphor-image-raspberrypi3-64-2020XXXXXXXXXX.rootfs.rpi-sd= img"

    Please let me know if there are a= ny additional steps to be followed to run bitbake for raspberrypi-3 in orde= r to generate the rpi-sdimg file.

    Thanks &a= mp; Regards,
    Khader B Shaik

    --0000000000002548c605b2540078--