Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-16-2012, 03:47 PM   #16
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
what is the minimum version that you need?

Plus - what happened to the "sane toolchain and terminal" objective?
That can be (has been) done without messing with the kernel.
knc1 is offline   Reply With Quote
Old 10-16-2012, 05:43 PM   #17
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by pepijndevos View Post
Which one was recommended?

You talked about 2.6.34.13, but that is clearly a lot newer than the Kindle. I assumed you meant that as a target to merge onto the lab126.

There was talk about Chris's kernel, which is a refurbished lab126 kernel.

Tizen was mentioned, which is not a kernel at all. And a link was posted to someone who uploaded K2 and K3 sources.


My plan is to find the smallest diff, overwrite that with the lab126 kernel, and then merge in newer kernels.
well that has to be chris's - unless I still misunderstand your objective.
twobob is offline   Reply With Quote
Advert
Old 10-17-2012, 07:38 AM   #18
pepijndevos
Connoisseur
pepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austen
 
Posts: 71
Karma: 23166
Join Date: Sep 2012
Device: Kindle 4NT
Merging with chris's kernel does not make sense. He took the lab126 kernel and added some stuff.

What I'm trying to do is get the lab126 kernel in a git repo that has history and future, so git can do some of the heavy lifting of merging v2.6.31+.

I just tried doing this with v2.6.31-rt11, which has a few less conflicts. After overwriting that with the lab126 version, I merged a few small increments, and finally tried to make the leap from 31 to 33(there is no 32-rt), by running "git merge v2.6.33-rt8".

It has a lot of conflicts. Even in arch/x86 and arch/powerpc

I installed a three-way merge tool and did "git mergetool", but I'm just not enough kernel hacker to do it. I merged some docs, C and even ASM code, but then I hit a ton of files in arch/arm/mach-mx25/ that where added on both sides or had non-trivial changes on both sides.

I will push my minor increments to github, maybe it is of use to someone. I can't take it any further though.

This is the most recent v2.6.31.*.-*rt
https://github.com/pepijndevos/kindl...a6b0c4444ea452

The next step would be v2.6.33 and possibly v3.0.10, but I would be content with v2.6.33.

Not going to happen I guess. I'll just see what I can do with an old v2.6.31 kernel. Get Chris' kernel and a Debian chroot, and it wont be too bad.
pepijndevos is offline   Reply With Quote
Old 10-17-2012, 08:30 AM   #19
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by pepijndevos View Post
Merging with chris's kernel does not make sense. He took the lab126 kernel and added some stuff.

What I'm trying to do is get the lab126 kernel in a git repo that has history and future, so git can do some of the heavy lifting of merging v2.6.31+.

I just tried doing this with v2.6.31-rt11, which has a few less conflicts. After overwriting that with the lab126 version, I merged a few small increments, and finally tried to make the leap from 31 to 33(there is no 32-rt), by running "git merge v2.6.33-rt8".

It has a lot of conflicts. Even in arch/x86 and arch/powerpc

I installed a three-way merge tool and did "git mergetool", but I'm just not enough kernel hacker to do it. I merged some docs, C and even ASM code, but then I hit a ton of files in arch/arm/mach-mx25/ that where added on both sides or had non-trivial changes on both sides.

I will push my minor increments to github, maybe it is of use to someone. I can't take it any further though.

This is the most recent v2.6.31.*.-*rt
https://github.com/pepijndevos/kindl...a6b0c4444ea452

The next step would be v2.6.33 and possibly v3.0.10, but I would be content with v2.6.33.

Not going to happen I guess. I'll just see what I can do with an old v2.6.31 kernel. Get Chris' kernel and a Debian chroot, and it wont be too bad.
I'll have to check what kernel buildroot is building right now but I still don't get why you cant just use that and merge in chris's changes if that is what you are after. (EDIT: Maybe I will read this back one day and "GET IT")

I did an example of a big 3 way merge on the "Better Busybox" thread.

I was thinking to just diff out Chris' changes and merge them back into the source (pre-buildroot "make") and get BR to do all the heavy lifting.

Anyway that project is on the backburner for RSN, don't have a 4 yet but assuming I get my hands on one then perhaps I can get excited about this too. thanks for sharing

Last edited by twobob; 10-17-2012 at 08:31 AM. Reason: (EDIT: Maybe I will read this back one day and "GET IT")
twobob is offline   Reply With Quote
Old 10-17-2012, 09:17 AM   #20
pepijndevos
Connoisseur
pepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austenpepijndevos has memorized the entire works of Homer, Shakespeare, and Jane Austen
 
Posts: 71
Karma: 23166
Join Date: Sep 2012
Device: Kindle 4NT
Yes, I could merge Chris' changes onto lab126, which would give me *exactly* what he has already done.

I will in fact merge his changes on top of my updated kernel, when I get around to adding OTG to my Kindle.

It would also be interesting to see what kernel the K5 has. AFAICT, it has a lot of small changes. Maybe it would be possible to support both with one kernel?

Chris:
Quote:
The hardware of the Touch and the K4 is mostly the same(same board, USB chips etc.) and this is also reflected in the code diff, which is minimal and – as far as I can tell – only consists of bug fixes.
pepijndevos is offline   Reply With Quote
Advert
Old 10-17-2012, 09:22 AM   #21
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by pepijndevos View Post
Yes, I could merge Chris' changes onto lab126, which would give me *exactly* what he has already done.

I will in fact merge his changes on top of my updated kernel, when I get around to adding OTG to my Kindle.

It would also be interesting to see what kernel the K5 has. AFAICT, it has a lot of small changes. Maybe it would be possible to support both with one kernel?

Chris:
Okay, yeah, I get it. apologies : )

hmm. one kernel, quite possibly, interesting thought!
twobob is offline   Reply With Quote
Old 10-17-2012, 09:37 AM   #22
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Since the key, touch screen and the display drivers are loadable kernel modules; it should be possible to support the K4, K5, and Kpw with only boot-time selection of driver modules.
(There are config files for that sort of thing.)
knc1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-T1 How-to: Compiling the kernel and kernel modules altruizine Sony Reader Dev Corner 9 09-03-2012 09:12 PM
How to install prior version of Calibre when newer version installed? SilentSeven Calibre 3 04-13-2011 12:46 PM
DR800 Another (newer) build? CoolDragon iRex 1 06-01-2010 12:19 PM
PRS-900 Sony Digital Edition Library Install, and Install, ... Hamlet53 Sony Reader 3 04-05-2010 03:29 PM
Even newer cover :) Moejoe Writers' Corner 35 01-18-2010 08:05 AM


All times are GMT -4. The time now is 08:40 PM.


MobileRead.com is a privately owned, operated and funded community.