Skip to contentSkip to conversation

sys940x BSP and boot-live consolidation

PATCH In review Darren Hart 3 participants 11 messages Feb 1, 2012 – Feb 2, 2012

lore
Share & tools
lore
#0 lore raw

cover sys940x BSP and boot-live consolidation

The following changes since commit 59314a3523e360796419d76d78c6f7d8c5ef2593:

meta/beagleboard: Using CONFIG_PANEL_GENERIC_DPI=y (2012-01-30 00:50:09 -0500)

are available in the git repository at:
git://git.infradead.org/users/dvhart/linux-yocto-3.0.git meta-sys940x
http://git.infradead.org/users/dvhart/linux-yocto-3.0.git/shortlog/refs/heads/meta-sys940x

Darren Hart (2):
meta: sys940x BSP meta data
Remove boot-live cfg duplication from BSPs

 .../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 ----
 .../bsp/sys940x/sys940x-preempt-rt.scc             |    7 +++
 .../kernel-cache/bsp/sys940x/sys940x-standard.scc  |    6 +++
 meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg      |   44 ++++++++++++++++++++
 meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc      |   17 ++++++++
 meta/cfg/kernel-cache/cfg/boot-live.cfg            |    3 +
 10 files changed, 77 insertions(+), 50 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
Signature · 1 line
1.7.6.5
#1 lore raw

PATCH 1/2 meta: sys940x BSP meta data

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

---
 .../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
meta/cfg/kernel-cache/bsp/sys940x/sys940x-preempt-rt.scc new file +7 -0
new file mode 100644
index 0000000..3b8f0aa
@@ -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
meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc new file +6 -0
new file mode 100644
index 0000000..1f0edec
@@ -0,0 +1,6 @@
+define KMACHINE sys940x
+define KTYPE standard
+define KARCH i386
+
+include ktypes/standard
+include sys940x.scc
meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg new file +49 -0

49 lines not on this page · raw message

meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc new file +17 -0
new file mode 100644
index 0000000..1eaebf2
@@ -0,0 +1,17 @@
+kconf hardware sys940x.cfg
+
+git merge yocto/emgd
+
+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
Signature · 1 line
1.7.6.5
#2 lore raw

PATCH 2/2 Remove boot-live cfg duplication from BSPs

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.

---
 .../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(-)
meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg +0 -10
index 1cc14b1..32cd9e5 100755
@@ -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
meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg +0 -10
index e93c0b8..b101419 100644
@@ -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
meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg +0 -10
index b9704c5..b1e72bd 100644
@@ -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
meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg +0 -10
index e93c0b8..b101419 100644
@@ -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
meta/cfg/kernel-cache/bsp/fri2/fri2.cfg +0 -10
index e93c0b8..b101419 100644
@@ -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
meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg +0 -5
index 3d45fe8..b101419 100644
@@ -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
meta/cfg/kernel-cache/cfg/boot-live.cfg +3 -0
index 8ff7674..a102052 100644
@@ -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
Signature · 1 line
1.7.6.5
#4 lore raw

Re: [PATCH 1/2] meta: sys940x BSP meta data

In reply to Darren Hart
Quoted 43 lines · Darren Hart

The Inforce SYS940x-ECX Developer-Ready Reference Platform features:
o Intel Atom E6xx (0.6-1.6 GHz)
o Up to 1GB on-board DDR2
o Intel Platform Controller Hub EG20T
o VGA,LVDS
o HD Audio
o SD Card
o Dual SATA
o Mini-PCIe

http://www.inforcecomputing.com/SYS940X_ECX.html

---
  .../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

meta/cfg/kernel-cache/bsp/sys940x/sys940x-preempt-rt.scc new file +7 -0
new file mode 100644
index 0000000..3b8f0aa
@@ -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
meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc new file +0 -0
new file mode 100644
index 0000000..1f0edec

meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc line 6

Quoted 6 lines
meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc new file +6 -0
@@ -0,0 +1,6 @@
+define KMACHINE sys940x
+define KTYPE standard
+define KARCH i386
+
+include ktypes/standard
+include sys940x.scc

Looks like the branch re-use issue worked itself out!

Quoted 61 lines
meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg new file +49 -0
new file mode 100644
index 0000000..3d45fe8
@@ -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
meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc new file +0 -0
new file mode 100644
index 0000000..1eaebf2

meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc line 3

Quoted 3 lines
meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc new file +3 -0
@@ -0,0 +1,17 @@
+kconf hardware sys940x.cfg
+
+git merge yocto/emgd

Just want to confirm that emgd-1.10 is available, and this version was explicitly chosen ?

No issues with the series though. Staging it once you confirm.

Cheers,

Bruce

Quoted 14 lines
meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc new file +14 -0
+
+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
Acked-by on v1 1/2
#6 lore raw

Re: [PATCH 1/2] meta: sys940x BSP meta data

In reply to Darren Hart
Quoted 10 lines · Darren Hart

The Inforce SYS940x-ECX Developer-Ready Reference Platform features:
o Intel Atom E6xx (0.6-1.6 GHz)
o Up to 1GB on-board DDR2
o Intel Platform Controller Hub EG20T
o VGA,LVDS
o HD Audio
o SD Card
o Dual SATA
o Mini-PCIe

Quoted 3 lines

http://www.inforcecomputing.com/SYS940X_ECX.html

Looks good. As Bruce pointed out, emgd-1.10 was recently merged (post 1.2_M2), so the 'git merge yocto/emgd' should be 'git merge yocto/emgd-1.10' for master (i.e. if you're building off of 1.2_M2 for example, this is what you'd want.).

Quoted 114 lines
---
 .../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
meta/cfg/kernel-cache/bsp/sys940x/sys940x-preempt-rt.scc new file +7 -0
new file mode 100644
index 0000000..3b8f0aa
@@ -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
meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc new file +6 -0
new file mode 100644
index 0000000..1f0edec
@@ -0,0 +1,6 @@
+define KMACHINE sys940x
+define KTYPE standard
+define KARCH i386
+
+include ktypes/standard
+include sys940x.scc
meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg new file +49 -0
new file mode 100644
index 0000000..3d45fe8
@@ -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
meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc new file +17 -0
new file mode 100644
index 0000000..1eaebf2
@@ -0,0 +1,17 @@
+kconf hardware sys940x.cfg
+
+git merge yocto/emgd
+
+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
Acked-by on v1 2/2
#3 lore raw

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

In reply to Darren Hart
Quoted 6 lines · Darren Hart

Several BSPs duplicated the boot-live fragment in their BSP specific config. Remove the duplication and add CONFIG_RD_GZIP and CONFIG_BLK_DEV_SR to the boot-live fragment.

Nice cleanup, thanks!

Quoted 126 lines
---
 .../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(-)
meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg +0 -10
index 1cc14b1..32cd9e5 100755
@@ -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
meta/cfg/kernel-cache/bsp/crownbay/crownbay.cfg +0 -10
index e93c0b8..b101419 100644
@@ -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
meta/cfg/kernel-cache/bsp/emenlow/emenlow.cfg +0 -10
index b9704c5..b1e72bd 100644
@@ -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
meta/cfg/kernel-cache/bsp/fishriver/fishriver.cfg +0 -10
index e93c0b8..b101419 100644
@@ -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
meta/cfg/kernel-cache/bsp/fri2/fri2.cfg +0 -10
index e93c0b8..b101419 100644
@@ -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
meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg +0 -5
index 3d45fe8..b101419 100644
@@ -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
meta/cfg/kernel-cache/cfg/boot-live.cfg +3 -0
index 8ff7674..a102052 100644
@@ -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
#7 lore raw

Re: [PATCH 1/2] meta: sys940x BSP meta data

In reply to Tom Zanussi
Quoted 11 lines · Tom Zanussi
Quoted 10 lines · Darren Hart

The Inforce SYS940x-ECX Developer-Ready Reference Platform features:
o Intel Atom E6xx (0.6-1.6 GHz)
o Up to 1GB on-board DDR2
o Intel Platform Controller Hub EG20T
o VGA,LVDS
o HD Audio
o SD Card
o Dual SATA
o Mini-PCIe

Quoted 9 lines
Quoted 3 lines

http://www.inforcecomputing.com/SYS940X_ECX.html

Looks good. As Bruce pointed out, emgd-1.10 was recently merged (post 1.2_M2), so the 'git merge yocto/emgd' should be 'git merge yocto/emgd-1.10' for master (i.e. if you're building off of 1.2_M2 for example, this is what you'd want.).

I've made the 1.10 change, built and tested emgd on the sys940x, and pushed to the infradead repository in the cover letter.

Thanks!

Quoted 122 lines
Quoted 104 lines
---
 .../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
meta/cfg/kernel-cache/bsp/sys940x/sys940x-preempt-rt.scc new file +7 -0
new file mode 100644
index 0000000..3b8f0aa
@@ -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
meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc new file +6 -0
new file mode 100644
index 0000000..1f0edec
@@ -0,0 +1,6 @@
+define KMACHINE sys940x
+define KTYPE standard
+define KARCH i386
+
+include ktypes/standard
+include sys940x.scc
meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg new file +49 -0
new file mode 100644
index 0000000..3d45fe8
@@ -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
meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc new file +7 -0
new file mode 100644
index 0000000..1eaebf2
@@ -0,0 +1,17 @@
+kconf hardware sys940x.cfg
+
+git merge yocto/emgd
+
+include features/eg20t/eg20t.scc
+include features/drm-emgd/drm-emgd.scc
+include features/dmaengine/dmaengine.scc

meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc line 17

Quoted 10 lines
meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc new file +10 -0
+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

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
#5 lore raw

Re: [PATCH 1/2] meta: sys940x BSP meta data

In reply to Bruce Ashfield
Quoted 25 lines · Bruce Ashfield
Quoted 24 lines · Darren Hart

The Inforce SYS940x-ECX Developer-Ready Reference Platform features:
o Intel Atom E6xx (0.6-1.6 GHz)
o Up to 1GB on-board DDR2
o Intel Platform Controller Hub EG20T
o VGA,LVDS
o HD Audio
o SD Card
o Dual SATA
o Mini-PCIe

http://www.inforcecomputing.com/SYS940X_ECX.html

---
  .../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

<snip>

Quoted 6 lines
Quoted 6 lines
meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc new file +0 -0
new file mode 100644
index 0000000..1f0edec
@@ -0,0 +1,6 @@
Quoted 8 lines

meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc line 6

Quoted 6 lines
meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc new file +6 -0
+define KMACHINE sys940x
+define KTYPE standard
+define KARCH i386
+
+include ktypes/standard
+include sys940x.scc

Looks like the branch re-use issue worked itself out!

Yes, it was not necessary. Thanks.

<snip>

Quoted 16 lines

meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc line 3

Quoted 11 lines
meta/cfg/kernel-cache/bsp/sys940x/sys940x-standard.scc new file +2 -0
+# Needed for booting (and using) CD images
+CONFIG_BLK_DEV_SR=y
meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc new file +3 -0
new file mode 100644
index 0000000..1eaebf2
@@ -0,0 +1,17 @@
+kconf hardware sys940x.cfg
+
+git merge yocto/emgd

Just want to confirm that emgd-1.10 is available, and this version was explicitly chosen ?

Quoted 2 lines

No issues with the series though. Staging it once you confirm.

1.10 fixed and new patches pushed to the infradead URL. Please pull.

Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
#8 lore raw
In reply to Darren Hart
Quoted 7 lines · Darren Hart

The following changes since commit 59314a3523e360796419d76d78c6f7d8c5ef2593:

   meta/beagleboard: Using CONFIG_PANEL_GENERIC_DPI=y (2012-01-30 00:50:09 -0500)

are available in the git repository at:

   git://git.infradead.org/users/dvhart/linux-yocto-3.0.git meta-sys940x
   http://git.infradead.org/users/dvhart/linux-yocto-3.0.git/shortlog/refs/heads/meta-sys940x

Merged and pushed. Two questions:

- I also did a commit to the linux-yocto files, do you need them sent out immediately, or is working with AUTOREV enough for now ? There are some other updates I'll batch this with, if we can wait.

- Is there any reason (outside of not being tested there, and potentially missing items like emgd), that this shouldn't go to the 3.2 tree as well ?

Cheers,

Bruce

Quoted 21 lines

Darren Hart (2):
meta: sys940x BSP meta data
Remove boot-live cfg duplication from BSPs

  .../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 ----
  .../bsp/sys940x/sys940x-preempt-rt.scc             |    7 +++
  .../kernel-cache/bsp/sys940x/sys940x-standard.scc  |    6 +++
  meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg      |   44 ++++++++++++++++++++
  meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc      |   17 ++++++++
  meta/cfg/kernel-cache/cfg/boot-live.cfg            |    3 +
  10 files changed, 77 insertions(+), 50 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

#9 lore raw
Quoted 10 lines · Bruce Ashfield
Quoted 7 lines · Darren Hart

The following changes since commit 59314a3523e360796419d76d78c6f7d8c5ef2593:

   meta/beagleboard: Using CONFIG_PANEL_GENERIC_DPI=y (2012-01-30 00:50:09 -0500)

are available in the git repository at:

   git://git.infradead.org/users/dvhart/linux-yocto-3.0.git meta-sys940x
   http://git.infradead.org/users/dvhart/linux-yocto-3.0.git/shortlog/refs/heads/meta-sys940x

Merged and pushed. Two questions:

Thanks Bruce.

Quoted 3 lines

- I also did a commit to the linux-yocto files, do you need them sent out immediately, or is working with AUTOREV enough for now ? There are some other updates I'll batch this with, if we can wait.

AUTOREV or SRCREVs in meta-intel for this specific BSP which I'll push tomorrow are fine. That bit can wait.

Quoted 3 lines

- Is there any reason (outside of not being tested there, and potentially missing items like emgd), that this shouldn't go to the 3.2 tree as well ?

No reason. I started with 3.0 as we wanted this for ELC and I wasn't sure I wanted to deal with 3.2 quite yet.

The other reason was I wanted to do a proper policy/hardware division in the cfg for 3.2 stuff and this is mostly a copy of fri2 - it and the other meta-intel still have a lot of policy in the machine specific fragments. Still hoping to get to that bug number for M3.

--
Darren

Quoted 27 lines

Cheers,

Bruce

Quoted 21 lines

Darren Hart (2):
meta: sys940x BSP meta data
Remove boot-live cfg duplication from BSPs

  .../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 ----
  .../bsp/sys940x/sys940x-preempt-rt.scc             |    7 +++
  .../kernel-cache/bsp/sys940x/sys940x-standard.scc  |    6 +++
  meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg      |   44 ++++++++++++++++++++
  meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc      |   17 ++++++++
  meta/cfg/kernel-cache/cfg/boot-live.cfg            |    3 +
  10 files changed, 77 insertions(+), 50 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

Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
#10 lore raw
Quoted 27 lines · Darren Hart
Quoted 10 lines · Bruce Ashfield
Quoted 7 lines · Darren Hart

The following changes since commit 59314a3523e360796419d76d78c6f7d8c5ef2593:

    meta/beagleboard: Using CONFIG_PANEL_GENERIC_DPI=y (2012-01-30 00:50:09 -0500)

are available in the git repository at:

    git://git.infradead.org/users/dvhart/linux-yocto-3.0.git meta-sys940x
    http://git.infradead.org/users/dvhart/linux-yocto-3.0.git/shortlog/refs/heads/meta-sys940x

Merged and pushed. Two questions:

Thanks Bruce.

Quoted 3 lines

- I also did a commit to the linux-yocto files, do you need them sent out immediately, or is working with AUTOREV enough for now ? There are some other updates I'll batch this with, if we can wait.

AUTOREV or SRCREVs in meta-intel for this specific BSP which I'll push tomorrow are fine. That bit can wait.

Quoted 3 lines

- Is there any reason (outside of not being tested there, and potentially missing items like emgd), that this shouldn't go to the 3.2 tree as well ?

Quoted 7 lines

No reason. I started with 3.0 as we wanted this for ELC and I wasn't sure I wanted to deal with 3.2 quite yet.

The other reason was I wanted to do a proper policy/hardware division in the cfg for 3.2 stuff and this is mostly a copy of fri2 - it and the other meta-intel still have a lot of policy in the machine specific fragments. Still hoping to get to that bug number for M3.

All good. As long as we don't forget to merge this forward later :) We won't .. but I'm paranoid!

Cheers,

Bruce

Quoted 32 lines

--
Darren

Quoted 27 lines

Cheers,

Bruce

Quoted 21 lines

Darren Hart (2):
meta: sys940x BSP meta data
Remove boot-live cfg duplication from BSPs

   .../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 ----
   .../bsp/sys940x/sys940x-preempt-rt.scc             |    7 +++
   .../kernel-cache/bsp/sys940x/sys940x-standard.scc  |    6 +++
   meta/cfg/kernel-cache/bsp/sys940x/sys940x.cfg      |   44 ++++++++++++++++++++
   meta/cfg/kernel-cache/bsp/sys940x/sys940x.scc      |   17 ++++++++
   meta/cfg/kernel-cache/cfg/boot-live.cfg            |    3 +
   10 files changed, 77 insertions(+), 50 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