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 11-10-2011, 12:15 PM   #16
dasmoover
Connoisseur
dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.
 
Posts: 84
Karma: 26720
Join Date: Mar 2011
Device: Kindle 3 WIFI
You must either port the Kernel or build a custom kernel with the modules necessary. Symbols probably fail due to different gcc, binutils, etc.
dasmoover is offline   Reply With Quote
Old 11-10-2011, 04:13 PM   #17
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
No, the kernel version should not matter since you copiled /lib/modules from the older version. If busybox doesn't work on a lower kernel version (which it should), then copy all the older versions of the binaries too. However, I think the error is that the mmc is not being loaded correctly. Maybe some offsets or something wrong with the FS.
yifanlu is offline   Reply With Quote
Old 11-10-2011, 06:20 PM   #18
seaniko7
wannabe developer
seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.
 
seaniko7's Avatar
 
Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
Here's output after copying binaries :
Quote:
IP-Config: no devices to configure
kinit: do_mounts
kinit: name_to_dev_t(/dev/mmcblk0p1) = dev(179,1)
kinit: root_dev = dev(179,1)
kinit: /dev/root appears to be a ext3 filesystem
kinit: trying to mount /dev/root on /root with type ext3
kinit: Mounted root (ext3 filesystem) readonly.
Checking for init: /sbin/init
Checking for init: /bin/init
Checking for init: /etc/init
Checking for init: /sbin/init.sysvinit
Kernel panic - not syncing: Attempted to kill init!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = cf92c000
[00000000] *pgd=8f8cd031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1]
last sysfs file: /sys/devices/virtual/net/lo/flags
Modules linked in: [last unloaded: arcotg_udc]
CPU: 0 Not tainted (2.6.26-rt-lab126 #1)
PC is at panic+0x74/0x128
LR is at 0x0
pc : [<c00ce628>] lr : [<00000000>] psr: 60000113
sp : cf81fe28 ip : 00000000 fp : cf81fe3c
r10: cf817d40 r9 : 00000001 r8 : cf81ff50
r7 : c03baf3c r6 : c03baf40 r5 : cf814c40 r4 : 00000000
r3 : 00000000 r2 : c03baf6c r1 : 00000000 r0 : 00000000
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 00c5387d Table: 8f92c008 DAC: 00000015
Process init.sysvinit (pid: 1, stack limit = 0xcf81e260)
Stack: (0xcf81fe28 to 0xcf820000)
fe20: c00da064 cf81fe44 cf81fe6c cf81fe50 c00d17a8 c00ce5c4
fe40: c0355290 cf814c40 c03a00b4 c03a00b4 00000000 cf81fea8 000001be 0000000b
fe60: cf81fe84 cf81fe70 c00d1ddc c00d1750 cf9fda70 0000000b cf81febc cf81fe88
fe80: c00da920 c00d1d6c 00000000 cf81ffb0 cfaa5390 00000000 00000000 cf81ffb0
fea0: 00000000 00000000 cf81e000 00000000 cf81ff9c cf81fec0 c00a6744 c00da66c
fec0: cfaa5548 40000000 cf814e90 cf92c000 0000000b 00000000 00030001 000001be
fee0: 40000000 00000000 cfaa5548 40000000 00000002 00000001 cfaa4de0 00000007
ff00: 00000000 cf92d000 a0000013 ffffffff 00010000 00000000 cf81ff34 cf81ff28
ff20: c00e5e08 c01cbaf4 cf81ff7c cf81ff38 c00aa218 c00a9f48 00030001 cf81ffb0
ff40: c011ddcc 00000000 cf81ffb0 00000000 bede7f3c ffffffff 00000000 00000000
ff60: 00000000 00000000 00000000 00000000 cf81ff9c ffffffff 00000000 00000000
ff80: 00000000 00000000 cf81e000 00000000 cf81ffac cf81ffa0 c00a6c1c c00a66ec
ffa0: 00000000 cf81ffb0 c00a3acc c00a6bfc 00000000 bec81fc8 00000000 00000000
ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffe0: 00000000 bec81f20 400007e3 000001be 00000030 ffffffff ffffffff ffffffff
Backtrace:
[<c00ce5b4>] (panic+0x0/0x128) from [<c00d17a8>] (do_exit+0x64/0x61c)
r3:c03a00b4 r2:c03a00b4 r1:cf814c40 r0:c0355290
[<c00d1744>] (do_exit+0x0/0x61c) from [<c00d1ddc>] (do_group_exit+0x7c/0xac)
[<c00d1d60>] (do_group_exit+0x0/0xac) from [<c00da920>] (get_signal_to_deliver+0x2c0/0x2f0)
r4:0000000b
[<c00da660>] (get_signal_to_deliver+0x0/0x2f0) from [<c00a6744>] (do_signal+0x64/0x510)
[<c00a66e0>] (do_signal+0x0/0x510) from [<c00a6c1c>] (do_notify_resume+0x2c/0x30)
[<c00a6bf0>] (do_notify_resume+0x0/0x30) from [<c00a3acc>] (work_pending+0x1c/0x20)
Code: e5973000 e3a04000 e59f60a4 e1530004 (e5844000)
---[ end trace dd61d6770406f041 ]---
Fixing recursive fault but reboot is needed!
seaniko7 is offline   Reply With Quote
Old 11-10-2011, 07:46 PM   #19
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
Delete "/sbin/init.sysvinit" and see if the error is still the same. If you get the same error, then init was never loaded. If you get a different error, then something's wrong with init.
yifanlu is offline   Reply With Quote
Old 11-11-2011, 09:23 AM   #20
seaniko7
wannabe developer
seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.
 
seaniko7's Avatar
 
Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
Hm. I'm getting the very same error. Maybe offsets are the issue, as Kindle 4 has two additional partitons.
seaniko7 is offline   Reply With Quote
Old 11-11-2011, 03:33 PM   #21
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
Just as a bottom-up approach is failing what about my initial try? Can't we start debug from there? At least it would boot... I can't really say much from the log I posted though.
giorgio130 is offline   Reply With Quote
Old 11-11-2011, 04:00 PM   #22
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
Quote:
Originally Posted by giorgio130 View Post
Just as a bottom-up approach is failing what about my initial try? Can't we start debug from there? At least it would boot... I can't really say much from the log I posted though.
So much stuff's changed in terms of binaries, how stuff works, etc, that it would be more pain trying to see why the framework won't boot then trying to see why the kernel won't boot. When "debugging" the kernel/boot process, it is easier as it's open source stuff and linux stuff that is easier to fix then amazon's proprietary Java framework. But you're free to do whatever you want, this is just my opinion.

EDIT: Yup, busybox imports from GLIB_2.11. If we compile the 2.12 set of tools, for the older kernel, we would be set. Amazon was even kind enough to provide us with the source.

Last edited by yifanlu; 11-24-2011 at 01:20 AM.
yifanlu is offline   Reply With Quote
Old 11-24-2011, 01:17 AM   #23
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
I take back what I said about the kernel not mattering. You may be right, some of the compiled tools do not support an older kernel version. However, I don't think we need to recompile the kernel, just the non-working tools. It's most likely a low-level lib. I'm guessing glibc & friends because it went from 2.5 -> 2.12 on the Kindle 4.

EDIT: I'm curious why Amazon included glibc in their sources for all versions up until 4.0 Did they forget? Anyways, it seems like Amazon never edits glibc, so we can compile the vanilla sources: http://ftp.gnu.org/gnu/glibc/glibc-2.12.1.tar.bz2

Cross compile that for arm targeted at a lower kernel version, and we might get a working bootup.

Last edited by yifanlu; 11-24-2011 at 01:24 AM.
yifanlu is offline   Reply With Quote
Old 11-25-2011, 01:38 AM   #24
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
Ok, so I got the 4.0.1 running on my kindle 3. I don't see what the big deal is. There is no new features as far as I can tell. Can someone tell me why I would want to have 4.0.1?
yifanlu is offline   Reply With Quote
Old 11-25-2011, 02:39 AM   #25
reprep
Addict
reprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animals
 
Posts: 202
Karma: 6720
Join Date: May 2011
Device: amazon kindle DXG
Quote:
Originally Posted by yifanlu View Post
Ok, so I got the 4.0.1 running on my kindle 3. I don't see what the big deal is. There is no new features as far as I can tell. Can someone tell me why I would want to have 4.0.1?
Refresh after 6 pages as an option, PDFs supporting text-to-speech and TOC (this really matters).
reprep is offline   Reply With Quote
Old 11-25-2011, 02:41 AM   #26
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by yifanlu View Post
... Can someone tell me why I would want to have 4.0.1?
Bragging rights...
geekmaster is offline   Reply With Quote
Old 11-25-2011, 02:45 AM   #27
howyoudoin
how YOU doin?
howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.
 
howyoudoin's Avatar
 
Posts: 1,100
Karma: 7371047
Join Date: Feb 2009
Location: India
Device: Kindle Keyboard, iPad Pro 10.5”, Kobo Aura H2O, Kobo Libra 2
X ray and bigger dictionary lookup windows would be sweet.
howyoudoin is offline   Reply With Quote
Old 11-25-2011, 02:59 AM   #28
reprep
Addict
reprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animals
 
Posts: 202
Karma: 6720
Join Date: May 2011
Device: amazon kindle DXG
Quote:
Originally Posted by howyoudoin View Post
X ray and bigger dictionary lookup windows would be sweet.
X ray is not available on 4.0.1 as far as i know but bigger dictionary lookup window would be great.
reprep is offline   Reply With Quote
Old 11-25-2011, 06:34 AM   #29
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
so glibc did the trick?
giorgio130 is offline   Reply With Quote
Old 11-25-2011, 07:28 AM   #30
wiccan2
Connoisseur
wiccan2 knows the difference between 'who' and 'whom'wiccan2 knows the difference between 'who' and 'whom'wiccan2 knows the difference between 'who' and 'whom'wiccan2 knows the difference between 'who' and 'whom'wiccan2 knows the difference between 'who' and 'whom'wiccan2 knows the difference between 'who' and 'whom'wiccan2 knows the difference between 'who' and 'whom'wiccan2 knows the difference between 'who' and 'whom'wiccan2 knows the difference between 'who' and 'whom'wiccan2 knows the difference between 'who' and 'whom'wiccan2 knows the difference between 'who' and 'whom'
 
wiccan2's Avatar
 
Posts: 57
Karma: 10288
Join Date: Aug 2011
Location: West Sussex
Device: Kindle 3 - 3g, Samsung Galaxy Note
So would it still be possible to use things such as duokan and launchpad with this firmware or is there no jailbreak.
wiccan2 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Progress] Jailbreaking Kindle 4.0 (Touch/No Keyboard) yifanlu Kindle Developer's Corner 434 04-22-2016 10:29 AM
How's Progress? ghostyjack EPUBReader 2 01-30-2011 05:14 AM
progress unavailable? jacktanner Calibre 2 08-27-2010 05:13 PM
Enhancements in progress??? crutledge Sigil 5 06-15-2010 02:14 PM
Novel in Progress plumboz Writers' Corner 10 12-11-2009 12:03 AM


All times are GMT -4. The time now is 11:44 PM.


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