![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2022
Device: KT4
|
Expanding my kindle storage with mmc_spi
First, an introduction, i have been lurking around these forums for a while but i didn't had an account, so hello
![]() This post is just a part of a personal project im trying to do in converting my kindle into a kind of "cyberdeck". My primary goal is to have plenty of storage in it so i began searching for ways to do it. I saw posts of people replacing the internal eMMC chip in their kindle, and although it is a great idea, i'm no soldering BGA expert to accomplish that (also, my kindle is a KT4, so i think there's no documented attempt in this model). Another approach could be finding the solder points of a usb port inside of the kindle (which from what i've seen, happens to be more common on models with a 3G modem variant) which i think the KT4 doesn't have (correct me if they do). So i began investigating the CPU on my kindle and found out it is an imx6 SoloLite, which has SPI capabilities (the same communication protocol used by SD Cards). I ssh'd into my kindle and found out that there are indeed spi ports "exposed" but the kernel was compiled with only kernel-space use of SPI, in contrast with i2c. So no spidev approach, unless i recompile the kernel with userspace SPI. I could do this and was about to, until i found "mmc_spi.c", a file in the linux kernel source describing a device tree overlay (kind of like a plugin) that itself supports mounting SD cards connected through SPI ports directly into the filesystem, neat right? More specifically i found this tutorial for the raspberry pi demonstrating how it could be used. Although i was not going to follow this tutorial step-by-step, it served as a guide that i could adapt to the kindle. I needed a device-tree-compiler, which i already got working by manually installing the respective armel debian package, my next step would be identifying the actual SPI test points in the back of the board. So here's my question, how would i go in identifying this specific ports? Thanks! and sorry for the long preamble to the question, wanted to give context. |
![]() |
![]() |
![]() |
#2 |
rm -rf /
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
|
A Kindle is a really crappy candidate for this, especially a KT4.
You’re correct in mentioning that the SoC would support the capabilities that you’re after but it’s not a given that the relevant pins are broken on as a test point on the PCB in the first place or that they’re not already used by one of the built in peripherals. I’m not sure that it’s even possible to edit/reflash the DTB on the later devices (PW4, KT4 onwards) without hard bricking the device due to the whole secure boot thing? For this use case I’d seriously consider using a Kobo instead - contrast having to figure out a novel, low level method of adding storage vs just popping out the SD card and cloning it to a larger one. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,682
Karma: 103503695
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Newer ereaders may have 8 G or 32 G Flash. Some Kobos do use internal SD cards. The Original H2O has SD card slot.
I'm experienced at SM soldering & editing FW and I'd not try to customise a Kindle like this. |
![]() |
![]() |
![]() |
#4 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2022
Device: KT4
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Expanding internal µSD storage to ext4? | CH23 | Kobo Developer's Corner | 3 | 05-20-2017 04:35 AM |
Same old. Same old. Limited onboard storage. No removable storage. | SeaKing | General Discussions | 29 | 09-07-2012 12:06 PM |
Expanding the Kindle 3 Memory Capacity. | vugtitan | Amazon Kindle | 68 | 07-30-2012 11:23 AM |
question about app storage and internal storage | gilly78201 | Kindle Fire | 5 | 03-06-2012 02:08 AM |
iPhone Two new iPhone Storage Solutions: Zoomit (SD Card Reader) & Boxnet (Cloud Storage) | kjk | Apple Devices | 0 | 02-09-2010 06:20 PM |