openbmc:Error while running bitbake for raspberrypi-3

khader basha shaik shaikkhaderbasha601 at gmail.com
Fri Oct 23 22:24:29 AEDT 2020


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 at 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 at 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
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20201023/7b7c4489/attachment.htm>


More information about the openbmc mailing list