arzam16 / linux-mt6577 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from torvalds/linux
My attempt to bring MT6577 support into mainline Linux kernel
License: Other
This project forked from torvalds/linux
My attempt to bring MT6577 support into mainline Linux kernel
License: Other
Hello can you post full defconfig for Lenovo IdeaTab A1000L-F?
I want to play with my a1000 ;)
Hello, it seems like a great effort. Sorry, it's a huge message but I had and have a lot to say about the topic, so it's a request to read it.
My goal was also something similar, using only modem and wifi code from downstream kernel and rest from the mainline kernel. Establish a new free bootchain by updated ATF(Arm-Trusted-Firmware), OP-TEE as the new TEE OS, U-Boot replacing LK totally. Then running standard linux and mainstream android on my device....it's MT6735 btw. For all the work I have done and thought about doing later, I just compared how MT6797's basic parts were available mainline was relatedto the downstream kernel sources, and collected some datasheets from various chinese websites to facilate my work(I have NO intentions of sending them upstream since I am no programmer or familiar with linux's mainline coding style). It would be great we could share whatever we both know and I might learn something even more new. I already have solutions for updated ATF, OP-TEE so I consider it done(For ATF I have MT6735 source code v1.0 and I think it would be very easy to integrate it with the mainline ATF code(not upstreaming it though. And for the TEE OS, it has support for MT8173. MT8173 and MT6735 should work exactly similar in the OP-TEE, as I have compared their base registers and found them to be exactly same). My current progress is on U-Boot, added pwrap for MT6735(inspired from SPMI in Qualcomm, but what I wrote is VERY MT6735 specific an just basically a scrapped version from linux kernel PWRAP), UART, SD, PWM, CLK, PINCTRL, all of them are done. Now adding regulator support for MT6328 following how da9063 is supported.
On linux kernel, I also wrote PINCTRL, CLK, SD, PWRAP, SCPSYS, UART, I2C, AUXADC, PWM, MT6328 regulator and many more. Got huge help from your mainlining notes, thank you very much for that. I will start uploading on github properly once I am done working on U-Boot at least :). But the problem is I have to do all these alone, with no one of great high skills to help, so that when I get stuck badly, it takes days to solve a complex problem.
Looking on to your work, it looks serious. Do you have a clock driver for MT6577? I compared MT6797, MT8173 and many more's downstream clkmgr and found some theories, the PLL registers are just the base addresses like ARMPLL_CON0 is the enreg etc. name of clocks and how many clocks should be on the clk-mt6577.c file are in the mt_clock_manager.c right? As for the PWRAP on most other MTK SoCs, you may not need it because it works over i2c, the fuelgauge driver(if ever needed) is very similar to 88pm860x-battery.c. For me, I had to add pwrap support for the MT6735, then scrap MT6323 and MT6359's regulator drivers to form the MT6328's regulator drivers. Then added MFD support for MT6328 following MT6323.......I think if we just add support lscrapping drivers for similarly available hardware, it should work right? I am here just for learning myself....but would be more than happy to know if I could help.
Finally, messaging in the github's issues is very annoying isn't it? Do you have any more convenient place to talk? Like some social media or something?
Hello, I try to compile kernel for My Lenovo A390 with MT6577, but exit with make error 2
Log from PmBootStrap
log.txt
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.