Comments (30)
New place, same error.. Don't bother with my Import.. Something else is wrong here
from xiaomi_kernel_opensource.
Compiling with what GCC ?
from xiaomi_kernel_opensource.
https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6
from xiaomi_kernel_opensource.
Try with 4.7
from xiaomi_kernel_opensource.
Same error :/
from xiaomi_kernel_opensource.
Xiaomi; it's great to give a kernel, but you could give instruction on how to build too. And which dependancy are necessary. My next phone will be another brand I think.
from xiaomi_kernel_opensource.
Try GCC 4.9.3 (http://forum.xda-developers.com/showthread.php?p=36677987#post36677987)
I haven't tried it yet though, have more important work than this mess here
from xiaomi_kernel_opensource.
Again, same error at the same point :
In file included from drivers/tspdrv/tspdrv.c:58:0:
drivers/tspdrv/ImmVibeSPI.c: In function 'drv2604_write_reg_val':
drivers/tspdrv/ImmVibeSPI.c:681:4: error: implicit declaration of function 'KBUILD_STR' [-Werror=implicit-function-declaration]
drivers/tspdrv/ImmVibeSPI.c:681:4: error: 'tspdrv' undeclared (first use in this function)
drivers/tspdrv/ImmVibeSPI.c:681:4: note: each undeclared identifier is reported only once for each function it appears in
drivers/tspdrv/ImmVibeSPI.c: In function 'drv2604_read_reg':
drivers/tspdrv/ImmVibeSPI.c:732:2: error: 'tspdrv' undeclared (first use in this function)
cc1: some warnings being treated as errors
scripts/Makefile.build:307: recipe for target 'drivers/tspdrv/tspdrv.o' failed
make[2]: *** [drivers/tspdrv/tspdrv.o] Error 1
scripts/Makefile.build:443: recipe for target 'drivers/tspdrv' failed
make[1]: *** [drivers/tspdrv] Error 2
Makefile:950: recipe for target 'drivers' failed
make: *** [drivers] Error 2
from xiaomi_kernel_opensource.
Remove "-Werror-implicit-function-declaration" from the Makefile in your kernel source directory and try again
from xiaomi_kernel_opensource.
Kick -Wall out too while your on it. I never had much left for warnings which are treated as errors.. Unless you want to fix every little code derp :P
from xiaomi_kernel_opensource.
Tested without theses flags, but always these errors ( cause tspdrv seems to be always undeclared ^^")
from xiaomi_kernel_opensource.
Yeah, they gave us broken junk.. Theres a file /include/linux/dynamic_debug.h that is unusable.. I imported a clean one from the OnePlus One, which is also a SD801 phone to avoid any issues.. Compiles beyond those errors. Replace your file with this: https://github.com/stefant234/AndromedaCANCRO-KK/blob/master/include/linux/dynamic_debug.h
from xiaomi_kernel_opensource.
Don't know how I fixed tspdrv, it just stopped quirking :O
from xiaomi_kernel_opensource.
there are a heck of errors in the source, fixed a lot of them and finally got it buildable but not bootable
try deleting this lines in the original immvibespi.c
/* From Xiaomi start /
pr_debug("drv2604 write 0x%02x, 0x%02x", data[i], data[i
/ From Xiaomi end */
i m using the compiler arm-cortex_a15-linux-gnueabihf-linaro_4.9.1-2014.04 http://forum.xda-developers.com/showthread.php?p=59859361#post59859361
from xiaomi_kernel_opensource.
These are all the issues i faced and fixed and got it buildable
http://pastebin.com/F0fTegmq
i have got the zImage file but the problem is i dont know how to flash it and tried many methods but it didnt boot and went straight to fastboot
from xiaomi_kernel_opensource.
In the beginning of the compilation dtb's are generated. http://forum.xda-developers.com/showthread.php?t=2469510
You need to create the boot.img with the additional dt.img for it to boot
from xiaomi_kernel_opensource.
Already fixed most errors here apparently too.. Going to try your immvibespi.c fix now
from xiaomi_kernel_opensource.
i tried that but gave errors, anyways let it be! i got the z image to boot! YAY!!!
used this anykernel zip http://forum.xda-developers.com/showthread.php?t=2670512
from xiaomi_kernel_opensource.
Full success here too. Meh, I have a different way to assemble zips and boot.imgs :)
from xiaomi_kernel_opensource.
I will try theses changes :) By the way, is your kernel stable with CM-12 @stefant234 ?
from xiaomi_kernel_opensource.
I haven't tried, don't have a Mi4 anymore :/ Developing completely blind.. Would you like to give the build a shot? My usual test subjects are busy until the evening..
from xiaomi_kernel_opensource.
i m testing my current kernel on mokee cm12, working fine till now
from xiaomi_kernel_opensource.
Is high vibration intensity fix with this one?
from xiaomi_kernel_opensource.
dont know about that one, can u explain
i used a different compression method for my kernel and its working fine except 2 issues
1- wifi is not turning on
2- slow paced animations have got laggy, the sppedy ones work fine
from xiaomi_kernel_opensource.
Well, for exemple in AOSP rom by Ivan for Mi3/Mi4, the vibration is really too much high. When you keep down volume key when you put in Silent mode, you can hear that your vibration does weird sound. It already killed some Mi3 vibrator of users...
from xiaomi_kernel_opensource.
the last issue i think that remains is the wifi driver, also videos dont play on the kernel
from xiaomi_kernel_opensource.
@arnabbiswasalsodeep video works fine. only having wifi issue.
from xiaomi_kernel_opensource.
then i hv to check cuz in my build the videos dont play, at first they start, then last for 1/4th of a sec and gives error cant play the video
i will do a facorty reset and try
from xiaomi_kernel_opensource.
I got everything booting with GCC 4.9.3, now all we need is the wifi drivers.
from xiaomi_kernel_opensource.
Modify the Makefile of drivers/tspdrv
the line below will fix the build
##EXTRA_CFLAGS += -I$(M)
EXTRA_CFLAGS += -I$(shell pwd)
from xiaomi_kernel_opensource.
Related Issues (20)
- Fix camellia-r-oss and release camellia-t-oss | 修复camellia-r-oss并发布camellia-t-oss
- Fix camellia-r-oss and release camellia-t-oss | 修复camellia-r-oss并发布camellia-t-oss
- Fix camellia-r-oss and release camellia-t-oss | 修复camellia-r-oss并发布camellia-t-oss
- Fix camellia-r-oss and release camellia-t-oss | 修复camellia-r-oss并发布camellia-t-oss
- FIX ALREADY!! fix camellia-r-oss and release camellia-t-oss | 修复camellia-r-oss并发布camellia-t-oss!!!
- FIX ALREADY!! fix camellia-r-oss and release camellia-t-oss | 修复camellia-r-oss并发布camellia-t-oss!!!
- FIX ALREADY!! fix camellia-r-oss and release camellia-t-oss | 修复camellia-r-oss并发布camellia-t-oss!!!
- FIX ALREADY!! fix camellia-r-oss and release camellia-t-oss | 修复camellia-r-oss并发布camellia-t-oss!!!
- FIX ALREADY!! fix camellia-r-oss and release camellia-t-oss | 修复camellia-r-oss并发布camellia-t-oss!!!
- FIX ALREADY!! fix camellia-r-oss and release camellia-t-oss | 修复camellia-r-oss并发布camellia-t-oss!!! HOT 3
- Camellia EOL, pleace open source kernel
- A request for the android S (12) lancelot kernel
- OSS request #2 (Don't spam!)
- Please release Redmi k50 gaming kernel source
- Hello Sir, Please release kennel source for camellia/Camellian(Poco m3 pro 5G/Redmi note 10T 5G)
- Hello Sir, Please release kennel source for camellia/Camellian(Poco m3 pro 5G/Redmi note 10T 5G) HOT 2
- k30 pro无限重启 HOT 1
- About camellia devices Source claim!
- Release source code for Mibro Watch Lite2
- Xiaomi 12S Ultra (THOR) kernel tree request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xiaomi_kernel_opensource.