02-23-2013, 01:04 PM | #61 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Modules just built for KUAL: Flags: 0x5000000, Version5 EABI Modules that came with firmware-3.4: Flags: 0x4000000, Version4 EABI I can fix that (famous last words). All fixed. Just used the compiler we have been recommending all along (from KeK pool). Most likely the same problem that other people had trying to build user-land application code - compiler was not generating the expected EABI. Last edited by knc1; 02-23-2013 at 02:28 PM. |
|
02-23-2013, 01:14 PM | #62 |
( ͡° ͜ʖ ͡°){ʇ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
|
Got called away to make some food. back in a bit.
Sterling work and thanks baf for the tag team |
Advert | |
|
02-23-2013, 02:27 PM | #63 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
[QUOTE=knc1;2434452]The message did not lie to you:
Modules just built for KUAL: Flags: 0x5000000, Version5 EABI Modules that came with firmware-3.4: Flags: 0x4000000, Version4 EABI I can fix that (famous last words). Well, that was one of several problems. Hope everyone can wait until tomorrow (or later). Last edited by knc1; 02-23-2013 at 04:44 PM. |
02-23-2013, 02:33 PM | #64 |
( ͡° ͜ʖ ͡°){ʇ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
|
will do ASAP.
[root@kindle /sbin]# insmod /mnt/us/kernel/fs/binfmt_misc.ko insmod: error inserting '/mnt/us/kernel/fs/binfmt_misc.ko': -1 Invalid module format hmm... let me just check that again. EDIT: Nope. no joy. is this with the 2007q3 TC? Last edited by twobob; 02-23-2013 at 02:40 PM. |
02-23-2013, 02:38 PM | #65 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Last edited by knc1; 02-23-2013 at 04:42 PM. |
Advert | |
|
02-23-2013, 02:40 PM | #66 |
( ͡° ͜ʖ ͡°){ʇ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
|
will do
[root@kindle /sbin]# readelf -a /mnt/us/kernel/fs/binfmt_misc.ko Spoiler:
Last edited by twobob; 02-23-2013 at 02:45 PM. |
02-23-2013, 03:20 PM | #67 |
( ͡° ͜ʖ ͡°){ʇ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
|
the old ones I built from before for reference.
the readelf -a on the one I built from before that loads okay Spoiler:
Last edited by twobob; 02-23-2013 at 03:26 PM. |
02-23-2013, 03:39 PM | #68 |
( ͡° ͜ʖ ͡°){ʇ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
|
objdump -x /home/me/Desktop/KINDLE-DOCS-BACKUP/modules/fs/binfmt_misc.ko
Spoiler:
|
02-23-2013, 04:04 PM | #69 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Last edited by knc1; 02-23-2013 at 04:42 PM. |
02-23-2013, 04:18 PM | #70 | |
( ͡° ͜ʖ ͡°){ʇ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:
|
|
02-24-2013, 09:11 AM | #71 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Module version (version magic: modversion) difference
Code:
CONTENTS, ALLOC, LOAD, READONLY, DATA 6 __versions 00000c00 00000000 00000000 00001398 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA 6 __versions 00000000 00000000 00000000 00001398 2**2 At least we can eliminate compiler differences: Code:
core2quad work $ objdump -j .comment -s binfmt_misc_mine.ko binfmt_misc_mine.ko: file format elf32-littlearm Contents of section .comment: 0000 00474343 3a202843 6f646553 6f757263 .GCC: (CodeSourc 0010 65727920 41524d20 536f7572 63657279 ery ARM Sourcery 0020 20472b2b 20323030 3671332d 32362920 G++ 2006q3-26) 0030 342e312e 31000047 43433a20 28436f64 4.1.1..GCC: (Cod 0040 65536f75 72636572 79204152 4d20536f eSourcery ARM So 0050 75726365 72792047 2b2b2032 30303671 urcery G++ 2006q 0060 332d3236 2920342e 312e3100 3-26) 4.1.1. core2quad work $ objdump -j .comment -s binfmt_misc_2bob.ko binfmt_misc_2bob.ko: file format elf32-littlearm Contents of section .comment: 0000 00474343 3a202843 6f646553 6f757263 .GCC: (CodeSourc 0010 65727920 41524d20 536f7572 63657279 ery ARM Sourcery 0020 20472b2b 20323030 3671332d 32362920 G++ 2006q3-26) 0030 342e312e 31000047 43433a20 28436f64 4.1.1..GCC: (Cod 0040 65536f75 72636572 79204152 4d20536f eSourcery ARM So 0050 75726365 72792047 2b2b2032 30303671 urcery G++ 2006q 0060 332d3236 2920342e 312e3100 3-26) 4.1.1. Code:
core2quad modules $ objdump -j .comment -s mxc_keyb.ko mxc_keyb.ko: file format elf32-littlearm Contents of section .comment: 0000 00474343 3a202847 4e552920 342e312e .GCC: (GNU) 4.1. 0010 32000047 43433a20 28474e55 2920342e 2..GCC: (GNU) 4. 0020 312e3200 1.2. Last edited by knc1; 02-24-2013 at 09:52 AM. |
02-24-2013, 10:11 AM | #72 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
|
02-24-2013, 10:17 AM | #73 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
@twobob : Would you dig around in your machine and see if you can determine **which** source version you used?
I was using the k3-3.3 (because they never posted k3-3.4). Me thinks you where using an earlier source version. Because binfmt_misc.mod.c certainly looks like a no-op in this source: Code:
#include <linux/module.h> #include <linux/vermagic.h> #include <linux/compiler.h> MODULE_INFO(vermagic, VERMAGIC_STRING); struct module __this_module __attribute__((section(".gnu.linkonce.this_module"))) = { .name = KBUILD_MODNAME, .init = init_module, #ifdef CONFIG_MODULE_UNLOAD .exit = cleanup_module, #endif .arch = MODULE_ARCH_INIT, }; static const struct modversion_info ____versions[] __used __attribute__((section("__versions"))) = { }; static const char __module_depends[] __used __attribute__((section(".modinfo"))) = "depends="; |
02-24-2013, 11:50 AM | #74 |
( ͡° ͜ʖ ͡°){ʇ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
|
Buildroot a linux 2.6.26-lab126 kernal. (3.3) I think was the thread...
so 3.3 EDIT: after much searching around... looks like I used BR https://www.mobileread.com/forums/sho...9&postcount=63 and https://www.mobileread.com/forums/sho...5&postcount=64 and more laterally I moot to them (modules) in the big list. (not actually listed) https://www.mobileread.com/forums/sho...3&postcount=90 And as a little "blast from the past" - one from you on our "overall plan": https://www.mobileread.com/forums/sho...2&postcount=60 HEH! it took a while but we are slowly.. slowly getting there |
02-24-2013, 12:02 PM | #75 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Well, it wasn't exactly to follow our original plan;
It was just a step towards finding out where things are going wrong in my build process . . . . . I have taken a virgin, kernel.org 2.6.26 kernel (most recent - 2.6.26.8) and applied the most recent, virgin, RT patch (-rt16) to it. (I also made a 2.6.26.8-rt1 source tree also.) Although Amazon (lab126) used the RT patched source, they have it optioned "off" in the build. (Duh... Not a clue as to why.) So as "stock" as possible (no Freescale changes, no lab126 changes) - The foolish automation still is turning out empty '__versions' segments. I did get one build failure (for the kernel, not the modules) that said it was missing a specific load (linker) script for this version. Will go searching my "source file catalog" to see if I can find a K3 copy of that thing. One small step towards being free to build our own Kindle kernel. |
|
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 |