[yocto] how to set timezone
Hello All: what is the right way to set timezone? I have added tzdata into my image, and can find some variables in the etc, e.g. 'TZ'. on my archlinux, I can set TIMEZONE in the rc.conf, and used in rc.sysvinit (which will link the /etc/localtime using TIMEZONE). what is the right place to locate similar setting code (e.g. link the /etc/localtime) in the yocto? thanks! -- Yi Qingliang niqingli...@insigma.com.cn http://niqingliang2003.wordpress.com ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] Slow-startup.
Hi all, I'm test-driving the yocto-edison version, Target-armv7 (testing on imx-53x cpu). But, I'm having a strange problem. It takes very long to start the device, every time [not only the first time], at each reboot cycle it takes up to 3 minutes before I get the desktop. At the current time I got to the point (by using printf into the code on 1001 places) that it is the _mb_font_load() in matchbox-lib that makes the startup extremely slow. (system seems to 'hang' for more the 3 minutes before the matchbox-desktop pops up.) Any information available on this? Any hints where to look at ? Kind regards Noel ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 0/1] New meta-romley BSP created.
From: Kishore Bodke kishore.k.bo...@intel.com Hi All This layer provides new BSP meta-romley and tested against the master branch. This provides the support for Romley + Patsburg Chipset for Intel Systems. Romley refers to the Intel Rosecity Board. This has been verified by Tom Zanussi, and wanted to pull this BSP into the main line. I had incorporated the comments mentioned by Tom. Please let me know if anything is required further to get into the main line. Please pull. Thanks Kishore. The following changes since commit b5c9f0af18b80c2b4c478fd7cfb537e0a04a4e22: meta-fri2: README correction (2011-10-25 14:52:36 -0500) are available in the git repository at: git://git.pokylinux.org/meta-intel-contrib master0 http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=master0 Kishore Bodke (1): Romley BSP created. Uses Matrox MGA graphics driver. Signed-off-by: Kishore Bodke kishore.k.bo...@intel.com meta-romley/COPYING.MIT| 17 meta-romley/README | 88 meta-romley/README.sources | 17 meta-romley/conf/layer.conf| 10 ++ meta-romley/conf/machine/romley.conf | 46 ++ .../formfactor/formfactor/romley/machconfig|3 + .../recipes-bsp/formfactor/formfactor_0.0.bbappend |3 + .../recipes-core/tasks/task-core-tools.bbappend|2 + .../xorg-driver/xf86-video-mga_1.4.13.bb | 19 .../xserver-xf86-config/romley/xorg.conf | 26 ++ .../xorg-xserver/xserver-xf86-config_0.1.bbappend |3 + .../xorg-xserver/xserver-xorg_1.11.1.bbappend |1 + .../linux/linux-yocto-rt_3.0.bbappend |8 ++ .../recipes-kernel/linux/linux-yocto_3.0.bbappend |7 ++ 14 files changed, 250 insertions(+), 0 deletions(-) create mode 100644 meta-romley/COPYING.MIT create mode 100644 meta-romley/README create mode 100644 meta-romley/README.sources create mode 100644 meta-romley/binary/.gitignore create mode 100644 meta-romley/conf/layer.conf create mode 100644 meta-romley/conf/machine/romley.conf create mode 100644 meta-romley/recipes-bsp/formfactor/formfactor/romley/machconfig create mode 100644 meta-romley/recipes-bsp/formfactor/formfactor_0.0.bbappend create mode 100644 meta-romley/recipes-core/tasks/task-core-tools.bbappend create mode 100755 meta-romley/recipes-graphics/xorg-driver/xf86-video-mga_1.4.13.bb create mode 100644 meta-romley/recipes-graphics/xorg-xserver/xserver-xf86-config/romley/xorg.conf create mode 100644 meta-romley/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend create mode 100644 meta-romley/recipes-graphics/xorg-xserver/xserver-xorg_1.11.1.bbappend create mode 100644 meta-romley/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend create mode 100644 meta-romley/recipes-kernel/linux/linux-yocto_3.0.bbappend -- 1.7.5.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 1/1] Romley BSP created. Uses Matrox MGA graphics driver. Signed-off-by: Kishore Bodke kishore.k.bo...@intel.com
From: Kishore Bodke kishore.k.bo...@intel.com --- meta-romley/COPYING.MIT| 17 meta-romley/README | 88 meta-romley/README.sources | 17 meta-romley/conf/layer.conf| 10 ++ meta-romley/conf/machine/romley.conf | 46 ++ .../formfactor/formfactor/romley/machconfig|3 + .../recipes-bsp/formfactor/formfactor_0.0.bbappend |3 + .../recipes-core/tasks/task-core-tools.bbappend|2 + .../xorg-driver/xf86-video-mga_1.4.13.bb | 19 .../xserver-xf86-config/romley/xorg.conf | 26 ++ .../xorg-xserver/xserver-xf86-config_0.1.bbappend |3 + .../xorg-xserver/xserver-xorg_1.11.1.bbappend |1 + .../linux/linux-yocto-rt_3.0.bbappend |8 ++ .../recipes-kernel/linux/linux-yocto_3.0.bbappend |7 ++ 14 files changed, 250 insertions(+), 0 deletions(-) create mode 100644 meta-romley/COPYING.MIT create mode 100644 meta-romley/README create mode 100644 meta-romley/README.sources create mode 100644 meta-romley/binary/.gitignore create mode 100644 meta-romley/conf/layer.conf create mode 100644 meta-romley/conf/machine/romley.conf create mode 100644 meta-romley/recipes-bsp/formfactor/formfactor/romley/machconfig create mode 100644 meta-romley/recipes-bsp/formfactor/formfactor_0.0.bbappend create mode 100644 meta-romley/recipes-core/tasks/task-core-tools.bbappend create mode 100755 meta-romley/recipes-graphics/xorg-driver/xf86-video-mga_1.4.13.bb create mode 100644 meta-romley/recipes-graphics/xorg-xserver/xserver-xf86-config/romley/xorg.conf create mode 100644 meta-romley/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend create mode 100644 meta-romley/recipes-graphics/xorg-xserver/xserver-xorg_1.11.1.bbappend create mode 100644 meta-romley/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend create mode 100644 meta-romley/recipes-kernel/linux/linux-yocto_3.0.bbappend diff --git a/meta-romley/COPYING.MIT b/meta-romley/COPYING.MIT new file mode 100644 index 000..fb950dc --- /dev/null +++ b/meta-romley/COPYING.MIT @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the Software), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/meta-romley/README b/meta-romley/README new file mode 100644 index 000..d242534 --- /dev/null +++ b/meta-romley/README @@ -0,0 +1,88 @@ +This README file contains information on building the meta-romley +BSP layer, and booting the images contained in the /binary directory. +Please see the corresponding sections below for details. + +The 'romley' platform consists of the Intel Sandy Bridge processor, +plus the Patsburg chipset. This BSP assumes Matrox graphics is being used. + +Table of Contents += + + I. Building the meta-romley BSP layer + II. Booting the images in /binary + + +I. Building the meta-romley BSP layer +=== + +In order to build an image with BSP support for a given release, you +need to download the corresponding BSP tarball from the 'Board Support +Package (BSP) Downloads' page of the Yocto Project website. + +Having done that, and assuming you extracted the BSP tarball contents +at the top-level of your yocto build tree, you can build a romley +image by adding the location of the meta-romley layer to +bblayers.conf e.g.: + + yocto/meta-intel/meta-romley \ + +To enable the romley layer, add the romley MACHINE to local.conf: + + MACHINE ?= romley + +You should then be able to build a romley image as such: + + $ source oe-init-build-env + $ bitbake core-image-sato + +At the end of a successful build, you should have a live image that +you can boot from a USB flash drive (see instructions on how to do +that below, in the section 'Booting the images from /binary'). + +As an alternative to downloading the BSP tarball, you can also work +directly from the meta-intel git repository. For each BSP in the
[yocto] What's the purpose of BDIR in oe-buildenv-internal?
prepping to give a yocto talk to my local (ottawa) LUG next week, and was reviewing the logic of the setup starting with oe-init-build-env, and noticed in scripts/oe-buildenv-internal a test of the variable BDIR for the name of the build directory. but there's no mention of that variable in the calling oe-init-build-env, and i see no mention of it in the intro-level docs. clearly, one could use that shell env variable if one wanted to name the build directory to be used, but given that there's absolutely no explanation of it anywhere for a new user, what exactly is its purpose? rday ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] What's the purpose of BDIR in oe-buildenv-internal?
On 10/27/2011 01:27 PM, Robert P. J. Day wrote: prepping to give a yocto talk to my local (ottawa) LUG next week, and was reviewing the logic of the setup starting with oe-init-build-env, and noticed in scripts/oe-buildenv-internal a test of the variable BDIR for the name of the build directory. but there's no mention of that variable in the calling oe-init-build-env, and i see no mention of it in the intro-level docs. clearly, one could use that shell env variable if one wanted to name the build directory to be used, but given that there's absolutely no explanation of it anywhere for a new user, what exactly is its purpose? rday This allows you to specify a build directory that lives elsewhere on your filesystem, rather than in poky/build. This is handy in case you want to keep the build system source tree pristine. Simply source the build init script with the desired build directory as an argument. I'm quite sure we have this documented, although BDIR isn't explicitly mentioned. Scott -- Scott Garman Embedded Linux Engineer - Yocto Project Intel Open Source Technology Center ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 0/1] New meta-romley BSP created.--v3
From: Kishore Bodke kishore.k.bo...@intel.com Hi All This layer provides new BSP meta-romley and tested against the master branch. This provides the support for Romley + Patsburg Chipset for Intel Systems. Romley refers to the Intel Rosecity Board. This has been verified by Tom Zanussi, and wanted to pull this BSP into the main line. I had incorporated the comments mentioned by Tom. Please let me know if anything is required further to get into the main line. Please pull. Thanks Kishore. The following changes since commit b5c9f0af18b80c2b4c478fd7cfb537e0a04a4e22: meta-fri2: README correction (2011-10-25 14:52:36 -0500) are available in the git repository at: git://git.pokylinux.org/meta-intel-contrib master0 http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=master0 Kishore Bodke (1): New Romley BSP created. Uses Matrox MGA graphics driver. MAINTAINERS|4 + meta-romley/COPYING.MIT| 17 meta-romley/README | 88 meta-romley/README.sources | 17 meta-romley/conf/layer.conf| 10 ++ meta-romley/conf/machine/romley.conf | 46 ++ .../formfactor/formfactor/romley/machconfig|3 + .../recipes-bsp/formfactor/formfactor_0.0.bbappend |3 + .../recipes-core/tasks/task-core-tools.bbappend|2 + .../xorg-driver/xf86-video-mga_1.4.13.bb | 19 .../xserver-xf86-config/romley/xorg.conf | 26 ++ .../xorg-xserver/xserver-xf86-config_0.1.bbappend |3 + .../xorg-xserver/xserver-xorg_1.11.1.bbappend |1 + .../linux/linux-yocto-rt_3.0.bbappend |8 ++ .../recipes-kernel/linux/linux-yocto_3.0.bbappend |7 ++ 15 files changed, 254 insertions(+), 0 deletions(-) create mode 100644 meta-romley/COPYING.MIT create mode 100644 meta-romley/README create mode 100644 meta-romley/README.sources create mode 100644 meta-romley/binary/.gitignore create mode 100644 meta-romley/conf/layer.conf create mode 100644 meta-romley/conf/machine/romley.conf create mode 100644 meta-romley/recipes-bsp/formfactor/formfactor/romley/machconfig create mode 100644 meta-romley/recipes-bsp/formfactor/formfactor_0.0.bbappend create mode 100644 meta-romley/recipes-core/tasks/task-core-tools.bbappend create mode 100755 meta-romley/recipes-graphics/xorg-driver/xf86-video-mga_1.4.13.bb create mode 100644 meta-romley/recipes-graphics/xorg-xserver/xserver-xf86-config/romley/xorg.conf create mode 100644 meta-romley/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend create mode 100644 meta-romley/recipes-graphics/xorg-xserver/xserver-xorg_1.11.1.bbappend create mode 100644 meta-romley/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend create mode 100644 meta-romley/recipes-kernel/linux/linux-yocto_3.0.bbappend -- 1.7.5.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 1/1] New Romley BSP created. Uses Matrox MGA graphics driver.
From: Kishore Bodke kishore.k.bo...@intel.com Signed-off-by: Kishore Bodke kishore.k.bo...@intel.com --- MAINTAINERS|4 + meta-romley/COPYING.MIT| 17 meta-romley/README | 88 meta-romley/README.sources | 17 meta-romley/conf/layer.conf| 10 ++ meta-romley/conf/machine/romley.conf | 46 ++ .../formfactor/formfactor/romley/machconfig|3 + .../recipes-bsp/formfactor/formfactor_0.0.bbappend |3 + .../recipes-core/tasks/task-core-tools.bbappend|2 + .../xorg-driver/xf86-video-mga_1.4.13.bb | 19 .../xserver-xf86-config/romley/xorg.conf | 26 ++ .../xorg-xserver/xserver-xf86-config_0.1.bbappend |3 + .../xorg-xserver/xserver-xorg_1.11.1.bbappend |1 + .../linux/linux-yocto-rt_3.0.bbappend |8 ++ .../recipes-kernel/linux/linux-yocto_3.0.bbappend |7 ++ 15 files changed, 254 insertions(+), 0 deletions(-) create mode 100644 meta-romley/COPYING.MIT create mode 100644 meta-romley/README create mode 100644 meta-romley/README.sources create mode 100644 meta-romley/binary/.gitignore create mode 100644 meta-romley/conf/layer.conf create mode 100644 meta-romley/conf/machine/romley.conf create mode 100644 meta-romley/recipes-bsp/formfactor/formfactor/romley/machconfig create mode 100644 meta-romley/recipes-bsp/formfactor/formfactor_0.0.bbappend create mode 100644 meta-romley/recipes-core/tasks/task-core-tools.bbappend create mode 100755 meta-romley/recipes-graphics/xorg-driver/xf86-video-mga_1.4.13.bb create mode 100644 meta-romley/recipes-graphics/xorg-xserver/xserver-xf86-config/romley/xorg.conf create mode 100644 meta-romley/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend create mode 100644 meta-romley/recipes-graphics/xorg-xserver/xserver-xorg_1.11.1.bbappend create mode 100644 meta-romley/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend create mode 100644 meta-romley/recipes-kernel/linux/linux-yocto_3.0.bbappend diff --git a/MAINTAINERS b/MAINTAINERS index fda48ad..49b536e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -57,6 +57,10 @@ N450 M: Darren Hart dvh...@linux.intel.com F: meta-n450/ +ROMLEY +M: Kishore Bodke kishore.k.bo...@intel.com +F: meta-romley/ + SUGARBAY M: Tom Zanussi tom.zanu...@intel.com F: meta-sugarbay/ diff --git a/meta-romley/COPYING.MIT b/meta-romley/COPYING.MIT new file mode 100644 index 000..fb950dc --- /dev/null +++ b/meta-romley/COPYING.MIT @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the Software), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/meta-romley/README b/meta-romley/README new file mode 100644 index 000..d242534 --- /dev/null +++ b/meta-romley/README @@ -0,0 +1,88 @@ +This README file contains information on building the meta-romley +BSP layer, and booting the images contained in the /binary directory. +Please see the corresponding sections below for details. + +The 'romley' platform consists of the Intel Sandy Bridge processor, +plus the Patsburg chipset. This BSP assumes Matrox graphics is being used. + +Table of Contents += + + I. Building the meta-romley BSP layer + II. Booting the images in /binary + + +I. Building the meta-romley BSP layer +=== + +In order to build an image with BSP support for a given release, you +need to download the corresponding BSP tarball from the 'Board Support +Package (BSP) Downloads' page of the Yocto Project website. + +Having done that, and assuming you extracted the BSP tarball contents +at the top-level of your yocto build tree, you can build a romley +image by adding the location of the meta-romley layer to +bblayers.conf e.g.: + + yocto/meta-intel/meta-romley \ + +To enable the romley layer, add the romley MACHINE to local.conf: + + MACHINE ?= romley +
[yocto] Building for pandaboard
Hi, I'm interested in using Yocto to build linux for PandaBoard. It seems there are already patches some where that I can use to build for panda, as I found some discussions mentioning PandaBoard patch in the archive. But I could not apply it. I'd appreciate some pointers on how to find and apply the right patch. Just trying to apply http://article.gmane.org/gmane.linux.embedded.yocto.general/2037/match=pandaboardas a patch using git am command gave the following error. I'm using release 1.1 Edison. briansp@LinuxMint11 ~/poky $ git am ~/Documents/pandaboard.patch previous rebase directory /home/briansp/poky/.git/rebase-apply still exists but mbox given. I'm new to developing for linux and yocto. So, any help would be appreciated. Thank you Brian ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] What's the purpose of BDIR in oe-buildenv-internal?
On Thu, 27 Oct 2011, Scott Garman wrote: On 10/27/2011 01:27 PM, Robert P. J. Day wrote: prepping to give a yocto talk to my local (ottawa) LUG next week, and was reviewing the logic of the setup starting with oe-init-build-env, and noticed in scripts/oe-buildenv-internal a test of the variable BDIR for the name of the build directory. but there's no mention of that variable in the calling oe-init-build-env, and i see no mention of it in the intro-level docs. clearly, one could use that shell env variable if one wanted to name the build directory to be used, but given that there's absolutely no explanation of it anywhere for a new user, what exactly is its purpose? This allows you to specify a build directory that lives elsewhere on your filesystem, rather than in poky/build. This is handy in case you want to keep the build system source tree pristine. Simply source the build init script with the desired build directory as an argument. I'm quite sure we have this documented, although BDIR isn't explicitly mentioned. that's the point i was raising -- that variable's value is obvious, it's just not described anywhere i noticed. rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] how to set timezone
Is anyone there? On Thu, 2011-10-27 at 16:45 +0800, Ni Qingliang wrote: Hello All: what is the right way to set timezone? I have added tzdata into my image, and can find some variables in the etc, e.g. 'TZ'. on my archlinux, I can set TIMEZONE in the rc.conf, and used in rc.sysvinit (which will link the /etc/localtime using TIMEZONE). what is the right place to locate similar setting code (e.g. link the /etc/localtime) in the yocto? thanks! -- Yi Qingliang niqingli...@insigma.com.cn http://niqingliang2003.wordpress.com ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto -- Yi Qingliang niqingli...@insigma.com.cn http://niqingliang2003.wordpress.com ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto