Jump to content


Photo

[AOSP-KERNEL] QCOM 3.4 Kernel Development [06/10: Android Booting - Firmware issues]


  • Please log in to reply
130 replies to this topic

#1 Hashcode

Hashcode

    King-Of-Code

  • Developer
  • 227 posts
  • Twitter:Hashcode0f

Posted 20 April 2013 - 11:05 AM

*
POPULAR

Hi Guys,
 
I thought I would get a thread going on this as I'm moving along (rather slowly -- I'll admit) on developing a new kernel for the Motorola QCOM phones.  Obviously I will be testing it against the RAZR-HD, but if done correctly it should support RAZR-M, Atrix-HD and Photon Q.
 
Why a new kernel?

  • For full Android 4.2.x support we need to migrate to a fully redeveloped video system which include vsync, fencing and other major changes from the 3.0 kernel.  We have tried to backport some of these changes with some success but in the meantime it's causing other side effects.  Along with the video driver updates are camera subsystem and many many other updates.
  • For the future of the device we want to stay as close to Nexus type devices so that we can compile AOSP out of the box so to speak.  N4 (Mako) uses a 3.4 kernel based on the same exact branch that I'm using from Code Aurora Forums (CAF).

What sources am I using?
 
I've started on the CAF base branch "jb_2.5" used to bring up the Nexus 4 device:

Please Login or Register to see this Hidden Content


 
 
And the new kernel source is on github under a "razrqcom-dev-team" where Pinter and DHacker and others can all join in:

Please Login or Register to see this Hidden Content


 
[NOTE] I have NOT posted my local changes to that kernel yet.  It's the CAF sources + 2-3 commits I cherry-picked in, currently.
 
 
Current Status:

  • [DONE] Add all new drivers from the Motorola JB kernel posted on Sourceforge.net
  • [DONE] Patch existing code with Motorola specific changes (in a minimal sort of way -- only what is absolutely required here)
  • [DONE] Fix compile errors
  • [04/22 DONE] Push initial moto changes to github (over 2 pages of changes grouped by driver/section)
  • [05/15 DONE] Boot testing using a recovery.  Have to get far enough to where I'm seeing a ram-console "last_kmsg".
  • [05/20 DONE] 1-by-1 debug each driver using last_kmsg to where we get a fully functioning recovery build.  This includes using binaries like evtest to debug touchscreen events, and other sensors.
  • [06/01 DONE] Change over to a full Android build using CM sources which are fully patched up against CAF's latest sources: includes new hardware drivers for video, camera, audio and others.
  • [IN-PROGRESS] Debug the Android boot using strace and other binaries till it's solid enough to start using specific apps to play test and debug issues.

Once I get to a point where I can post a full dmesg, I'll add that to this post (for those that are curious).
 
Thanks for being patient.


  • Mr_Alexander, ctopher4, jroc and 59 others like this

#2 Hashcode

Hashcode

    King-Of-Code

  • Developer
  • 227 posts
  • Twitter:Hashcode0f

Posted 20 April 2013 - 11:09 AM

Updated 2013-06-11:

 

Kernel Boot Log:

Please Login or Register to see this Hidden Content

Logcat:

Please Login or Register to see this Hidden Content

 

Summary: Still debugging the Android boot.  But it's getting closer.

 

UPDATE: Attachment

 

FIXES TO COME:

  • All firmware are causing the boot to hang
  • Sound driver isn't working
  • Battery / USB driver needs cleanup
  • Testing

Attached Files


  • jroc, lownslow200sx, geekabilly and 11 others like this

#3 psykick5

psykick5

    n00b

  • Members
  • Pip
  • 20 posts
  • LocationSalt Lake City, Utah

Posted 20 April 2013 - 11:13 AM

Great work! Take all the time you need. When you do it right it's much better than pushing out something incomplete. Thanks so much for taking this on.



#4 zooyork0721

zooyork0721

    All Around Man

  • Developer
  • 979 posts
  • Google+:gtalk/hangouts- zooyork0721
  • LocationNew York, NY
  • Current Device(s):OnePlus 8 Pro

Posted 20 April 2013 - 11:22 AM

awesome! :) thank you for working on it hash


lr79yH0.png

en_app_rgb_wo_60.png


#5 Guest_Megaroad_*

Guest_Megaroad_*
  • Guests

Posted 20 April 2013 - 11:33 AM

Very exciting.  :)



#6 DarkKnight

DarkKnight

    n00b

  • Members
  • Pip
  • 3 posts
  • Current Device(s):Galaxy Nexus/Droid RAZR HD

Posted 20 April 2013 - 12:10 PM

how do i send you a donation hashcode? i see a link on the xda forum but on this forum when i click on your username and click the donations link i don't see any page that will help me throw some money in your direction.



