openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* openbmc:Error while running bitbake for raspberrypi-3
@ 2020-10-22  8:24 khader basha shaik
  2020-10-23 10:25 ` khader basha shaik
  0 siblings, 1 reply; 5+ messages in thread
From: khader basha shaik @ 2020-10-22  8:24 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 2119 bytes --]

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
<https://github.com/openbmc/openbmc/issues/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

[-- Attachment #2: Type: text/html, Size: 6117 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: openbmc:Error while running bitbake for raspberrypi-3
  2020-10-22  8:24 openbmc:Error while running bitbake for raspberrypi-3 khader basha shaik
@ 2020-10-23 10:25 ` khader basha shaik
  2020-10-23 11:24   ` khader basha shaik
  0 siblings, 1 reply; 5+ messages in thread
From: khader basha shaik @ 2020-10-23 10:25 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 2385 bytes --]

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
> <https://github.com/openbmc/openbmc/issues/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
>

[-- Attachment #2: Type: text/html, Size: 6633 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: openbmc:Error while running bitbake for raspberrypi-3
  2020-10-23 10:25 ` khader basha shaik
@ 2020-10-23 11:24   ` khader basha shaik
  2020-10-23 18:38     ` Andrew Geissler
  0 siblings, 1 reply; 5+ messages in thread
From: khader basha shaik @ 2020-10-23 11:24 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 2783 bytes --]

Hi Team,

I tried with  “bitbake core-image-base”  command but still not working.
Unable to generate   the rpi-sdimg file.

Thanks & Regards,
Khader B Shaik
On Fri, 23 Oct 2020 at 15:55, khader basha shaik <
shaikkhaderbasha601@gmail.com> wrote:

> 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
>> <https://github.com/openbmc/openbmc/issues/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
>>
>

[-- Attachment #2: Type: text/html, Size: 7285 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: openbmc:Error while running bitbake for raspberrypi-3
  2020-10-23 11:24   ` khader basha shaik
@ 2020-10-23 18:38     ` Andrew Geissler
  2020-10-27 13:22       ` khader basha shaik
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Geissler @ 2020-10-23 18:38 UTC (permalink / raw)
  To: khader basha shaik; +Cc: openbmc



> On Oct 23, 2020, at 6:24 AM, khader basha shaik <shaikkhaderbasha601@gmail.com> wrote:
> 
> Hi Team,
> 
> I tried with  “bitbake core-image-base”  command but still not working. Unable to generate   the rpi-sdimg file.
> 
> Thanks & Regards,
> Khader B Shaik
> On Fri, 23 Oct 2020 at 15:55, khader basha shaik <shaikkhaderbasha601@gmail.com> wrote:
> Hi Team,
> 
> Any suggestions or input on this please.

Hi Khader, raspberry-pi is definitely looking for a maintainer in OpenBMC.

Your error reminded me of this, so may be as simply as doing something
like this commit: 
https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/36144

There are also some commits out there that I know helped raspberry pi at
one point:
https://gerrit.openbmc-project.xyz/q/topic:%22raspberrypi%22+(status:open%20OR%20status:merged)

Andrew

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: openbmc:Error while running bitbake for raspberrypi-3
  2020-10-23 18:38     ` Andrew Geissler
@ 2020-10-27 13:22       ` khader basha shaik
  0 siblings, 0 replies; 5+ messages in thread
From: khader basha shaik @ 2020-10-27 13:22 UTC (permalink / raw)
  To: Andrew Geissler; +Cc: openbmc

[-- Attachment #1: Type: text/plain, Size: 1165 bytes --]

Thanks alot Andrew.

https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/36144

These changes worked for me .

Thanks again.

Regards,
Khader



On Sat, 24 Oct 2020 at 00:08, Andrew Geissler <geissonator@gmail.com> wrote:

>
>
> > On Oct 23, 2020, at 6:24 AM, khader basha shaik <
> shaikkhaderbasha601@gmail.com> wrote:
> >
> > Hi Team,
> >
> > I tried with  “bitbake core-image-base”  command but still not working.
> Unable to generate   the rpi-sdimg file.
> >
> > Thanks & Regards,
> > Khader B Shaik
> > On Fri, 23 Oct 2020 at 15:55, khader basha shaik <
> shaikkhaderbasha601@gmail.com> wrote:
> > Hi Team,
> >
> > Any suggestions or input on this please.
>
> Hi Khader, raspberry-pi is definitely looking for a maintainer in OpenBMC.
>
> Your error reminded me of this, so may be as simply as doing something
> like this commit:
> https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/36144
>
> There are also some commits out there that I know helped raspberry pi at
> one point:
>
> https://gerrit.openbmc-project.xyz/q/topic:%22raspberrypi%22+(status:open%20OR%20status:merged)
>
> Andrew

[-- Attachment #2: Type: text/html, Size: 2179 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-27 13:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-22  8:24 openbmc:Error while running bitbake for raspberrypi-3 khader basha shaik
2020-10-23 10:25 ` khader basha shaik
2020-10-23 11:24   ` khader basha shaik
2020-10-23 18:38     ` Andrew Geissler
2020-10-27 13:22       ` khader basha shaik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).