02-21-2013, 06:20 PM | #31 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
DX(G), 2.5.8 (only/both)
The search continues for dot-config files with a little bit of prep work.
Spoiler:
So we have a config file in this "old school" style of a kernel image. Code:
core2quad dxg $ mv ku-2.5.8-dc dot-config-2.5.8 core2quad dxg $ gzip dot-config-2.5.8 Code:
core2quad dxg $ dd if=ku-2.5.8-kimg bs=1 count=2660060 of=ku-2.5.8-trim 2660060+0 records in 2660060+0 records out 2660060 bytes (2.7 MB) copied, 10.7579 s, 247 kB/s Code:
core2quad dxg $ dd if=ku-2.5.8-trim bs=1 skip=84448 of=ku-2.5.8-trim-unk.gz 2575612+0 records in 2575612+0 records out 2575612 bytes (2.6 MB) copied, 10.566 s, 244 kB/s core2quad dxg $ gzip -l -v ku-2.5.8-trim-unk.gz method crc date time compressed uncompressed ratio uncompressed_name defla 46434b49 Feb 21 17:01 2575612 1414750023 99.8% ku-2.5.8-trim-unk core2quad dxg $ zcat ku-2.5.8-trim-unk.gz >ku-2.5.8-trim-uk gzip: ku-2.5.8-trim-unk.gz: decompression OK, trailing garbage ignored core2quad dxg $ file ku-2.5.8-trim-uk ku-2.5.8-trim-uk: ASCII cpio archive (SVR4 with no CRC) Keep a copy of that also. Spoiler:
Both files are attached here. A DX(G) has two copies of the same kernel image, so no distinction is made here between 'main' and 'diags'. |
02-21-2013, 06:21 PM | #32 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
K2 bin info
Until I get my hands on a K2 binary to fondle, this post will remain blank.
|
02-21-2013, 07:33 PM | #33 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
|
02-21-2013, 09:50 PM | #34 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I am willing to take those apart, if anyone still has a copy of something I did not already take apart. Since the kernel is GPL and everything staticly linked to them is therefore also GPL, your copy can be attached here. OR, PM me a link if you would prefer. I just may move all of this stuff over to MiniModding.com - which is more development oriented than this single forum that we have here. |
|
02-21-2013, 10:07 PM | #35 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
I tend to agree.
I was eyeballing minimodding for shifting the bulk of the 100+ zips (pared down to the useful stuff) earlier today? was it today? anyways. yeah. I agree. The k2 is hardly critical I have had no actual feedback reports yet on the k2 so I think - as you said - this can be listed as "MIA" till a pressing need comes along. |
02-22-2013, 08:41 AM | #36 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Module version strings
One of the objectives of this research thread was to learn what the module version strings where on all KUAL supported devices.
This in turn determines how many different builds of kernel modules it would require to support all KUAL devices. (Ans: 3) After a few days of fondling the bytes of the kernel binaries the results (read by modinfo, from irfs modules) is: Group-1: https://www.mobileread.com/forums/sho...5&postcount=90 K2: MIA DXG: vermagic: 2.6.22.19-lab126 preempt mod_unload ARMv6 Spoiler:
Group-2: https://www.mobileread.com/forums/sho...5&postcount=47 K3: vermagic: 2.6.26-rt-lab126 mod_unload modversions ARMv6 Spoiler:
Group-3: https://www.mobileread.com/forums/sho...2&postcount=38 K4: vermagic: 2.6.31-rt11-lab126 mod_unload ARMv7 Spoiler:
K5(touch): vermagic: 2.6.31-rt11-lab126 mod_unload ARMv7 Spoiler:
K5(paperwhite): vermagic: 2.6.31-rt11-lab126 mod_unload ARMv7 Spoiler:
Last edited by knc1; 02-26-2013 at 03:51 PM. |
02-22-2013, 09:41 AM | #37 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Kindle kernels
If the over-whelming desire strikes you to replicate an Amazon kernel . . . .
You will need:
Note: As things stand at the time of this post - you will have to invent a version 5.2 or 5.3 dot-config file from the Amazon provided version 5.1 dot-config files. A noobie reference: http://gumstix.org/basic-cross-compilation.html Get after it people. Last edited by knc1; 02-22-2013 at 06:47 PM. |
02-22-2013, 06:12 PM | #38 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Group-3 (K4, K5touch, K5paperwhite)
Totally untested - at least until someone tests a few of these and reports back here.
This first attempt was a brute force, if it stood still long enough to build, wasn't already there, then build it as a module approach. Probably a lot of useless stuff here for a Kindle, but then again, maybe a few hidden nuggets of gold. Like: NBD driver, NFS-3 server driver, CIFS driver, OSS driver, ..... You will need knowledge of how to manually determine dependencies (modinfo), manually insert (insmod) and manually remove (rmmod) modules from a running kernel. Tar-ball has a base directory of 'lib/modules/version' (just like your work station would have). You **must** be 'root' to get these things properly un-packed. The lib/firmware sub-tree was accidentally included in the first tar-ball, that is now corrected. For the curious, there are 328 of them in the tar-ball: Spoiler:
Last edited by knc1; 02-26-2013 at 12:45 PM. |
02-23-2013, 06:56 AM | #39 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Config files are provided in Amazon kernel sources in arch/arm/configs/. I used imx50_yoshi_defconfig for KT.
|
02-23-2013, 07:20 AM | #40 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Next your going to tell me you believe in because Amazon included a gift certificate with your Kindle. Before I am done here, I will bundle up the collection as an arch/arm/configs addition. This is a "post often, post early, consolidate later" sort of thread. Last edited by knc1; 02-23-2013 at 07:38 AM. |
|
02-23-2013, 08:29 AM | #41 |
Linux devotee
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
Wow, NBD:
Code:
nbd-client home_pc 2000 /dev/nbd0 mount /dev/ndb0 /mnt/us/documents/home_pc dbus-send --system /default com.lab126.powerd.resuming int32:1 |
02-23-2013, 09:45 AM | #42 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
I did. The only difference is initramfs/initrd support turned off (CONFIG_BLK_DEV_INITRD is not set) in published config, probably because it would not build without initramfs source.
|
02-23-2013, 10:00 AM | #43 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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
|
|
02-23-2013, 10:02 AM | #44 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
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:
This project was about dredging the "true" guts. Though the differences may be tiny identifying them could prove all-important for certain activities |
|
02-23-2013, 10:03 AM | #45 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unbearable Oversight of the [Original] Nook Tablet Devs! | sarahmelissa | Nook Color & Nook Tablet | 9 | 08-28-2012 06:51 PM |
Why don't we just signup as Active Content Devs? | nathansuchy | Kindle Developer's Corner | 4 | 06-16-2012 09:31 PM |
Touch [Question devs] Will we ever get Custom library? | danskmacabre | Kobo Reader | 4 | 04-02-2012 06:29 PM |
Suggestions for Kindle Devs | jxh11215 | Kindle Developer's Corner | 5 | 03-28-2010 07:35 AM |