-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2549 from kszaq/le90_cc_3.10
crazycat: fix building for Amlogic devices using 3.10 kernel and enable for WeTek_Core
- Loading branch information
Showing
12 changed files
with
86 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
.../crazycat/patches/amlogic-3.10/driver.dvb.crazycat-01-add-AML-specific-to-backports.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff -Naur a/backports/backports.txt b/backports/backports.txt | ||
--- a/backports/backports.txt 2017-12-30 22:14:58.000000000 +0200 | ||
+++ b/backports/backports.txt 2018-02-23 13:50:01.327967293 +0200 | ||
@@ -21,6 +21,9 @@ | ||
|
||
# All supported versions need those patches | ||
[9.255.255] | ||
+add linux-301-AML-videobuf-resource.patch | ||
+add linux-302-AML-amlogic-video-dev.patch | ||
+add linux-303-AML-meson-ir.patch | ||
add api_version.patch | ||
add pr_fmt.patch | ||
add debug.patch |
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions
18
...ux-driver-addons/dvb/crazycat/patches/amlogic-3.10/driver.dvb.crazycat-04-AML-hacks.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff -Naur a/linux/Makefile b/linux/Makefile | ||
--- a/linux/Makefile 2017-12-30 22:01:38.000000000 +0200 | ||
+++ b/linux/Makefile 2018-02-23 13:25:54.025763853 +0200 | ||
@@ -112,6 +112,14 @@ | ||
|
||
untar: linux-media.tar.bz2 | ||
tar xfj linux-media.tar.bz2 | ||
+ mkdir -p drivers/media/amlogic/ | ||
+ # Copy amlvideodri module | ||
+ cp -a "$(SRCDIR)/drivers/amlogic/video_dev" "drivers/media/amlogic" | ||
+ sed -i 's,common/,,g; s,"trace/,",g' `find drivers/media/amlogic/video_dev/ -type f` | ||
+ # Copy videobuf-res module | ||
+ cp -a "$(SRCDIR)/drivers/media/v4l2-core/videobuf-res.c" "drivers/media/v4l2-core/" | ||
+ cp -a "$(SRCDIR)/include/media/videobuf-res.h" "include/media/" | ||
+ | ||
-rm -f .patches_applied .linked_dir .git_log.md5 | ||
|
||
clean: |
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
...ver-addons/dvb/crazycat/patches/amlogic-3.14/driver.dvb.crazycat-02-media_build-fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/v4l/compat.h | ||
+++ b/v4l/compat.h | ||
@@ -1588,7 +1588,7 @@ | ||
#endif | ||
|
||
#ifdef NEED_WRITEL_RELAXED | ||
-#define writel_relaxed writel | ||
+// #define writel_relaxed writel | ||
#endif | ||
|
||
#ifdef NEED_GET_USER_PAGES_UNLOCKED |
12 changes: 12 additions & 0 deletions
12
...ns/dvb/crazycat/patches/amlogic-3.14/driver.dvb.crazycat-03-frame_vector_workaround.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- a/v4l/Makefile | ||
+++ b/v4l/Makefile | ||
@@ -92,9 +92,6 @@ ifneq ($(filter $(no-makefile-media-targets), $(MAKECMDGOALS)),) | ||
endif | ||
|
||
makefile-mm := 1 | ||
-ifeq ($(wildcard ../linux/mm/frame_vector.c),) | ||
- makefile-mm := 0 | ||
-endif | ||
|
||
# If version not yet detected, we can't create/have these files yet | ||
ifeq ($(KERNELRELEASE),) |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters