Re: [yocto] [PATCH] poky-tiny: Assume pkgconfig is provided

2012-03-01 Thread Khem Raj
On 02/25/2012 08:29 AM, Darren Hart wrote: > +# -dev packages require pkgconfig, but it pulls in glib->dbus->shadow > +# which breaks with tiny's minimal libc. > +# -dev packages are not currently supported on poky-tiny. > +ASSUME_PROVIDED += "pkgconfig$" > + what does $ at end signify ? __

Re: [yocto] [PATCH] poky-tiny: Assume pkgconfig is provided

2012-03-01 Thread Khem Raj
On 02/25/2012 08:29 AM, Darren Hart wrote: > -dev packages require pkgconfig, but it pulls in glib->dbus->shadow > which breaks with tiny's minimal libc. > > -dev packages are not currently supported on poky-tiny. > > Proposed-by: Richard Purdie > Signed-off-by: Darren Hart > --- > meta-yocto/

Re: [yocto] Documentation: Default FILESDIR

2012-03-01 Thread Rifenbark, Scott M
Darren, Please look at http://www.yoctoproject.org/docs/latest/poky-ref-manual/poky-ref-manual.html#platdev-appdev-insitu in the YP Reference manual. This is the section you refer to in this mail. The link in this latest version correctly goes to the referenced Quilt section, which has sign

Re: [yocto] Documentation: Default FILESDIR

2012-03-01 Thread Paul Eggleton
On Thursday 01 March 2012 15:36:27 Rifenbark, Scott M wrote: > Please look at > http://www.yoctoproject.org/docs/latest/poky-ref-manual/poky-ref-manual.htm > l#platdev-appdev-insitu in the YP Reference manual. This is the section you > refer to in this mail. The link in this latest version correc

Re: [yocto] Documentation: Default FILESDIR

2012-03-01 Thread Darren Hart
On 03/01/2012 07:36 AM, Rifenbark, Scott M wrote: > Darren, > > Please look at > http://www.yoctoproject.org/docs/latest/poky-ref-manual/poky-ref-manual.html#platdev-appdev-insitu > in the YP Reference manual. This is the section you refer to in this > mail. The link in this latest version cor

Re: [yocto] [PATCH 0/1] [KERNEL] enable Cedarview config parameters

2012-03-01 Thread Bruce Ashfield
On 12-02-29 07:13 PM, kishore.k.bo...@intel.com wrote: From: Kishore Bodke Hi, This patch is to enable Cedarview config parameters and add the kernel patches to the yocto/pvr branch in linux-yocto-3.0 and linux-yocto-3.2 tree. The patch itself looks ok. When merging features like this, we ty

Re: [yocto] [PATCH 0/1] [KERNEL] enable Cedarview config parameters

2012-03-01 Thread Bodke, Kishore K
Hi Bruce, We got the patches from Cedartrail Meego team and applied to Yocto/pvr branch. Below is the link where we have taken the patches from. http://build.meego.com/package/files?package=kernel-adaptation-pc&project=MeeGo%3A1.2.0%3ACedarTrail%3Aoss&rev=10 We have tested it on 3.0, but not y

[yocto] [PATCH] include usbinit package with usbgadget feature

2012-03-01 Thread Hollis Blanchard
The g_ether kernel module, in the kernel-module-g-ether package, allows targets to use a USB connection as a network interface. However, that's not useful until the module is loaded. The usbinit package provides the /etc/init.d/usb-gether script to load the g_ether module at boot, so it should

Re: [yocto] [PATCH] include usbinit package with usbgadget feature

2012-03-01 Thread Darren Hart
On 03/01/2012 02:26 PM, Hollis Blanchard wrote: > The g_ether kernel module, in the kernel-module-g-ether package, allows > targets to use a USB connection as a network interface. However, that's > not useful until the module is loaded. > > The usbinit package provides the /etc/init.d/usb-geth

Re: [yocto] [PATCH] include usbinit package with usbgadget feature

2012-03-01 Thread Hollis Blanchard
On 03/01/2012 02:45 PM, Darren Hart wrote: On 03/01/2012 02:26 PM, Hollis Blanchard wrote: The g_ether kernel module, in the kernel-module-g-ether package, allows targets to use a USB connection as a network interface. However, that's not useful until the module is loaded. The usbinit package p

Re: [yocto] building with 1.2_M3

2012-03-01 Thread Darren Hart
On 02/29/2012 01:47 PM, jfabernathy wrote: > On 02/29/2012 03:35 PM, Gary Thomas wrote: >> On 2012-02-29 13:32, jfabernathy wrote: >>> Just for fun, I thought I'd build meta-cedartrail today since I saw >>> 1.2_M3 branch show up when I did a git pull today. The only thing I >>> did above the ba

Re: [yocto] [PATCH] include usbinit package with usbgadget feature

2012-03-01 Thread Darren Hart
On 03/01/2012 03:01 PM, Hollis Blanchard wrote: > On 03/01/2012 02:45 PM, Darren Hart wrote: >> On 03/01/2012 02:26 PM, Hollis Blanchard wrote: >>> The g_ether kernel module, in the kernel-module-g-ether package, allows >>> targets to use a USB connection as a network interface. However, that's >

[yocto] first in probably a number of questions about yocto and qemu

2012-03-01 Thread Robert P. J. Day
i'm writing up a tutorial on using qemu with yocto, so i'll start with what is undoubtedly a simple question. i notice in local.conf the line: #IMAGETEST = "qemu" which would appear to be available no matter what machine you select. i thought i'd read that yocto had limited support for qemu

[yocto] [PATCH 00/11][linux-yocto-3.0] Backport fixes and add FRI2 support to pch_uart

2012-03-01 Thread Darren Hart
Backport 7 patches bringing pch_uart up to date with required fixes and new features to support the 4 new patches (from me) enabling the FRI2 serial port. My patches have been sent to LKML and have received the approval one of the driver maintainers. They are currently pending review and a pull fr

[yocto] [PATCH 05/11] pch_uart: Add MSI support

2012-03-01 Thread Darren Hart
From: Alexander Stein commit e463595fd9c752fa4bf06b47df93ef9ade3c7cf0 upstream. Signed-off-by: Alexander Stein Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/pch_uart.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/tty/serial/pch_uart.c b/drive

[yocto] [PATCH 09/11] pch_uart: Add Fish River Island II uart clock quirks

2012-03-01 Thread Darren Hart
Add support for the Fish River Island II (FRI2) UART clock following the CM-iTC quirk handling mechanism. Depending on the firmware installed on the device, the FRI2 uses a 48MHz or a 64MHz UART clock. This is detected with DMI strings. Add similar UART clock quirk handling to the pch_console_setu

[yocto] [PATCH 02/11] pch_uart: Set PCIe bus number using probe parameter

2012-03-01 Thread Darren Hart
From: Tomoya MORINAGA commit 6c4b47d243112e98811ce0da7bbb32cc3857dd1a upstream. Currently, PCIe bus number is set as fixed value "2". However, PCIe bus number is not always "2". This patch sets bus number using probe() parameter. Signed-off-by: Tomoya MORINAGA Signed-off-by: Greg Kroah-Hartman

[yocto] [PATCH 0/3][linux-yocto-3.0] Meta updates for fri2

2012-03-01 Thread Darren Hart
Update the meta data for FRI2 to support the new serial console support and add the SMP and EFI features to the scc directly. The following changes since commit d7b46785d6781e2c23d754f35f09bebd3b74b5bb: meta: create pvr feature description (2012-02-27 15:54:24 -0500) are available in the git r

[yocto] [PATCH 03/11] TTY: serial, fix includes in some drivers

2012-03-01 Thread Darren Hart
From: Jiri Slaby commit ee160a38eee357ed2572cf41437d5814ce53c839 upstream. linux/tty_flip.h is included in linux/serial_core.h. But this may (and will) change in the future. Then we would get build errors such as: .../tty/serial/max3107.c: In function ‘put_data_to_circ_buf’: .../tty/serial/max31

[yocto] [PATCH 08/11] pch_uart: Use uartclk instead of base_baud

2012-03-01 Thread Darren Hart
The term "base baud" refers to the fastest baud rate the device can communicate at. This is clock/16. pch_uart is using base_baud as the clock itself. Rename the variables to be semantically correct. Signed-off-by: Darren Hart CC: Tomoya MORINAGA CC: Feng Tang CC: Greg Kroah-Hartman CC: Alan C

[yocto] [PATCH 3/3] fri2: Add SMP and EFI support

2012-03-01 Thread Darren Hart
Rather than add these as features in the linux-yocto recipe, include them in the BSP meta-data directly. Include only the core EFI bits in the fri2.scc, and add the extended EFI support to the fri2-standard.scc so that other ktypes don't pull in more than what's absolutely required from fri2.scc.

[yocto] [PATCH 11/11] pch_uart: Use existing default_baud in setup_console

2012-03-01 Thread Darren Hart
Rather than hardcode 9600, use the existing default_baud parameter (which also defaults to 9600). Signed-off-by: Darren Hart CC: Tomoya MORINAGA CC: Feng Tang CC: Greg Kroah-Hartman CC: Alan Cox CC: linux-ser...@vger.kernel.org --- drivers/tty/serial/pch_uart.c |2 +- 1 files changed, 1

[yocto] [PATCH 06/11] drivers/tty/serial/pch_uart.c: add console support

2012-03-01 Thread Darren Hart
From: Alexander Stein commit e30f867d402d6dcc2d03d8dd5da3863f7c83572a upstream. Add console support to pch_uart. To enable append e.g. console=ttyPCH0,115200 to your kernel command line. This is not expected work on CM-iTC boards due to their having a different clock. Signed-off-by: Alexander

[yocto] [PATCH 0/5][linux-yocto-3.2] Backport fixes and add FRI2 support to pch_uart

2012-03-01 Thread Darren Hart
Backport consle support and add the 4 new patches (from me) enabling the FRI2 serial port. My patches have been sent to LKML and have received the approval one of the driver maintainers. They are currently pending review and a pull from Greg KH. Please apply to standard/base and down. The follow

[yocto] [PATCH 1/5] drivers/tty/serial/pch_uart.c: add console support

2012-03-01 Thread Darren Hart
From: Alexander Stein commit e30f867d402d6dcc2d03d8dd5da3863f7c83572a upstream. Add console support to pch_uart. To enable append e.g. console=ttyPCH0,115200 to your kernel command line. This is not expected work on CM-iTC boards due to their having a different clock. Signed-off-by: Alexander

[yocto] [PATCH 04/11] pch_uart: Change company name OKI SEMICONDUCTOR to LAPIS Semiconductor

2012-03-01 Thread Darren Hart
From: Tomoya MORINAGA commit eca9dfa846a3d0eeb865e290851f4bfe4fb34fdd upstream. On October 1 in 2011, OKI SEMICONDUCTOR Co., Ltd. changed the company name in to LAPIS Semiconductor Co., Ltd. Signed-off-by: Tomoya MORINAGA Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/pch_uart.c |

[yocto] [PATCH 01/11] pch_uart: add missing comment about OKI ML7223

2012-03-01 Thread Darren Hart
From: Alexander Stein commit bff52fd458a1bca06266449b0ab8a43e9a50d240 upstream. Signed-off-by: Alexander Stein Reviewed-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/pch_uart.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/tty/ser

[yocto] [PATCH 07/11] serial/pch: use global div helper instead of creating a private one

2012-03-01 Thread Darren Hart
From: Uwe Kleine-König commit 0e2adc06843a9b5a28af4ca5f796240297907897 upstream. Signed-off-by: Uwe Kleine-König Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/pch_uart.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/tty/se

[yocto] [PATCH 10/11] pch_uart: Add user_uartclk parameter

2012-03-01 Thread Darren Hart
For cases where boards with non-default clocks are not yet added to the kernel or when the clock varies across hardware revisions, it is useful to be able to specify the UART clock on the kernel command line. Add the user_uartclk parameter and prefer it, if set, to the default and board specific U

[yocto] [PATCH 4/5] pch_uart: Add user_uartclk parameter

2012-03-01 Thread Darren Hart
From: Darren Hart For cases where boards with non-default clocks are not yet added to the kernel or when the clock varies across hardware revisions, it is useful to be able to specify the UART clock on the kernel command line. Add the user_uartclk parameter and prefer it, if set, to the default

[yocto] [PATCH 2/5] pch_uart: Use uartclk instead of base_baud

2012-03-01 Thread Darren Hart
From: Darren Hart The term "base baud" refers to the fastest baud rate the device can communicate at. This is clock/16. pch_uart is using base_baud as the clock itself. Rename the variables to be semantically correct. Signed-off-by: Darren Hart CC: Tomoya MORINAGA CC: Feng Tang CC: Greg Kroah

