From 31b4184017f600cdbfceeeb4b1e1aaaa6931c7d7 Mon Sep 17 00:00:00 2001 From: Kristof Robot Date: Thu, 31 Oct 2013 13:26:08 +0100 Subject: [PATCH] cubieboard2: added network kernel module as essential dependency Adding sunxi_emac network driver as recommended *essential* machine dependency, rather than recommended *extra* dependency, to make sure it is included, even if packagegroup-base is not included. See also https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-MACHINE_EXTRA_RDEPENDS Also removed kernel26, as this is deprecated, see http://www.openembedded.org/wiki/Migrating_metadata_to_OE-Core --- conf/machine/cubieboard2.conf | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/conf/machine/cubieboard2.conf b/conf/machine/cubieboard2.conf index b8fd2bc..82ce1c8 100644 --- a/conf/machine/cubieboard2.conf +++ b/conf/machine/cubieboard2.conf @@ -1,6 +1,6 @@ #@TYPE: Machine -#@NAME: CubieBoard -#@DESCRIPTION: Machine configuration for the cubieboard, based on allwinner a10 CPU http://cubieboard.org/ +#@NAME: CubieBoard2 +#@DESCRIPTION: Machine configuration for the cubieboard2, based on allwinner ar210 CPU http://cubieboard.org/ PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" XSERVER = "xserver-xorg \ @@ -28,11 +28,13 @@ IMAGE_CLASSES += "sdcard_image-a10" IMAGE_FSTYPES += "ext3 tar.gz a10-sdimg" -# Guesswork SERIAL_CONSOLE = "115200 ttyS0" -MACHINE_EXTRA_RRECOMMENDS = "\ - kernel-module-sw-ahci-platform \ -" +MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS = "\ + kernel-module-sunxi-emac \ + " -MACHINE_FEATURES = "kernel26 screen apm usbgadget usbhost vfat alsa" +#autoload ethernet module at boot +module_autoload_sunxi_emac = "sunxi_emac" + +MACHINE_FEATURES = "screen apm usbgadget usbhost vfat"