Skip to contentSkip to conversation

Meta updates for fri2

PATCH In review Darren Hart 2 participants 5 messages Mar 2, 2012

lore
Share & tools
lore
#0 lore raw

cover Meta updates for fri2

Update the meta data for FRI2 to support the new serial console support and add the SMP and EFI features to the scc directly.

The following changes since commit d7b46785d6781e2c23d754f35f09bebd3b74b5bb:

meta: create pvr feature description (2012-02-27 15:54:24 -0500)

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

Darren Hart (3):
fri2: Drop 8250 from the fri2 scc
eg20t: Enable serial console for the pch_uart
fri2: Add SMP and EFI support

 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            |    3 ++-
 meta/cfg/kernel-cache/features/eg20t/eg20t.cfg     |    1 +
 4 files changed, 5 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.6.5
#1 lore raw

PATCH 1/3 fri2: Drop 8250 from the fri2 scc

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.

---
 meta/cfg/kernel-cache/bsp/fri2/fri2.scc |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
meta/cfg/kernel-cache/bsp/fri2/fri2.scc +0 -1
index e40622c..1e0c295 100644
@@ -7,7 +7,6 @@ include features/intel-e1xxxx/intel-e100.scc
 include features/intel-e1xxxx/intel-e1xxxx.scc
 include features/drm-emgd/drm-emgd.scc
 include features/dmaengine/dmaengine.scc
-include features/serial/8250.scc
 include features/ericsson-3g/f5521gw.scc
 include features/iwlagn/iwlagn.scc
 include features/framebuffer/vesafb.scc
Signature · 1 line
1.7.6.5
#2 lore raw

PATCH 2/3 eg20t: Enable serial console for the pch_uart

In reply to Darren Hart

The FRI2 uses the pch_uart driver for the serial console. Enable the console driver.

---
 meta/cfg/kernel-cache/features/eg20t/eg20t.cfg |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta/cfg/kernel-cache/features/eg20t/eg20t.cfg +1 -0
index d579e00..a572bf2 100644
@@ -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
Signature · 1 line
1.7.6.5
#3 lore raw

PATCH 3/3 fri2: Add SMP and EFI support

In reply to Darren Hart

Rather than add these as features in the linux-yocto recipe, include them in the BSP meta-data directly. Include only the core EFI bits in the fri2.scc, and add the extended EFI support to the fri2-standard.scc so that other ktypes don't pull in more than what's absolutely required from fri2.scc.

---
 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(-)
meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc +1 -0
index 142d71a..9e9a84c 100644
@@ -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
meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc +1 -0
index b28b650..1cd28fa 100644
@@ -5,3 +5,4 @@ define KARCH i386
 scc_leaf ktypes/standard fri2
 
 include fri2.scc
+include cfg/efi-ext.scc
meta/cfg/kernel-cache/bsp/fri2/fri2.scc +2 -0
index 1e0c295..39e6989 100644
@@ -13,6 +13,8 @@ include features/framebuffer/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
 
Signature · 1 line
1.7.6.5
#4 lore raw

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

Quoted 5 lines · Darren Hart

Rather than add these as features in the linux-yocto recipe, include them in the BSP meta-data directly. Include only the core EFI bits in the fri2.scc, and add the extended EFI support to the fri2-standard.scc so that other ktypes don't pull in more than what's absolutely required from fri2.scc.

Makes sense. This makes the BSP standalone .. which we want.

I've merged all the meta changes now.

Bruce

Quoted 39 lines
---
  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(-)
meta/cfg/kernel-cache/bsp/fri2/fri2-preempt-rt.scc +1 -0
index 142d71a..9e9a84c 100644
@@ -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
meta/cfg/kernel-cache/bsp/fri2/fri2-standard.scc +1 -0
index b28b650..1cd28fa 100644
@@ -5,3 +5,4 @@ define KARCH i386
  scc_leaf ktypes/standard fri2
 
  include fri2.scc
+include cfg/efi-ext.scc
meta/cfg/kernel-cache/bsp/fri2/fri2.scc +2 -0
index 1e0c295..39e6989 100644
@@ -13,6 +13,8 @@ include features/framebuffer/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