oneplusoss / android_kernel_oneplus_msm8994 Goto Github PK
View Code? Open in Web Editor NEWGPL Kernel Source for OnePlus 2
License: Other
GPL Kernel Source for OnePlus 2
License: Other
I just cloned the kernel on my PC and now I want to build kernel.
Here details about steps used:
export CC=/home/fpace/Android/aarch64-linux-android-4.9/bin/aarch64-linux-android-
export CROSS_COMPILE=/home/fpace/Android/aarch64-linux-android-4.9/bin/aarch64-linux-android-
export ARCH=arm64
export SUBARCH=arm64
export PLATFORM=msm8994-OnePlus2
make defconfig
alias make="make -jgrep -c processor /proc/cpuinfo | gawk '{print $1*2+1}'
ARCH=arm64"
PATH=${PATH}:/home/fpace/Android/aarch64-linux-android-4.9/bin/aarch64-linux-android-
make
This is the output:
In file included from include/linux/jump_label.h:70:0,
from include/linux/static_key.h:1,
from include/linux/tracepoint.h:20,
from include/linux/module.h:18,
from arch/arm64/mm/fault.c:21:
/home/fpace/Android/android_kernel_oneplus_msm8994_5_1_1/arch/arm64/include/asm/jump_label.h: In function 'do_page_fault':
/home/fpace/Android/android_kernel_oneplus_msm8994_5_1_1/arch/arm64/include/asm/jump_label.h:30:2: warning: asm operand 0 probably doesn't match constraints
error, forbidden warning: jump_label.h:30
gmake[1]: *** [arch/arm64/mm/fault.o] Error 1
gmake: *** [arch/arm64/mm] Error 2
Where I'm wrong?
Thanks
I get this issue when trying to compile:
drivers/usb/storage/ene_ub6250.c: In function 'ene_ms_init':
drivers/usb/storage/ene_ub6250.c:2125:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=]
I don't know what file to change in order for this to work.
Thanks!
When compiling .config file I see this error:
In file included from drivers/media/platform/msm/camera_v2/sensor/vl6180/inc/vl6180x_api.h:39:0,
from drivers/media/platform/msm/camera_v2/sensor/vl6180/stmvl6180_module.c:37:
drivers/media/platform/msm/camera_v2/sensor/vl6180/inc/vl6180x_def.h:497:0: warning: "MODE_MASK" redefined
error, forbidden warning: vl6180x_def.h:497
make[7]: *** [drivers/media/platform/msm/camera_v2/sensor/vl6180/stmvl6180_module.o] Error 1
make[6]: *** [drivers/media/platform/msm/camera_v2/sensor/vl6180] Error 2
make[5]: *** [drivers/media/platform/msm/camera_v2/sensor] Error 2
make[4]: *** [drivers/media/platform/msm/camera_v2] Error 2
make[3]: *** [drivers/media/platform/msm] Error 2
make[2]: *** [drivers/media/platform] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
it stops the compile so I don't get to continue creating the kernel
The kernel source of the new version of Oxygen OS isn't uploaded yet.
I clone the this android kernel today but found I can't compile this kernel.
I don't know what I have missed.With the following problem caused:smp_mb__after_atomic......smp_mb__before_atomic....
this is may the RAM management in the kernel,but I really don't know how to deal with them.
By the way,I'm a green hand,I don't know how to build android for OnePlus.But I sincerely want to know how to do this job,and I want to contribute my power into it to make OnePlus known for more people.Can you(Oxygen or H2O OS) send some tutorial through E-mail([email protected]) to me?Thanks very much.
Regards.
Upon first try to make I got this error:
In file included from include/linux/compiler.h:54:0,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from /home/happiness/android-kernel/android_kernel_oneplus_msm8994/include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/mod_devicetable.h:11,
from scripts/mod/devicetable-offsets.c:2:
include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc5.h: No such file or directory
compilation terminated.
There is no compiler-gcc5.h
Please release the kernel source for oos 3.6.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.