From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vms173025pub.verizon.net (vms173025pub.verizon.net [206.46.173.25]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6B8BDE00C39 for ; Thu, 10 Apr 2014 10:18:04 -0700 (PDT) Received: from gandalf.denix.org ([unknown] [71.191.205.189]) by vms173025.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0N3T002MAS24X070@vms173025.mailsrvcs.net> for yocto@yoctoproject.org; Thu, 10 Apr 2014 12:18:04 -0500 (CDT) Received: by gandalf.denix.org (Postfix, from userid 1000) id E88EB20396; Thu, 10 Apr 2014 13:18:03 -0400 (EDT) Date: Thu, 10 Apr 2014 13:18:03 -0400 From: Denys Dmytriyenko To: "Stanacar, StefanX" Message-id: <20140410171803.GS3370@denix.org> References: <1397116933-20764-1-git-send-email-denis@denix.org> <1397137009.21633.6.camel@firebird.rb.intel.com> <1397139316.21633.8.camel@firebird.rb.intel.com> <1397143684.21633.9.camel@firebird.rb.intel.com> <20140410155808.GN3370@denix.org> <1397147772.21633.12.camel@firebird.rb.intel.com> MIME-version: 1.0 In-reply-to: <1397147772.21633.12.camel@firebird.rb.intel.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: "yocto@yoctoproject.org" , "denys@ti.com" Subject: Re: [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2014 17:18:05 -0000 Content-type: text/plain; charset=us-ascii Content-disposition: inline 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 > > > > > > > > > > > > * 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 > > > > > > --- > > > > > > 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 > > > > > > > > > > > > > > > > > > >