|
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-26-2014, 03:06 AM | #31 |
Member
Posts: 13
Karma: 504
Join Date: Sep 2014
Device: PaperWhite
|
Full Kernel Config Now Complete
I have once again updated the original post to include a now full kernel config. All the fixes are, from what I can tell, perfectly compatible with the PW1.
Special thanks to bulsa for looking forward into other source packages. With that in mind, I downloaded the newest kindle release for pw2 and managed to confirm all my fixes. frontlight.h is 100% fixed. lab126_hall.h is also 100% fixed. #define HALL_MISC_DEV_NAME "hall" ... Wow, should have guessed. I am fairly certain that the FB_MXC_EINK_PANEL issues are resolved. I disabled the neon extensions, but they are only used once in the entire kernel and there is a fallback that seems compatible. With that in place, all I had to do was insert 5 defines to get a working build. There are additional FB_MXC_* problems when using imx50_yoshime_defconfig. I may be be addressing them shortly, but if you just want modules, you can disable some stuff in the config (FB_EINK_HAL=m -> n FB_EINK_SHIM=m -> n) From this point I will be working on 2 things; 1. testing/comparing the kernel/modules - will add booting instructions asap - will add single module instructions asap 2. switching to the included build_linaro-gcc_4.5.4.tar.gz toolchain - seems simple enough - this should allow for cross-compiling kernel modules with aligned symbols My end goal of getting OTG working may not be feasible, but in any case I will be getting at least BT on this sucker, so all this is not in vain. A note on running modules with the default kernel: As far as I can tell, most of them work. FS modules complain about unknown symbols that do exist in the kernel, but the entry points are messed up. This is why I am switching toolchains. More to come. |
09-26-2014, 05:02 AM | #32 |
Enthusiast
Posts: 28
Karma: 13
Join Date: Apr 2014
Device: Kindle PW
|
I would be particularly grateful if you could upload a kernel binary with working usbnet and kexec . That would make testing kernels so much more fun.
|
09-26-2014, 11:42 AM | #33 | |
Member
Posts: 13
Karma: 504
Join Date: Sep 2014
Device: PaperWhite
|
Quote:
I've updated the instructions to allow easier toolchain and build root changes I've switched to the included cross-linaro-gcc toolchain |
|
09-26-2014, 11:47 AM | #34 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I posted a two or three section "HowTo" on the auFS mailing list, sometime back.
Long enough ago that I have lost the link(s). But an "archive search" there might find them (as mszick there, I think). OR maybe jro indexed them from his main page. Last edited by knc1; 09-26-2014 at 11:50 AM. |
09-26-2014, 12:21 PM | #35 | |
Enthusiast
Posts: 28
Karma: 13
Join Date: Apr 2014
Device: Kindle PW
|
Quote:
Are you sure your modules are working the way you packaged them? They are in a path containg "2.6.31-rt11-lab126", but in modules.dep you list them as "2.6.22.19-lab126". |
|
09-26-2014, 12:32 PM | #36 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
**IF** you use the individual commands and full path/filename(s). You also have to pre-load dependencies yourself this way. If you want to use the auto-dependency loading command(s), such as: modprobe The above organization breaks the automation. |
|
09-26-2014, 01:55 PM | #37 | |
Member
Posts: 13
Karma: 504
Join Date: Sep 2014
Device: PaperWhite
|
Quote:
As for the initramfs... I don't think we need it. The baseline config for the kernel is intact, and all the original fs support is compiled in. Also, CONFIG_INITRAMFS_SOURCE is unset, so I'm going to say no. That being said, you could still easily brick. I've just been testing the modules (which work fine afaik). Have a serial cable ready. |
|
09-29-2014, 09:15 AM | #38 | |||||
Member
Posts: 13
Karma: 504
Join Date: Sep 2014
Device: PaperWhite
|
Update: yoshime and yoshime3 both build using the instructions provided. Only the fs modules (ntfs,ext4,aufs) don't load on the standard kernel. They complain about unresolved symbols. My troubleshooting is as follows;
So I've patched in the aufs-standalone module (2.6-31) and compiled it using multiple toolchains (including the one used to compile the default kernel). Still no luck. Grabbing the default toolchain (ldd --version): Quote:
Quote:
Quote:
Quote:
Quote:
Should I be setting CONFIG_MODVERSIONS=y ? Any ideas? |
|||||
09-29-2014, 09:24 AM | #39 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Compile auFS as a built-in, rather than as a module.
Also ensure that the build isn't picking up the host Linux headers or the toolchain Linux headers. (There is something funky in those reports.) See what the results are. ModVersions == **NO** - don't version them if you can avoid it. - - - - - Note: The 2.6.31 auFS is too old. It is no longer maintained. (Hey, auFS is a lot of work, and is still only a single author project.) But was active for a long time - we should be able to figure this out with a bit of M.L. archive diving. And without bugging jro. Last edited by knc1; 09-29-2014 at 09:27 AM. |
|
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 |