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.
|