Skip to contentSkip to conversation

meta: New Crystal Forest Machine Branch

PATCH In review [email protected] 2 participants 4 messages Aug 1, 2012 – Aug 2, 2012

lore
Share & tools
lore
#0 lore raw

cover meta: New Crystal Forest Machine Branch

From: Kishore Bodke <[email protected]>

Hi,

This patch set is for creating initial checkin for the new machine Crystal Forest.

This machine is based on standard/default/common-pc-64.

Please create a new branch called standard/default/common-pc-64/crystalforest for linux-yocto-3.4 kernel and push this new meta branch.

Thanks
Kishore.

The following changes since commit 459165c1dd61c4e843c36e6a1abeb30949a20ba7:

kconf: add 8250 Kconfig to hardware listing audit (2012-07-26 16:23:26 -0400)

are available in the git repository at:

git://git.pokylinux.org/linux-yocto-2.6.37-contrib meta-crystalforest
http://git.pokylinux.org/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=meta-crystalforest

Kishore Bodke (1):
meta: Crystal Forest Machine Created.

 .../bsp/crystalforest/crystalforest-preempt-rt.scc |   15 +++++
 .../bsp/crystalforest/crystalforest-standard.scc   |   10 ++++
 .../bsp/crystalforest/crystalforest.cfg            |   63 ++++++++++++++++++++
 .../bsp/crystalforest/crystalforest.scc            |   14 +++++
 4 files changed, 102 insertions(+)
 create mode 100644 meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-preempt-rt.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-standard.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg
 create mode 100644 meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 meta: Crystal Forest Machine Created.

From: Kishore Bodke <[email protected]>

Initial checkin for the new Crystal Forest Machine Branch.

---
 .../bsp/crystalforest/crystalforest-preempt-rt.scc |   15 +++++
 .../bsp/crystalforest/crystalforest-standard.scc   |   10 ++++
 .../bsp/crystalforest/crystalforest.cfg            |   63 ++++++++++++++++++++
 .../bsp/crystalforest/crystalforest.scc            |   14 +++++
 4 files changed, 102 insertions(+)
 create mode 100644 meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-preempt-rt.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-standard.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg
 create mode 100644 meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-preempt-rt.scc new file +15 -0
new file mode 100644
index 0000000..6c250af
@@ -0,0 +1,15 @@
+define KMACHINE crystalforest
+define KTYPE preempt-rt
+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 crystalforest.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-standard.scc new file +10 -0
new file mode 100644
index 0000000..9d24c76
@@ -0,0 +1,10 @@
+define KMACHINE crystalforest
+define KTYPE standard
+define KARCH x86_64
+
+include bsp/common-pc-64/common-pc-64-standard
+branch crystalforest
+
+include crystalforest.scc
+
+# default policy for standard kernels
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg new file +63 -0

63 lines not on this page · raw message

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc new file +14 -0
new file mode 100644
index 0000000..ff45107
@@ -0,0 +1,14 @@
+kconf hardware crystalforest.cfg
+
+include features/i915/i915.scc
+include cfg/8250.scc
+include cfg/x86_64.scc
+include features/uio/uio.scc
+include features/hugetlb/hugetlb.scc
+include features/ixgbe/ixgbe.scc
+include features/igb/igb.scc
+include features/power/intel.scc
+
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [PATCH 1/1] [KERNEL] meta: Crystal Forest Machine Created.

Hi Kishore,

Quoted 61 lines · On 08/01/2012 12:15 PM, [email protected] wrote:

From: Kishore Bodke <[email protected]>

Initial checkin for the new Crystal Forest Machine Branch.

---
 .../bsp/crystalforest/crystalforest-preempt-rt.scc |   15 +++++
 .../bsp/crystalforest/crystalforest-standard.scc   |   10 ++++
 .../bsp/crystalforest/crystalforest.cfg            |   63 ++++++++++++++++++++
 .../bsp/crystalforest/crystalforest.scc            |   14 +++++
 4 files changed, 102 insertions(+)
 create mode 100644 meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-preempt-rt.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-standard.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg
 create mode 100644 meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-preempt-rt.scc new file +15 -0
new file mode 100644
index 0000000..6c250af
@@ -0,0 +1,15 @@
+define KMACHINE crystalforest
+define KTYPE preempt-rt
+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 crystalforest.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-standard.scc new file +10 -0
new file mode 100644
index 0000000..9d24c76
@@ -0,0 +1,10 @@
+define KMACHINE crystalforest
+define KTYPE standard
+define KARCH x86_64
+
+include bsp/common-pc-64/common-pc-64-standard
+branch crystalforest
+
+include crystalforest.scc
+
+# default policy for standard kernels
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg new file +2 -0
new file mode 100644
index 0000000..341cc20
@@ -0,0 +1,63 @@
+CONFIG_PRINTK=y
+

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg line 12

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

USB support should be pulled in using the various usb scc files Tom created relatively recently.

Quoted 16 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg new file +16 -0
+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_BLK_DEV_SD=y
+CONFIG_CHR_DEV_SG=y
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_HDA_INTEL=y
+
+# Make sure these are on, otherwise the bootup won't be fun
+CONFIG_UNIX=y

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg line 38

Quoted 10 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg new file +10 -0
+CONFIG_INET=y
+CONFIG_MODULES=y
+CONFIG_SHMEM=y
+CONFIG_TMPFS=y
+CONFIG_PACKET=y
+
+# These are needed for the Poulsbo kernel modules
+CONFIG_I2C=y
+CONFIG_AGP=y
+CONFIG_VFAT_FS=y

VFAT_FS is required for Poulsbo kernel modules?

This would make more sense as a poulsbo.scc and .cfg file.

Quoted 15 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg new file +15 -0
+CONFIG_PM=y
+CONFIG_FB=y
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_INPUT=y
+CONFIG_VIDEO_V4L2=y
+CONFIG_VIDEO_IVTV=y
+CONFIG_MEDIA_SUPPORT=y
+CONFIG_VIDEO_CAPTURE_DRIVERS=y
+CONFIG_VIDEO_DEV=y
+CONFIG_VIDEO_V4L2_COMMON=y
+CONFIG_I2C_ALGOBIT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+CONFIG_FB_CFB_FILLRECT=y

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg line 63

Quoted 10 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg new file +10 -0
+CONFIG_VIDEO_FB_IVTV=y
+
+# Needed for booting (and using) USB memory sticks
+CONFIG_USB_STORAGE=y
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_RD_GZIP=y
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_ISO8859_1=y

All this is taken care of with the:

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg

Quoted 2 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg new file +2 -0
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc

lines which are missing from your non-preempt-rt bsp file.

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

Quoted 9 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc new file +3 -0
new file mode 100644
index 0000000..ff45107
@@ -0,0 +1,14 @@
+kconf hardware crystalforest.cfg
+
+include features/i915/i915.scc

Sorry, are Poulsbo and i915 the same thing?

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc line 11

Quoted 8 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc new file +8 -0
+include cfg/8250.scc
+include cfg/x86_64.scc
+include features/uio/uio.scc
+include features/hugetlb/hugetlb.scc
+include features/ixgbe/ixgbe.scc
+include features/igb/igb.scc
+include features/power/intel.scc
+

Insert usb-mass-storage and boot-live here...

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc line 14

Quoted 4 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc new file +3 -0
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+

Thanks,

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

Re: [PATCH 1/1] [KERNEL] meta: Crystal Forest Machine Created.

Quoted 175 lines

-----Original Message-----
From: Darren Hart [mailto:[email protected]]
Sent: Wednesday, August 01, 2012 3:58 PM
To: Bodke, Kishore K
Cc: [email protected]; [email protected]
Subject: Re: [yocto] [PATCH 1/1] [KERNEL] meta: Crystal Forest Machine Created.

Hi Kishore,

Quoted 4 lines · On 08/01/2012 12:15 PM, [email protected] wrote:

From: Kishore Bodke <[email protected]>

Initial checkin for the new Crystal Forest Machine Branch.

Quoted 8 lines
---
 .../bsp/crystalforest/crystalforest-preempt-rt.scc |   15 +++++
 .../bsp/crystalforest/crystalforest-standard.scc   |   10 ++++
 .../bsp/crystalforest/crystalforest.cfg            |   63 ++++++++++++++++++++
 .../bsp/crystalforest/crystalforest.scc            |   14 +++++
 4 files changed, 102 insertions(+)
 create mode 100644 meta/cfg/kernel-

cache/bsp/crystalforest/crystalforest-preempt-rt.scc

Quoted 1 line
 create mode 100644 meta/cfg/kernel-

cache/bsp/crystalforest/crystalforest-standard.scc

Quoted 1 line
 create mode 100644 meta/cfg/kernel-

cache/bsp/crystalforest/crystalforest.cfg

Quoted 1 line
 create mode 100644 meta/cfg/kernel-

cache/bsp/crystalforest/crystalforest.scc

Review

Quoted 2 lines
(quoted diff) +0 -0

rt.scc b/meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-preempt- rt.scc

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-preempt-

Quoted 4 lines

new file mode 100644
index 0000000..6c250af

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-preempt- new file +0 -0

rt.scc

Review

Quoted 17 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-preempt- new file +15 -0
@@ -0,0 +1,15 @@
+define KMACHINE crystalforest
+define KTYPE preempt-rt
+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 crystalforest.scc
+
+# default policy for preempt-rt kernels
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
(quoted diff) +0 -0

standard.scc b/meta/cfg/kernel-cache/bsp/crystalforest/crystalforest- standard.scc

Review

Quoted 16 lines

new file mode 100644
index 0000000..9d24c76

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest-standard.scc new file +10 -0
@@ -0,0 +1,10 @@
+define KMACHINE crystalforest
+define KTYPE standard
+define KARCH x86_64
+
+include bsp/common-pc-64/common-pc-64-standard
+branch crystalforest
+
+include crystalforest.scc
+
+# default policy for standard kernels
(quoted diff) +0 -0

b/meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg

Quoted 7 lines

new file mode 100644
index 0000000..341cc20

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg new file +2 -0
@@ -0,0 +1,63 @@
+CONFIG_PRINTK=y
+

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg line 12

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

USB support should be pulled in using the various usb scc files Tom created relatively recently.

Quoted 16 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg new file +16 -0
+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_BLK_DEV_SD=y
+CONFIG_CHR_DEV_SG=y
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_HDA_INTEL=y
+
+# Make sure these are on, otherwise the bootup won't be fun
+CONFIG_UNIX=y

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg line 38

Quoted 10 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg new file +10 -0
+CONFIG_INET=y
+CONFIG_MODULES=y
+CONFIG_SHMEM=y
+CONFIG_TMPFS=y
+CONFIG_PACKET=y
+
+# These are needed for the Poulsbo kernel modules
+CONFIG_I2C=y
+CONFIG_AGP=y
+CONFIG_VFAT_FS=y

VFAT_FS is required for Poulsbo kernel modules?

This would make more sense as a poulsbo.scc and .cfg file.

Quoted 15 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg new file +15 -0
+CONFIG_PM=y
+CONFIG_FB=y
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_INPUT=y
+CONFIG_VIDEO_V4L2=y
+CONFIG_VIDEO_IVTV=y
+CONFIG_MEDIA_SUPPORT=y
+CONFIG_VIDEO_CAPTURE_DRIVERS=y
+CONFIG_VIDEO_DEV=y
+CONFIG_VIDEO_V4L2_COMMON=y
+CONFIG_I2C_ALGOBIT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+CONFIG_FB_CFB_FILLRECT=y

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg line 63

Quoted 10 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg new file +10 -0
+CONFIG_VIDEO_FB_IVTV=y
+
+# Needed for booting (and using) USB memory sticks
+CONFIG_USB_STORAGE=y
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_RD_GZIP=y
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_ISO8859_1=y

All this is taken care of with the:

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg

Quoted 2 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.cfg new file +2 -0
+include cfg/usb-mass-storage.scc
+include cfg/boot-live.scc

lines which are missing from your non-preempt-rt bsp file.

Review

Quoted 1 line
(quoted diff) +0 -0

b/meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc

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

Quoted 8 lines

new file mode 100644
index 0000000..ff45107

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc new file +3 -0
@@ -0,0 +1,14 @@
+kconf hardware crystalforest.cfg
+
+include features/i915/i915.scc

Sorry, are Poulsbo and i915 the same thing?

Quoted 10 lines

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc line 11

Quoted 8 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc new file +8 -0
+include cfg/8250.scc
+include cfg/x86_64.scc
+include features/uio/uio.scc
+include features/hugetlb/hugetlb.scc
+include features/ixgbe/ixgbe.scc
+include features/igb/igb.scc
+include features/power/intel.scc
+

Insert usb-mass-storage and boot-live here...

Thanks for the input Darren.
I have derived this from Romley, and Romley does not have these changes. I will send a new pull request with these changes included.

Thanks
Kishore.

Quoted 12 lines

meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc line 14

Quoted 5 lines
meta/cfg/kernel-cache/bsp/crystalforest/crystalforest.scc new file +3 -0
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+

Thanks,

--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel