diff options
author | Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 2016-02-18 21:52:01 (GMT) |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2016-02-19 15:52:09 (GMT) |
commit | 324918de4639be380cef04bdcfdb8bbdb4c221d5 (patch) | |
tree | c779917dad935b979e7e2ab3a7223effaf5e6f0e /common/recipes-bsp | |
parent | 5640cd6bc13a520ba4bf73c94fe9b739ac23c7e6 (diff) | |
download | meta-intel-324918de4639be380cef04bdcfdb8bbdb4c221d5.tar.gz |
gma500_gfx: Avoid inserting gma500_gfx module for certain devices
The gma500_gfx driver will match certain devices on which it causes incorrect functionality,
we want to avoid inserting this module, basicallly blacklist it for specific hardware,
but still allow it to work on other hardware by default; usually when we have an already working system,
using udev rules would do the job, but since we are building it, it is impossible to blacklist
a driver when a certain udev rule matches, since rootfs isn't writeable at this point during boot time,
the solution is to use modprobe install, which runs a certain command instead of inserting a matching module
this command needs to insert the module manually afterwards and have a flag --ignore-install
so it doesn't create an infinite loop executing itself everytime it wants to insert the module,
busybox's modprobe doesnt provide this functionality, so a small hack had to be used to avoid
the infite loop instead.
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'common/recipes-bsp')
-rw-r--r-- | common/recipes-bsp/gma500-gfx-check/gma500-gfx-check_1.0.bbappend | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/recipes-bsp/gma500-gfx-check/gma500-gfx-check_1.0.bbappend b/common/recipes-bsp/gma500-gfx-check/gma500-gfx-check_1.0.bbappend new file mode 100644 index 0000000..eb8a724 --- /dev/null +++ b/common/recipes-bsp/gma500-gfx-check/gma500-gfx-check_1.0.bbappend | |||
@@ -0,0 +1 @@ | |||
COMPATIBLE_MACHINE = "intel-core2-32" | |||