From 4c28b1df18d0c31e841b98274db0c22e6f032c43 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 2 Dec 2009 13:54:56 +0100 Subject: linux-openmoko: use add module_autoload for 2.6.31, add ppp_generic and load snd modules from machine configs Signed-off-by: Martin Jansa --- conf/machine/om-gta02.conf | 2 ++ recipes/images/shr-image.inc | 6 ------ recipes/linux/linux-openmoko.inc | 8 ++------ 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/conf/machine/om-gta02.conf b/conf/machine/om-gta02.conf index 8e8355ba6f..c65d971144 100644 --- a/conf/machine/om-gta02.conf +++ b/conf/machine/om-gta02.conf @@ -83,6 +83,8 @@ UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512" EXTRA_IMAGEDEPENDS += "sjf2410-linux-native dfu-util-native" module_autoload_snd-soc-neo1973-gta02-wm8753 = "snd-soc-neo1973-gta02-wm8753" +#2.6.31 is using the same name as it was in gta01 +module_autoload_snd-soc-neo1973-wm8753 = "snd-soc-neo1973-wm8753" # tune for S3C24x0 include conf/machine/include/tune-arm920t.inc diff --git a/recipes/images/shr-image.inc b/recipes/images/shr-image.inc index ac2053737e..bbda84d93b 100644 --- a/recipes/images/shr-image.inc +++ b/recipes/images/shr-image.inc @@ -98,12 +98,6 @@ shr_rootfs_postprocess() { #set up a nice gentoo-like PS1 echo "export PS1=\"\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] \"">> ./etc/profile - #load modules on boot - [ -d ./etc/modutils ] || mkdir ./etc/modutils - # FIXME: do load those modules through module_autoload in - # machine config or distro config - echo "ppp_generic" > ./etc/modutils/ppp_generic - #set up some variables to improve default settings echo "if [ \"\$DISPLAY\" = \"\" ]" >> ./etc/profile echo "then" >> ./etc/profile diff --git a/recipes/linux/linux-openmoko.inc b/recipes/linux/linux-openmoko.inc index e789e76b1a..99865c9818 100644 --- a/recipes/linux/linux-openmoko.inc +++ b/recipes/linux/linux-openmoko.inc @@ -28,12 +28,8 @@ THUMB_INTERWORKING = "no" module_autoload_ohci-hcd = "ohci-hcd" module_autoload_hci_usb = "hci_usb" module_autoload_g_ether = "g_ether" -# audio (GTA01) -module_autoload_snd-soc-neo1973-wm8753 = "snd-soc-neo1973-wm8753" -# audio (GTA02) -module_autoload_snd-soc-neo1973-gta02-wm8753 = "snd-soc-neo1973-gta02-wm8753" -# audio (GTA03) -module_autoload_snd-soc-neo1973-gta03-wm8753 = "" +module_autoload_ppp_generic = "ppp_generic" +# snd modules module_autoload_snd-soc-neo1973-*-wm8753 are in machine.conf # sd/mmc module_autoload_s3cmci = "s3cmci" -- cgit v1.2.3