openbmc:Error while running bitbake for raspberrypi-3

khader basha shaik shaikkhaderbasha601 at
Thu Oct 22 19:24:27 AEDT 2020

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
   -MACHINE ??= "qemuarm"
   +MACHINE ??= "raspberrypi3-64" 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
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of
failed with exit code 1:
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/basha/openbmc/meta-raspberrypi/recipes-kernel/linux/
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.


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the openbmc mailing list