FORUMS

T-Mobile Steps Up The War Against Verizon

T-Mobile has today launched a new attack on Verizon under the tagline of “Never Settle … more

Multi DPI Apps for Galaxy Note 4

Samsung stock apps do not scale to non-stock DPIs, which can prove annoying to those that want to … more

Google #StepInsideAdWords Event Livestream

Ahead of the annual I/O conference scheduled to take place later this month, the Google … more

How Much Do You Pay for Your Wireless Bill?

With so many different carriers and options to choose from, it can sometimes be quite a task … more
Post Reply Subscribe to Thread Email Thread

Wink [DEV] Porting kernel 3.0 for DESIRE

13th July 2012, 12:21 PM |#1  
OP Senior Member
Flag Kamenets-Podol's'kiy
Thanks Meter: 757
 
Donate to Me
More
what done(ported folders):
-kernel boot up and work
-touch
-Amoled / LCD
-audio
-camera


need to do:
-pm_init (some sysfs_group_add)
-root (some works)
-some ext probz
-unstable
-etc

MY REPO:
https://github.com/nikez/android_kernel_htc_qsd8k

BIG THANKS:
thoemy - for his source
shaky156 - for his big help
Marc1706 - for his source and fixing alot of errors
Nikez - for the fact that he is raised from the bottom and big work
Last edited by noonamer; 23rd May 2013 at 06:40 AM. Reason: change list
The Following 177 Users Say Thank You to noonamer For This Useful Post: [ View ]
 
 
13th July 2012, 02:14 PM |#2  
Member
Flag Mississippi
Thanks Meter: 2
 
More
Why does it need to be ported? Is it not possible to compile the 3.x kernel for this architecture?
13th July 2012, 02:20 PM |#3  
Senior Member
Thanks Meter: 11
 
More
Quote:
Originally Posted by theophile2

Why does it need to be ported? Is it not possible to compile the 3.x kernel for this architecture?

The "only problem" is add all dependencies from oficial HTC kernel for HTC Desire, some things can be easly added, but some others can be more hard to do it.

---------- Post added at 03:20 PM ---------- Previous post was at 03:17 PM ----------

noonamer try to compare with meld or any other the oficial kernel and the oficial from htc and extract all diferences for to be added on 3.x, I think that can be a good start.
13th July 2012, 03:01 PM |#4  
OP Senior Member
Flag Kamenets-Podol's'kiy
Thanks Meter: 757
 
Donate to Me
More
Quote:
Originally Posted by shawe_ewahs

The "only problem" is add all dependencies from oficial HTC kernel for HTC Desire, some things can be easly added, but some others can be more hard to do it.

---------- Post added at 03:20 PM ---------- Previous post was at 03:17 PM ----------

noonamer try to compare with meld or any other the oficial kernel and the oficial from htc and extract all diferences for to be added on 3.x, I think that can be a good start.

dude it's not easy, i think about this but not...
3.x has new files, new drivers for it architecture...
now i almost complite video driver, and some other, late i write what i made.
The Following 9 Users Say Thank You to noonamer For This Useful Post: [ View ]
13th July 2012, 05:15 PM |#5  
topgeardave's Avatar
Senior Member
Thanks Meter: 598
 
More
Ask texasice as he seems to be familliar with kernel development. Nikez may also help as he is familiar with kernel development too! You might as well ask all of the kernel devs in the Desire/N1 threads to collaborate with developement as it is so difficult with limited dependencies
14th July 2012, 10:35 AM |#6  
OP Senior Member
Flag Kamenets-Podol's'kiy
Thanks Meter: 757
 
Donate to Me
More
peoples, i said on last time..if u don't stop spamming, i'll ask to close this thread
i need help from people on kernel, i don't want stop this project, because i like my device and want to make it modern
if u know somethink what help me plz said, but not write f***ing spamming post
The Following 8 Users Say Thank You to noonamer For This Useful Post: [ View ]
14th July 2012, 10:45 AM |#7  
af974's Avatar
Retired Recognized Developer / Retired Forum Moderator
Thanks Meter: 1,888
 
More
Thread has been cleaned from last garbage.

@ OP: i changed a bit your title as this is what we use on XDA when we have a project on going.

@ all: stop to spamming this thread..please
The Following 14 Users Say Thank You to af974 For This Useful Post: [ View ]
14th July 2012, 01:08 PM |#8  
OP Senior Member
Flag Kamenets-Podol's'kiy
Thanks Meter: 757
 
Donate to Me
More
who know how to do kmsg without logcat, phone stuck on HTC logo? thanks

files on repo updated, now trouble on porting yaffs2 to interface...
Last edited by noonamer; 14th July 2012 at 05:24 PM.
The Following 2 Users Say Thank You to noonamer For This Useful Post: [ View ]
14th July 2012, 06:04 PM |#9  
Junior Member
Thanks Meter: 9
 
More
Quote:
Originally Posted by noonamer

who know how to do kmsg without logcat, phone stuck on HTC logo? thanks

files on repo updated, now trouble on porting yaffs2 to interface...

hey

I am trying to port the kernel too. I had the same problem like you (How to debug? ).
I found out how you can use assembly code to check where you are in the startup process of the kernel(when it executes it the device vibrates).

you can use this code to debug befor the mmu is enabled:
Code:
LDR	R6, =0xA9000808
LDR	R5, [R6]
BIC	R4, R5, #0x200000
STR	R5, [R4, #0]
ORR	R5, R5, #0x200000
STR	R5, [R6]
after the mmu is enabled it should be possible to use this code with new addresses(virtual):
Code:
LDR	R6, =0xE0003808
LDR	R5, [R6]
BIC	R4, R5, #0x200000
STR	R5, [R4, #0]
ORR	R5, R5, #0x200000
STR	R5, [R6]
but i didn't get this working. because of that i started to insert endless loops into the code. If you put the battery out of the device it turns off when you use loop code. and if the code crashes and you put the battery out the display is still on then you know that the kernel crashed.
(all this works only with usb power supply)

later if you are through the assemply code you can use this c code:
Code:
*(volatile uint32_t*)(MSM_GPIO1_BASE + 0x0808) |= 0x200000;
mdelay(200);
*(volatile uint32_t*)(MSM_GPIO1_BASE + 0x0808) &= ~0x200000;
i hope i could help you
Jasper
The Following 2 Users Say Thank You to AndroidJaspie For This Useful Post: [ View ]
14th July 2012, 06:08 PM |#10  
Chaosz-X's Avatar
Senior Member
Thanks Meter: 1,810
 
Donate to Me
More
Quote:
Originally Posted by noonamer

who know how to do kmsg without logcat, phone stuck on HTC logo? thanks

files on repo updated, now trouble on porting yaffs2 to interface...

İf you have to ask this question, my faith in this is already 0, as this is basic stuff. Reboot in recovery, and adb pull /proc/last_kmsg. Oh, first one to say "but İ want the kmsg of the previous boot" gets a chair in his face.

Sent from my HTC Desire using xda app-developers app
The Following 3 Users Say Thank You to Chaosz-X For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
bravo, kernel 3.0, qsd
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes