[yocto] initramfs support in Yocto

2012-03-02 Thread Luo Zhenhua-B19537
Hello all, Does Yocto support initramfs build? Best Regards, Zhenhua ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] proper recipe for building for beagle xM? meta-ti?

2012-03-02 Thread Koen Kooi
Op 28 feb. 2012, om 23:28 heeft Robert P. J. Day het volgende geschreven: > On Tue, 28 Feb 2012, Koen Kooi wrote: > >> >> Op 28 feb. 2012, om 22:55 heeft Robert P. J. Day het volgende geschreven: >> >>> On Tue, 28 Feb 2012, Bruce Ashfield wrote: >>> It is true that the beagleboard is a h

[yocto] simplest recipe for running yocto qemu images?

2012-03-02 Thread Robert P. J. Day
i want to do a short writeup on the *simplest* recipe for how to run the pre-built yocto qemu image you can get here: http://downloads.yoctoproject.org/releases/yocto/yocto-1.1/machines/qemu/ and what should have been a simple procedure got a bit messy. to be clear, i want to document the abs

Re: [yocto] simplest recipe for running yocto qemu images?

2012-03-02 Thread Paul Eggleton
On Friday 02 March 2012 06:57:57 Robert P. J. Day wrote: > ok, it *has* to be easier than this. quite simply, if one wants to > do nothing more than *run* one of those qemu images, there should be > no need to do any building or bitbaking, should there? am i missing > something hideously obviou

Re: [yocto] simplest recipe for running yocto qemu images?

2012-03-02 Thread Robert P. J. Day
On Fri, 2 Mar 2012, Paul Eggleton wrote: > On Friday 02 March 2012 06:57:57 Robert P. J. Day wrote: > > ok, it *has* to be easier than this. quite simply, if one wants > > to do nothing more than *run* one of those qemu images, there > > should be no need to do any building or bitbaking, should

Re: [yocto] simplest recipe for running yocto qemu images?

2012-03-02 Thread Paul Eggleton
On Friday 02 March 2012 07:16:08 Robert P. J. Day wrote: > i gathered that. but is it unreasonable to suggest that this is > something that *should* be easy to do? if new users simply want to > see what a yocto-generated image looks like under qemu, shouldn't > there be a way to let them do tha

Re: [yocto] simplest recipe for running yocto qemu images?

2012-03-02 Thread Robert P. J. Day
On Fri, 2 Mar 2012, Paul Eggleton wrote: > On Friday 02 March 2012 07:16:08 Robert P. J. Day wrote: > > i gathered that. but is it unreasonable to suggest that this is > > something that *should* be easy to do? if new users simply want to > > see what a yocto-generated image looks like under q

Re: [yocto] simplest recipe for running yocto qemu images? [SOLVED]

2012-03-02 Thread Robert P. J. Day
On Fri, 2 Mar 2012, Paul Eggleton wrote: > On Friday 02 March 2012 07:16:08 Robert P. J. Day wrote: > > i gathered that. but is it unreasonable to suggest that this is > > something that *should* be easy to do? if new users simply want to > > see what a yocto-generated image looks like under q

Re: [yocto] initramfs support in Yocto

2012-03-02 Thread Darren Hart
Hi Zhenhua, On 03/02/2012 01:59 AM, Luo Zhenhua-B19537 wrote: > Hello all, > > Does Yocto support initramfs build? Can you be more specific about what you are looking for? When you build an image with the cpio.gz image type, you can boot that as an initramfs with the following kernel command lin

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

2012-03-02 Thread Darren Hart
On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > 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 t

Re: [yocto] [PATCH 1/8] yocto-bsp: add BSP template files

2012-03-02 Thread Darren Hart
On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > From: Tom Zanussi > > BSP template files for all supported Yocto architectures, plus qemu > versions of the same. > > Signed-off-by: Tom Zanussi > --- > .../target/arch/arm/conf/machine/{{=machine}}.conf | 87 + > .../{{ if xserver

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

2012-03-02 Thread Darren Hart
Responded privately to Tom on this one... On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > 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 del

Re: [yocto] proper recipe for building for beagle xM? meta-ti?

2012-03-02 Thread Stewart, David C
>From: yocto-boun...@yoctoproject.org [mailto:yocto- >boun...@yoctoproject.org] On Behalf Of Koen Kooi >Sent: Friday, March 02, 2012 2:07 AM > >Well, if you use the angstrom setupscript you get 'yocto'. Your phrasing seems >to suggest you are confusing 'yocto' with 'poky', which is a common mistake

Re: [yocto] proper recipe for building for beagle xM? meta-ti?

2012-03-02 Thread Robert P. J. Day
On Fri, 2 Mar 2012, Stewart, David C wrote: > >From: yocto-boun...@yoctoproject.org [mailto:yocto- > >boun...@yoctoproject.org] On Behalf Of Koen Kooi > >Sent: Friday, March 02, 2012 2:07 AM > > > >Well, if you use the angstrom setupscript you get 'yocto'. Your phrasing > >seems > >to suggest you

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

2012-03-02 Thread Darren Hart
On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > 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 > --- > scrip

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

2012-03-02 Thread Tom Zanussi
On Fri, 2012-03-02 at 08:24 -0800, Darren Hart wrote: > > On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > > 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.y

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

2012-03-02 Thread Darren Hart
On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > 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

Re: [yocto] proper recipe for building for beagle xM? meta-ti?

2012-03-02 Thread Koen Kooi
Op 2 mrt. 2012, om 17:45 heeft Stewart, David C het volgende geschreven: >> From: yocto-boun...@yoctoproject.org [mailto:yocto- >> boun...@yoctoproject.org] On Behalf Of Koen Kooi >> Sent: Friday, March 02, 2012 2:07 AM >> >> Well, if you use the angstrom setupscript you get 'yocto'. Your phrasi

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

2012-03-02 Thread Darren Hart
On 03/02/2012 09:02 AM, Tom Zanussi wrote: > On Fri, 2012-03-02 at 08:24 -0800, Darren Hart wrote: >>> For any subcommand, you can also use the word 'help' just before the >>> subcommand to get more extensive documentation on the subcommand: >>> >>> $ yocto-bsp help create >>> >> >> I believe it

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

2012-03-02 Thread Darren Hart
On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > 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 > +++

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

2012-03-02 Thread Darren Hart
On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > 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(-) > cre

Re: [yocto] [PATCH 1/8] yocto-bsp: add BSP template files

2012-03-02 Thread Tom Zanussi
On Fri, 2012-03-02 at 08:35 -0800, Darren Hart wrote: > > On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > > From: Tom Zanussi > > > > BSP template files for all supported Yocto architectures, plus qemu > > versions of the same. > > > > Signed-off-by: Tom Zanussi > > --- > > .../target/

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

2012-03-02 Thread Darren Hart
On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > 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 > +++

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

2012-03-02 Thread Tom Zanussi
On Fri, 2012-03-02 at 08:57 -0800, Darren Hart wrote: > > On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > > From: Tom Zanussi > > > > The main implementation of the Yocto BSP templating engine, > > essentially containing the internal implementation of the 'yocto-bsp > > create' and yocto-

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

2012-03-02 Thread Darren Hart
On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > 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 > ++

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

2012-03-02 Thread Tom Zanussi
On Fri, 2012-03-02 at 09:23 -0800, Darren Hart wrote: > > On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > > 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 > > --- >

[yocto] running yocto QEMU images (sort of) by their lonesome

2012-03-02 Thread Robert P. J. Day
i wrote it up because IWFM (it works for me): http://www.crashcourse.ca/wiki/index.php/Yocto_and_QEMU#Running_pre-built_Yocto_images_in_QEMU yes, i'm well aware it's a hack but if newcomers want to fire up a yocto-built image, it seems to do the job. feel free to denigrate and demean it appro

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

2012-03-02 Thread Tom Zanussi
On Fri, 2012-03-02 at 09:11 -0800, Darren Hart wrote: > > On 03/01/2012 11:01 PM, tom.zanu...@intel.com wrote: > > From: Tom Zanussi > > > > Yocto BSP kernel-related functions, for interacting with the kernel > > tools and implementing the machinery behind the 'yocto-kernel' > > command. > > >

Re: [yocto] initramfs support in Yocto

2012-03-02 Thread Jeremy Puhlman
> Can you be more specific about what you are looking for? When you build > an image with the cpio.gz image type, you can boot that as an initramfs > with the following kernel command line: > > initrd=core-image-minimal-fri2.cpio.gz root=/dev/ram0 > > If you are looking for something beyond that, p

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

2012-03-02 Thread Bruce Ashfield
On 12-03-01 06:58 PM, Darren Hart wrote: 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

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

2012-03-02 Thread Bruce Ashfield
On 12-03-01 06:59 PM, Darren Hart wrote: 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

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

2012-03-02 Thread Bruce Ashfield
On 12-03-01 06:59 PM, Darren Hart wrote: 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 a

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

2012-03-02 Thread Bruce Ashfield
On 12-03-01 06:59 PM, Darren Hart wrote: 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. Looks fine to me as well. That's a better place for the common

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

2012-03-02 Thread Bruce Ashfield
On 12-03-01 06:59 PM, Darren Hart wrote: From: Darren Hart The FRI2 uses the pch_uart driver for the serial console. Enable the console driver. It this safe for all eg20t users ? I see the crownbay also uses this. Bruce Signed-off-by: Darren Hart --- meta/cfg/kernel-cache/features/eg20t/

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

2012-03-02 Thread Bruce Ashfield
On 12-03-01 06:59 PM, Darren Hart wrote: 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

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

2012-03-02 Thread Bruce Ashfield
On 12-03-01 06:59 PM, Darren Hart wrote: 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. Exactly. Good factoring of the options. I had one question on the ser

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

2012-03-02 Thread Bruce Ashfield
On 12-03-01 04:36 PM, Bodke, Kishore K wrote: 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%3

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

2012-03-02 Thread Darren Hart
On 03/02/2012 01:16 PM, Bruce Ashfield wrote: > On 12-03-01 06:59 PM, Darren Hart wrote: >> From: Darren Hart >> >> The FRI2 uses the pch_uart driver for the serial console. Enable the console >> driver. > > It this safe for all eg20t users ? I see the crownbay also > uses this. It is safe. The

Re: [yocto] proper recipe for building for beagle xM? meta-ti?

2012-03-02 Thread William Mills
On 02/28/2012 05:28 PM, Robert P. J. Day wrote: On Tue, 28 Feb 2012, Koen Kooi wrote: Op 28 feb. 2012, om 22:55 heeft Robert P. J. Day het volgende geschreven: On Tue, 28 Feb 2012, Bruce Ashfield wrote: It is true that the beagleboard is a hardware reference board in the yocto consolidate

Re: [yocto] proper recipe for building for beagle xM? meta-ti?

2012-03-02 Thread Robert P. J. Day
On Fri, 2 Mar 2012, William Mills wrote: ... snip ... > Congratulations you are the first beta tester for the new README.txt > language :) (patched two days ago). > > Denys: I suggest > > change: > > "Due to the above, it is now recommended to follow the instructions > at http://www.angstrom-dist

Re: [yocto] proper recipe for building for beagle xM? meta-ti?

2012-03-02 Thread William Mills
On 03/02/2012 05:33 PM, Robert P. J. Day wrote: On Fri, 2 Mar 2012, William Mills wrote: ... snip ... Congratulations you are the first beta tester for the new README.txt language :) (patched two days ago). Denys: I suggest change: "Due to the above, it is now recommended to follow the in

Re: [yocto] proper recipe for building for beagle xM? meta-ti?

2012-03-02 Thread Gary Thomas
On 2012-03-02 15:50, William Mills wrote: On 03/02/2012 05:33 PM, Robert P. J. Day wrote: On Fri, 2 Mar 2012, William Mills wrote: ... snip ... Congratulations you are the first beta tester for the new README.txt language :) (patched two days ago). Denys: I suggest change: "Due to the ab

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

2012-03-02 Thread Saxena, Rahul
Hi Joshua, The error message however does not seem to print the correct problematic path.. but I was able to find the problem using your tips. Thanks ! Rahul -Original Message- From: Joshua Immanuel [mailto:j...@hipro.co.in] Sent: Thursday, March 01, 2012 7:52 PM To: Saxena, Rahul Cc:

Re: [yocto] proper recipe for building for beagle xM? meta-ti?

2012-03-02 Thread William Mills
On 03/02/2012 06:18 PM, Gary Thomas wrote: On 2012-03-02 15:50, William Mills wrote: On 03/02/2012 05:33 PM, Robert P. J. Day wrote: On Fri, 2 Mar 2012, William Mills wrote: ... snip ... Congratulations you are the first beta tester for the new README.txt language :) (patched two days ag