#7 Spydr07

Spydr07

    n00b

  • Members
  • Pip
  • 17 posts

Posted 20 April 2013 - 12:37 PM

Thanks for the dedicated hard work.  Appreciated.



#8 jsnweitzel

jsnweitzel

    n00b

  • Members
  • Pip
  • 4 posts

Posted 20 April 2013 - 01:11 PM

Just bought a HD this week! Soooo looking forward to this.

Sent from my DROID RAZR HD using Tapatalk 2

#9 sfg

sfg

    Member

  • Members
  • PipPip
  • 81 posts
  • LocationCalifornia
  • Current Device(s):RAZR HD MAXX, Nexus 10

Posted 20 April 2013 - 01:16 PM

Is excited...

Sent from my DROID RAZR HD using Tapatalk 2

#10 TjNaps27

TjNaps27

    Member

  • Members
  • PipPip
  • 80 posts
  • Twitter:tjnaps27
  • Current Device(s):"Dan" Edition Razr Maxx HD

Posted 20 April 2013 - 01:53 PM

Thanks for this hash!

Sent from my DROID RAZR HD using Tapatalk 2

#11 desireaftergod

desireaftergod

    Droid Master

  • Dedicated Supporter
  • PipPipPip
  • 536 posts
  • LocationNH
  • Current Device(s):Motorola Droid Maxx

Posted 20 April 2013 - 01:55 PM

Thanks for this hash!

Sent from my DROID RAZR HD using Tapatalk 2


+1

Sent from my DROID RAZR HD using Tapatalk 2
Posted Image

#12 Hero_Indeed

Hero_Indeed

    Android Rescue Squad

  • Members
  • PipPip
  • 173 posts
  • LocationMinnesota

Posted 20 April 2013 - 02:16 PM

Incredible doesn't even begin to say it. 


Posted Image

#13 koftheworld

koftheworld

    Member

  • Members
  • PipPip
  • 111 posts
  • Twitter:koftheworld

Posted 20 April 2013 - 02:24 PM

You already know my opinion hash lol you're the man.

sent from my xt926 RAZR maxx hd

#14 Guest_Megaroad_*

Guest_Megaroad_*
  • Guests

Posted 20 April 2013 - 02:43 PM

Does this project, if successful, mean we can have stable, everything-works builds of CM, AOKP, etc on this phone?



#15 tucstwo

tucstwo

    www.drdevs.com

  • Administrator
  • 14,435 posts
  • Twitter:tucstwo
  • Google+:tucstwo@gmail.com
  • LocationNJ
  • Current Device(s):LG G3 VS985, Nexus 7 (flo)

Posted 20 April 2013 - 02:49 PM

Does this project, if successful, mean we can have stable, everything-works builds of CM, AOKP, etc on this phone?

Yeah, pretty much. And also a nice, stock, functional, up to date kernel for development modification.


  • JJT211 likes this

Visit DRDevs.com hosting site for all official Droidrzr.com ROMs, Apps, GApps and other mods/files!!
Please PM me if you need help!
I will be hosting AOSP-Based ROM GApps packages!
Download the most Up-to-Date GApps Packages for AOSP ROMs from me here!


#16 custer32

custer32

    Member

  • Members
  • PipPip
  • 43 posts
  • LocationScio, OH
  • Current Device(s):Razr Maxx HD, Droid X, & Eris

Posted 20 April 2013 - 02:56 PM

Wow.. Its crazy how a short time ago we never even thought of any of this as possible.. Now its happening! Good luck on the rest of your journey, hash!

#17 custer32

custer32

    Member

  • Members
  • PipPip
  • 43 posts
  • LocationScio, OH
  • Current Device(s):Razr Maxx HD, Droid X, & Eris

Posted 20 April 2013 - 02:57 PM

Wow.. Its crazy how a short time ago we never even thought of any of this as possible.. Now its happening! Good luck on the rest of your journey, hash!

#18 jld

jld

    Member

  • Members
  • PipPip
  • 149 posts
  • Current Device(s):Motorola Razr HD MAXX

Posted 20 April 2013 - 03:03 PM

Shut up and take our money!


  • triskropf97 likes this

#19 TjNaps27

TjNaps27

    Member

  • Members
  • PipPip
  • 80 posts
  • Twitter:tjnaps27
  • Current Device(s):"Dan" Edition Razr Maxx HD

Posted 20 April 2013 - 03:14 PM

Shut up and take our money!


+1

Sent from my DROID RAZR HD using Tapatalk 2

#20 admack

admack

    Member

  • Members
  • PipPip
  • 28 posts

Posted 21 April 2013 - 03:48 PM

Thanks for all you do for us. I'll definitely be running this when the time comes.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users