From 7ff5c445d1e9e8a8a64b2756c022b1b5ecbf51b4 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Tue, 28 Oct 2014 19:39:53 +0100 Subject: [PATCH] apu: add networking support the new apu * split out rtl-nic firmware from the big linux-firmware package [hfreyther: For whatever reasons the NIC works without additional firmware as well. I couldn't see in the driver source when that is the case and which features are missing] --- conf/machine/sysmocom-bsc.conf | 2 +- recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig | 5 +++-- yocto-shared/linux-firmware_git.bbappend | 5 +++++ 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 yocto-shared/linux-firmware_git.bbappend diff --git a/conf/machine/sysmocom-bsc.conf b/conf/machine/sysmocom-bsc.conf index 49b5d30..c7d81b7 100644 --- a/conf/machine/sysmocom-bsc.conf +++ b/conf/machine/sysmocom-bsc.conf @@ -34,4 +34,4 @@ GLIBC_EXTRA_OECONF = "--with-tls" #MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d" MACHINE_ESSENTIAL_EXTRA_RDEPENDS = "\ - busybox-ifplugd " + busybox-ifplugd linux-firmware-rtl-nic " diff --git a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig index 4f4ed4c..4b69fb7 100644 --- a/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig +++ b/recipes-bsp/linux/linux-sysmocom/sysmocom-bsc/defconfig @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 3.10.40 Kernel Configuration +# Linux/x86 3.10.50 Kernel Configuration # # CONFIG_64BIT is not set CONFIG_X86_32=y @@ -270,6 +270,7 @@ CONFIG_DEFAULT_CFQ=y # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="cfq" CONFIG_UNINLINE_SPIN_UNLOCK=y +CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y CONFIG_MUTEX_SPIN_ON_OWNER=y CONFIG_FREEZER=y @@ -1433,7 +1434,7 @@ CONFIG_NET_VENDOR_QLOGIC=y CONFIG_NET_VENDOR_REALTEK=y # CONFIG_8139CP is not set # CONFIG_8139TOO is not set -# CONFIG_R8169 is not set +CONFIG_R8169=y CONFIG_NET_VENDOR_RDC=y # CONFIG_R6040 is not set CONFIG_NET_VENDOR_SEEQ=y diff --git a/yocto-shared/linux-firmware_git.bbappend b/yocto-shared/linux-firmware_git.bbappend new file mode 100644 index 0000000..6e6cee5 --- /dev/null +++ b/yocto-shared/linux-firmware_git.bbappend @@ -0,0 +1,5 @@ +PACKAGES_prepend = "${PN}-rtl-nic " + +RDEPENDS_${PN}-rtl-nic += "${PN}-rtl-license" + +FILES_${PN}-rtl-nic = "/lib/firmware/rtl_nic/*.fw"