|
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-19-2014, 08:24 PM | #1 | |||||||||
Member
Posts: 13
Karma: 504
Join Date: Sep 2014
Device: PaperWhite
|
PaperWhite 1 Kernel Build Walkthrough
Long time listener, first time caller:
Since I couldn't find much specific info concerning the PaperWhite here (yes I know its a K5... kinda), I decided to share my current progress on building the kernel and modules. The end goal is to have OTG host mode, bluetooth, audio, and thumb drive support. That should keep me happy. Once I make some headway with this I will be posting an end to end walkthrough for the PW1. It will be from demo/brick/serial to jailbreak to kindlets to kual to root to optware to OTG to bt/sound/thumb. What I need from you people now is some guidance. Notes:
Here we go:
My questions now are:
Special thanks to MadMouse on HackThisSite IRC for the moral support, and shared coffees/cigarettes! This post is updated and current to and including post #37 Last edited by finitelife; 09-26-2014 at 02:32 PM. Reason: colors |
|||||||||
09-19-2014, 09:11 PM | #2 |
Force-Aware Elf
Posts: 4,757
Karma: 11557898
Join Date: Feb 2014
Location: Valinor
Device: Kindle 4 w/SO
|
I think you will get more help/interest in the Kindle Developer's Corner
|
Advert | |
|
09-19-2014, 11:09 PM | #3 |
Member
Posts: 13
Karma: 504
Join Date: Sep 2014
Device: PaperWhite
|
oh shoot, can a mod move this please?
|
09-20-2014, 02:42 AM | #4 |
Wizard
Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
|
09-20-2014, 08:38 AM | #5 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
|
Advert | |
|
09-20-2014, 11:20 AM | #6 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Try to load them from the network (net-boot) the device rather than writing them to flash, un-tested. OR Do the same, manually, from the U-Boot -> Bist menu entry. I.E: Load the experimental code to RAM and then execute it. Tread carefully, the Paperwhite devices are difficult to de-brick. - - - - Whee - 6,500 - I gotta get a life. |
|
09-20-2014, 06:42 PM | #7 | |
Member
Posts: 13
Karma: 504
Join Date: Sep 2014
Device: PaperWhite
|
Quote:
|
|
09-22-2014, 10:20 AM | #8 | |||
Enthusiast
Posts: 28
Karma: 13
Join Date: Apr 2014
Device: Kindle PW
|
Quote:
What kind of toolchain are you using and what kind of error are you getting? I just tried a buildroot with glibc and gcc-4.7 and got: Quote:
Quote:
@knc1: Is it somehow possible to do netboot without serial access? I do not wnat to tear my kindle apart. |
|||
09-22-2014, 10:47 AM | #9 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I don't think so, but have not done exhaustive trials. The SoC has a (hardware) start-up sequence that can detect a netboot set-up, BUT I don't think Amazon has let us have access to it. Which means changing the u-boot env. variables, which means serial port access. - - - - What version of Buildroot? 2014.08 was recently released, if not using that, try again with that version (I do not think it will change your problem). Then, next step, report the problem on the BR mailing list at: buildroot@buildroot.org (You probably will have to sign up for the mailing list to post.) You should get an almost immediate response - that project crew is very responsive. - - - - There is (was?) a custom build of an Amazon kernel that supported kexec on an earlier model device (K5 I think) - - Sorry, I don't have the link(s) to the posts here about it. Perhaps someone else has those bookmarked. |
|
09-22-2014, 10:52 AM | #10 |
Enthusiast
Posts: 28
Karma: 13
Join Date: Apr 2014
Device: Kindle PW
|
Builroot was from git ae69eadaa7b98fb73cbc5dcf8454e54a5189dd9b, but the error message does not sound like a toolchain problem to me.
|
09-22-2014, 11:09 AM | #11 |
Enthusiast
Posts: 28
Karma: 13
Join Date: Apr 2014
Device: Kindle PW
|
Ok, I have found that my problem was that I trusted 'make clean' to do the right thing, but it actually deletes include/asm-arm/mach-types.h, where machine_is_mx50_yoshime is defined.
After working with fresh sources it all builds for me, what exactly is the problem with FB_MXC_EINK_PANEL? |
09-22-2014, 11:15 AM | #12 | |
Enthusiast
Posts: 28
Karma: 13
Join Date: Apr 2014
Device: Kindle PW
|
Ok... my fault again, I did not build the modules, only the kernel. Now it does sound like a toolchain problen, but not sure:
Quote:
|
|
09-22-2014, 11:57 AM | #13 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
And I think the behavior you found about "make clean" is a BR error also. Please report both on the BR mailing list. There are a lot of people on that list that know the innards of BR a lot better than I do. |
|
09-22-2014, 12:00 PM | #14 |
Enthusiast
Posts: 28
Karma: 13
Join Date: Apr 2014
Device: Kindle PW
|
How should buildroot influence which files get deleted by "make clean" in the kernel? Just to be clear: I did not build the kernel with buildroot, just the toolchain.
|
09-22-2014, 02:06 PM | #15 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I have to go by what is written. I did think that you where/are building your kernel with buildroot. (Buildroot also has a 'make clean' command). |
|
Thread Tools | Search this Thread |
|
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 |