From 1b9656c39dc6c7151982f969e6a83892190a381d Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Wed, 5 Feb 2014 09:10:48 +1100 Subject: [PATCH] linux: compile sunxi-emac into kernel for cubietruck The network driver needs to be compiled into the kernel for booting from network over NFS. --- conf/machine/cubietruck.conf | 7 ------- recipes-kernel/linux/linux/cubietruck/defconfig | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/conf/machine/cubietruck.conf b/conf/machine/cubietruck.conf index f0bbef7..ce25c45 100644 --- a/conf/machine/cubietruck.conf +++ b/conf/machine/cubietruck.conf @@ -15,11 +15,4 @@ UBOOT_LOADADDRESS = "0x40008000" SERIAL_CONSOLE = "115200 ttyS0" -MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "\ - kernel-module-sunxi-emac \ - " - -#autoload ethernet module at boot -module_autoload_sunxi_emac = "sunxi_emac" - MACHINE_FEATURES = "screen apm usbgadget usbhost vfat" diff --git a/recipes-kernel/linux/linux/cubietruck/defconfig b/recipes-kernel/linux/linux/cubietruck/defconfig index 0634954..73ec075 100644 --- a/recipes-kernel/linux/linux/cubietruck/defconfig +++ b/recipes-kernel/linux/linux/cubietruck/defconfig @@ -477,6 +477,7 @@ CONFIG_NETDEVICES=y CONFIG_NETCONSOLE=y CONFIG_NETCONSOLE_DYNAMIC=y CONFIG_TUN=m +CONFIG_SUNXI_EMAC=y CONFIG_PHYLIB=y CONFIG_MICREL_KS8995MA=m CONFIG_PLIP=m