[yocto] [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates

Stanacar, StefanX stefanx.stanacar at intel.com
Thu Apr 10 08:27:43 PDT 2014




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.

Cheers,
Stefan


> Cheers,
> Stefan
> 
> > Cheers,
> > Stefan
> > 
> > 
> > On Thu, 2014-04-10 at 04:02 -0400, Denys Dmytriyenko wrote:
> > > From: Denys Dmytriyenko <denys at 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 at 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
> > > 
> > 
> 



More information about the yocto mailing list