All of lore.kernel.org
 help / color / mirror / Atom feed
From: Javier Romero <xavinux@gmail.com>
To: Andrew Jeffery <andrew@aj.id.au>
Cc: Rick Altherr <raltherr@google.com>,
	OpenBMC Maillist <openbmc@lists.ozlabs.org>
Subject: Re: OpenBMC on Raspberry PI 3.
Date: Sun, 8 Oct 2017 23:57:56 -0300	[thread overview]
Message-ID: <CAEX+82+KQAV5WMuWh1VZCL+zb7TXXnxeUS_=8nQk1tC=8jrtqg@mail.gmail.com> (raw)
In-Reply-To: <1507466681.5452.143.camel@aj.id.au>

[-- Attachment #1: Type: text/plain, Size: 4339 bytes --]

Andrew,

Thans for your answer.

Bug reported: https://github.com/openbmc/openbmc/issues/2434

I`d like to try to cook up a patch, but do I need to know a specific
language programming to do this ?

Regards,











*Javier Romero*

*E-mail: xavinux@gmail.com <xavinux@gmail.com>*

*Skype: xavinux*


2017-10-08 9:44 GMT-03:00 Andrew Jeffery <andrew@aj.id.au>:

> On Sun, 2017-10-08 at 01:45 -0300, Javier Romero wrote:
> > I've tried these steps:
> >
> > 1. tester@obmc:~$ cd openbmc
> >
> > 2. tester@obmc:/openbmc$ export TEMPLATECONF=meta-openbmc-
> machines/meta-evb/meta-evb-raspberrypi/conf
> >
> > 3. tester@obmc:/openbmc$ . oe-init-build-env ~/my-build-raspberrypi
> >
> > 4. tester@obmc:~/my-build-raspberrypi$ bitbake obmc-phosphor-image
> >
> > Build Configuration:
> > BB_VERSION        = "1.32.0"
> > BUILD_SYS         = "x86_64-linux"
> > NATIVELSBSTRING   = "Ubuntu-16.04"
> > TARGET_SYS        = "arm-openbmc-linux-gnueabi"
> > MACHINE           = "raspberrypi"
> > DISTRO            = "openbmc-phosphor"
> > DISTRO_VERSION    = "0.1.0"
> > TUNE_FEATURES     = "arm armv6  vfp arm1176jzfs callconvention-hard"
> > TARGET_FPU        = "hard"
> > meta
> > meta-poky
> > meta-oe
> > meta-networking
> > meta-python
> > meta-virtualization
> > meta-phosphor
> > meta-raspberrypi  = "master:65edf7d796c34012982632d0a724d80ff44c9e4a"
> >
> >
> > But the following error appears:
> >
> > 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)
> > 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
> > Log data follows:
> > | DEBUG: Executing shell function do_kernel_metadata
> > | ERROR. input file "phosphor-gpio-keys" does not exist
> > | 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
> > |        See /tmp/tmp.GA2zgVbszZ for details
> > | ERROR. input file "phosphor-gpio-keys" does not exist
> > | 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
> > |        See /tmp/tmp.BEzIPRvVMy for details
> > | WARNING: exit code 1 from a shell command.
> > | 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)
> > 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'
> > NOTE: Tasks Summary: Attempted 632 tasks of which 0 didn't need to be
> rerun and 1 failed.
> > Summary: 1 task failed:
> >   /home/tester/openbmc/import-layers/meta-raspberrypi/
> recipes-kernel/linux/linux-raspberrypi_4.4.bb:do_kernel_metadata
> > Summary: There were 6 WARNING messages shown.
> > Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> >
> > Is there something wrong with the steps I've tried ?
>
> Nope, that's just an outright bug in the raspi support. I'd recommend
> several
> things here:
>
> 1. Open an issue in the github issue tracker[0]
> 2. Cook up a patch! It looks like this might have to do with assumptions
> made
>    in meta-phosphor/conf/distro/openbmc-phosphor.conf, as the raspi uses a
>    different kernel tree to the ASPEED SoCs
> 3. For better or worse patches are submitted via Gerrit[1], so push your
> patch
>    there
>
> Make sure to speak up here or on IRC if you get stuck :)
>
> Andrew
>
> [0] https://github.com/openbmc/openbmc/issues
> [1] https://gerrit.openbmc-project.xyz/#/q/status:open

[-- Attachment #2: Type: text/html, Size: 6653 bytes --]

  reply	other threads:[~2017-10-09  2:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-06 15:38 OpenBMC on Raspberry PI 3 Javier Romero
2017-10-06 16:59 ` Rick Altherr
2017-10-06 21:28   ` Andrew Jeffery
2017-10-06 23:02     ` Javier Romero
2017-10-08  4:45       ` Javier Romero
2017-10-08 12:44         ` Andrew Jeffery
2017-10-09  2:57           ` Javier Romero [this message]
2017-10-09  6:41             ` Andrew Jeffery
2017-10-09  9:39               ` Yi TZ Li
2017-10-09 16:09                 ` Javier Romero
2017-10-10  0:14                   ` Andrew Jeffery
2017-10-10 14:01                     ` Javier Romero
2017-10-11  3:05                       ` Andrew Jeffery
2017-10-11 19:09                         ` Javier Romero
2017-10-13  4:56                           ` Andrew Jeffery
2017-10-13 14:02                             ` Javier Romero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEX+82+KQAV5WMuWh1VZCL+zb7TXXnxeUS_=8nQk1tC=8jrtqg@mail.gmail.com' \
    --to=xavinux@gmail.com \
    --cc=andrew@aj.id.au \
    --cc=openbmc@lists.ozlabs.org \
    --cc=raltherr@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.