|
View Poll Results: Was this helpful? | |||
Yes | 2 | 100.00% | |
No | 0 | 0% | |
Voters: 2. You may not vote on this poll |
|
Thread Tools | Search this Thread |
09-22-2014, 02:18 PM | #16 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
lab126's Makefile being wonky does vaguely ring a bell, so I'd chalk that one up to the lab126 patches not being fool-proof .
|
09-23-2014, 07:47 AM | #17 |
Enthusiast
Posts: 28
Karma: 13
Join Date: Apr 2014
Device: Kindle PW
|
After disabling neon in drivers/video/mxc/mxc_epdc_fb.c and taking quite some missing #defines (this source code release stinks imho...) from https://github.com/koreader/koreader...mxcfb-kindle.h (NiLuJe, where did you get them from??), it now compiles sucessfully, however I have no idea if it works .
|
Advert | |
|
09-23-2014, 08:54 AM | #18 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@bulsa: Amazon's source code packages. Unlike Kobo's, their mxcfb headers are actually usually fairly sane . Might have lucked out on the exact version I chose at the time though ;p.
Note that this version of the header is fairly strongly aimed at userland, some stuff has been renamed, and it's generally an agglomeration of a couple of different versions of the header in order to cover all the 5.x range of FW & devices. Last edited by NiLuJe; 09-23-2014 at 08:56 AM. |
09-23-2014, 09:05 AM | #19 |
Enthusiast
Posts: 28
Karma: 13
Join Date: Apr 2014
Device: Kindle PW
|
I used Kindle_src_5.4.4.2_2323310003.tar.gz/gplrelease/linux-2.6.31.tar.gz. There the defines you marked PW2 are missing, but the kernel driver is using most of them...
|
09-23-2014, 09:08 AM | #20 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
That's because 5.4.4.2 is a PW1 kernel, and those are definitely Carta/PW2 things .
|
Advert | |
|
09-23-2014, 09:23 AM | #21 |
Enthusiast
Posts: 28
Karma: 13
Join Date: Apr 2014
Device: Kindle PW
|
The process of building those source packages has to be very interesting, when apparently the drivers dont match the header version...
|
09-23-2014, 08:01 PM | #22 | ||
Member
Posts: 13
Karma: 504
Join Date: Sep 2014
Device: PaperWhite
|
Progress! (in baby steps)
tl;dr - I will be maintaining the original post with up to date progress. It will always result in the kernel and modules getting compiled. So far the Kernel will probably brick your device. The modules however, should work just fine (they insmod fine).
So after a bit of searching... I found the front light header in the uboot source (uboot/include/linux/frontlight.h). I found an ?earlier/compatible? version of the hall sensor header (yoshime_hall.h) I have updated the original post with the fixes in place. I also added the depmod fix and switched from perl to sed. I am actively pursuing fixes to the FB_MXC_EINK_PANEL problem currently. I'd like to blame the dev environment, but so far everything has been Amazon oversight. Fingers crossed, coffee at the ready. In enabling the hall sensor, I noticed HALL_MISC_DEV_NAME and HALL_DEV_MINOR. Not sure what the values should be. Any help there would be appreciated. Here's the output of 'cat /proc/devices': Quote:
Shoot... it makes sense that the 3G would be using the OTG. Also, the config has USB driver for GSM and CDMA modems enabled (CONFIG_USB_SERIAL_OPTION=m), so it appears likely. I may end up having to go ttl->bt for some semblance of periphery. Albeit a cool hack, I'd rather completely discount the OTG before I solder on a level shifter, serial bt module, and likely cut a hole in my case. Another idea... the Wifi-only PW1... does it not have the modem, or did they just not put a sim in it? Anyways, here's my lsusb- hopefully it will shed some light: lsusb -t Quote:
I noticed that unionfs on the kindle is broken. You can mount just fine, but when you access the rw/union directory, it locks up. So using this process I patched in and compiled AuFS-standalone+utils. I'm playing with it right now. Hopefully it will make optware a simple process (cram/squashfs, no need to bind new directories). If anyone wants to discuss opkg/optware/cramfs/aufs, please PM me. I should have a release this week. |
||
09-23-2014, 08:23 PM | #23 | ||
Member
Posts: 13
Karma: 504
Join Date: Sep 2014
Device: PaperWhite
|
Brainwave...
To configure for PW1 WiFi: Quote:
Quote:
|
||
09-23-2014, 08:35 PM | #24 |
Member Retired
Posts: 6
Karma: 15846
Join Date: Dec 2012
Device: none
|
Great work!
Some time ago I also wanted to try this idea (https://www.mobileread.com/forums/sho...d.php?t=242506), but I had to pause it for a while because of lots of stuff at work. Glad to see someone got it working I have K4NT, will try to build some modules on it using your manual. |
09-23-2014, 09:50 PM | #25 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
2* Reasonable, otherwise there would be *DEV_NAME, *DEV_MAJOR and *DEV_MINOR 3* I expect its on the I2C bus Hmm... There is a Linux utility for scanning the I2C bus - You will most likely have to cross-build it for ARM and run it on a live device. It is part of the utility set XXX (damn't forgot the name) - If you can't find it - remind me to look for it in about 14 hours. |
|
09-24-2014, 12:41 AM | #26 | |
Member
Posts: 13
Karma: 504
Join Date: Sep 2014
Device: PaperWhite
|
i2c-utils didn't reveal much
i2cdetect -l Quote:
|
|
09-24-2014, 05:14 AM | #27 |
Enthusiast
Posts: 28
Karma: 13
Join Date: Apr 2014
Device: Kindle PW
|
Look for the two NEON #if in drivers/video/mxc/mxc_epdc_fb.c and replace them with "#if 0", then you just need the missing #defines/struct members in include/linux/mxcfb.h, they should be present in the PW2 source.
|
09-24-2014, 08:38 AM | #28 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
That is the list of the three I2C bus's present, next you have to tell the utility to walk each of those bus's.
The name I couldn't recall yesterday is: "lm-sensors" And: http://www.lm-sensors.org/wiki/man/i2cdetect So: i2cdetect -F i2c-0 * i2c-1 * i2c-2 Should find the hall sensor if it is there. Since your missing two values (*Name and *Address) I expect the first will be "i2c-?" and the scanner will give you the byte address of the device. |
09-24-2014, 08:42 AM | #29 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
09-24-2014, 04:17 PM | #30 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
I'd vote for xbps instead of opkg. You may also be interested in recipe for reparitioning userstore (FAT partition) without any harm for stock firmware. Further messsage in that thread shows how to use space available after shrinking userstore for separate writable ext3 partition accessible even when Kindle is connected to computer. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Aura HD - Linux Walkthrough - Registration bypass | linux.kobo.user | Kobo Reader | 24 | 02-10-2020 03:58 AM |
Conversion walkthrough needed | bigbro69 | Conversion | 5 | 03-29-2013 10:46 PM |
PRS-T1 How-to: Compiling the kernel and kernel modules | altruizine | Sony Reader Dev Corner | 9 | 09-03-2012 09:12 PM |
How to root your Nook -- easiest step by step walkthrough with pictures | RockdaMan | Nook Developer's Corner | 2 | 12-29-2010 12:42 PM |
iPhone Great iOS4 Walkthrough | kjk | Apple Devices | 5 | 06-19-2010 04:48 PM |