<html><body><p><tt><font size="2">Javier,</font></tt><br><br><tt><font size="2">Andrew has mentioned the cause of the bug.</font></tt><br><br><tt><font size="2">When I added the RaspberryPi configure to OpenBMC, I referred to configuration of other boards, like:</font></tt><br><tt><font size="2">"</font></tt><tt><font size="2">meta-openbmc-machines/meta-evb/meta-evb-aspeed/meta-evb-ast2500/conf</font></tt><tt><font size="2">", you might also refer to other working machines.</font></tt><br><br><tt><font size="2">The original target was to build an OpenBMC image for RaspberryPi, but I never tested on a real hardware.</font></tt><br><tt><font size="2">More work is required to run OpenBMC on a Raspberry Pi.</font></tt><br><br><tt><font size="2">The "meta-phosphor" layer has been changed since that time, we need to update RaspberryPi configurations accordingly.</font></tt><br><br><tt><font size="2">Thanks,</font></tt><br><tt><font size="2">-Yi</font></tt><br><tt><font size="2"><br>> From: Andrew Jeffery <andrew@aj.id.au></font></tt><br><tt><font size="2">> To: Javier Romero <xavinux@gmail.com></font></tt><br><tt><font size="2">> Cc: OpenBMC Maillist <openbmc@lists.ozlabs.org></font></tt><br><tt><font size="2">> Date: 09/10/2017 02:41 PM</font></tt><br><tt><font size="2">> Subject: Re: OpenBMC on Raspberry PI 3.</font></tt><br><tt><font size="2">> Sent by: "openbmc" <openbmc-bounces+shliyi=cn.ibm.com@lists.ozlabs.org></font></tt><br><tt><font size="2">> <br>> On Sun, 2017-10-08 at 23:57 -0300, Javier Romero wrote:<br>> > Andrew,<br>> > <br>> > Thans for your answer.<br>> > <br>> > Bug reported: <a href="https://github.com/openbmc/openbmc/issues/2434">https://github.com/openbmc/openbmc/issues/2434</a><br>> > <br>> > I`d like to try to cook up a patch, but do I need to know a specific<br>> > language programming to do this ?<br>> <br>> Hmm, good question. This is probably a bug in how a bitbake<br>> configuration/recipe configures the kernel. As such I'd suggest getting a<br>> handle on Yocto, which is the build and configuration system we use.Here's the<br>> quick start guide:<br>> <br>> <a href="http://www.yoctoproject.org/docs/2.1/yocto-project-qs/yocto-project-qs.html">http://www.yoctoproject.org/docs/2.1/yocto-project-qs/yocto-project-qs.html</a><br>> <br>> There's also a rather daunting Mega Manual, which is useful as a reference<br>> (rather than reading the whole thing):<br>> <br>> <a href="http://www.yoctoproject.org/docs/2.1/mega-manual/mega-manual.html">http://www.yoctoproject.org/docs/2.1/mega-manual/mega-manual.html</a><br>> <br>> Back to the bug itself, from the output that you gave I expect it's some issue<br>> with the following directive:<br>> <br>> <a href="https://github.com/openbmc/openbmc/blob/master/meta-phosphor/conf/">https://github.com/openbmc/openbmc/blob/master/meta-phosphor/conf/</a><br>> distro/openbmc-phosphor.conf#L57<br>> <br>> i.e. the issue is that that linux-raspberrypi (the kernel recipe used for the<br>> raspberry pi[1][2]) doesn't have a 'phosphor-gpio-keys' feature. The implicit<br>> assumption is that the configuration will be using the linux-obmc <br>> tree[3][4][5], which<br>> is our fork of the kernel (primarily for Aspeed SoC support).<br>> <br>> More generally, knowledge of Python (Yocto/bitbake, some OpenBMC userspace), C<br>> (u-boot, kernel, qemu, also requires a some comfort with assembler) <br>> and C++ (most<br>> of the phosphor reference userspace applications) is useful.<br>> <br>> Hope that helps.<br>> <br>> Andrew<br>> <br>> [1] <a href="https://github.com/openbmc/openbmc/blob/">https://github.com/openbmc/openbmc/blob/</a><br>> 4f2d85233d23eedaf1d4846d3d861ba28bc49b00/import-layers/meta-<br>> raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bb<br>> [2] <a href="https://github.com/openbmc/openbmc/blob/">https://github.com/openbmc/openbmc/blob/</a><br>> 4f2d85233d23eedaf1d4846d3d861ba28bc49b00/import-layers/meta-<br>> raspberrypi/recipes-kernel/linux/linux-raspberrypi.inc<br>> [3] <a href="https://github.com/openbmc/openbmc/blob/">https://github.com/openbmc/openbmc/blob/</a><br>> 4f2cddf103aaca6df26ddb766655fdf49c56a6ae/meta-phosphor/common/<br>> recipes-kernel/linux/linux-obmc_4.10.bb<br>> [4] <a href="https://github.com/openbmc/openbmc/blob/">https://github.com/openbmc/openbmc/blob/</a><br>> 4f2cddf103aaca6df26ddb766655fdf49c56a6ae/meta-phosphor/common/<br>> recipes-kernel/linux/linux-obmc.inc[attachment "signature.asc" <br>> deleted by Yi TZ Li/China/IBM] </font></tt><BR>
</body></html>