* [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates
@ 2014-04-10 8:02 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
0 siblings, 2 replies; 9+ messages in thread
From: Denys Dmytriyenko @ 2014-04-10 8:02 UTC (permalink / raw)
To: yocto; +Cc: Denys Dmytriyenko
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
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [meta-yocto][PATCH 2/2] README.hardware: update with Texas Instruments Beaglebone instructions
2014-04-10 8:02 [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates Denys Dmytriyenko
@ 2014-04-10 8:02 ` Denys Dmytriyenko
2014-04-10 13:36 ` [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates Stanacar, StefanX
1 sibling, 0 replies; 9+ messages in thread
From: Denys Dmytriyenko @ 2014-04-10 8:02 UTC (permalink / raw)
To: yocto; +Cc: Denys Dmytriyenko
From: Denys Dmytriyenko <denys@ti.com>
Replaces outdated Beagleboard instructions with Beaglebone Black (and White).
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
README.hardware | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 78 insertions(+)
diff --git a/README.hardware b/README.hardware
index 68e1dd2..37fdab0 100644
--- a/README.hardware
+++ b/README.hardware
@@ -46,6 +46,7 @@ Hardware Reference Boards
The following boards are supported by the meta-yocto-bsp layer:
+ * Texas Instruments Beaglebone (beaglebone)
* Freescale MPC8315E-RDB (mpc8315e-rdb)
For more information see the board's section below. The appropriate MACHINE
@@ -179,6 +180,83 @@ USB Device:
http://git.kernel.org/?p=boot/syslinux/syslinux.git;a=blob_plain;f=doc/usbkey.txt;hb=HEAD
+Texas Instruments Beaglebone (beaglebone)
+=========================================
+
+The Beaglebone is an ARM Cortex-A8 development board with USB, Ethernet, 2D/3D
+accelerated graphics, audio, serial, JTAG, and SD/MMC. The Black adds a faster
+CPU, more RAM, eMMC flash and a micro HDMI port. The beaglebone MACHINE is
+tested on the following platforms:
+
+ o Beaglebone Black A6
+ o Beaglebone A6 (the original "White" model)
+
+The Beaglebone Black has eMMC, while the White does not. Pressing the USER/BOOT
+button when powering on will temporarily change the boot order. But for the sake
+of simplicity, these instructions assume you have erased the eMMC on the Black,
+so its boot behavior matches that of the White and boots off of SD card. To do
+this, issue the following commands from the u-boot prompt:
+
+ # mmc dev 1
+ # mmc erase 0 512
+
+To further tailor these instructions for your board, please refer to the
+documentation at http://www.beagleboard.org/bone and http://www.beagleboard.org/black
+
+From a Linux system with access to the image files perform the following steps
+as root, replacing mmcblk0* with the SD card device on your machine (such as sdc
+if used via a usb card reader):
+
+ 1. Partition and format an SD card:
+ # fdisk -lu /dev/mmcblk0
+
+ Disk /dev/mmcblk0: 3951 MB, 3951034368 bytes
+ 255 heads, 63 sectors/track, 480 cylinders, total 7716864 sectors
+ Units = sectors of 1 * 512 = 512 bytes
+
+ Device Boot Start End Blocks Id System
+ /dev/mmcblk0p1 * 63 144584 72261 c Win95 FAT32 (LBA)
+ /dev/mmcblk0p2 144585 465884 160650 83 Linux
+
+ # mkfs.vfat -F 16 -n "boot" /dev/mmcblk0p1
+ # mke2fs -j -L "root" /dev/mmcblk0p2
+
+ The following assumes the SD card partitions 1 and 2 are mounted at
+ /media/boot and /media/root respectively. Removing the card and reinserting
+ it will do just that on most modern Linux desktop environments.
+
+ The files referenced below are made available after the build in
+ build/tmp/deploy/images.
+
+ 2. Install the boot loaders
+ # cp MLO-beaglebone /media/boot/MLO
+ # cp u-boot-beaglebone.img /media/boot/u-boot.img
+
+ 3. Install the root filesystem
+ # tar x -C /media/root -f core-image-$IMAGE_TYPE-beaglebone.tar.bz2
+
+ 4. If using core-image-base or core-image-sato images, the SD card is ready
+ and rootfs already contains the kernel, modules and device tree (DTB)
+ files necessary to be booted with U-boot's default configuration, so
+ skip directly to step 8.
+ For core-image-minimal, proceed through next steps.
+
+ 5. If using core-image-minimal rootfs, install the modules
+ # tar x -C /media/root -f modules-beaglebone.tgz
+
+ 6. If using core-image-minimal rootfs, install the kernel uImage into /boot
+ directory of rootfs
+ # cp uImage-beaglebone.bin /media/root/boot/uImage
+
+ 7. If using core-image-minimal rootfs, also install device tree (DTB) files
+ into /boot directory of rootfs
+ # cp uImage-am335x-bone.dtb /media/root/boot/am335x-bone.dtb
+ # cp uImage-am335x-boneblack.dtb /media/root/boot/am335x-boneblack.dtb
+
+ 8. Unmount the SD partitions, insert the SD card into the Beaglebone, and
+ boot the Beaglebone
+
+
Freescale MPC8315E-RDB (mpc8315e-rdb)
=====================================
--
1.9.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates
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 ` Stanacar, StefanX
2014-04-10 14:14 ` Stanacar, StefanX
1 sibling, 1 reply; 9+ messages in thread
From: Stanacar, StefanX @ 2014-04-10 13:36 UTC (permalink / raw)
To: denis@denix.org; +Cc: yocto@yoctoproject.org, denys@ti.com
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...
Cheers,
Stefan
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
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates
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
0 siblings, 1 reply; 9+ messages in thread
From: Stanacar, StefanX @ 2014-04-10 14:14 UTC (permalink / raw)
To: denis@denix.org; +Cc: yocto@yoctoproject.org, denys@ti.com
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.
Cheers,
Stefan
> Cheers,
> Stefan
>
>
> 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
> >
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates
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
0 siblings, 2 replies; 9+ messages in thread
From: Stanacar, StefanX @ 2014-04-10 15:27 UTC (permalink / raw)
To: denis@denix.org; +Cc: yocto@yoctoproject.org, denys@ti.com
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@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
> > >
> >
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates
2014-04-10 15:27 ` Stanacar, StefanX
@ 2014-04-10 15:30 ` Bruce Ashfield
2014-04-10 15:58 ` Denys Dmytriyenko
1 sibling, 0 replies; 9+ messages in thread
From: Bruce Ashfield @ 2014-04-10 15:30 UTC (permalink / raw)
To: Stanacar, StefanX, denis@denix.org; +Cc: yocto@yoctoproject.org, denys@ti.com
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 <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
>>>>
>>>
>>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates
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
1 sibling, 1 reply; 9+ messages in thread
From: Denys Dmytriyenko @ 2014-04-10 15:58 UTC (permalink / raw)
To: Stanacar, StefanX; +Cc: yocto@yoctoproject.org, denys@ti.com
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.
> > > 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
> > > >
> > >
> >
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates
2014-04-10 15:58 ` Denys Dmytriyenko
@ 2014-04-10 16:35 ` Stanacar, StefanX
2014-04-10 17:18 ` Denys Dmytriyenko
0 siblings, 1 reply; 9+ messages in thread
From: Stanacar, StefanX @ 2014-04-10 16:35 UTC (permalink / raw)
To: denis@denix.org; +Cc: yocto@yoctoproject.org, denys@ti.com
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.
Cheers,
Stefan
>
>
> > > > 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
> > > > >
> > > >
> > >
> >
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [meta-yocto][PATCH 1/2] beaglebone.conf: configuration updates
2014-04-10 16:35 ` Stanacar, StefanX
@ 2014-04-10 17:18 ` Denys Dmytriyenko
0 siblings, 0 replies; 9+ messages in thread
From: Denys Dmytriyenko @ 2014-04-10 17:18 UTC (permalink / raw)
To: Stanacar, StefanX; +Cc: yocto@yoctoproject.org, denys@ti.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
> > > > > >
> > > > >
> > > >
> > >
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-04-10 17:18 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.