All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Troy Benjegerdes <hozer@hozed.org>
Cc: "meta-ti@yoctoproject.org" <meta-ti@yoctoproject.org>
Subject: Re: regression tests for am3517-evm machine?
Date: Thu, 28 Jan 2016 11:13:51 -0500	[thread overview]
Message-ID: <20160128161351.GD11314@edge> (raw)
In-Reply-To: <20160128045255.GF2584@nl.grid.coop>

On Wed, Jan 27, 2016 at 10:52:55PM -0600, Troy Benjegerdes wrote:
> On Wed, Jan 27, 2016 at 05:55:29PM -0500, Denys Dmytriyenko wrote:
> > On Wed, Jan 27, 2016 at 04:12:03PM -0600, Troy Benjegerdes wrote:
> > > > > So the first problem seems to be that the 'u-boot' target produces
> > > > > a build from the 2014.07 version, which does not seem to have any
> > > > > environment or other setup to load a device tree.
> > > > > 
> > > > > Is there some patch floating around somewhere that updates the
> > > > > default u-boot environment to work better with new kernels, or do
> > > > > I need try and merge something in from the beaglebone
> > > > 
> > > > Can you try u-boot-ti-staging instead?
> > > 
> > > This is from 'pokey' ( yocto-2.0-121-g2fb7ee2 ),
> > > with meta-ti: ( v2012.05-yocto1.2-938-gd397744 )
> > 
> > Strange mix of branches - 2012 was almost 4 years ago... :)
> > 
> > I'd recommend using "fido" branch in all layers, as most tested at the moment. 
> > Still no guarantees about am3517, as that platform hasn't been officially 
> > tested for quite some time.
> 
> Ah, I was on master for meta-ti.
> 
> FYI, I needed the following hack to build on yocto-2.0:

It was fixed in master long ago:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/commit/recipes-graphics/drm/libdrm.inc?id=2d2633227f541395276316a4b45bafa41be94003


> ~/src/poky/meta-ti/recipes-graphics/drm
>  % git diff
> diff --git a/recipes-graphics/drm/libdrm_2.4.41.bb b/recipes-graphics/drm/libdrm_2.4.41.bb
> index 86a660e..6e08b98 100644
> --- a/recipes-graphics/drm/libdrm_2.4.41.bb
> +++ b/recipes-graphics/drm/libdrm_2.4.41.bb
> @@ -1,8 +1,9 @@
> -require recipes-graphics/drm/libdrm.inc
> +#require recipes-graphics/drm/libdrm.inc
>  
>  FILESEXTRAPATHS_append := ":${COREBASE}/meta/recipes-graphics/drm/libdrm"
>  
>  COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
> +LICENSE = 'GPL'
> 
> 
> After a little more digging around, I find that having:
> #define CONFIG_OF_LIBFDT
> is required for u-boot to be able to recognize and load a device
> tree, but it does not seem to be set in the am3517 build(s). 
> 
> If I build a u-boot from source with CONFIG_OF_LIBFDT, I get the
> expected output, but now if boot a mainline 3.16 or 3.18 kernel
> (which mostly work with no device tree), these kernels fail to
> boot with a device tree.


  reply	other threads:[~2016-01-28 16:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-16  6:36 regression tests for am3517-evm machine? Troy Benjegerdes
2016-01-18 16:46 ` Denys Dmytriyenko
2016-01-18 20:05   ` Troy Benjegerdes
2016-01-19 18:48     ` Troy Benjegerdes
2016-01-19 19:08     ` Denys Dmytriyenko
2016-01-21  1:58       ` Troy Benjegerdes
2016-01-21 20:48         ` Denys Dmytriyenko
2016-01-21 22:03           ` Robert Nelson
2016-01-21 22:07             ` Denys Dmytriyenko
2016-01-27 21:56               ` Troy Benjegerdes
2016-01-27 22:03                 ` Denys Dmytriyenko
2016-01-27 22:12                   ` Troy Benjegerdes
2016-01-27 22:55                     ` Denys Dmytriyenko
2016-01-28  4:52                       ` Troy Benjegerdes
2016-01-28 16:13                         ` Denys Dmytriyenko [this message]
2016-01-28 16:33                           ` Troy Benjegerdes
2016-01-29  0:09                             ` Denys Dmytriyenko

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=20160128161351.GD11314@edge \
    --to=denys@ti.com \
    --cc=hozer@hozed.org \
    --cc=meta-ti@yoctoproject.org \
    /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.