![]() |
#1 |
Member
![]() Posts: 19
Karma: 10
Join Date: Feb 2020
Device: kindle dxg and touch
|
kindle (dxg) kernel/rootfs postmarketos port possibilities?
I have found this howto https://yifan.lu/2010/07/26/compilin...amazon-kindle/
and am wondering if anyone else has played with such things? I started fixing up the kernel I could find for porting postmarketos to kindle dxg but wasn't 100% on what works and is fairly "safe" for developing. https://gitlab.com/unrznbl/pmaports/...azon-kindledx/ Such as what is the equivalent on kindle dxg for fastboot/recovery and such. I'll research more as I go of course but figured I'd start a thread to get quicker details from folks who know better than I. Thanks in advance. ![]() |
![]() |
![]() |
![]() |
#2 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
The device is likely too underpowered to make anything modern remotely usable, unless you keep it CLI only, in which case, you don't really have to bother as it's already running Linux and getting a root shell is trivial?
---- Otherwise, look at the Alpine images for K5 & up. Which are already dog slow, despite running on much more powerful hardware. ---- Sidebar: You're absolute *NOT* going to be able to use anything other than Amazon's own kernel sources. Even on more modern devices, which are at least based on NXP's own kernel trees, rebasing against newer versions of said tree is a *massive* endeavor, and rebasing against anything more different than that is basically pure masochism. You don't see a lot of custom kernels for consumer eInk devices, there's a reason for that ![]() Last edited by NiLuJe; 11-11-2020 at 01:54 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 19
Karma: 10
Join Date: Feb 2020
Device: kindle dxg and touch
|
Sure. My main goal is really to have stable usbnetwork and kvncserver. So I might poke at that.
Then again porting openfirmware would be fun right? ![]() Is there some support in there somewhere like diagnostic tools are available right? Which would make flashing as it were fairly safe to iterate on? Thanks again. Really. You are super helpful, no joke! ![]() |
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Look at Kubrick, those are mostly unkillable, as long as you can get the tools to behave, which may prove to be the main issue here, because those things are old
![]() |
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 19
Karma: 10
Join Date: Feb 2020
Device: kindle dxg and touch
|
Got it. https://bitbucket.org/ixtab/kubrick Looks like a good place to start. Thank you.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
rm -rf /
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
|
I've never worked with the older Kindles but there's a few tips I can pass on from working with the KT2 - there's a good chance that not all of these will be applicable to your device:
Once you've got your toolchain set up and have flashed a few custom kernels successfully, the process is a lot less scary. That said, the real struggle that you're going to face will not be running your own kernel - it'll be tweaking your chosen userspace to allow you to load the firmware blobs and waveforms required by the wifi/wan hardware + screen. Like NiLuJe said above, it's possible to run an Alpine Linux userspace within a chroot (or as a rootfs if you mess around the init scripts first), but you might be disappointed with how slowly it runs and the amount of additional work that'll be required to get all of the hardware vaguely working. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blown DXG USB Port? | artsybrute | Kindle Developer's Corner | 2 | 05-25-2020 07:09 PM |
How to get the rootfs of a good Kindle Paperwhite 2 ? | Mr.Samuel | Kindle Developer's Corner | 7 | 05-16-2016 08:01 AM |
Kernel / Rootfs | JoeD | Kindle Developer's Corner | 11 | 01-12-2015 07:53 AM |
where could I find the img file for rootfs of kindle | superium | Kindle Developer's Corner | 8 | 02-07-2012 09:15 PM |
iLiad Linux 2.6 Kernel Port for the Iliad | CommanderROR | iRex Developer's Corner | 6 | 08-21-2007 08:33 AM |