[yocto] [PATCH 1/3] fri2: Drop 8250 from the fri2 scc

2012-03-01 Thread Darren Hart
The FRI2 has a pch_uart. Depending on the firmware, the kernel may decide to use the 8250 or the pch_uart driver. As the firmware configures the pch_uart with a non-standard UART clock, it is necessary to ensure the pch_uart is used. To do this, drop the 8250 support from the kernel. Signed-off-by

[yocto] [PATCH 2/3] eg20t: Enable serial console for the pch_uart

2012-03-01 Thread Darren Hart
The FRI2 uses the pch_uart driver for the serial console. Enable the console driver. Signed-off-by: Darren Hart --- meta/cfg/kernel-cache/features/eg20t/eg20t.cfg |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg b/meta/cfg/k

[yocto] [PATCH 3/5] pch_uart: Add Fish River Island II uart clock quirks

2012-03-01 Thread Darren Hart
From: Darren Hart Add support for the Fish River Island II (FRI2) UART clock following the CM-iTC quirk handling mechanism. Depending on the firmware installed on the device, the FRI2 uses a 48MHz or a 64MHz UART clock. This is detected with DMI strings. Add similar UART clock quirk handling to

[yocto] [PATCH 5/5] pch_uart: Use existing default_baud in setup_console

2012-03-01 Thread Darren Hart
From: Darren Hart Rather than hardcode 9600, use the existing default_baud parameter (which also defaults to 9600). Signed-off-by: Darren Hart CC: Tomoya MORINAGA CC: Feng Tang CC: Greg Kroah-Hartman CC: Alan Cox CC: linux-ser...@vger.kernel.org --- drivers/tty/serial/pch_uart.c |2 +-

[yocto] [PATCH 0/6][linux-yocto-3.2] Meta update for sys940x, bootlive, and FRI2

2012-03-01 Thread Darren Hart
Pull in the sys940x from the 3.0 tree. Pull in the boot-live cfg cleanup from the 3.0 tree. Add FRI2 serial port support. Move the SMP and EFI features into the scc files rather than specifying them in the recipes. Finally, breakout the non-hardware features from the fri2 scc file and move them int

[yocto] [PATCH 1/6] meta: sys940x BSP meta data

2012-03-01 Thread Darren Hart
From: Darren Hart The Inforce SYS940x-ECX Developer-Ready Reference Platform features: o Intel Atom E6xx (0.6-1.6 GHz) o Up to 1GB on-board DDR2 o Intel Platform Controller Hub EG20T o VGA,LVDS o HD Audio o SD Card o Dual SATA o Mini-PCIe http://www.inforcecomputing.com/SYS940X_ECX.html Signed-

[yocto] [PATCH 2/6] Remove boot-live cfg duplication from BSPs

2012-03-01 Thread Darren Hart
From: Darren Hart Several BSPs duplicated the boot-live fragment in their BSP specific config. Remove the duplication and add CONFIG_RD_GZIP and CONFIG_BLK_DEV_SR to the boot-live fragment. Signed-off-by: Darren Hart Acked-by: Tom Zanussi --- .../cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg

[yocto] [PATCH 3/6] fri2: Drop 8250 from the fri2 scc

2012-03-01 Thread Darren Hart
From: Darren Hart The FRI2 has a pch_uart. Depending on the firmware, the kernel may decide to use the 8250 or the pch_uart driver. As the firmware configures the pch_uart with a non-standard UART clock, it is necessary to ensure the pch_uart is used. To do this, drop the 8250 support from the ke

[yocto] [PATCH 4/6] eg20t: Enable serial console for the pch_uart

2012-03-01 Thread Darren Hart
From: Darren Hart The FRI2 uses the pch_uart driver for the serial console. Enable the console driver. Signed-off-by: Darren Hart --- meta/cfg/kernel-cache/features/eg20t/eg20t.cfg |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/meta/cfg/kernel-cache/features/eg20t/eg2

[yocto] [PATCH 5/6] fri2: Add SMP and EFI support

2012-03-01 Thread Darren Hart
From: Darren Hart Rather than add these as features in the linux-yocto recipe, include them in the BSP meta-data directly. Include only the core EFI bits in the fri2.scc, and add the extended EFI support to the fri2-standard.scc so that other ktypes don't pull in more than what's absolutely requi

[yocto] [PATCH 6/6] fri2: Move non-hardware optional features out of fri2.scc

2012-03-01 Thread Darren Hart
From: Darren Hart Move policy features out of fri2.scc and into the fri2-KTYPE.scc files. This allows KTYPEs like tiny to build smaller kernels while still reusing the fri2.scc file. Signed-off-by: Darren Hart --- meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc |6 ++ meta/cfg/kerne

[yocto] do_qa_cofigure error message: host include and/or library paths while determining system capabilities

2012-03-01 Thread Saxena, Rahul
Hi, Can someone explain the meaning of the following error: | ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. | Rerun configure task after fixing this. The path was '/home/rsaxena/YoctoWork3x/cedarmplayer2/tmp/work/

Re: [yocto] do_qa_cofigure error message: host include and/or library paths while determining system capabilities

2012-03-01 Thread Joshua Immanuel
Hello Rahul, On Fri, 2012-03-02 at 02:00 +, Saxena, Rahul wrote: > Can someone explain the meaning of the following error: > > | ERROR: This autoconf log indicates errors, it looked at host include > and/or library paths while determining system capabilities. The insane.bbclass greps the co

[yocto] [PATCH 0/8] Yocto BSP tools

2012-03-01 Thread tom . zanussi
From: Tom Zanussi This patchset implements the 'yocto-bsp' and 'yocto-kernel' BSP tools previously described in some detail in this RFC posting: https://lists.yoctoproject.org/pipermail/yocto/2011-December/006111.html With the functionality implemented by this patchset, you can: - create a new

[yocto] [PATCH 2/8] yocto-bsp-tools: add bsp library

2012-03-01 Thread tom . zanussi
From: Tom Zanussi Create a home for the yocto bsp tools. Signed-off-by: Tom Zanussi --- scripts/lib/bsp/__init__.py | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) create mode 100644 scripts/lib/bsp/__init__.py diff --git a/scripts/lib/bsp/__init__.py b/scripts/li

[yocto] [PATCH 5/8] yocto-bsp-tools: add help/usage

2012-03-01 Thread tom . zanussi
From: Tom Zanussi This is essentially 'the documentation' for the Yocto BSP tools, along with a few related functions. Signed-off-by: Tom Zanussi --- scripts/lib/bsp/help.py | 588 +++ 1 files changed, 588 insertions(+), 0 deletions(-) create mode

[yocto] [PATCH 7/8] yocto-bsp: new script

2012-03-01 Thread tom . zanussi
From: Tom Zanussi Implementation of the 'yocto-bsp' command-line tool, for creating BSPs and listing BSP properties. Signed-off-by: Tom Zanussi --- scripts/yocto-bsp | 131 + 1 files changed, 131 insertions(+), 0 deletions(-) create mode 10

[yocto] [PATCH 8/8] yocto-kernel: new script

2012-03-01 Thread tom . zanussi
From: Tom Zanussi Implementation of the 'yocto-kernel' command-line tool, for modifying the kernel portion of a Yocto BSP. Signed-off-by: Tom Zanussi --- scripts/yocto-kernel | 219 ++ 1 files changed, 219 insertions(+), 0 deletions(-) create m

[yocto] [PATCH 6/8] yocto-bsp: add some useful constants

2012-03-01 Thread tom . zanussi
From: Tom Zanussi Some constants used by the templating engine. Signed-off-by: Tom Zanussi --- scripts/lib/bsp/tags.py | 39 +++ 1 files changed, 39 insertions(+), 0 deletions(-) create mode 100644 scripts/lib/bsp/tags.py diff --git a/scripts/lib/bsp/tag

[yocto] [PATCH 4/8] yocto-bsp: add kernel interface

2012-03-01 Thread tom . zanussi
From: Tom Zanussi Yocto BSP kernel-related functions, for interacting with the kernel tools and implementing the machinery behind the 'yocto-kernel' command. Signed-off-by: Tom Zanussi --- scripts/lib/bsp/kernel.py | 679 + 1 files changed, 679 inse

[yocto] [PATCH 3/8] yocto-bsp: add templating engine

2012-03-01 Thread tom . zanussi
From: Tom Zanussi The main implementation of the Yocto BSP templating engine, essentially containing the internal implementation of the 'yocto-bsp create' and yocto-bsp list' commands. Signed-off-by: Tom Zanussi --- scripts/lib/bsp/engine.py | 1336 +