02-01-2021, 05:01 PM | #1 |
Evangelist
Posts: 469
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
How to compile a working kernel
Hi,
So I recently bought a Kobo Mini for tinkering, and I'm trying to compile a new kernel for it, since it is still running Linux 2.6. I tried with NickelTC and the official imx507/KoboLabs sources, but that didn't work. The Mini only showed a blue light when powering up and nothing appeared on the screen. Even flashing the uImage that was already compiled in the tar.bz2 didn't work. Am I missing something here? Thanks. |
02-01-2021, 05:06 PM | #2 |
Banned
Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
|
Did you include a proper bootloader? And is the rcS without problems?
|
Advert | |
|
02-01-2021, 05:08 PM | #3 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
The kernel sources available often (read: almost never) actually match the currently shipped binaries (by which I mean, they're out of date).
I'm vaguely hoping they'd still lead to a booting device regardless, but it's hard to say without a serial shell . That said, any decent toolchain should do, the kernels are built by NTX, not Kobo, so they're never actually built with the same toolchain as Nickel. |
02-01-2021, 05:09 PM | #4 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
c.f., https://github.com/marek-g/kobo-kern...d_instructions for ca. that era custom kernel shenanigans.
|
02-01-2021, 05:12 PM | #5 | |
Evangelist
Posts: 469
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
Quote:
I'll try to flash the stock uImage with the original FW version that was shipped with the Mini and I'll see how it goes. thanks! |
|
Advert | |
|
02-01-2021, 11:23 PM | #6 |
Banned
Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
|
Any luck with that?
|
02-01-2021, 11:57 PM | #7 |
Evangelist
Posts: 469
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
Well, no, sadly :/. Tomorrow I'll try with the provided toolchain and I'll see if it does work or not.
|
02-02-2021, 12:11 PM | #8 |
Banned
Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
|
|
02-02-2021, 12:17 PM | #9 |
Evangelist
Posts: 469
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura H2O Compile and run own kernel | sahbi | Kobo Developer's Corner | 3 | 04-08-2017 07:41 AM |
Compile lab126 kernel | pepijndevos | Kindle Developer's Corner | 24 | 10-24-2012 04:33 PM |
PRS-T1 How-to: Compiling the kernel and kernel modules | altruizine | Sony Reader Dev Corner | 9 | 09-03-2012 09:12 PM |
iLiad How to compile the iRex stock kernel and modules? | jharker | iRex Developer's Corner | 7 | 11-22-2008 04:50 AM |
iLiad Anyone working on a 2.6 Kernel? | Adam B. | iRex Developer's Corner | 12 | 08-15-2007 03:43 PM |