10-05-2012, 09:48 AM | #16 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
FWIW, that looks suspiciously identical to the TC used on the K5 .
Meaning that's eglibc 2.12(.1) . With the same CPU, so, yeah, that's nice, means a single binary for the whole K4/K5/KPW range . |
10-05-2012, 10:18 AM | #17 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
What follows is my translation as requested by ixtab: The (cross-) compiled, native executables in the Kindle version 5.2.0 firmware shipped first on the Kindle paperwhite device in October, 2012 shows build dates of September, 2012. For the best chance of re-using the existing libraries and code already installed on the machine, the recommended practice is to use the same or a very similar tool-chain, library set, and compile time option set. Examination of the binaries with recent build dates discovers the following about the tool-chain in use by the vendor: (cross-) compiler: Code:
000618 GCC: (Linaro GCC 4.5-2011.05-0) 4.5.4 20110505 (prerelease) 000654 GCC: (Ubuntu/Linaro 4.4.4-14ubuntu1) 4.4.5 20100909 (prerelease) http://packages.ubuntu.com/search?ke...ic§ion=all The tool-chain in use pre-dates those of the Ubuntu Linaro project: https://launchpad.net/linaro-toolchain-binaries/trunk The tool-chain in use pre-dates the entire Linaro project. View the above link for reference while reading the following comments. The recommendation for doing "compatible work" is a choice of two courses: Use the most recent Linaro tool-chain prior to the shift to armelhf as the standard: https://launchpad.net/linaro-toolcha...estone/2012.04 Or Re-build an armel tool-chain from the least buggy, recent, tool-chain: https://launchpad.net/linaro-toolcha...estone/2012.09 By selecting the crosstool-ng bundle on that page and making the configuration changes required to select the tool-chain and libc default options that best match that of the vendor's tool-chain setup. This second choice, even using the automated tool-chain builder, one that only those with experience in building system tool-chains and libraries should attempt. System libraries: Code:
core2quad lib $ file libc-2.12.1.so libc-2.12.1.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped Although not the more recent libc that is shipping with Ubuntu/Oneiric (11.10): http://packages.ubuntu.com/search?ke...ic§ion=all In fact, ARM cross-support even in Ubuntu/Natty (11.04) is not that old: http://packages.ubuntu.com/source/na...toolchain-base As can be seen from the above link (which lists version details of the dependencies), probably the best recommendation that can be made here is to use the second choice above (crosstool-ng) and set its configuration to download and build the older, 2.6.12 system library set. Be certain to also set the kernel headers selection to 2.6.16 (the prior "build ABI standard") in the crosstool-ng configuration for the system libraries. Note: The same comments above apply to using Buildroot (which can use crosstool-ng for its tool-chain building). As to other compiler options, hints here: Code:
Attribute Section: aeabi File Attributes Tag_CPU_name: "7-A" Tag_CPU_arch: v7 Tag_CPU_arch_profile: Application Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 Tag_FP_arch: VFPv3 Tag_Advanced_SIMD_arch: NEONv1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_align_needed: 8-byte Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: int Tag_ABI_HardFP_use: SP and DP Tag_DIV_use: Not allowed Tag_Virtualization_use: TrustZone |
|
10-05-2012, 10:37 AM | #18 |
( ͡° ͜ʖ ͡°){ʇ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
|
That should be referenced somewhere.
thanks mate |
10-05-2012, 10:43 AM | #19 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
It belongs on a development oriented web-site, and will someday probably end up there.
It is just that ixtab wanted a translation here. I suppose I could add a: B00F entry in the Kindle Knowledge structure that links back to this thread and relevant posts. Hmm... I did not do the same research with the gcj (or whatever Java gets compiled with) on the Kindle. So perhaps ixtab will return the favor and list the Java related dependences and recommendations in this thread also. I didn't check if they are using a newer version of Awesome and GTK - I'll leave that to yourself - you are familar with what was in use on the K4/K5 |
10-05-2012, 12:15 PM | #20 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
His last post shows that he can clean up his act. I wonder what his stuff looks like after running it through machine translation. |
|
10-05-2012, 12:18 PM | #21 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Maybe that relationship did not translate well earlier this week. But I will keep my flame suit handy, just in case I am wrong (again). |
|
10-05-2012, 12:20 PM | #22 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
|
10-05-2012, 12:40 PM | #23 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Yes, that is what I meant.
I am going to work on the DX(g) de-brick research first, before adding things to my own site. twobob is an "editor" - he could add the structure entries for B024, hardware and firmware. Any member can edit the page contents, it is only changing the structure itself (not its content) that requires "editor" permission. If you spot "missing" branches and leaves where you would want to put things in: http://minimodding.com/Kindle%2BHowTo Just PM twobob or myself (on either site) and we can "tweak" (not JBtweak) the structure for you. Note: The "old style" model designators (shown under image creation) will be changed to the "first four" of the serial number (some day, rsn). |
10-05-2012, 02:33 PM | #24 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
It is now -
http://minimodding.com/Tools&structu...page_ref_id=33 I got the Admin guy out of bed to make that update. When (if ever) I get caught up here, I will add more than a one-line Wiki page about it. PS: Thanks for the new articles. Articles are working well, the only problem is with FreeTags on forum posts. Freetags work just fine for Articles and everything else except forum posts. Last edited by knc1; 10-05-2012 at 02:41 PM. |
10-05-2012, 03:18 PM | #25 |
( ͡° ͜ʖ ͡°){ʇ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
|
Ah sweet. Looks tidy via VNC on the 3
also looks good direct. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[KPW] change lighting color? | jetfin | Kindle Developer's Corner | 8 | 10-08-2012 09:46 AM |
What font are people choosing for the KPW? | Stingo | Amazon Kindle | 19 | 10-07-2012 05:33 PM |
Best chain in USA for SO NT Kindle? | terencek | Amazon Kindle | 9 | 08-20-2012 11:25 AM |
Baen Collection chain | piperclassique | Deals and Resources (No Self-Promotion or Affiliate Links) | 10 | 06-06-2012 04:58 PM |
iLiad Fixes for iRex tool chain | scotty1024 | iRex Developer's Corner | 0 | 11-10-2006 04:29 PM |