On 14-04-10 11:27 AM, 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.

Which I just sent (and which may have prompted your email), so try
the commits I just sent and see if it helps.

Bruce


Cheers,
Stefan


Cheers,
Stefan

Cheers,
Stefan


On Thu, 2014-04-10 at 04:02 -0400, Denys Dmytriyenko wrote:
From: Denys Dmytriyenko <de...@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 <de...@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





--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to