<div dir="ltr">Hi Team,<div><br></div><div>Any suggestions or input on this please.</div><div><br></div><div>Thanks & Regards,</div><div>Khader B Shaik<br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 22 Oct 2020 at 13:54, khader basha shaik <<a href="mailto:shaikkhaderbasha601@gmail.com">shaikkhaderbasha601@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><p style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-top:0px">Hi Team,</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">I am getting errors while running the bitbake for raspberrypi-3.<br style="box-sizing:border-box">Following are the steps I have followed to run the bitbake:</p><ol style="box-sizing:border-box;padding-left:2em;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><li style="box-sizing:border-box">Clonned the latest code from the master branch for openbmc repo.<br style="box-sizing:border-box">2.TEMPLATECONF=meta-phosphor/conf . openbmc-env</li><li style="box-sizing:border-box;margin-top:0.25em">open the conf/local.conf file in the editor and update to add the raspberrypi3-64<br style="box-sizing:border-box">-MACHINE ??= "qemuarm"<br style="box-sizing:border-box">+MACHINE ??= "raspberrypi3-64"</li></ol><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">4.open the conf/bblayers.conf file in the editor and add the following line<br style="box-sizing:border-box">/home/basha/openbmc/meta-phosphor \</p><ul style="box-sizing:border-box;padding-left:2em;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><li style="box-sizing:border-box">/home/basha/openbmc/meta-raspberrypi \</li></ul><ol start="5" style="box-sizing:border-box;padding-left:2em;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><li style="box-sizing:border-box">bitbake obmc-phosphor-image</li></ol><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">After the bitbake I am getting following errors:</p><pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:11.9px;margin-top:0px;margin-bottom:16px;padding:16px;overflow:auto;line-height:1.45;border-radius:6px;color:rgb(36,41,46)"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;padding:0px;margin:0px;background:initial;border-radius:6px;word-break:normal;border:0px;display:inline;overflow:visible;line-height:inherit">| /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:
</code></pre><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Also I have referred to the following issue "<a href="https://github.com/openbmc/openbmc/issues/2434" style="box-sizing:border-box;background-color:initial;text-decoration-line:none" target="_blank">#2434</a>" and added KERNEL_FEATURES_remove = "phosphor-gpio-keys" to the local.conf file and recompiled using the above steps again.<br style="box-sizing:border-box">I did not get the above errors but the rpi-sdimg file was not generated in the following path.</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">"build/tmp/deploy/images/raspberrypi3-64/obmc-phosphor-image-raspberrypi3-64-2020XXXXXXXXXX.rootfs.rpi-sdimg"</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">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.</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Thanks & Regards,<br style="box-sizing:border-box">Khader B Shaik</p></div>
</blockquote></div>