From 329ce1008de849a83ea0a80798d253c0f5b59901 Mon Sep 17 00:00:00 2001 From: Nicolas Aguirre Date: Thu, 14 Mar 2013 23:06:52 +0100 Subject: [PATCH] Load these modules at startup --- recipes-kernel/linux/linux/sata.conf | 1 + recipes-kernel/linux/linux/screen.conf | 2 ++ recipes-kernel/linux/linux/spdif.conf | 4 ++++ recipes-kernel/linux/linux/wifi.conf | 1 + recipes-kernel/linux/linux_3.0.bb | 14 +++++++++++++- 5 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 recipes-kernel/linux/linux/sata.conf create mode 100644 recipes-kernel/linux/linux/screen.conf create mode 100644 recipes-kernel/linux/linux/spdif.conf create mode 100644 recipes-kernel/linux/linux/wifi.conf diff --git a/recipes-kernel/linux/linux/sata.conf b/recipes-kernel/linux/linux/sata.conf new file mode 100644 index 0000000..a8ff328 --- /dev/null +++ b/recipes-kernel/linux/linux/sata.conf @@ -0,0 +1 @@ +sw_ahci_platform diff --git a/recipes-kernel/linux/linux/screen.conf b/recipes-kernel/linux/linux/screen.conf new file mode 100644 index 0000000..83092a1 --- /dev/null +++ b/recipes-kernel/linux/linux/screen.conf @@ -0,0 +1,2 @@ +lcd +hdmi diff --git a/recipes-kernel/linux/linux/spdif.conf b/recipes-kernel/linux/linux/spdif.conf new file mode 100644 index 0000000..bf7cbc0 --- /dev/null +++ b/recipes-kernel/linux/linux/spdif.conf @@ -0,0 +1,4 @@ +sndspdif +sun4i_sndspdif +sun4i_spdif +sun4i_spdma diff --git a/recipes-kernel/linux/linux/wifi.conf b/recipes-kernel/linux/linux/wifi.conf new file mode 100644 index 0000000..6701e49 --- /dev/null +++ b/recipes-kernel/linux/linux/wifi.conf @@ -0,0 +1 @@ +8192cu diff --git a/recipes-kernel/linux/linux_3.0.bb b/recipes-kernel/linux/linux_3.0.bb index f1d1869..d22091c 100644 --- a/recipes-kernel/linux/linux_3.0.bb +++ b/recipes-kernel/linux/linux_3.0.bb @@ -6,7 +6,7 @@ KERNEL_IMAGETYPE = "uImage" COMPATIBLE_MACHINE = "(mele|olinuxino-a13|cubieboard)" -PR = "6" +PR = "7" PV = "3.0.62" # Last tested version by myself" @@ -22,6 +22,10 @@ SRC_URI += "git://github.com/linux-sunxi/linux-sunxi.git;branch=sunxi-3.0;protoc file://fs \ file://aufs_type.h \ file://defconfig \ + file://spdif.conf \ + file://screen.conf \ + file://sata.conf \ + file://wifi.conf \ " S = "${WORKDIR}/git" @@ -37,6 +41,14 @@ do_package_prepend() { } +do_install_append () { + install -d ${D}${sysconfdir}/modules-load.d + install -m 0755 ${WORKDIR}/spdif.conf ${D}${sysconfdir}/modules-load.d/spdif.conf + install -m 0755 ${WORKDIR}/screen.conf ${D}${sysconfdir}/modules-load.d/screen.conf + install -m 0755 ${WORKDIR}/sata.conf ${D}${sysconfdir}/modules-load.d/sata.conf + install -m 0755 ${WORKDIR}/wifi.conf ${D}${sysconfdir}/modules-load.d/wifi.conf +} + addtask copy_aufs after do_unpack before do_patch INSANE_SKIP_kernel-dev = "debug-files debug-deps"