[linux-yocto] [PATCH] common-pc-wifi: Enable SDIO for BroadCom BRCMFMAC

2017-07-12 Thread Saul Wold
Enable Broadcom Wifi driver for SDIO mounted hardware on Intel boards

Signed-off-by: Saul Wold 
---
Please apply to 4.9 and beyond.

 bsp/common-pc/common-pc-wifi.cfg | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bsp/common-pc/common-pc-wifi.cfg b/bsp/common-pc/common-pc-wifi.cfg
index 442aa2f..998a789 100644
--- a/bsp/common-pc/common-pc-wifi.cfg
+++ b/bsp/common-pc/common-pc-wifi.cfg
@@ -22,6 +22,9 @@ CONFIG_BRCMUTIL=m
 CONFIG_BRCMSMAC=m
 CONFIG_BRCMFMAC=m
 CONFIG_BRCMFMAC_USB=y
+CONFIG_BRCMFMAC_SDIO=y
+CONFIG_BRCMFMAC_PROTO_BCDC=y
+CONFIG_BRCMFMAC_PROTO_MSGBUF=y
 
 CONFIG_WEXT_CORE=y
 CONFIG_WEXT_PROC=y
-- 
2.7.5

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [kernel-cache][RFC PATCH 0/7] MicroBlaze and Zynq BSP configuration

2017-07-12 Thread Bruce Ashfield

On 2017-07-04 11:29 AM, Nathan Rossi wrote:

Most of this configuration has existed in the meta-xilinx layer for
quite some time for use with linux-yocto and Xilinx's vendor tree
kernel, linux-xlnx.

The goal is to enable the use of the MicroBlaze architecture in OE-Core
including the addition of QEMU machines (qemumicroblazeel,
qemumicroblazeeb), this relies on having configuration for the BSPs in
linux-yocto. This series adds the BSP configs for these machines
including both standard and tiny kernel types, as well as fragments for
configuring Xilinx Soft IP drivers.

Also included are Zynq SoC configuration fragments and a generalised
machine config (targeting the SoC for both standard and tiny kernel
types).

Support for MicroBlaze and Zynq has been available in upstream and
linux-yocto for a number of releases. This series does not require any
patching of the kernel source to enable any functionality of the target
BSPs and is purely kernel configuration.

Additionally included in this series is a fragment for debug purposes
that enables the kernels DEBUG_DYNAMIC feature.



These are really clean, and self documenting. I wouldn't have a problem
carrying these along with the main kernel-cache branches.

I don't have the h/w .. so obviously you'd control all the updates (and
any necessary fixes) that weren't clear to me (i.e. options that have
disappeared, or dependency issues, I can handle).

I had one question about the BE machine, but that is mostly for my
information only.

I'll queue these up for my 4.10 and master branch (which is now 4.12+
for linux-yocto-dev).

Bruce


Nathan Rossi (7):
   arch/microblaze: Add config fragments for the MicroBlaze architecture
   bsp/xilinx/board-common: Add Xilinx common board fragment for BSPs
   bsp/xilinx/soc/drivers: Add Xilinx Soft IP drivers fragment
   bsp/qemumicroblazeel: Add BSP configs for qemumicroblazeel
   bsp/qemumicroblazeeb: Add BSP configs for qemumicroblazeeb
   bsp/xilinx/zynq: Add a general purpose KMACHINE for Zynq targets
   features/debug/debug-dyndbg: Add feature to enable dynamic debug

  arch/microblaze/microblaze.cfg   | 18 ++
  arch/microblaze/microblaze.scc   |  6 ++
  bsp/qemumicroblaze/qemumicroblazeeb-standard.scc | 15 +
  bsp/qemumicroblaze/qemumicroblazeeb-tiny.scc | 12 
  bsp/qemumicroblaze/qemumicroblazeeb.cfg  | 15 +
  bsp/qemumicroblaze/qemumicroblazeel-standard.scc | 15 +
  bsp/qemumicroblaze/qemumicroblazeel-tiny.scc | 12 
  bsp/qemumicroblaze/qemumicroblazeel.cfg  | 15 +
  bsp/xilinx/board-common.cfg  | 71 ++
  bsp/xilinx/board-common.scc  |  7 +++
  bsp/xilinx/soc/drivers-softip-microblaze.cfg |  8 +++
  bsp/xilinx/soc/drivers-softip.cfg| 45 ++
  bsp/xilinx/soc/drivers-softip.scc| 12 
  bsp/xilinx/soc/drivers-zynq.cfg  | 75 
  bsp/xilinx/soc/zynq.cfg  | 43 ++
  bsp/xilinx/soc/zynq.scc  | 10 
  bsp/xilinx/zynq-standard.scc | 15 +
  bsp/xilinx/zynq-tiny.scc |  9 +++
  features/debug/debug-dyndbg.cfg  |  1 +
  features/debug/debug-dyndbg.scc  |  4 ++
  20 files changed, 408 insertions(+)
  create mode 100644 arch/microblaze/microblaze.cfg
  create mode 100644 arch/microblaze/microblaze.scc
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeeb-standard.scc
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeeb-tiny.scc
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeeb.cfg
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeel-standard.scc
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeel-tiny.scc
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeel.cfg
  create mode 100644 bsp/xilinx/board-common.cfg
  create mode 100644 bsp/xilinx/board-common.scc
  create mode 100644 bsp/xilinx/soc/drivers-softip-microblaze.cfg
  create mode 100644 bsp/xilinx/soc/drivers-softip.cfg
  create mode 100644 bsp/xilinx/soc/drivers-softip.scc
  create mode 100644 bsp/xilinx/soc/drivers-zynq.cfg
  create mode 100644 bsp/xilinx/soc/zynq.cfg
  create mode 100644 bsp/xilinx/soc/zynq.scc
  create mode 100644 bsp/xilinx/zynq-standard.scc
  create mode 100644 bsp/xilinx/zynq-tiny.scc
  create mode 100644 features/debug/debug-dyndbg.cfg
  create mode 100644 features/debug/debug-dyndbg.scc



--
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [kernel-cache][RFC PATCH 5/7] bsp/qemumicroblazeeb: Add BSP configs for qemumicroblazeeb

2017-07-12 Thread Bruce Ashfield

On 2017-07-04 11:29 AM, Nathan Rossi wrote:

Create configs for the qemumicroblazeeb machine. This includes both
-standard and -tiny configs.

Signed-off-by: Nathan Rossi 
---
  bsp/qemumicroblaze/qemumicroblazeeb-standard.scc | 15 +++
  bsp/qemumicroblaze/qemumicroblazeeb-tiny.scc | 12 
  bsp/qemumicroblaze/qemumicroblazeeb.cfg  | 15 +++
  3 files changed, 42 insertions(+)
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeeb-standard.scc
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeeb-tiny.scc
  create mode 100644 bsp/qemumicroblaze/qemumicroblazeeb.cfg

diff --git a/bsp/qemumicroblaze/qemumicroblazeeb-standard.scc 
b/bsp/qemumicroblaze/qemumicroblazeeb-standard.scc
new file mode 100644
index 00..ae93b49a11
--- /dev/null
+++ b/bsp/qemumicroblaze/qemumicroblazeeb-standard.scc
@@ -0,0 +1,15 @@
+define KMACHINE qemumicroblazeeb
+define KTYPE standard
+define KARCH microblaze
+
+include ktypes/standard/standard.scc
+
+include arch/microblaze/microblaze.scc
+kconf hardware qemumicroblazeeb.cfg
+
+include bsp/xilinx/soc/drivers-softip.scc
+include bsp/xilinx/board-common.scc
+
+# default policy for standard kernels
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
diff --git a/bsp/qemumicroblaze/qemumicroblazeeb-tiny.scc 
b/bsp/qemumicroblaze/qemumicroblazeeb-tiny.scc
new file mode 100644
index 00..2d1bb74132
--- /dev/null
+++ b/bsp/qemumicroblaze/qemumicroblazeeb-tiny.scc
@@ -0,0 +1,12 @@
+define KMACHINE qemumicroblazeeb
+define KTYPE tiny
+define KARCH microblaze
+
+include ktypes/tiny/tiny.scc
+
+include arch/microblaze/microblaze.scc
+kconf hardware qemumicroblazeeb.cfg
+
+include bsp/xilinx/soc/drivers-softip.scc
+include bsp/xilinx/board-common.scc
+
diff --git a/bsp/qemumicroblaze/qemumicroblazeeb.cfg 
b/bsp/qemumicroblaze/qemumicroblazeeb.cfg
new file mode 100644
index 00..0f635c1652
--- /dev/null
+++ b/bsp/qemumicroblaze/qemumicroblazeeb.cfg
@@ -0,0 +1,15 @@
+
+CONFIG_XILINX_MICROBLAZE0_FAMILY="spartan3"


Out curiosity, is it this config that actually dictates
the endianess ?

I ask, because I didn't see anything else obvious that would
trigger this to build BE.

Bruce


+
+# CPU ISA Config
+CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR=1
+CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR=1
+CONFIG_XILINX_MICROBLAZE0_USE_BARREL=1
+CONFIG_XILINX_MICROBLAZE0_USE_DIV=0
+CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL=1
+CONFIG_XILINX_MICROBLAZE0_USE_FPU=0
+CONFIG_XILINX_MICROBLAZE0_HW_VER="7.10.d"
+
+# Memory Base Address
+CONFIG_KERNEL_BASE_ADDR=0x9000
+



--
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto