diff options
| author | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-10-23 14:56:07 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-10-27 17:59:47 +1000 |
| commit | 46807120150759591a39d40ef7bad69ea2bc7d22 (patch) | |
| tree | 393b3e9a2e65144aaa2100701e84f361b2a5c74c /recipes-kernel | |
| parent | bf251026c9b7b54a5c3981fec48425245459dee2 (diff) | |
| download | meta-xilinx-46807120150759591a39d40ef7bad69ea2bc7d22.tar.gz | |
linux-*_3.10: Disable the MACB driver
* In the Linux kernel v3.10 the MACB driver does not function correctly
* Both kernels have the EMACPS driver, use this instead
* Add a feature config fragement to disable MACB, this is useful in the
case that the machine needs to use the EMACPS driver
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Diffstat (limited to 'recipes-kernel')
4 files changed, 16 insertions, 2 deletions
diff --git a/recipes-kernel/linux/config/xilinx-common/features/xilinx/disable-macb.cfg b/recipes-kernel/linux/config/xilinx-common/features/xilinx/disable-macb.cfg new file mode 100644 index 00000000..536c8e0d --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/features/xilinx/disable-macb.cfg | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | CONFIG_MACB=n | ||
| 2 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/features/xilinx/disable-macb.scc b/recipes-kernel/linux/config/xilinx-common/features/xilinx/disable-macb.scc new file mode 100644 index 00000000..e44196bc --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/features/xilinx/disable-macb.scc | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | define KFEATURE_DESCRIPTION "Disable the MACB Ethernet Driver" | ||
| 2 | define KFEATURE_COMPATIBILITY board | ||
| 3 | |||
| 4 | kconfig hardware disable-macb.cfg | ||
| 5 | |||
diff --git a/recipes-kernel/linux/linux-xlnx_3.10.bb b/recipes-kernel/linux/linux-xlnx_3.10.bb index 7f03bc63..8edd4d71 100644 --- a/recipes-kernel/linux/linux-xlnx_3.10.bb +++ b/recipes-kernel/linux/linux-xlnx_3.10.bb | |||
| @@ -1,7 +1,11 @@ | |||
| 1 | # Kernel version and SRCREV correspond to: | 1 | # Kernel version and SRCREV correspond to: |
| 2 | LINUX_VERSION = "3.10" | 2 | LINUX_VERSION = "3.10" |
| 3 | # xilinx-v14.7 tag | 3 | # xilinx-v14.7 tag |
| 4 | SRCREV ?= "efc27505715e64526653f35274717c0fc56491e3" | 4 | SRCREV ?= "efc27505715e64526653f35274717c0fc56491e3" |
| 5 | PR = "r1" | 5 | PR = "r1" |
| 6 | 6 | ||
| 7 | include linux-xlnx.inc | 7 | include linux-xlnx.inc |
| 8 | |||
| 9 | # The MACB driver is non-functional in the 3.10 kernel | ||
| 10 | KERNEL_FEATURES_append_zynq += "features/xilinx/disable-macb.scc" | ||
| 11 | |||
diff --git a/recipes-kernel/linux/linux-yocto_3.10.bbappend b/recipes-kernel/linux/linux-yocto_3.10.bbappend index 03a5da7d..76097188 100644 --- a/recipes-kernel/linux/linux-yocto_3.10.bbappend +++ b/recipes-kernel/linux/linux-yocto_3.10.bbappend | |||
| @@ -2,6 +2,9 @@ | |||
| 2 | require linux-xilinx-configs.inc | 2 | require linux-xilinx-configs.inc |
| 3 | require linux-xilinx-machines.inc | 3 | require linux-xilinx-machines.inc |
| 4 | 4 | ||
| 5 | # The MACB driver is non-functional in the 3.10 kernel | ||
| 6 | KERNEL_FEATURES_append_zynq += "features/xilinx/disable-macb.scc" | ||
| 7 | |||
| 5 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:" | 8 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:" |
| 6 | SRC_URI_append_microblaze += " \ | 9 | SRC_URI_append_microblaze += " \ |
| 7 | file://ec2eba55f0c0e74dd39aca14dcc597583cf1eb67.patch \ | 10 | file://ec2eba55f0c0e74dd39aca14dcc597583cf1eb67.patch \ |
