* [PATCH 1/6] meta: sys940x BSP meta data
2012-03-01 23:59 [PATCH 0/6][linux-yocto-3.2] Meta update for sys940x, bootlive, and FRI2 Darren Hart
@ 2012-03-01 23:59 ` Darren Hart
2012-03-01 23:59 ` [PATCH 2/6] Remove boot-live cfg duplication from BSPs Darren Hart
` (4 subsequent siblings)
5 siblings, 0 replies; 13+ messages in thread
From: Darren Hart @ 2012-03-01 23:59 UTC (permalink / raw)
To: Yocto Project, Bruce Ashfield, Tom Zanussi
From: Darren Hart <dvhart@linux.intel.com>
The Inforce SYS940x-ECX Developer-Ready Reference Platform features:
o Intel Atom E6xx (0.6-1.6 GHz)
o Up to 1GB on-board DDR2
o Intel Platform Controller Hub EG20T
o VGA,LVDS
o HD Audio
o SD Card
o Dual SATA
o Mini-PCIe
http://www.inforcecomputing.com/SYS940X_ECX.html
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tzanussi@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
---
.../bsp/sys940x/sys940x-preempt-rt.scc | 7 +++
.../kernel-cache/bsp/sys940x/sys940x-standard.scc | 6 ++
meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg | 49 ++++++++++++++++++++
meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc | 17 +++++++
4 files changed, 79 insertions(+), 0 deletions(-)
create mode 100644 meta/cfg/kernel-cache/bsp/sys940x/sys940x-preempt-rt.scc
create mode 100644 meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc
create mode 100644 meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg
create mode 100644 meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc
diff --git a/meta/cfg/kernel-cache/bsp/sys940x/sys940x-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/sys940x/sys940x-preempt-rt.scc
new file mode 100644
index 0000000..3b8f0aa
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/sys940x/sys940x-preempt-rt.scc
@@ -0,0 +1,7 @@
+define KMACHINE sys940x
+define KTYPE preempt-rt
+define KARCH i386
+
+# no new branch required, re-use the ktypes/preempt-rt branch
+include ktypes/preempt-rt
+include sys940x.scc
diff --git a/meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc b/meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc
new file mode 100644
index 0000000..1f0edec
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc
@@ -0,0 +1,6 @@
+define KMACHINE sys940x
+define KTYPE standard
+define KARCH i386
+
+include ktypes/standard
+include sys940x.scc
diff --git a/meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg b/meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg
new file mode 100644
index 0000000..3d45fe8
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg
@@ -0,0 +1,49 @@
+CONFIG_X86_32=y
+CONFIG_MATOM=y
+CONFIG_PRINTK=y
+
+# Basic hardware support for the box - network, USB, PCI, sound
+CONFIG_NETDEVICES=y
+CONFIG_ATA=y
+CONFIG_ATA_GENERIC=y
+CONFIG_ATA_SFF=y
+CONFIG_PCI=y
+CONFIG_MMC=y
+CONFIG_MMC_SDHCI=y
+CONFIG_USB_SUPPORT=y
+CONFIG_USB=y
+CONFIG_USB_ARCH_HAS_EHCI=y
+CONFIG_R8169=y
+CONFIG_PATA_SCH=y
+CONFIG_MMC_SDHCI_PCI=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_PCIEPORTBUS=y
+CONFIG_NET=y
+CONFIG_USB_UHCI_HCD=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_CHR_DEV_SG=y
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_HDA_INTEL=y
+CONFIG_SATA_AHCI=y
+CONFIG_AGP=y
+CONFIG_PM=y
+CONFIG_ACPI=y
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_INPUT=y
+
+# Make sure these are on, otherwise the bootup won't be fun
+CONFIG_EXT3_FS=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_MODULES=y
+CONFIG_SHMEM=y
+CONFIG_TMPFS=y
+CONFIG_PACKET=y
+
+CONFIG_RD_GZIP=y
+
+# Needed for booting (and using) CD images
+CONFIG_BLK_DEV_SR=y
diff --git a/meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc b/meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc
new file mode 100644
index 0000000..8863c7c
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc
@@ -0,0 +1,17 @@
+kconf hardware sys940x.cfg
+
+git merge yocto/emgd-1.10
+
+include features/eg20t/eg20t.scc
+include features/drm-emgd/drm-emgd.scc
+include features/dmaengine/dmaengine.scc
+include features/serial/8250.scc
+include features/framebuffer/vesafb.scc
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/power/intel.scc
+
+include features/logbuf/size-normal.scc
+
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
--
1.7.6.5
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH 2/6] Remove boot-live cfg duplication from BSPs
2012-03-01 23:59 [PATCH 0/6][linux-yocto-3.2] Meta update for sys940x, bootlive, and FRI2 Darren Hart
2012-03-01 23:59 ` [PATCH 1/6] meta: sys940x BSP meta data Darren Hart
@ 2012-03-01 23:59 ` Darren Hart
2012-03-02 21:14 ` Bruce Ashfield
2012-03-01 23:59 ` [PATCH 3/6] fri2: Drop 8250 from the fri2 scc Darren Hart
` (3 subsequent siblings)
5 siblings, 1 reply; 13+ messages in thread
From: Darren Hart @ 2012-03-01 23:59 UTC (permalink / raw)
To: Yocto Project, Bruce Ashfield, Tom Zanussi
From: Darren Hart <dvhart@linux.intel.com>
Several BSPs duplicated the boot-live fragment in their BSP
specific config. Remove the duplication and add CONFIG_RD_GZIP
and CONFIG_BLK_DEV_SR to the boot-live fragment.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Acked-by: Tom Zanussi <tzanussi@intel.com>
---
.../cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg | 10 ----------
meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg | 10 ----------
meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg | 10 ----------
meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg | 10 ----------
meta/cfg/kernel-cache/bsp/fri2/fri2.cfg | 10 ----------
meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg | 5 -----
meta/cfg/kernel-cache/cfg/boot-live.cfg | 3 +++
7 files changed, 3 insertions(+), 55 deletions(-)
diff --git a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg b/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
index 1cc14b1..32cd9e5 100755
--- a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
+++ b/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
@@ -46,13 +46,3 @@ CONFIG_MODULES=y
CONFIG_SHMEM=y
CONFIG_TMPFS=y
CONFIG_PACKET=y
-
-# Needed for booting (and using) USB memory sticks
-CONFIG_BLK_DEV_LOOP=y
-CONFIG_NLS_CODEPAGE_437=y
-CONFIG_NLS_ISO8859_1=y
-
-CONFIG_RD_GZIP=y
-
-# Needed for booting (and using) CD images
-CONFIG_BLK_DEV_SR=y
diff --git a/meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg b/meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg
index e93c0b8..b101419 100644
--- a/meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg
+++ b/meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg
@@ -42,13 +42,3 @@ CONFIG_MODULES=y
CONFIG_SHMEM=y
CONFIG_TMPFS=y
CONFIG_PACKET=y
-
-# Needed for booting (and using) USB memory sticks
-CONFIG_BLK_DEV_LOOP=y
-CONFIG_NLS_CODEPAGE_437=y
-CONFIG_NLS_ISO8859_1=y
-
-CONFIG_RD_GZIP=y
-
-# Needed for booting (and using) CD images
-CONFIG_BLK_DEV_SR=y
diff --git a/meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg b/meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg
index b9704c5..b1e72bd 100644
--- a/meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg
+++ b/meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg
@@ -40,13 +40,3 @@ CONFIG_MODULES=y
CONFIG_SHMEM=y
CONFIG_TMPFS=y
CONFIG_PACKET=y
-
-# Needed for booting (and using) USB memory sticks
-CONFIG_BLK_DEV_LOOP=y
-CONFIG_NLS_CODEPAGE_437=y
-CONFIG_NLS_ISO8859_1=y
-
-CONFIG_RD_GZIP=y
-
-# Needed for booting (and using) CD images
-CONFIG_BLK_DEV_SR=y
diff --git a/meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg b/meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg
index e93c0b8..b101419 100644
--- a/meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg
+++ b/meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg
@@ -42,13 +42,3 @@ CONFIG_MODULES=y
CONFIG_SHMEM=y
CONFIG_TMPFS=y
CONFIG_PACKET=y
-
-# Needed for booting (and using) USB memory sticks
-CONFIG_BLK_DEV_LOOP=y
-CONFIG_NLS_CODEPAGE_437=y
-CONFIG_NLS_ISO8859_1=y
-
-CONFIG_RD_GZIP=y
-
-# Needed for booting (and using) CD images
-CONFIG_BLK_DEV_SR=y
diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2.cfg b/meta/cfg/kernel-cache/bsp/fri2/fri2.cfg
index e93c0b8..b101419 100644
--- a/meta/cfg/kernel-cache/bsp/fri2/fri2.cfg
+++ b/meta/cfg/kernel-cache/bsp/fri2/fri2.cfg
@@ -42,13 +42,3 @@ CONFIG_MODULES=y
CONFIG_SHMEM=y
CONFIG_TMPFS=y
CONFIG_PACKET=y
-
-# Needed for booting (and using) USB memory sticks
-CONFIG_BLK_DEV_LOOP=y
-CONFIG_NLS_CODEPAGE_437=y
-CONFIG_NLS_ISO8859_1=y
-
-CONFIG_RD_GZIP=y
-
-# Needed for booting (and using) CD images
-CONFIG_BLK_DEV_SR=y
diff --git a/meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg b/meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg
index 3d45fe8..b101419 100644
--- a/meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg
+++ b/meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg
@@ -42,8 +42,3 @@ CONFIG_MODULES=y
CONFIG_SHMEM=y
CONFIG_TMPFS=y
CONFIG_PACKET=y
-
-CONFIG_RD_GZIP=y
-
-# Needed for booting (and using) CD images
-CONFIG_BLK_DEV_SR=y
diff --git a/meta/cfg/kernel-cache/cfg/boot-live.cfg b/meta/cfg/kernel-cache/cfg/boot-live.cfg
index 8ff7674..a102052 100644
--- a/meta/cfg/kernel-cache/cfg/boot-live.cfg
+++ b/meta/cfg/kernel-cache/cfg/boot-live.cfg
@@ -2,5 +2,8 @@ CONFIG_BLK_DEV_LOOP=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_VFAT_FS=y
+CONFIG_RD_GZIP=y
+# Needed for booting (and using) CD images
CONFIG_BLK_DEV_IDECD=y
CONFIG_ISO9660_FS=y
+CONFIG_BLK_DEV_SR=y
--
1.7.6.5
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 2/6] Remove boot-live cfg duplication from BSPs
2012-03-01 23:59 ` [PATCH 2/6] Remove boot-live cfg duplication from BSPs Darren Hart
@ 2012-03-02 21:14 ` Bruce Ashfield
0 siblings, 0 replies; 13+ messages in thread
From: Bruce Ashfield @ 2012-03-02 21:14 UTC (permalink / raw)
To: Darren Hart; +Cc: Yocto Project
On 12-03-01 06:59 PM, Darren Hart wrote:
> From: Darren Hart<dvhart@linux.intel.com>
>
> 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
options.
Bruce
>
> Signed-off-by: Darren Hart<dvhart@linux.intel.com>
> Acked-by: Tom Zanussi<tzanussi@intel.com>
> ---
> .../cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg | 10 ----------
> meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg | 10 ----------
> meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg | 10 ----------
> meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg | 10 ----------
> meta/cfg/kernel-cache/bsp/fri2/fri2.cfg | 10 ----------
> meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg | 5 -----
> meta/cfg/kernel-cache/cfg/boot-live.cfg | 3 +++
> 7 files changed, 3 insertions(+), 55 deletions(-)
>
> diff --git a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg b/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
> index 1cc14b1..32cd9e5 100755
> --- a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
> +++ b/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
> @@ -46,13 +46,3 @@ CONFIG_MODULES=y
> CONFIG_SHMEM=y
> CONFIG_TMPFS=y
> CONFIG_PACKET=y
> -
> -# Needed for booting (and using) USB memory sticks
> -CONFIG_BLK_DEV_LOOP=y
> -CONFIG_NLS_CODEPAGE_437=y
> -CONFIG_NLS_ISO8859_1=y
> -
> -CONFIG_RD_GZIP=y
> -
> -# Needed for booting (and using) CD images
> -CONFIG_BLK_DEV_SR=y
> diff --git a/meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg b/meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg
> index e93c0b8..b101419 100644
> --- a/meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg
> +++ b/meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg
> @@ -42,13 +42,3 @@ CONFIG_MODULES=y
> CONFIG_SHMEM=y
> CONFIG_TMPFS=y
> CONFIG_PACKET=y
> -
> -# Needed for booting (and using) USB memory sticks
> -CONFIG_BLK_DEV_LOOP=y
> -CONFIG_NLS_CODEPAGE_437=y
> -CONFIG_NLS_ISO8859_1=y
> -
> -CONFIG_RD_GZIP=y
> -
> -# Needed for booting (and using) CD images
> -CONFIG_BLK_DEV_SR=y
> diff --git a/meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg b/meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg
> index b9704c5..b1e72bd 100644
> --- a/meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg
> +++ b/meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg
> @@ -40,13 +40,3 @@ CONFIG_MODULES=y
> CONFIG_SHMEM=y
> CONFIG_TMPFS=y
> CONFIG_PACKET=y
> -
> -# Needed for booting (and using) USB memory sticks
> -CONFIG_BLK_DEV_LOOP=y
> -CONFIG_NLS_CODEPAGE_437=y
> -CONFIG_NLS_ISO8859_1=y
> -
> -CONFIG_RD_GZIP=y
> -
> -# Needed for booting (and using) CD images
> -CONFIG_BLK_DEV_SR=y
> diff --git a/meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg b/meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg
> index e93c0b8..b101419 100644
> --- a/meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg
> +++ b/meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg
> @@ -42,13 +42,3 @@ CONFIG_MODULES=y
> CONFIG_SHMEM=y
> CONFIG_TMPFS=y
> CONFIG_PACKET=y
> -
> -# Needed for booting (and using) USB memory sticks
> -CONFIG_BLK_DEV_LOOP=y
> -CONFIG_NLS_CODEPAGE_437=y
> -CONFIG_NLS_ISO8859_1=y
> -
> -CONFIG_RD_GZIP=y
> -
> -# Needed for booting (and using) CD images
> -CONFIG_BLK_DEV_SR=y
> diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2.cfg b/meta/cfg/kernel-cache/bsp/fri2/fri2.cfg
> index e93c0b8..b101419 100644
> --- a/meta/cfg/kernel-cache/bsp/fri2/fri2.cfg
> +++ b/meta/cfg/kernel-cache/bsp/fri2/fri2.cfg
> @@ -42,13 +42,3 @@ CONFIG_MODULES=y
> CONFIG_SHMEM=y
> CONFIG_TMPFS=y
> CONFIG_PACKET=y
> -
> -# Needed for booting (and using) USB memory sticks
> -CONFIG_BLK_DEV_LOOP=y
> -CONFIG_NLS_CODEPAGE_437=y
> -CONFIG_NLS_ISO8859_1=y
> -
> -CONFIG_RD_GZIP=y
> -
> -# Needed for booting (and using) CD images
> -CONFIG_BLK_DEV_SR=y
> diff --git a/meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg b/meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg
> index 3d45fe8..b101419 100644
> --- a/meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg
> +++ b/meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg
> @@ -42,8 +42,3 @@ CONFIG_MODULES=y
> CONFIG_SHMEM=y
> CONFIG_TMPFS=y
> CONFIG_PACKET=y
> -
> -CONFIG_RD_GZIP=y
> -
> -# Needed for booting (and using) CD images
> -CONFIG_BLK_DEV_SR=y
> diff --git a/meta/cfg/kernel-cache/cfg/boot-live.cfg b/meta/cfg/kernel-cache/cfg/boot-live.cfg
> index 8ff7674..a102052 100644
> --- a/meta/cfg/kernel-cache/cfg/boot-live.cfg
> +++ b/meta/cfg/kernel-cache/cfg/boot-live.cfg
> @@ -2,5 +2,8 @@ CONFIG_BLK_DEV_LOOP=y
> CONFIG_NLS_CODEPAGE_437=y
> CONFIG_NLS_ISO8859_1=y
> CONFIG_VFAT_FS=y
> +CONFIG_RD_GZIP=y
> +# Needed for booting (and using) CD images
> CONFIG_BLK_DEV_IDECD=y
> CONFIG_ISO9660_FS=y
> +CONFIG_BLK_DEV_SR=y
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 3/6] fri2: Drop 8250 from the fri2 scc
2012-03-01 23:59 [PATCH 0/6][linux-yocto-3.2] Meta update for sys940x, bootlive, and FRI2 Darren Hart
2012-03-01 23:59 ` [PATCH 1/6] meta: sys940x BSP meta data Darren Hart
2012-03-01 23:59 ` [PATCH 2/6] Remove boot-live cfg duplication from BSPs Darren Hart
@ 2012-03-01 23:59 ` Darren Hart
2012-03-01 23:59 ` [PATCH 4/6] eg20t: Enable serial console for the pch_uart Darren Hart
` (2 subsequent siblings)
5 siblings, 0 replies; 13+ messages in thread
From: Darren Hart @ 2012-03-01 23:59 UTC (permalink / raw)
To: Yocto Project, Bruce Ashfield, Tom Zanussi
From: Darren Hart <dvhart@linux.intel.com>
The FRI2 has a pch_uart. Depending on the firmware, the kernel may
decide to use the 8250 or the pch_uart driver. As the firmware
configures the pch_uart with a non-standard UART clock, it is
necessary to ensure the pch_uart is used. To do this, drop the 8250
support from the kernel.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
---
meta/cfg/kernel-cache/bsp/fri2/fri2.scc | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2.scc b/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
index 419bb8d..2dd3170 100644
--- a/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
+++ b/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
@@ -4,8 +4,7 @@ include features/eg20t/eg20t.scc
include features/intel-e1xxxx/intel-e100.scc
include features/intel-e1xxxx/intel-e1xxxx.scc
include features/drm-emgd/drm-emgd.scc
-include cfg/dmaengine.scc
-include features/serial/8250.scc
+include cfg/dmaengine/dmaengine.scc
include features/ericsson-3g/f5521gw.scc
include features/iwlagn/iwlagn.scc
include cfg/vesafb.scc
--
1.7.6.5
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH 4/6] eg20t: Enable serial console for the pch_uart
2012-03-01 23:59 [PATCH 0/6][linux-yocto-3.2] Meta update for sys940x, bootlive, and FRI2 Darren Hart
` (2 preceding siblings ...)
2012-03-01 23:59 ` [PATCH 3/6] fri2: Drop 8250 from the fri2 scc Darren Hart
@ 2012-03-01 23:59 ` Darren Hart
2012-03-02 21:16 ` Bruce Ashfield
2012-03-01 23:59 ` [PATCH 5/6] fri2: Add SMP and EFI support Darren Hart
2012-03-01 23:59 ` [PATCH 6/6] fri2: Move non-hardware optional features out of fri2.scc Darren Hart
5 siblings, 1 reply; 13+ messages in thread
From: Darren Hart @ 2012-03-01 23:59 UTC (permalink / raw)
To: Yocto Project, Bruce Ashfield, Tom Zanussi
From: Darren Hart <dvhart@linux.intel.com>
The FRI2 uses the pch_uart driver for the serial console. Enable the console
driver.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
---
meta/cfg/kernel-cache/features/eg20t/eg20t.cfg | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg b/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
index ff2f6fd..3d4969c 100644
--- a/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
+++ b/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
@@ -3,6 +3,7 @@
CONFIG_PCH_DMA=y
CONFIG_SERIAL_PCH_UART=y
+CONFIG_SERIAL_PCH_UART_CONSOLE=y
CONFIG_SERIAL_CORE=y
CONFIG_SPI=y
--
1.7.6.5
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 4/6] eg20t: Enable serial console for the pch_uart
2012-03-01 23:59 ` [PATCH 4/6] eg20t: Enable serial console for the pch_uart Darren Hart
@ 2012-03-02 21:16 ` Bruce Ashfield
2012-03-02 21:40 ` Darren Hart
0 siblings, 1 reply; 13+ messages in thread
From: Bruce Ashfield @ 2012-03-02 21:16 UTC (permalink / raw)
To: Darren Hart; +Cc: Yocto Project
On 12-03-01 06:59 PM, Darren Hart wrote:
> From: Darren Hart<dvhart@linux.intel.com>
>
> 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<dvhart@linux.intel.com>
> ---
> meta/cfg/kernel-cache/features/eg20t/eg20t.cfg | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg b/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
> index ff2f6fd..3d4969c 100644
> --- a/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
> +++ b/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
> @@ -3,6 +3,7 @@
> CONFIG_PCH_DMA=y
>
> CONFIG_SERIAL_PCH_UART=y
> +CONFIG_SERIAL_PCH_UART_CONSOLE=y
> CONFIG_SERIAL_CORE=y
>
> CONFIG_SPI=y
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 4/6] eg20t: Enable serial console for the pch_uart
2012-03-02 21:16 ` Bruce Ashfield
@ 2012-03-02 21:40 ` Darren Hart
2012-03-04 4:00 ` Bruce Ashfield
0 siblings, 1 reply; 13+ messages in thread
From: Darren Hart @ 2012-03-02 21:40 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: Darren Hart, Yocto Project
On 03/02/2012 01:16 PM, Bruce Ashfield wrote:
> On 12-03-01 06:59 PM, Darren Hart wrote:
>> From: Darren Hart<dvhart@linux.intel.com>
>>
>> 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 new code that this enables is machine specific. The
console code would only kick in if the console is set to ttyPCH1, which
it obviously isn't as that didn't work before. Shouldn't be a problem.
--
Darren
> Bruce
>
>>
>> Signed-off-by: Darren Hart<dvhart@linux.intel.com>
>> ---
>> meta/cfg/kernel-cache/features/eg20t/eg20t.cfg | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg b/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
>> index ff2f6fd..3d4969c 100644
>> --- a/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
>> +++ b/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
>> @@ -3,6 +3,7 @@
>> CONFIG_PCH_DMA=y
>>
>> CONFIG_SERIAL_PCH_UART=y
>> +CONFIG_SERIAL_PCH_UART_CONSOLE=y
>> CONFIG_SERIAL_CORE=y
>>
>> CONFIG_SPI=y
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 4/6] eg20t: Enable serial console for the pch_uart
2012-03-02 21:40 ` Darren Hart
@ 2012-03-04 4:00 ` Bruce Ashfield
0 siblings, 0 replies; 13+ messages in thread
From: Bruce Ashfield @ 2012-03-04 4:00 UTC (permalink / raw)
To: Darren Hart; +Cc: Darren Hart, Yocto Project
On 12-03-02 4:40 PM, Darren Hart wrote:
>
>
> On 03/02/2012 01:16 PM, Bruce Ashfield wrote:
>> On 12-03-01 06:59 PM, Darren Hart wrote:
>>> From: Darren Hart<dvhart@linux.intel.com>
>>>
>>> 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 new code that this enables is machine specific. The
> console code would only kick in if the console is set to ttyPCH1, which
> it obviously isn't as that didn't work before. Shouldn't be a problem.
Perfect. Thanks for the confirmation.
Bruce
>
> --
> Darren
>
>
>> Bruce
>>
>>>
>>> Signed-off-by: Darren Hart<dvhart@linux.intel.com>
>>> ---
>>> meta/cfg/kernel-cache/features/eg20t/eg20t.cfg | 1 +
>>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg b/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
>>> index ff2f6fd..3d4969c 100644
>>> --- a/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
>>> +++ b/meta/cfg/kernel-cache/features/eg20t/eg20t.cfg
>>> @@ -3,6 +3,7 @@
>>> CONFIG_PCH_DMA=y
>>>
>>> CONFIG_SERIAL_PCH_UART=y
>>> +CONFIG_SERIAL_PCH_UART_CONSOLE=y
>>> CONFIG_SERIAL_CORE=y
>>>
>>> CONFIG_SPI=y
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 5/6] fri2: Add SMP and EFI support
2012-03-01 23:59 [PATCH 0/6][linux-yocto-3.2] Meta update for sys940x, bootlive, and FRI2 Darren Hart
` (3 preceding siblings ...)
2012-03-01 23:59 ` [PATCH 4/6] eg20t: Enable serial console for the pch_uart Darren Hart
@ 2012-03-01 23:59 ` Darren Hart
2012-03-02 21:16 ` Bruce Ashfield
2012-03-01 23:59 ` [PATCH 6/6] fri2: Move non-hardware optional features out of fri2.scc Darren Hart
5 siblings, 1 reply; 13+ messages in thread
From: Darren Hart @ 2012-03-01 23:59 UTC (permalink / raw)
To: Yocto Project, Bruce Ashfield, Tom Zanussi
From: Darren Hart <dvhart@linux.intel.com>
Rather than add these as features in the linux-yocto recipe,
include them in the BSP meta-data directly. Include only the core
EFI bits in the fri2.scc, and add the extended EFI support to the
fri2-standard.scc so that other ktypes don't pull in more than
what's absolutely required from fri2.scc.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
---
meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc | 1 +
meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc | 1 +
meta/cfg/kernel-cache/bsp/fri2/fri2.scc | 2 ++
3 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc
index 142d71a..9e9a84c 100644
--- a/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc
+++ b/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc
@@ -5,3 +5,4 @@ define KARCH i386
# no new branch required, re-use the ktypes/preempt-rt branch
include ktypes/preempt-rt
include fri2.scc
+include cfg/efi-ext.scc
diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc b/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc
index bbb0ebc..b17eca5 100644
--- a/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc
+++ b/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc
@@ -9,3 +9,4 @@ include features/emgd/emgd.scc
git merge emgd
include fri2.scc
+include cfg/efi-ext.scc
diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2.scc b/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
index 2dd3170..a89a6e2 100644
--- a/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
+++ b/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
@@ -11,6 +11,8 @@ include cfg/vesafb.scc
include cfg/usb-mass-storage.scc
include cfg/boot-live.scc
include features/power/intel.scc
+include cfg/smp.scc
+include cfg/efi.scc
include features/logbuf/size-normal.scc
--
1.7.6.5
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 5/6] fri2: Add SMP and EFI support
2012-03-01 23:59 ` [PATCH 5/6] fri2: Add SMP and EFI support Darren Hart
@ 2012-03-02 21:16 ` Bruce Ashfield
0 siblings, 0 replies; 13+ messages in thread
From: Bruce Ashfield @ 2012-03-02 21:16 UTC (permalink / raw)
To: Darren Hart; +Cc: Yocto Project
On 12-03-01 06:59 PM, Darren Hart wrote:
> From: Darren Hart<dvhart@linux.intel.com>
>
> Rather than add these as features in the linux-yocto recipe,
> include them in the BSP meta-data directly. Include only the core
> EFI bits in the fri2.scc, and add the extended EFI support to the
> fri2-standard.scc so that other ktypes don't pull in more than
> what's absolutely required from fri2.scc.
Ack'd. Looks good.
Bruce
>
> Signed-off-by: Darren Hart<dvhart@linux.intel.com>
> ---
> meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc | 1 +
> meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc | 1 +
> meta/cfg/kernel-cache/bsp/fri2/fri2.scc | 2 ++
> 3 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc
> index 142d71a..9e9a84c 100644
> --- a/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc
> +++ b/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc
> @@ -5,3 +5,4 @@ define KARCH i386
> # no new branch required, re-use the ktypes/preempt-rt branch
> include ktypes/preempt-rt
> include fri2.scc
> +include cfg/efi-ext.scc
> diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc b/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc
> index bbb0ebc..b17eca5 100644
> --- a/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc
> +++ b/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc
> @@ -9,3 +9,4 @@ include features/emgd/emgd.scc
> git merge emgd
>
> include fri2.scc
> +include cfg/efi-ext.scc
> diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2.scc b/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
> index 2dd3170..a89a6e2 100644
> --- a/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
> +++ b/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
> @@ -11,6 +11,8 @@ include cfg/vesafb.scc
> include cfg/usb-mass-storage.scc
> include cfg/boot-live.scc
> include features/power/intel.scc
> +include cfg/smp.scc
> +include cfg/efi.scc
>
> include features/logbuf/size-normal.scc
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 6/6] fri2: Move non-hardware optional features out of fri2.scc
2012-03-01 23:59 [PATCH 0/6][linux-yocto-3.2] Meta update for sys940x, bootlive, and FRI2 Darren Hart
` (4 preceding siblings ...)
2012-03-01 23:59 ` [PATCH 5/6] fri2: Add SMP and EFI support Darren Hart
@ 2012-03-01 23:59 ` Darren Hart
2012-03-02 21:17 ` Bruce Ashfield
5 siblings, 1 reply; 13+ messages in thread
From: Darren Hart @ 2012-03-01 23:59 UTC (permalink / raw)
To: Yocto Project, Bruce Ashfield, Tom Zanussi
From: Darren Hart <dvhart@linux.intel.com>
Move policy features out of fri2.scc and into the fri2-KTYPE.scc files. This
allows KTYPEs like tiny to build smaller kernels while still reusing the
fri2.scc file.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
---
meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc | 6 ++++++
meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc | 6 ++++++
meta/cfg/kernel-cache/bsp/fri2/fri2.scc | 6 ------
3 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc
index 9e9a84c..1a9e638 100644
--- a/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc
+++ b/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc
@@ -5,4 +5,10 @@ define KARCH i386
# no new branch required, re-use the ktypes/preempt-rt branch
include ktypes/preempt-rt
include fri2.scc
+
+# default policy for preempt-rt kernels
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
include cfg/efi-ext.scc
diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc b/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc
index b17eca5..66b87ce 100644
--- a/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc
+++ b/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc
@@ -9,4 +9,10 @@ include features/emgd/emgd.scc
git merge emgd
include fri2.scc
+
+# default policy for standard kernels
+include cfg/boot-live.scc
+include features/logbuf/size-normal.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
include cfg/efi-ext.scc
diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2.scc b/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
index a89a6e2..62ad14b 100644
--- a/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
+++ b/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
@@ -9,12 +9,6 @@ include features/ericsson-3g/f5521gw.scc
include features/iwlagn/iwlagn.scc
include cfg/vesafb.scc
include cfg/usb-mass-storage.scc
-include cfg/boot-live.scc
include features/power/intel.scc
include cfg/smp.scc
include cfg/efi.scc
-
-include features/logbuf/size-normal.scc
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
--
1.7.6.5
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 6/6] fri2: Move non-hardware optional features out of fri2.scc
2012-03-01 23:59 ` [PATCH 6/6] fri2: Move non-hardware optional features out of fri2.scc Darren Hart
@ 2012-03-02 21:17 ` Bruce Ashfield
0 siblings, 0 replies; 13+ messages in thread
From: Bruce Ashfield @ 2012-03-02 21:17 UTC (permalink / raw)
To: Darren Hart; +Cc: Yocto Project
On 12-03-01 06:59 PM, Darren Hart wrote:
> From: Darren Hart<dvhart@linux.intel.com>
>
> 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 series, but I've merged it all anyway. If
we need to change the PCH console one, I'll revisit it later.
Cheers,
Bruce
>
> Signed-off-by: Darren Hart<dvhart@linux.intel.com>
> ---
> meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc | 6 ++++++
> meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc | 6 ++++++
> meta/cfg/kernel-cache/bsp/fri2/fri2.scc | 6 ------
> 3 files changed, 12 insertions(+), 6 deletions(-)
>
> diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc
> index 9e9a84c..1a9e638 100644
> --- a/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc
> +++ b/meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc
> @@ -5,4 +5,10 @@ define KARCH i386
> # no new branch required, re-use the ktypes/preempt-rt branch
> include ktypes/preempt-rt
> include fri2.scc
> +
> +# default policy for preempt-rt kernels
> +include cfg/boot-live.scc
> +include features/logbuf/size-normal.scc
> +include features/latencytop/latencytop.scc
> +include features/profiling/profiling.scc
> include cfg/efi-ext.scc
> diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc b/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc
> index b17eca5..66b87ce 100644
> --- a/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc
> +++ b/meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc
> @@ -9,4 +9,10 @@ include features/emgd/emgd.scc
> git merge emgd
>
> include fri2.scc
> +
> +# default policy for standard kernels
> +include cfg/boot-live.scc
> +include features/logbuf/size-normal.scc
> +include features/latencytop/latencytop.scc
> +include features/profiling/profiling.scc
> include cfg/efi-ext.scc
> diff --git a/meta/cfg/kernel-cache/bsp/fri2/fri2.scc b/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
> index a89a6e2..62ad14b 100644
> --- a/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
> +++ b/meta/cfg/kernel-cache/bsp/fri2/fri2.scc
> @@ -9,12 +9,6 @@ include features/ericsson-3g/f5521gw.scc
> include features/iwlagn/iwlagn.scc
> include cfg/vesafb.scc
> include cfg/usb-mass-storage.scc
> -include cfg/boot-live.scc
> include features/power/intel.scc
> include cfg/smp.scc
> include cfg/efi.scc
> -
> -include features/logbuf/size-normal.scc
> -
> -include features/latencytop/latencytop.scc
> -include features/profiling/profiling.scc
^ permalink raw reply [flat|nested] 13+ messages in thread