Re: [yocto] Raspberry Pi [was Re: Kernel modules fail to compile for ARM]
Hi Bruce, On 15/05/12 19:07, Bruce Ashfield wrote: > On 12-05-15 01:36 PM, Tomas Frydrych wrote: >> Let me turn this question back at you then: is Yocto going to be doing >> thorough Q&A for all of these HW platforms? Decent Q&A is what really >> sets Yocto apart, and what makes it my first port of call, but I got a >> feeling that the scope of this is at the moment somewhat restricted as >> far as HW is concerned; without Q&A 'fixes' quickly turn into problems >> -- I'd rather be pulling kernel from somewhere that deals with the >> specific HW that pick up generic fixes without the Q&A. > > I spend all day every day working with targets across the spectrum of > arch and use case, with plenty of drivers and core infrastructure > in common, so those sorts of changes being monitored and being included > are definitely in place. Cool, but a developer working with targets does not really qualify as QA. QA implies testing that culminates in a formal release. > As for hardware specific QA, the yocto project itself runs QA on targets > that we've tagged as a hardware reference. The raspberry pi is one that > I've been considering as a new reference, so if that was the case, it would > get extra coverage. It is certainly an interesting / high profile enough board to be of interest to Yocto as a project I think. > That being said, it obviously doesn't scale that just because we align > on a kernel version, set of features, base configuration, etc, that > the yocto project itself would run machine/BSP specific QA. That would > be a place where interested parties would already be doing QA, This is where it becomes problematic. Interested parties simply cannot be relied on doing QA, that was pretty much why Poky came to be (BTW, 'git tag' provides a rudimentary insight into project QA mentality; the absence of release tags invariably means no QA worth mentioning and pain in store ... an interesting exercise when it comes to meta-*). So, if meta-yocto contains machine/.conf I expect meta-yocto to be providing quality assured images for . If Yocto can't do that, I question the value of including it at all. But that aside, I'd very much recommend that the RPI kernel for meta-rasberrypi to be based on the Yocto kernel tree; as a Yocto user, rather than a kernel developer, the whole config fragment machinery provides a very clean and controlled way of managing the kernel and is really nice to work with. :-) Tomas ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] Raspberry Pi [was Re: Kernel modules fail to compile for ARM]
On 12-05-16 03:46 AM, Tomas Frydrych wrote: Hi Bruce, On 15/05/12 19:07, Bruce Ashfield wrote: On 12-05-15 01:36 PM, Tomas Frydrych wrote: Let me turn this question back at you then: is Yocto going to be doing thorough Q&A for all of these HW platforms? Decent Q&A is what really sets Yocto apart, and what makes it my first port of call, but I got a feeling that the scope of this is at the moment somewhat restricted as far as HW is concerned; without Q&A 'fixes' quickly turn into problems -- I'd rather be pulling kernel from somewhere that deals with the specific HW that pick up generic fixes without the Q&A. I spend all day every day working with targets across the spectrum of arch and use case, with plenty of drivers and core infrastructure in common, so those sorts of changes being monitored and being included are definitely in place. Cool, but a developer working with targets does not really qualify as QA. QA implies testing that culminates in a formal release. ok, I'll agree that one person's QA is another person's boot test :) I was more meaning, unit, device testing. Performing full QA across several machines that share an architecture and common code is something that I've been trying to reduce for some time now. And what I mean by that, is that machine/BSP testing should at some level rely on the results from other arch testing (posix, ltp, etc) being transitive to that machine. That allows the BSP testing to focus on the drivers and configuration that are unique to the board. When I was writing this, I was thinking of someone, anyone, running their normal use cases with the board. Those cases + architecture generic QA gets you a long way to full QA. As for hardware specific QA, the yocto project itself runs QA on targets that we've tagged as a hardware reference. The raspberry pi is one that I've been considering as a new reference, so if that was the case, it would get extra coverage. It is certainly an interesting / high profile enough board to be of interest to Yocto as a project I think. That being said, it obviously doesn't scale that just because we align on a kernel version, set of features, base configuration, etc, that the yocto project itself would run machine/BSP specific QA. That would be a place where interested parties would already be doing QA, This is where it becomes problematic. Interested parties simply cannot be relied on doing QA, that was pretty much why Poky came to be (BTW, 'git tag' provides a rudimentary insight into project QA mentality; the absence of release tags invariably means no QA worth mentioning and pain in store ... an interesting exercise when it comes to meta-*). Agreed. That's why having a set of references boards, and extended references boards is key. That way at least some testing and quality is in place, even if not perfect. So, if meta-yocto contains machine/.conf I expect meta-yocto to be providing quality assured images for. If Yocto can't do that, I question the value of including it at all. I don't disagree. I just think that having even a common base, or common kernel version removes some of the duplication of effort, even if it doesn't take us all the way to a full QA .. since scaling to that for hundreds of boards might be difficult (and the 'might' is meant to be understated :). But that aside, I'd very much recommend that the RPI kernel for meta-rasberrypi to be based on the Yocto kernel tree; as a Yocto user, rather than a kernel developer, the whole config fragment machinery provides a very clean and controlled way of managing the kernel and is really nice to work with. :-) It's a start! Cheers, Bruce Tomas ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 00/22][KERNEL] policy cleanup patches, v3
From: Tom Zanussi This set of patches factors out the policy vs hardware-related config of the common-pc and common-pc-64 along with some meta-intel BSPs. There are also a couple usb cleanups as well. This patchset has been boot-tested with sato images on the following machines: qemux86, qemux86-64, crownbay, sugarbay, emenlow, and jasperforest. v2: updated to reflect Darren's comments. This new patchset also adds the usb-mass-storage feature to common-pc and common-pc-64, and at the same time factors out the common SCSI pieces into a new set of scsi features. It also removes options and feature use made redundant by the above changes. v3: updated to reflect Darren's latest comments i.e. CONFIG_BLOCK added to the scsi feature, and ehci removed from jasperforest and sugarbay since that comes in via common-pc-64. Please pull into linux-yocto-3.2. Tom The following changes since commit 1dfd60fa1250259eed38ae5b2840eb37e3758a1b: Tom Zanussi (1): meta/fishriver: move smp options from recipe-space are available in the git repository at: git://git.yoctoproject.org/linux-yocto-2.6.37-contrib.git tzanussi/policy-cleanup http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/policy-cleanup Tom Zanussi (22): meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature meta/common-pc: use usb features meta/common-pc-64: use usb features meta/common-pc: factor out policy-related options meta/common-pc-64: factor out policy-related options meta/crownbay: factor out policy-related options meta/emenlow: factor out policy-related options meta/fishriver: factor out policy-related options meta/jasperforest: factor out policy-related options meta/sugarbay: factor out policy-related options meta: add scsi feature meta: add scsi disk feature meta: factor out SCSI options from the usb-mass-storage feature meta/common-pc: use usb-mass-storage feature meta: add scsi cdrom feature meta/common-pc-64: use usb-mass-storage feature meta/common-pc-64: factor out SCSI CDROM option meta/jasperforest: remove redundant features and options meta/sugarbay: remove redundant features and options meta/crownbay: remove redundant features and options meta/emenlow: remove redundant features and options meta/fishriver: remove redundant features and options .../bsp/common-pc-64/common-pc-64-preempt-rt.scc |7 +++ .../bsp/common-pc-64/common-pc-64-standard.scc |7 +++ .../kernel-cache/bsp/common-pc-64/common-pc-64.cfg |8 .../kernel-cache/bsp/common-pc-64/common-pc-64.scc | 10 -- .../bsp/common-pc/common-pc-preempt-rt.scc |8 .../bsp/common-pc/common-pc-standard.scc |7 +++ .../kernel-cache/bsp/common-pc/common-pc-tiny.scc |5 + meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg |8 meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc |7 +++ .../bsp/crownbay/crownbay-preempt-rt.scc |8 .../bsp/crownbay/crownbay-standard.scc |7 +++ meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg|1 - meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc|8 .../bsp/emenlow/emenlow-preempt-rt.scc |8 .../kernel-cache/bsp/emenlow/emenlow-standard.scc |8 meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg |1 - meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc |8 .../bsp/fishriver/fishriver-preempt-rt.scc |8 .../bsp/fishriver/fishriver-standard.scc |8 meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg |1 - meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc |8 .../bsp/jasperforest/jasperforest-preempt-rt.scc |4 .../bsp/jasperforest/jasperforest-standard.scc |3 +++ .../kernel-cache/bsp/jasperforest/jasperforest.cfg |1 - .../kernel-cache/bsp/jasperforest/jasperforest.scc | 10 -- .../bsp/sugarbay/sugarbay-preempt-rt.scc |4 .../bsp/sugarbay/sugarbay-standard.scc |3 +++ meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.cfg|1 - meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc| 10 -- meta/cfg/kernel-cache/cfg/usb-mass-storage.cfg |2 -- meta/cfg/kernel-cache/cfg/usb-mass-storage.scc |2 ++ meta/cfg/kernel-cache/features/scsi/cdrom.cfg |1 + meta/cfg/kernel-cache/features/scsi/cdrom.scc |6 ++ meta/cfg/kernel-cache/features/scsi/disk.cfg |1 + meta/cfg/kernel-cache/features/scsi/disk.scc |6 ++ meta/cfg/kernel-cache/features/scsi/scsi.cfg |2 ++ meta/cfg/kernel-cache/features/scsi/scsi.scc |4 meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg|1 + 38 files changed, 121 insertions(+), 81 deletions(-) create mode 100644 meta/cfg/kernel-cache/features/scsi/cdrom.cfg create mode 100644 meta/cfg/kernel-
[yocto] [PATCH 03/22][KERNEL] meta/common-pc-64: use usb features
From: Tom Zanussi Use the available ehci and uhci usb features and remove the associated config settings from the top-level common-pc feature. Signed-off-by: Tom Zanussi --- .../kernel-cache/bsp/common-pc-64/common-pc-64.cfg |3 --- .../kernel-cache/bsp/common-pc-64/common-pc-64.scc |2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.cfg b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.cfg index 3b2621e..8d35931 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.cfg +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.cfg @@ -59,9 +59,6 @@ CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_PCI=y CONFIG_SERIAL_8250_PNP=y -CONFIG_USB=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_UHCI_HCD=y CONFIG_USB_STORAGE=y # For /proc/bus/usb and lsusb. CONFIG_USB_DEVICEFS=y diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc index b27e793..d0327c5 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc @@ -4,6 +4,8 @@ kconf hardware common-pc-64-graphics.cfg include cfg/boot-live.scc include features/hpet/hpet.scc +include features/usb/ehci-hcd.scc +include features/usb/uhci-hcd.scc include features/intel-e1/intel-e100.scc include features/intel-e1/intel-e1.scc -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 04/22][KERNEL] meta/common-pc: factor out policy-related options
From: Tom Zanussi Refactor bsp/common-pc/common-pc* to keep hardware-related options in the base common-pc.scc while moving the more 'policy'-related options into the files that include the base common-pc.scc fragment. This allows the different kernel types to make use of the basic machine support without dragging along possibly unwanted options that fall under the heading of 'policy' for a specific kernel type. Signed-off-by: Tom Zanussi --- .../bsp/common-pc/common-pc-preempt-rt.scc |7 +++ .../bsp/common-pc/common-pc-standard.scc |6 ++ .../kernel-cache/bsp/common-pc/common-pc-tiny.scc |5 + meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc |5 + 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc index f8716ee..706f669 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc @@ -4,4 +4,11 @@ define KARCH i386 # no new branch required, re-use the ktypes/preempt-rt branch include ktypes/preempt-rt + include bsp/common-pc/common-pc.scc + +# default policy for preempt-rt kernels +include cfg/boot-live.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc +include cfg/virtio.scc diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc index f5baf52..83d49fd 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc @@ -6,3 +6,9 @@ include ktypes/standard branch common-pc include common-pc.scc + +# default policy for standard kernels +include cfg/boot-live.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc +include cfg/virtio.scc diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc index 8d7a498..900eb27 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-tiny.scc @@ -5,8 +5,5 @@ define KARCH i386 include ktypes/tiny branch common-pc -# Don't include common-pc.scc directly, -# it pulls in too many non-hardware options -kconf hardware common-pc.cfg -kconf hardware common-pc-gfx.cfg +include common-pc.scc diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc b/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc index 2338ea6..02ddfd4 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc @@ -1,11 +1,8 @@ kconf hardware common-pc.cfg kconf hardware common-pc-gfx.cfg -include cfg/boot-live.scc include features/usb/ehci-hcd.scc include features/usb/uhci-hcd.scc +include features/usb/ohci-hcd.scc include features/intel-e1/intel-e100.scc include features/intel-e1/intel-e1.scc -include features/latencytop/latencytop.scc -include features/profiling/profiling.scc -include cfg/virtio.scc -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 06/22][KERNEL] meta/crownbay: factor out policy-related options
From: Tom Zanussi Refactor bsp/common-pc/crownbay* to keep hardware-related options in the base crownbay.scc while moving the more 'policy'-related options into the files that include the base crownbay.scc fragment. This allows the different kernel types to make use of the basic machine support without dragging along possibly unwanted options that fall under the heading of 'policy' for a specific kernel type. Signed-off-by: Tom Zanussi --- .../bsp/crownbay/crownbay-preempt-rt.scc |8 .../bsp/crownbay/crownbay-standard.scc |7 +++ meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc|8 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/crownbay/crownbay-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/crownbay/crownbay-preempt-rt.scc index d58b4be..11067ef 100644 --- a/meta/cfg/kernel-cache/bsp/crownbay/crownbay-preempt-rt.scc +++ b/meta/cfg/kernel-cache/bsp/crownbay/crownbay-preempt-rt.scc @@ -4,4 +4,12 @@ define KARCH i386 # no new branch required, re-use the ktypes/preempt-rt branch include ktypes/preempt-rt + include crownbay.scc + +# default policy for preempt-rt kernels +include cfg/usb-mass-storage.scc +include cfg/boot-live.scc +include features/logbuf/size-normal.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc diff --git a/meta/cfg/kernel-cache/bsp/crownbay/crownbay-standard.scc b/meta/cfg/kernel-cache/bsp/crownbay/crownbay-standard.scc index d6036f7..dd9dbc7 100644 --- a/meta/cfg/kernel-cache/bsp/crownbay/crownbay-standard.scc +++ b/meta/cfg/kernel-cache/bsp/crownbay/crownbay-standard.scc @@ -9,3 +9,10 @@ include features/emgd/emgd-1.10.scc git merge emgd-1.10 include crownbay.scc + +# default policy for standard kernels +include cfg/usb-mass-storage.scc +include cfg/boot-live.scc +include features/logbuf/size-normal.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc diff --git a/meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc b/meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc index c4bc1a5..08e3083 100644 --- a/meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc +++ b/meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc @@ -8,16 +8,8 @@ include cfg/dmaengine.scc include features/serial/8250.scc include features/hpet/hpet.scc include cfg/vesafb.scc -include cfg/usb-mass-storage.scc -include cfg/boot-live.scc include cfg/smp.scc include features/power/intel.scc -include features/logbuf/size-normal.scc - -include features/latencytop/latencytop.scc -include features/profiling/profiling.scc - include features/usb/ehci-hcd.scc include features/usb/ohci-hcd.scc -include features/usb/uhci-hcd.scc -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 08/22][KERNEL] meta/fishriver: factor out policy-related options
From: Tom Zanussi Refactor bsp/common-pc/fishriver* to keep hardware-related options in the base fishriver.scc while moving the more 'policy'-related options into the files that include the base fishriver.scc fragment. This allows the different kernel types to make use of the basic machine support without dragging along possibly unwanted options that fall under the heading of 'policy' for a specific kernel type. Signed-off-by: Tom Zanussi --- .../bsp/fishriver/fishriver-preempt-rt.scc |8 .../bsp/fishriver/fishriver-standard.scc |8 meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc |8 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/fishriver/fishriver-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/fishriver/fishriver-preempt-rt.scc index 1a5e46a..f37e1c6 100644 --- a/meta/cfg/kernel-cache/bsp/fishriver/fishriver-preempt-rt.scc +++ b/meta/cfg/kernel-cache/bsp/fishriver/fishriver-preempt-rt.scc @@ -4,4 +4,12 @@ define KARCH i386 # no new branch required, re-use the ktypes/preempt-rt branch include ktypes/preempt-rt + include fishriver.scc + +# default policy for preempt-rt kernels +include cfg/usb-mass-storage.scc +include cfg/boot-live.scc +include features/logbuf/size-normal.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc diff --git a/meta/cfg/kernel-cache/bsp/fishriver/fishriver-standard.scc b/meta/cfg/kernel-cache/bsp/fishriver/fishriver-standard.scc index e697d7e..fb2dc25 100644 --- a/meta/cfg/kernel-cache/bsp/fishriver/fishriver-standard.scc +++ b/meta/cfg/kernel-cache/bsp/fishriver/fishriver-standard.scc @@ -9,3 +9,11 @@ include features/emgd/emgd.scc git merge emgd include fishriver.scc + +# default policy for standard kernels +include cfg/usb-mass-storage.scc +include cfg/boot-live.scc +include features/logbuf/size-normal.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc + diff --git a/meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc b/meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc index e401274..f06618b 100644 --- a/meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc +++ b/meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc @@ -8,16 +8,8 @@ include features/serial/8250.scc include features/hpet/hpet.scc include features/ericsson-3g/f5521gw.scc include cfg/vesafb.scc -include cfg/usb-mass-storage.scc -include cfg/boot-live.scc include cfg/smp.scc include features/power/intel.scc -include features/logbuf/size-normal.scc - -include features/latencytop/latencytop.scc -include features/profiling/profiling.scc - include features/usb/ehci-hcd.scc -include features/usb/ohci-hcd.scc include features/usb/uhci-hcd.scc -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 07/22][KERNEL] meta/emenlow: factor out policy-related options
From: Tom Zanussi Refactor bsp/emenlow/emenlow* to keep hardware-related options in the base emenlow.scc while moving the more 'policy'-related options into the files that include the base emenlow.scc fragment. This allows the different kernel types to make use of the basic machine support without dragging along possibly unwanted options that fall under the heading of 'policy' for a specific kernel type. Signed-off-by: Tom Zanussi --- .../bsp/emenlow/emenlow-preempt-rt.scc |8 .../kernel-cache/bsp/emenlow/emenlow-standard.scc |8 meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc |8 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/emenlow/emenlow-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/emenlow/emenlow-preempt-rt.scc index 156e4c6..85d8367 100644 --- a/meta/cfg/kernel-cache/bsp/emenlow/emenlow-preempt-rt.scc +++ b/meta/cfg/kernel-cache/bsp/emenlow/emenlow-preempt-rt.scc @@ -4,4 +4,12 @@ define KARCH i386 # no new branch required, re-use the ktypes/preempt-rt branch include ktypes/preempt-rt + include emenlow.scc + +# default policy for preempt-rt kernels +include cfg/usb-mass-storage.scc +include cfg/boot-live.scc +include features/logbuf/size-normal.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc diff --git a/meta/cfg/kernel-cache/bsp/emenlow/emenlow-standard.scc b/meta/cfg/kernel-cache/bsp/emenlow/emenlow-standard.scc index 804b36e..aac1b09 100644 --- a/meta/cfg/kernel-cache/bsp/emenlow/emenlow-standard.scc +++ b/meta/cfg/kernel-cache/bsp/emenlow/emenlow-standard.scc @@ -6,3 +6,11 @@ include ktypes/standard branch emenlow include emenlow.scc + +# default policy for standard kernels +include cfg/usb-mass-storage.scc +include cfg/boot-live.scc +include features/logbuf/size-normal.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc + diff --git a/meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc b/meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc index 2967d93..e69c0c5 100644 --- a/meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc +++ b/meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc @@ -6,15 +6,7 @@ include features/intel-e1/intel-e1.scc include features/drm-psb/drm-psb.scc include features/serial/8250.scc include cfg/vesafb.scc -include cfg/usb-mass-storage.scc -include cfg/boot-live.scc include cfg/smp.scc -include features/logbuf/size-normal.scc - -include features/latencytop/latencytop.scc -include features/profiling/profiling.scc - include features/usb/ehci-hcd.scc -include features/usb/ohci-hcd.scc include features/usb/uhci-hcd.scc -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 01/22][KERNEL] meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature
From: Tom Zanussi Add root hub transaction translator support for supporting companion ohci/uhci controllers , which is safe even if the ehci controller doesn't have companion controllers. Signed-off-by: Tom Zanussi --- meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg b/meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg index 7322dc2..b977248 100644 --- a/meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg +++ b/meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg @@ -1 +1,2 @@ CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_ROOT_HUB_TT=y -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 11/22][KERNEL] meta: add scsi feature
From: Tom Zanussi Add a feature to enable SCSI support. This also creates a scsi/ directory to contain further SCSI options. Signed-off-by: Tom Zanussi --- meta/cfg/kernel-cache/features/scsi/scsi.cfg |2 ++ meta/cfg/kernel-cache/features/scsi/scsi.scc |4 2 files changed, 6 insertions(+), 0 deletions(-) create mode 100644 meta/cfg/kernel-cache/features/scsi/scsi.cfg create mode 100644 meta/cfg/kernel-cache/features/scsi/scsi.scc diff --git a/meta/cfg/kernel-cache/features/scsi/scsi.cfg b/meta/cfg/kernel-cache/features/scsi/scsi.cfg new file mode 100644 index 000..0965a80 --- /dev/null +++ b/meta/cfg/kernel-cache/features/scsi/scsi.cfg @@ -0,0 +1,2 @@ +CONFIG_BLOCK=y +CONFIG_SCSI=y diff --git a/meta/cfg/kernel-cache/features/scsi/scsi.scc b/meta/cfg/kernel-cache/features/scsi/scsi.scc new file mode 100644 index 000..bd739e8 --- /dev/null +++ b/meta/cfg/kernel-cache/features/scsi/scsi.scc @@ -0,0 +1,4 @@ +define KFEATURE_DESCRIPTION "Enable options for SCSI support" +define KFEATURE_COMPATIBILITY board + +kconf hardware scsi.cfg -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 05/22][KERNEL] meta/common-pc-64: factor out policy-related options
From: Tom Zanussi Refactor bsp/common-pc-64/common-pc-64* to keep hardware-related options in the base common-pc-64.scc while moving the more 'policy'-related options into the files that include the base common-pc-64.scc fragment. This allows the different kernel types to make use of the basic machine support without dragging along possibly unwanted options that fall under the heading of 'policy' for a specific kernel type. Signed-off-by: Tom Zanussi --- .../bsp/common-pc-64/common-pc-64-preempt-rt.scc |6 ++ .../bsp/common-pc-64/common-pc-64-standard.scc |6 ++ .../kernel-cache/bsp/common-pc-64/common-pc-64.scc |7 +-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-preempt-rt.scc index ea13b44..8a79dd1 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-preempt-rt.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-preempt-rt.scc @@ -4,5 +4,11 @@ define KARCH x86_64 # no new branch required, re-use the ktypes/preempt-rt branch include ktypes/preempt-rt + include bsp/common-pc-64/common-pc-64.scc +# default policy for preempt-rt kernels +include cfg/boot-live.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc +include cfg/virtio.scc diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-standard.scc b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-standard.scc index aa690cd..dcb1949 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-standard.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-standard.scc @@ -6,3 +6,9 @@ include ktypes/standard branch common-pc-64 include common-pc-64.scc + +# default policy for standard kernels +include cfg/boot-live.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc +include cfg/virtio.scc diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc index d0327c5..82d1af3 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc @@ -1,14 +1,9 @@ kconf hardware common-pc-64.cfg kconf hardware common-pc-64-graphics.cfg -include cfg/boot-live.scc - include features/hpet/hpet.scc include features/usb/ehci-hcd.scc include features/usb/uhci-hcd.scc +include features/usb/ohci-hcd.scc include features/intel-e1/intel-e100.scc include features/intel-e1/intel-e1.scc - -include features/latencytop/latencytop.scc -include features/profiling/profiling.scc -include cfg/virtio.scc -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 12/22][KERNEL] meta: add scsi disk feature
From: Tom Zanussi Add a feature to enable SCSI disk support. Signed-off-by: Tom Zanussi --- meta/cfg/kernel-cache/features/scsi/disk.cfg |1 + meta/cfg/kernel-cache/features/scsi/disk.scc |6 ++ 2 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 meta/cfg/kernel-cache/features/scsi/disk.cfg create mode 100644 meta/cfg/kernel-cache/features/scsi/disk.scc diff --git a/meta/cfg/kernel-cache/features/scsi/disk.cfg b/meta/cfg/kernel-cache/features/scsi/disk.cfg new file mode 100644 index 000..e71b9a4 --- /dev/null +++ b/meta/cfg/kernel-cache/features/scsi/disk.cfg @@ -0,0 +1 @@ +CONFIG_BLK_DEV_SD=y diff --git a/meta/cfg/kernel-cache/features/scsi/disk.scc b/meta/cfg/kernel-cache/features/scsi/disk.scc new file mode 100644 index 000..fdda548 --- /dev/null +++ b/meta/cfg/kernel-cache/features/scsi/disk.scc @@ -0,0 +1,6 @@ +define KFEATURE_DESCRIPTION "Enable options for SCSI disk support" +define KFEATURE_COMPATIBILITY board + +include scsi.scc + +kconf hardware disk.cfg -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 09/22][KERNEL] meta/jasperforest: factor out policy-related options
From: Tom Zanussi Refactor bsp/common-pc/jasperforest* to keep hardware-related options in the base jasperforest.scc while moving the more 'policy'-related options into the files that include the base jasperforest.scc fragment. This allows the different kernel types to make use of the basic machine support without dragging along possibly unwanted options that fall under the heading of 'policy' for a specific kernel type. Signed-off-by: Tom Zanussi --- .../bsp/jasperforest/jasperforest-preempt-rt.scc |7 +++ .../bsp/jasperforest/jasperforest-standard.scc |6 ++ .../kernel-cache/bsp/jasperforest/jasperforest.scc | 10 -- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-preempt-rt.scc index 4b5c2ca..b3a6370 100644 --- a/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-preempt-rt.scc +++ b/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-preempt-rt.scc @@ -5,4 +5,11 @@ define KARCH x86_64 # no new branch required, re-use the ktypes/preempt-rt branch include ktypes/preempt-rt include bsp/common-pc-64/common-pc-64.scc + include jasperforest.scc + +# default policy for preempt-rt kernels +include cfg/usb-mass-storage.scc +include features/logbuf/size-normal.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc diff --git a/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-standard.scc b/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-standard.scc index baf66d8..ec7a10a 100644 --- a/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-standard.scc +++ b/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-standard.scc @@ -6,3 +6,9 @@ include bsp/common-pc-64/common-pc-64-standard branch jasperforest include jasperforest.scc + +# default policy for standard kernels +include cfg/usb-mass-storage.scc +include features/logbuf/size-normal.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc diff --git a/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest.scc b/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest.scc index 82f0f52..f27a473 100644 --- a/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest.scc +++ b/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest.scc @@ -2,14 +2,4 @@ kconf hardware jasperforest.cfg include features/serial/8250.scc include cfg/vesafb.scc -include cfg/usb-mass-storage.scc include features/power/intel.scc - -include features/logbuf/size-normal.scc - -include features/latencytop/latencytop.scc -include features/profiling/profiling.scc - -include features/usb/ehci-hcd.scc -include features/usb/ohci-hcd.scc -include features/usb/uhci-hcd.scc -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 14/22][KERNEL] meta/common-pc: use usb-mass-storage feature
From: Tom Zanussi Add the usb-mass-storage feature and remove the options available in that feature from common-pc.cfg. Signed-off-by: Tom Zanussi --- .../bsp/common-pc/common-pc-preempt-rt.scc |1 + .../bsp/common-pc/common-pc-standard.scc |1 + meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg |3 --- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc index 706f669..53e4d69 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-preempt-rt.scc @@ -9,6 +9,7 @@ include bsp/common-pc/common-pc.scc # default policy for preempt-rt kernels include cfg/boot-live.scc +include cfg/usb-mass-storage.scc include features/latencytop/latencytop.scc include features/profiling/profiling.scc include cfg/virtio.scc diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc index 83d49fd..a2f2520 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-standard.scc @@ -9,6 +9,7 @@ include common-pc.scc # default policy for standard kernels include cfg/boot-live.scc +include cfg/usb-mass-storage.scc include features/latencytop/latencytop.scc include features/profiling/profiling.scc include cfg/virtio.scc diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg b/meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg index db6ffb1..2293cfe 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg @@ -27,8 +27,6 @@ CONFIG_PCI=y CONFIG_PCI_GOANY=y CONFIG_PCIEPORTBUS=y -CONFIG_SCSI=y -CONFIG_BLK_DEV_SD=y CONFIG_ATA=y CONFIG_ATA_ACPI=y CONFIG_ATA_SFF=y @@ -74,7 +72,6 @@ CONFIG_VT=y CONFIG_VGA_CONSOLE=y CONFIG_USB_DEVICEFS=y -CONFIG_USB_STORAGE=y CONFIG_USB_HID=y CONFIG_USB_HIDDEV=y CONFIG_USB_SERIAL=y -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 16/22][KERNEL] meta/common-pc-64: use usb-mass-storage feature
From: Tom Zanussi Add the usb-mass-storage feature and remove the options available in that feature from common-pc-64.cfg. Signed-off-by: Tom Zanussi --- .../bsp/common-pc-64/common-pc-64-preempt-rt.scc |1 + .../bsp/common-pc-64/common-pc-64-standard.scc |1 + .../kernel-cache/bsp/common-pc-64/common-pc-64.cfg |3 --- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-preempt-rt.scc index 8a79dd1..970808d 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-preempt-rt.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-preempt-rt.scc @@ -9,6 +9,7 @@ include bsp/common-pc-64/common-pc-64.scc # default policy for preempt-rt kernels include cfg/boot-live.scc +include cfg/usb-mass-storage.scc include features/latencytop/latencytop.scc include features/profiling/profiling.scc include cfg/virtio.scc diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-standard.scc b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-standard.scc index dcb1949..d2e73f5 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-standard.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64-standard.scc @@ -9,6 +9,7 @@ include common-pc-64.scc # default policy for standard kernels include cfg/boot-live.scc +include cfg/usb-mass-storage.scc include features/latencytop/latencytop.scc include features/profiling/profiling.scc include cfg/virtio.scc diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.cfg b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.cfg index 8d35931..ffb2cbc 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.cfg +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.cfg @@ -35,8 +35,6 @@ CONFIG_ATA=y CONFIG_SATA_AHCI=y CONFIG_ATA_PIIX=y -CONFIG_SCSI=y -CONFIG_BLK_DEV_SD=y CONFIG_BLK_DEV_SR=y CONFIG_BLK_DEV_FD=m @@ -59,7 +57,6 @@ CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_PCI=y CONFIG_SERIAL_8250_PNP=y -CONFIG_USB_STORAGE=y # For /proc/bus/usb and lsusb. CONFIG_USB_DEVICEFS=y -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 17/22][KERNEL] meta/common-pc-64: factor out SCSI CDROM option
From: Tom Zanussi Remove the BLK_DEV_SR option from common-pc-64.cfg and replace it with the scsi/cdrom feature. Signed-off-by: Tom Zanussi --- .../kernel-cache/bsp/common-pc-64/common-pc-64.cfg |2 -- .../kernel-cache/bsp/common-pc-64/common-pc-64.scc |1 + 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.cfg b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.cfg index ffb2cbc..fb5c349 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.cfg +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.cfg @@ -35,8 +35,6 @@ CONFIG_ATA=y CONFIG_SATA_AHCI=y CONFIG_ATA_PIIX=y -CONFIG_BLK_DEV_SR=y - CONFIG_BLK_DEV_FD=m CONFIG_MII=y diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc index 82d1af3..0100a82 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc @@ -7,3 +7,4 @@ include features/usb/uhci-hcd.scc include features/usb/ohci-hcd.scc include features/intel-e1/intel-e100.scc include features/intel-e1/intel-e1.scc +include features/scsi/cdrom.scc -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 18/22][KERNEL] meta/jasperforest: remove redundant features and options
From: Tom Zanussi Remove features and options already inherited from common-pc-64. Signed-off-by: Tom Zanussi --- .../bsp/jasperforest/jasperforest-preempt-rt.scc |3 --- .../bsp/jasperforest/jasperforest-standard.scc |3 --- .../kernel-cache/bsp/jasperforest/jasperforest.cfg |1 - 3 files changed, 0 insertions(+), 7 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-preempt-rt.scc index b3a6370..7e4568e 100644 --- a/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-preempt-rt.scc +++ b/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-preempt-rt.scc @@ -9,7 +9,4 @@ include bsp/common-pc-64/common-pc-64.scc include jasperforest.scc # default policy for preempt-rt kernels -include cfg/usb-mass-storage.scc include features/logbuf/size-normal.scc -include features/latencytop/latencytop.scc -include features/profiling/profiling.scc diff --git a/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-standard.scc b/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-standard.scc index ec7a10a..8dfc40d 100644 --- a/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-standard.scc +++ b/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest-standard.scc @@ -8,7 +8,4 @@ branch jasperforest include jasperforest.scc # default policy for standard kernels -include cfg/usb-mass-storage.scc include features/logbuf/size-normal.scc -include features/latencytop/latencytop.scc -include features/profiling/profiling.scc diff --git a/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest.cfg b/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest.cfg index e2310a5..fc2b7cc 100644 --- a/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest.cfg +++ b/meta/cfg/kernel-cache/bsp/jasperforest/jasperforest.cfg @@ -13,7 +13,6 @@ CONFIG_PATA_SCH=y CONFIG_MMC_SDHCI_PCI=y CONFIG_PCIEPORTBUS=y CONFIG_NET=y -CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_SG=y CONFIG_SOUND=y CONFIG_SND=y -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 19/22][KERNEL] meta/sugarbay: remove redundant features and options
From: Tom Zanussi Remove features and options already inherited from common-pc-64. Signed-off-by: Tom Zanussi --- .../bsp/sugarbay/sugarbay-preempt-rt.scc |3 --- .../bsp/sugarbay/sugarbay-standard.scc |3 --- meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.cfg|1 - 3 files changed, 0 insertions(+), 7 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-preempt-rt.scc index d9df73b..0403a60 100644 --- a/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-preempt-rt.scc +++ b/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-preempt-rt.scc @@ -9,7 +9,4 @@ include bsp/common-pc-64/common-pc-64.scc include sugarbay.scc # default policy for preempt-rt kernels -include cfg/usb-mass-storage.scc include features/logbuf/size-normal.scc -include features/latencytop/latencytop.scc -include features/profiling/profiling.scc diff --git a/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-standard.scc b/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-standard.scc index 421364e..5d6eebe 100644 --- a/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-standard.scc +++ b/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-standard.scc @@ -8,7 +8,4 @@ branch sugarbay include sugarbay.scc # default policy for standard kernels -include cfg/usb-mass-storage.scc include features/logbuf/size-normal.scc -include features/latencytop/latencytop.scc -include features/profiling/profiling.scc diff --git a/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.cfg b/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.cfg index 1b370ba..787ee5b 100644 --- a/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.cfg +++ b/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.cfg @@ -13,7 +13,6 @@ CONFIG_PATA_SCH=y CONFIG_MMC_SDHCI_PCI=y CONFIG_PCIEPORTBUS=y CONFIG_NET=y -CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_SG=y CONFIG_SOUND=y CONFIG_SND=y -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 20/22][KERNEL] meta/crownbay: remove redundant features and options
From: Tom Zanussi Remove the BLK_DEV_SD option already covered by the usb-mass-storage feature. Signed-off-by: Tom Zanussi --- meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg b/meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg index 7d1362b..a4ab52b 100644 --- a/meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg +++ b/meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg @@ -15,7 +15,6 @@ CONFIG_PATA_SCH=y CONFIG_MMC_SDHCI_PCI=y CONFIG_PCIEPORTBUS=y CONFIG_NET=y -CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_SG=y CONFIG_SOUND=y CONFIG_SND=y -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 21/22][KERNEL] meta/emenlow: remove redundant features and options
From: Tom Zanussi Remove the BLK_DEV_SD option already covered by the usb-mass-storage feature. Signed-off-by: Tom Zanussi --- meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg b/meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg index 5090862..51e6174 100644 --- a/meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg +++ b/meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg @@ -14,7 +14,6 @@ CONFIG_PATA_SCH=y CONFIG_MMC_SDHCI_PCI=y CONFIG_PCIEPORTBUS=y CONFIG_NET=y -CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_SG=y CONFIG_SOUND=y CONFIG_SND=y -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 22/22][KERNEL] meta/fishriver: remove redundant features and options
From: Tom Zanussi Remove the BLK_DEV_SD option already covered by the usb-mass-storage feature. Signed-off-by: Tom Zanussi --- meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg b/meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg index d0f6fdd..3ba2fae 100644 --- a/meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg +++ b/meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg @@ -15,7 +15,6 @@ CONFIG_PATA_SCH=y CONFIG_MMC_SDHCI_PCI=y CONFIG_PCIEPORTBUS=y CONFIG_NET=y -CONFIG_BLK_DEV_SD=y CONFIG_CHR_DEV_SG=y CONFIG_SOUND=y CONFIG_SND=y -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 15/22][KERNEL] meta: add scsi cdrom feature
From: Tom Zanussi Add a feature to enable SCSI CDROM support. Signed-off-by: Tom Zanussi --- meta/cfg/kernel-cache/features/scsi/cdrom.cfg |1 + meta/cfg/kernel-cache/features/scsi/cdrom.scc |6 ++ 2 files changed, 7 insertions(+), 0 deletions(-) create mode 100644 meta/cfg/kernel-cache/features/scsi/cdrom.cfg create mode 100644 meta/cfg/kernel-cache/features/scsi/cdrom.scc diff --git a/meta/cfg/kernel-cache/features/scsi/cdrom.cfg b/meta/cfg/kernel-cache/features/scsi/cdrom.cfg new file mode 100644 index 000..9c97cec --- /dev/null +++ b/meta/cfg/kernel-cache/features/scsi/cdrom.cfg @@ -0,0 +1 @@ +CONFIG_BLK_DEV_SR=y diff --git a/meta/cfg/kernel-cache/features/scsi/cdrom.scc b/meta/cfg/kernel-cache/features/scsi/cdrom.scc new file mode 100644 index 000..b638ea1 --- /dev/null +++ b/meta/cfg/kernel-cache/features/scsi/cdrom.scc @@ -0,0 +1,6 @@ +define KFEATURE_DESCRIPTION "Enable options for SCSI CDROM support" +define KFEATURE_COMPATIBILITY board + +include scsi.scc + +kconf hardware cdrom.cfg -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 02/22][KERNEL] meta/common-pc: use usb features
From: Tom Zanussi Use the available ehci and uhci usb features and remove the associated config settings from the top-level common-pc feature. Signed-off-by: Tom Zanussi --- meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg |5 - meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc |2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg b/meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg index d3dac93..db6ffb1 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg @@ -73,12 +73,7 @@ CONFIG_SERIAL_8250_CONSOLE=y CONFIG_VT=y CONFIG_VGA_CONSOLE=y -CONFIG_USB_SUPPORT=y -CONFIG_USB=y CONFIG_USB_DEVICEFS=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_ROOT_HUB_TT=y -CONFIG_USB_UHCI_HCD=y CONFIG_USB_STORAGE=y CONFIG_USB_HID=y CONFIG_USB_HIDDEV=y diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc b/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc index bab45e6..2338ea6 100644 --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc @@ -2,6 +2,8 @@ kconf hardware common-pc.cfg kconf hardware common-pc-gfx.cfg include cfg/boot-live.scc +include features/usb/ehci-hcd.scc +include features/usb/uhci-hcd.scc include features/intel-e1/intel-e100.scc include features/intel-e1/intel-e1.scc include features/latencytop/latencytop.scc -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 10/22][KERNEL] meta/sugarbay: factor out policy-related options
From: Tom Zanussi Refactor bsp/common-pc/sugarbay* to keep hardware-related options in the base sugarbay.scc while moving the more 'policy'-related options into the files that include the base sugarbay.scc fragment. This allows the different kernel types to make use of the basic machine support without dragging along possibly unwanted options that fall under the heading of 'policy' for a specific kernel type. Signed-off-by: Tom Zanussi --- .../bsp/sugarbay/sugarbay-preempt-rt.scc |7 +++ .../bsp/sugarbay/sugarbay-standard.scc |6 ++ meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc| 10 -- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-preempt-rt.scc index e824f6f..d9df73b 100644 --- a/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-preempt-rt.scc +++ b/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-preempt-rt.scc @@ -5,4 +5,11 @@ define KARCH x86_64 # no new branch required, re-use the ktypes/preempt-rt branch include ktypes/preempt-rt include bsp/common-pc-64/common-pc-64.scc + include sugarbay.scc + +# default policy for preempt-rt kernels +include cfg/usb-mass-storage.scc +include features/logbuf/size-normal.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc diff --git a/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-standard.scc b/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-standard.scc index 8c2a19b..421364e 100644 --- a/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-standard.scc +++ b/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay-standard.scc @@ -6,3 +6,9 @@ include bsp/common-pc-64/common-pc-64-standard branch sugarbay include sugarbay.scc + +# default policy for standard kernels +include cfg/usb-mass-storage.scc +include features/logbuf/size-normal.scc +include features/latencytop/latencytop.scc +include features/profiling/profiling.scc diff --git a/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc b/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc index 128efd3..0b89549 100644 --- a/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc +++ b/meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc @@ -2,14 +2,4 @@ kconf hardware sugarbay.cfg include features/i915/i915.scc include features/serial/8250.scc -include cfg/usb-mass-storage.scc include features/power/intel.scc - -include features/logbuf/size-normal.scc - -include features/latencytop/latencytop.scc -include features/profiling/profiling.scc - -include features/usb/ehci-hcd.scc -include features/usb/ohci-hcd.scc -include features/usb/uhci-hcd.scc -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] [PATCH 13/22][KERNEL] meta: factor out SCSI options from the usb-mass-storage feature
From: Tom Zanussi Remove the SCSI and BLK_DEV_SD options from usb-mass-storage.cfg and replace them with the corresponding scsi/ features. Signed-off-by: Tom Zanussi --- meta/cfg/kernel-cache/cfg/usb-mass-storage.cfg |2 -- meta/cfg/kernel-cache/cfg/usb-mass-storage.scc |2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/cfg/kernel-cache/cfg/usb-mass-storage.cfg b/meta/cfg/kernel-cache/cfg/usb-mass-storage.cfg index f3282e1..abd9712 100644 --- a/meta/cfg/kernel-cache/cfg/usb-mass-storage.cfg +++ b/meta/cfg/kernel-cache/cfg/usb-mass-storage.cfg @@ -2,8 +2,6 @@ # USB is not explicitly enabled here, since that should be a # per-BSP enablement. -CONFIG_SCSI=y -CONFIG_BLK_DEV_SD=y CONFIG_USB_STORAGE=y CONFIG_VFAT_FS=y CONFIG_FAT_FS=y diff --git a/meta/cfg/kernel-cache/cfg/usb-mass-storage.scc b/meta/cfg/kernel-cache/cfg/usb-mass-storage.scc index 882e393..aed330c 100644 --- a/meta/cfg/kernel-cache/cfg/usb-mass-storage.scc +++ b/meta/cfg/kernel-cache/cfg/usb-mass-storage.scc @@ -1,4 +1,6 @@ define KFEATURE_DESCRIPTION "Enable options required for USB mass storage devices" define KFEATURE_COMPATIBILITY all +include features/scsi/disk.scc + kconf non-hardware usb-mass-storage.cfg -- 1.7.0.4 ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [PATCH 00/22][KERNEL] policy cleanup patches, v3
On 05/16/2012 08:50 AM, tom.zanu...@intel.com wrote: > From: Tom Zanussi > > This set of patches factors out the policy vs hardware-related config > of the common-pc and common-pc-64 along with some meta-intel BSPs. > > There are also a couple usb cleanups as well. > > This patchset has been boot-tested with sato images on the following > machines: qemux86, qemux86-64, crownbay, sugarbay, emenlow, and > jasperforest. > > v2: updated to reflect Darren's comments. This new patchset also > adds the usb-mass-storage feature to common-pc and common-pc-64, > and at the same time factors out the common SCSI pieces into a new > set of scsi features. It also removes options and feature use made > redundant by the above changes. > > v3: updated to reflect Darren's latest comments i.e. CONFIG_BLOCK > added to the scsi feature, and ehci removed from jasperforest and > sugarbay since that comes in via common-pc-64. > > Please pull into linux-yocto-3.2. For the entire series: Acked-by: Darren Hart > > Tom > > The following changes since commit 1dfd60fa1250259eed38ae5b2840eb37e3758a1b: > Tom Zanussi (1): > meta/fishriver: move smp options from recipe-space > > are available in the git repository at: > > git://git.yoctoproject.org/linux-yocto-2.6.37-contrib.git > tzanussi/policy-cleanup > > http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/policy-cleanup > > Tom Zanussi (22): > meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature > meta/common-pc: use usb features > meta/common-pc-64: use usb features > meta/common-pc: factor out policy-related options > meta/common-pc-64: factor out policy-related options > meta/crownbay: factor out policy-related options > meta/emenlow: factor out policy-related options > meta/fishriver: factor out policy-related options > meta/jasperforest: factor out policy-related options > meta/sugarbay: factor out policy-related options > meta: add scsi feature > meta: add scsi disk feature > meta: factor out SCSI options from the usb-mass-storage feature > meta/common-pc: use usb-mass-storage feature > meta: add scsi cdrom feature > meta/common-pc-64: use usb-mass-storage feature > meta/common-pc-64: factor out SCSI CDROM option > meta/jasperforest: remove redundant features and options > meta/sugarbay: remove redundant features and options > meta/crownbay: remove redundant features and options > meta/emenlow: remove redundant features and options > meta/fishriver: remove redundant features and options > > .../bsp/common-pc-64/common-pc-64-preempt-rt.scc |7 +++ > .../bsp/common-pc-64/common-pc-64-standard.scc |7 +++ > .../kernel-cache/bsp/common-pc-64/common-pc-64.cfg |8 > .../kernel-cache/bsp/common-pc-64/common-pc-64.scc | 10 -- > .../bsp/common-pc/common-pc-preempt-rt.scc |8 > .../bsp/common-pc/common-pc-standard.scc |7 +++ > .../kernel-cache/bsp/common-pc/common-pc-tiny.scc |5 + > meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg |8 > meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc |7 +++ > .../bsp/crownbay/crownbay-preempt-rt.scc |8 > .../bsp/crownbay/crownbay-standard.scc |7 +++ > meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg|1 - > meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc|8 > .../bsp/emenlow/emenlow-preempt-rt.scc |8 > .../kernel-cache/bsp/emenlow/emenlow-standard.scc |8 > meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg |1 - > meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc |8 > .../bsp/fishriver/fishriver-preempt-rt.scc |8 > .../bsp/fishriver/fishriver-standard.scc |8 > meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg |1 - > meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc |8 > .../bsp/jasperforest/jasperforest-preempt-rt.scc |4 > .../bsp/jasperforest/jasperforest-standard.scc |3 +++ > .../kernel-cache/bsp/jasperforest/jasperforest.cfg |1 - > .../kernel-cache/bsp/jasperforest/jasperforest.scc | 10 -- > .../bsp/sugarbay/sugarbay-preempt-rt.scc |4 > .../bsp/sugarbay/sugarbay-standard.scc |3 +++ > meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.cfg|1 - > meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc| 10 -- > meta/cfg/kernel-cache/cfg/usb-mass-storage.cfg |2 -- > meta/cfg/kernel-cache/cfg/usb-mass-storage.scc |2 ++ > meta/cfg/kernel-cache/features/scsi/cdrom.cfg |1 + > meta/cfg/kernel-cache/features/scsi/cdrom.scc |6 ++ > meta/cfg/kernel-cache/features/scsi/disk.cfg |1 + > meta/cfg/kernel-cache/features/scsi/disk.scc |6 ++ > meta/cfg/kernel-cache/features/scsi/scsi.cfg
Re: [yocto] [PATCH 00/22][KERNEL] policy cleanup patches, v3
On 12-05-16 11:55 AM, Darren Hart wrote: On 05/16/2012 08:50 AM, tom.zanu...@intel.com wrote: From: Tom Zanussi This set of patches factors out the policy vs hardware-related config of the common-pc and common-pc-64 along with some meta-intel BSPs. There are also a couple usb cleanups as well. This patchset has been boot-tested with sato images on the following machines: qemux86, qemux86-64, crownbay, sugarbay, emenlow, and jasperforest. v2: updated to reflect Darren's comments. This new patchset also adds the usb-mass-storage feature to common-pc and common-pc-64, and at the same time factors out the common SCSI pieces into a new set of scsi features. It also removes options and feature use made redundant by the above changes. v3: updated to reflect Darren's latest comments i.e. CONFIG_BLOCK added to the scsi feature, and ehci removed from jasperforest and sugarbay since that comes in via common-pc-64. Please pull into linux-yocto-3.2. For the entire series: Acked-by: Darren Hart Same here. I'll do the merge shortly. Bruce Tom The following changes since commit 1dfd60fa1250259eed38ae5b2840eb37e3758a1b: Tom Zanussi (1): meta/fishriver: move smp options from recipe-space are available in the git repository at: git://git.yoctoproject.org/linux-yocto-2.6.37-contrib.git tzanussi/policy-cleanup http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/policy-cleanup Tom Zanussi (22): meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature meta/common-pc: use usb features meta/common-pc-64: use usb features meta/common-pc: factor out policy-related options meta/common-pc-64: factor out policy-related options meta/crownbay: factor out policy-related options meta/emenlow: factor out policy-related options meta/fishriver: factor out policy-related options meta/jasperforest: factor out policy-related options meta/sugarbay: factor out policy-related options meta: add scsi feature meta: add scsi disk feature meta: factor out SCSI options from the usb-mass-storage feature meta/common-pc: use usb-mass-storage feature meta: add scsi cdrom feature meta/common-pc-64: use usb-mass-storage feature meta/common-pc-64: factor out SCSI CDROM option meta/jasperforest: remove redundant features and options meta/sugarbay: remove redundant features and options meta/crownbay: remove redundant features and options meta/emenlow: remove redundant features and options meta/fishriver: remove redundant features and options .../bsp/common-pc-64/common-pc-64-preempt-rt.scc |7 +++ .../bsp/common-pc-64/common-pc-64-standard.scc |7 +++ .../kernel-cache/bsp/common-pc-64/common-pc-64.cfg |8 .../kernel-cache/bsp/common-pc-64/common-pc-64.scc | 10 -- .../bsp/common-pc/common-pc-preempt-rt.scc |8 .../bsp/common-pc/common-pc-standard.scc |7 +++ .../kernel-cache/bsp/common-pc/common-pc-tiny.scc |5 + meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg |8 meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc |7 +++ .../bsp/crownbay/crownbay-preempt-rt.scc |8 .../bsp/crownbay/crownbay-standard.scc |7 +++ meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg|1 - meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc|8 .../bsp/emenlow/emenlow-preempt-rt.scc |8 .../kernel-cache/bsp/emenlow/emenlow-standard.scc |8 meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg |1 - meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc |8 .../bsp/fishriver/fishriver-preempt-rt.scc |8 .../bsp/fishriver/fishriver-standard.scc |8 meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg |1 - meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc |8 .../bsp/jasperforest/jasperforest-preempt-rt.scc |4 .../bsp/jasperforest/jasperforest-standard.scc |3 +++ .../kernel-cache/bsp/jasperforest/jasperforest.cfg |1 - .../kernel-cache/bsp/jasperforest/jasperforest.scc | 10 -- .../bsp/sugarbay/sugarbay-preempt-rt.scc |4 .../bsp/sugarbay/sugarbay-standard.scc |3 +++ meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.cfg|1 - meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc| 10 -- meta/cfg/kernel-cache/cfg/usb-mass-storage.cfg |2 -- meta/cfg/kernel-cache/cfg/usb-mass-storage.scc |2 ++ meta/cfg/kernel-cache/features/scsi/cdrom.cfg |1 + meta/cfg/kernel-cache/features/scsi/cdrom.scc |6 ++ meta/cfg/kernel-cache/features/scsi/disk.cfg |1 + meta/cfg/kernel-cache/features/scsi/disk.scc |6 ++ meta/cfg/kernel-cache/features/scsi/scsi.cfg |2 ++ meta/cfg/kernel-cac
[yocto] Compiling kernel for Raspberry Pi
I've used John's kernel files (https://github.com/djwillis/meta-raspberrypi) and have managed to build an image. However, this doesn't run on the target! I've not got a working serial console on the board, so it's not going to be easy to 'see' what's going on (working on getting one...). I'm using gcc 4.6 - is this ok, or do I need to use something else / apply some patches? The CPU is an arm1176jzf-s. Out of interest, how/where do the machine 'tune' configurations get processed and passed to gcc? Chris Tapp opensou...@keylevel.com www.keylevel.com ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] [PATCH 00/22][KERNEL] policy cleanup patches, v3
On 12-05-16 03:45 PM, Bruce Ashfield wrote: On 12-05-16 11:55 AM, Darren Hart wrote: On 05/16/2012 08:50 AM, tom.zanu...@intel.com wrote: From: Tom Zanussi This set of patches factors out the policy vs hardware-related config of the common-pc and common-pc-64 along with some meta-intel BSPs. There are also a couple usb cleanups as well. This patchset has been boot-tested with sato images on the following machines: qemux86, qemux86-64, crownbay, sugarbay, emenlow, and jasperforest. v2: updated to reflect Darren's comments. This new patchset also adds the usb-mass-storage feature to common-pc and common-pc-64, and at the same time factors out the common SCSI pieces into a new set of scsi features. It also removes options and feature use made redundant by the above changes. v3: updated to reflect Darren's latest comments i.e. CONFIG_BLOCK added to the scsi feature, and ehci removed from jasperforest and sugarbay since that comes in via common-pc-64. Please pull into linux-yocto-3.2. For the entire series: Acked-by: Darren Hart Same here. I'll do the merge shortly. pushed to the trees. I'll update the SRCREVs in master shortly. But you obviously can use them now. Cheers, Bruce Bruce Tom The following changes since commit 1dfd60fa1250259eed38ae5b2840eb37e3758a1b: Tom Zanussi (1): meta/fishriver: move smp options from recipe-space are available in the git repository at: git://git.yoctoproject.org/linux-yocto-2.6.37-contrib.git tzanussi/policy-cleanup http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/policy-cleanup Tom Zanussi (22): meta: add ROOT_HUB_TT config option to the usb/ehci-hcd feature meta/common-pc: use usb features meta/common-pc-64: use usb features meta/common-pc: factor out policy-related options meta/common-pc-64: factor out policy-related options meta/crownbay: factor out policy-related options meta/emenlow: factor out policy-related options meta/fishriver: factor out policy-related options meta/jasperforest: factor out policy-related options meta/sugarbay: factor out policy-related options meta: add scsi feature meta: add scsi disk feature meta: factor out SCSI options from the usb-mass-storage feature meta/common-pc: use usb-mass-storage feature meta: add scsi cdrom feature meta/common-pc-64: use usb-mass-storage feature meta/common-pc-64: factor out SCSI CDROM option meta/jasperforest: remove redundant features and options meta/sugarbay: remove redundant features and options meta/crownbay: remove redundant features and options meta/emenlow: remove redundant features and options meta/fishriver: remove redundant features and options .../bsp/common-pc-64/common-pc-64-preempt-rt.scc | 7 +++ .../bsp/common-pc-64/common-pc-64-standard.scc | 7 +++ .../kernel-cache/bsp/common-pc-64/common-pc-64.cfg | 8 .../kernel-cache/bsp/common-pc-64/common-pc-64.scc | 10 -- .../bsp/common-pc/common-pc-preempt-rt.scc | 8 .../bsp/common-pc/common-pc-standard.scc | 7 +++ .../kernel-cache/bsp/common-pc/common-pc-tiny.scc | 5 + meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg | 8 meta/cfg/kernel-cache/bsp/common-pc/common-pc.scc | 7 +++ .../bsp/crownbay/crownbay-preempt-rt.scc | 8 .../bsp/crownbay/crownbay-standard.scc | 7 +++ meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg | 1 - meta/cfg/kernel-cache/bsp/crownbay/crownbay.scc | 8 .../bsp/emenlow/emenlow-preempt-rt.scc | 8 .../kernel-cache/bsp/emenlow/emenlow-standard.scc | 8 meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg | 1 - meta/cfg/kernel-cache/bsp/emenlow/emenlow.scc | 8 .../bsp/fishriver/fishriver-preempt-rt.scc | 8 .../bsp/fishriver/fishriver-standard.scc | 8 meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg | 1 - meta/cfg/kernel-cache/bsp/fishriver/fishriver.scc | 8 .../bsp/jasperforest/jasperforest-preempt-rt.scc | 4 .../bsp/jasperforest/jasperforest-standard.scc | 3 +++ .../kernel-cache/bsp/jasperforest/jasperforest.cfg | 1 - .../kernel-cache/bsp/jasperforest/jasperforest.scc | 10 -- .../bsp/sugarbay/sugarbay-preempt-rt.scc | 4 .../bsp/sugarbay/sugarbay-standard.scc | 3 +++ meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.cfg | 1 - meta/cfg/kernel-cache/bsp/sugarbay/sugarbay.scc | 10 -- meta/cfg/kernel-cache/cfg/usb-mass-storage.cfg | 2 -- meta/cfg/kernel-cache/cfg/usb-mass-storage.scc | 2 ++ meta/cfg/kernel-cache/features/scsi/cdrom.cfg | 1 + meta/cfg/kernel-cache/features/scsi/cdrom.scc | 6 ++ meta/cfg/kernel-cache/features/scsi/disk.cfg | 1 + meta/cfg/kernel-cache/features/scsi/disk.scc | 6 ++ meta/cfg/kernel-cache/features/scsi/scsi.cfg | 2 ++ meta/cfg/kernel-cache/features/scsi/scsi.scc | 4 meta/cfg/kernel-cache/features/usb/ehci-hcd.cfg | 1 + 38 files changed, 121 insertions(+), 81 deletions(-) create mode 100644 meta/cfg/kernel-cache/features/scsi/cdrom.cfg create mode 100644 meta/cfg/kernel-cache/features/scsi/cdrom.
[yocto] Weekly build now available
The weekly build for the milestone 1, week 2 of 1.3 is now available: http://autobuilder.yoctoproject.org/pub/nightly/20120515-2/ -- Elizabeth Flanagan Yocto Project Build and Release ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto