All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: "Stanacar, StefanX" <stefanx.stanacar@intel.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>,
	"denys@ti.com" <denys@ti.com>
Subject: Re: [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates
Date: Thu, 10 Apr 2014 13:18:03 -0400	[thread overview]
Message-ID: <20140410171803.GS3370@denix.org> (raw)
In-Reply-To: <1397147772.21633.12.camel@firebird.rb.intel.com>

On Thu, Apr 10, 2014 at 04:35:51PM +0000, Stanacar, StefanX wrote:
> 
> 
> 
> On Thu, 2014-04-10 at 11:58 -0400, Denys Dmytriyenko wrote:
> > On Thu, Apr 10, 2014 at 03:27:43PM +0000, Stanacar, StefanX wrote:
> > > 
> > > 
> > > 
> > > On Thu, 2014-04-10 at 14:14 +0000, Stanacar, StefanX wrote:
> > > > 
> > > > 
> > > > On Thu, 2014-04-10 at 13:36 +0000, Stanacar, StefanX wrote:
> > > > > Hi Denys,
> > > > > 
> > > > > With this patch applied and the updated README I can boot a Beaglebone
> > > > > Black (rev A6) with a default yocto image/config (I've used
> > > > > core-image-sato-sdk FWIW). Everything seems fine, I ran a bunch of tests
> > > > > on the image, except for X - it doesn't start :(.
> > > > > I've built with fbdev and omapfb too.
> > > > > 
> > > > > X log for fbdev: 
> > > > > http://pastebin.com/sqNc35U0
> > > > > 
> > > > > for omapfb:
> > > > > http://pastebin.com/fMkzMW8U
> > > > > 
> > > > > Is there anything else that needs to changed/added? I could add a
> > > > > xorg.conf on the image too, but then it beats the point...
> > > > > 
> > > > 
> > > > What I was trying to say is that we are missing a .bbappend for
> > > > xserver-xf86-config that adds the right xorg.conf (either for fbdev or
> > > > omapfb). I'll try to come up with one.
> > > 
> > > 
> > > Okay ignore that it didn't helped, I think I know what's missing.. I
> > > need the latest SRCREV_meta for kernel.
> > 
> > Sorry for the delay - yes, couple tweaks are needed from BSP as well.
> 
> I've rebuit with latest SRCREV_meta and indeed X starts fine now,
> thanks.

Great, thanks for verifying it!

-- 
Denys


> > > > > On Thu, 2014-04-10 at 04:02 -0400, Denys Dmytriyenko wrote:
> > > > > > From: Denys Dmytriyenko <denys@ti.com>
> > > > > > 
> > > > > > * Use fbdev video driver for xserver-xorg
> > > > > > * Recommend installing device tree DTB files into rootfs /boot directory
> > > > > > * Switch back to uImage kernel format from zImage, as U-boot was not updated
> > > > > >   - default has changed to zImage in newer U-boot 2013.10+, but we use 2013.07
> > > > > > * Correct copy/paste typo in serial console
> > > > > > 
> > > > > > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > > > > > ---
> > > > > >  meta-yocto-bsp/conf/machine/beaglebone.conf | 10 +++++-----
> > > > > >  1 file changed, 5 insertions(+), 5 deletions(-)
> > > > > > 
> > > > > > diff --git a/meta-yocto-bsp/conf/machine/beaglebone.conf b/meta-yocto-bsp/conf/machine/beaglebone.conf
> > > > > > index f2ef0cf..4263715 100644
> > > > > > --- a/meta-yocto-bsp/conf/machine/beaglebone.conf
> > > > > > +++ b/meta-yocto-bsp/conf/machine/beaglebone.conf
> > > > > > @@ -6,11 +6,10 @@ PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
> > > > > >  XSERVER ?= "xserver-xorg \
> > > > > >             xf86-input-evdev \
> > > > > >             xf86-input-mouse \
> > > > > > -           xf86-video-omapfb \
> > > > > > +           xf86-video-fbdev \
> > > > > >             xf86-input-keyboard"
> > > > > >  
> > > > > > -# Ship all kernel modules by default
> > > > > > -MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
> > > > > > +MACHINE_EXTRA_RRECOMMENDS = " kernel-modules kernel-devicetree"
> > > > > >  
> > > > > >  EXTRA_IMAGEDEPENDS += "u-boot"
> > > > > >  
> > > > > > @@ -20,13 +19,14 @@ include conf/machine/include/tune-cortexa8.inc
> > > > > >  IMAGE_FSTYPES += "tar.bz2 jffs2"
> > > > > >  EXTRA_IMAGECMD_jffs2 = "-lnp "
> > > > > >  
> > > > > > -SERIAL_CONSOLE = "115200 ttyO2"
> > > > > > +SERIAL_CONSOLE = "115200 ttyO0"
> > > > > >  
> > > > > >  PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
> > > > > >  PREFERRED_VERSION_linux-yocto ?= "3.14%"
> > > > > >  
> > > > > > -KERNEL_IMAGETYPE = "zImage"
> > > > > > +KERNEL_IMAGETYPE = "uImage"
> > > > > >  KERNEL_DEVICETREE = "am335x-bone.dtb am335x-boneblack.dtb"
> > > > > > +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
> > > > > >  
> > > > > >  SPL_BINARY = "MLO"
> > > > > >  UBOOT_SUFFIX = "img"
> > > > > > -- 
> > > > > > 1.9.1
> > > > > > 
> > > > > 
> > > > 
> > > 
> 


      reply	other threads:[~2014-04-10 17:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-10  8:02 [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates Denys Dmytriyenko
2014-04-10  8:02 ` [meta-yocto][PATCH 2/2] README.hardware: update with Texas Instruments Beaglebone instructions Denys Dmytriyenko
2014-04-10 13:36 ` [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates Stanacar, StefanX
2014-04-10 14:14   ` Stanacar, StefanX
2014-04-10 15:27     ` Stanacar, StefanX
2014-04-10 15:30       ` Bruce Ashfield
2014-04-10 15:58       ` Denys Dmytriyenko
2014-04-10 16:35         ` Stanacar, StefanX
2014-04-10 17:18           ` Denys Dmytriyenko [this message]

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=20140410171803.GS3370@denix.org \
    --to=denis@denix.org \
    --cc=denys@ti.com \
    --cc=stefanx.stanacar@intel.com \
    --cc=yocto@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.