<div dir="ltr">I've tried these steps:<div><br></div><div><div><i style="font-weight:bold">1. tester@obmc:~$ </i>cd openbmc</div><div><i><b><br></b></i></div><div><b style="font-style:italic">2. tester@obmc:/openbmc$ </b>export TEMPLATECONF=meta-openbmc-machines/meta-evb/meta-evb-raspberrypi/conf</div><div><i><b><br></b></i></div><div><i style="font-weight:bold">3. tester@obmc:/openbmc$ </i>. oe-init-build-env ~/my-build-raspberrypi</div><div><i><b><br></b></i></div><div><i style="font-weight:bold">4. tester@obmc:~/my-build-raspberrypi$ </i>bitbake obmc-phosphor-image</div><div><i><b><br></b></i></div><div><i><b>Build Configuration:</b></i><br></div><div><i><b>BB_VERSION = "1.32.0"</b></i></div><div><i><b>BUILD_SYS = "x86_64-linux"</b></i></div><div><i><b>NATIVELSBSTRING = "Ubuntu-16.04"</b></i></div><div><i><b>TARGET_SYS = "arm-openbmc-linux-gnueabi"</b></i></div><div><i><b>MACHINE = "raspberrypi"</b></i></div><div><i><b>DISTRO = "openbmc-phosphor"</b></i></div><div><i><b>DISTRO_VERSION = "0.1.0"</b></i></div><div><i><b>TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard"</b></i></div><div><i><b>TARGET_FPU = "hard"</b></i></div><div><i><b>meta </b></i></div><div><i><b>meta-poky </b></i></div><div><i><b>meta-oe </b></i></div><div><i><b>meta-networking </b></i></div><div><i><b>meta-python </b></i></div><div><i><b>meta-virtualization </b></i></div><div><i><b>meta-phosphor </b></i></div><div><i><b>meta-raspberrypi = "master:65edf7d796c34012982632d0a724d80ff44c9e4a"</b></i></div></div><div><div><br></div></div><div><br></div><div>But the following error appears:</div><div><br></div><div><div><b><i><font color="#ff0000">ERROR: linux-raspberrypi-1_4.4.48+gitAUTOINC+7ddf96fbb7-r0 do_kernel_metadata: Function failed: do_kernel_metadata (log file is located at /home/tester/my-build-raspberrypi/tmp/work/raspberrypi-openbmc-linux-gnueabi/linux-raspberrypi/1_4.4.48+gitAUTOINC+7ddf96fbb7-r0/temp/log.do_kernel_metadata.7276)</font></i></b></div><div><b><i><font color="#ff0000">ERROR: Logfile of failure stored in: /home/tester/my-build-raspberrypi/tmp/work/raspberrypi-openbmc-linux-gnueabi/linux-raspberrypi/1_4.4.48+gitAUTOINC+7ddf96fbb7-r0/temp/log.do_kernel_metadata.7276</font></i></b></div><div><b><i><font color="#ff0000">Log data follows:</font></i></b></div><div><b><i><font color="#ff0000">| DEBUG: Executing shell function do_kernel_metadata</font></i></b></div><div><b><i><font color="#ff0000">| ERROR. input file "phosphor-gpio-keys" does not exist</font></i></b></div><div><b><i><font color="#ff0000">| ERROR: could not process input files: /home/tester/openbmc/import-layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/defconfig /home/tester/openbmc/import-layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-4.4/0001-fix-dtbo-rules.patch phosphor-gpio-keys</font></i></b></div><div><b><i><font color="#ff0000">| See /tmp/tmp.GA2zgVbszZ for details</font></i></b></div><div><b><i><font color="#ff0000">| ERROR. input file "phosphor-gpio-keys" does not exist</font></i></b></div><div><b><i><font color="#ff0000">| ERROR: could not process input files: /home/tester/openbmc/import-layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/defconfig /home/tester/openbmc/import-layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-4.4/0001-fix-dtbo-rules.patch phosphor-gpio-keys</font></i></b></div><div><b><i><font color="#ff0000">| See /tmp/tmp.BEzIPRvVMy for details</font></i></b></div><div><b><i><font color="#ff0000">| WARNING: exit code 1 from a shell command.</font></i></b></div><div><b><i><font color="#ff0000">| ERROR: Function failed: do_kernel_metadata (log file is located at /home/tester/my-build-raspberrypi/tmp/work/raspberrypi-openbmc-linux-gnueabi/linux-raspberrypi/1_4.4.48+gitAUTOINC+7ddf96fbb7-r0/temp/log.do_kernel_metadata.7276)</font></i></b></div><div><b><i><font color="#ff0000">ERROR: Task (/home/tester/openbmc/import-layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bb:do_kernel_metadata) failed with exit code '1'</font></i></b></div><div><b><i><font color="#ff0000">NOTE: Tasks Summary: Attempted 632 tasks of which 0 didn't need to be rerun and 1 failed.</font></i></b></div><div><b><i><font color="#ff0000">Summary: 1 task failed:</font></i></b><br></div><div><b><i><font color="#ff0000"> /home/tester/openbmc/import-layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bb:do_kernel_metadata</font></i></b></div><div><b><i><font color="#ff0000">Summary: There were 6 WARNING messages shown.</font></i></b></div><div><b><i><font color="#ff0000">Summary: There was 1 ERROR message shown, returning a non-zero exit code.</font></i></b></div><div><br></div></div><div>Is there something wrong with the steps I've tried ?</div><div><br></div><div>Regards,</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="text-align:left"><i><b>Javier Romero<br></b></i></div><div style="text-align:left"><span style="color:rgb(19,79,92)"><i><b><span style="color:rgb(0,0,0)">E-mail:<span style="color:rgb(0,0,255)"> </span></span><span style="color:rgb(0,0,255)"><a href="mailto:xavinux@gmail.com" target="_blank">xavinux@gmail.com</a></span><br></b></i></span></div><div style="text-align:left"><i><b><span style="color:rgb(19,79,92)"><span style="color:rgb(0,0,0)">Skype:</span> <span style="color:rgb(11,83,148)"><u><span style="color:rgb(0,0,255)">xavinux</span><br></u></span></span></b></i></div><div style="text-align:left"><br></div> </div></div></div>
<br><div class="gmail_quote">2017-10-06 20:02 GMT-03:00 Javier Romero <span dir="ltr"><<a href="mailto:xavinux@gmail.com" target="_blank">xavinux@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Rick / Andrew,<div><br></div><div>Thank you very much for your answer and suggestions.</div><div><br></div><div>I'm looking at that repository on Github now.</div><div><br></div><div>Regards,</div><div><br></div><div><br></div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_-6336017448971060710gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="text-align:left"><i><b>Javier Romero<br></b></i></div><div style="text-align:left"><span style="color:rgb(19,79,92)"><i><b><span style="color:rgb(0,0,0)">E-mail:<span style="color:rgb(0,0,255)"> </span></span><span style="color:rgb(0,0,255)"><a href="mailto:xavinux@gmail.com" target="_blank">xavinux@gmail.com</a></span><br></b></i></span></div><div style="text-align:left"><i><b><span style="color:rgb(19,79,92)"><span style="color:rgb(0,0,0)">Skype:</span> <span style="color:rgb(11,83,148)"><u><span style="color:rgb(0,0,255)">xavinux</span><br></u></span></span></b></i></div><div style="text-align:left"><br></div> </div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">2017-10-06 18:28 GMT-03:00 Andrew Jeffery <span dir="ltr"><<a href="mailto:andrew@aj.id.au" target="_blank">andrew@aj.id.au</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On Sat, 7 Oct 2017, at 03:29, Rick Altherr wrote:<br>
> When you run export TEMPLATECONF=meta-openbmc-mach<wbr>ines/meta-<br>
<span>> openpower/meta-ibm/meta-palmet<wbr>to/conf, you are telling the build system<br>
> that you want to build images for the BMC processor used on the Palmetto<br>
> machine (Aspeed AST2400). That image won't boot on a RaspberryPi. What<br>
> you'll need to do is create a new layer in meta-openbmc-machines for a<br>
> RaspberryPi that includes the raspberrypi layer, specifies the correct<br>
> kernel device tree, etc.<br>
<br>
</span> As a heads-up, some of this work has already been done:<br>
<br>
<a href="https://github.com/openbmc/openbmc/tree/master/meta-openbmc-machines/meta-evb/meta-evb-raspberrypi/conf" rel="noreferrer" target="_blank">https://github.com/openbmc/ope<wbr>nbmc/tree/master/meta-openbmc-<wbr>machines/meta-evb/meta-evb-<wbr>raspberrypi/conf</a><br>
<br>
It was added in this change:<br>
<br>
<a href="https://gerrit.openbmc-project.xyz/#/c/508/" rel="noreferrer" target="_blank">https://gerrit.openbmc-project<wbr>.xyz/#/c/508/</a><br>
<br>
I don't think it was thoroughly tested and it has probably bit-rotted,<br>
but maybe it's existence will flatten out the learning curve a bit.<br>
<br>
Cheers,<br>
<br>
Andrew<br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>