05-15-2019, 08:09 PM | #16 | ||
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
A lot. Desktop kernels ship every driver as a module to support multiple targets. Embedded devices rely on a kernel without initramfs, so everything needed to boot the computer is inside the kernel. These kind of devices have a few kernel modules available to be loaded on demand (ie: kobos have a kernel with mmc and ext support because they run from an ext partition from mmc, butwifi/usb support is built as modules) Quote:
nfs server cifs client/server drivers for everything usb Multitouch would require fiddling with the driver The lack of USB-OTG is a hardware limitation and cannot be fixed. You need to choose between using usb host (in that case you'll need to supply external power) or usb gadget. |
||
05-15-2019, 08:52 PM | #17 | |
Enthusiast
Posts: 36
Karma: 123210
Join Date: Dec 2016
Device: KV,Kobo Forma
|
Quote:
It appears that NXP is really utilizing a combination of FreeScale and the Yocto Project to build these. It's basically a stock Linux kernel (4.1.15 for forma) with the Yocto project patches applied to it. That gets you the baseline source.. then obviously it's any changes that are made on top of that for a specific device. The closest that I can find from a pure kernel branch though is Code Aurora (203 file changed) Most of the patches actually seem to be cherry picks from later versions of linux. NXP actually has a decent setup guide for it once you dig through all the dev documents. you can also reference this: Code:
https://www.yoctoproject.org/docs/2.5.1/dev-manual/dev-manual.html#setting-up-the-development-host-to-use-the-yocto-project Code:
repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth Weee! Last edited by desterly; 05-15-2019 at 08:54 PM. |
|
05-16-2019, 01:57 AM | #18 | ||
Zealot
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
|
Quote:
Its an e-reader designed for displaying books which it does. Can it be better? I think KOReader has proven that it can be. Does a patched kernel make it a better device ? I think it does when it supports multitouch and has a simple firewall. Encryption will make it slower, and is only feasible for the book partition. To sum it all up, yeah Thanks, that was helpful Quote:
Just out of curiosity, how much work would it be to port the latest kernel ? Would the effort be worth it ? Last edited by BloodRagg; 05-16-2019 at 01:59 AM. |
||
05-16-2019, 08:41 AM | #19 | |
Enthusiast
Posts: 36
Karma: 123210
Join Date: Dec 2016
Device: KV,Kobo Forma
|
Quote:
To Bring it up to latest 4.1 wouldn't be too hard. More or less merge in the patches + cleanup. To rebase it to CAF would be a little tricker but still doable. To Bring it up to latest 4.x kernel, probably not real easy. The first one obviously adds security and potentially fixes some memory leaks but probably not much benefit outside of that. The second one would bring it inline with CAF although I'm not sure if there'd be a lot of benefit to it outside of potential optimizations. The biggest risk that I see is unless I'm mistaken, there is no recovery partition on these nor is there any fastboot/flash mode in the low level bootloader which means you make one minor mistake and you are looking at JTAG to get back to a working device. |
|
05-16-2019, 10:10 AM | #20 | |
Zealot
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
|
Quote:
No recovery is bad, which i find to be weird to be honest, but i have not looked at the image yet. Ill ask davidfor he's the image wizard The best thing imho is to hook into u-boot and enable pxe-boot. Last edited by BloodRagg; 05-16-2019 at 10:13 AM. |
|
05-16-2019, 10:22 AM | #21 | |
Enthusiast
Posts: 36
Karma: 123210
Join Date: Dec 2016
Device: KV,Kobo Forma
|
Quote:
Code:
Do not install a new kernel unless you are prepared to open your Kobo up and make a backup disk image of the internal MicroSD card first. If your new kernel fails for any reason, you will not be able to boot your Kobo even into recovery mode. If you mess up the install by writing to the wrong offset or too big an image, just reinstalling the old kernel using a manual `dd' won't work; you'll need to restore the whole 2GB firmware image. There's a few projects/utilities that seem to indicate the devices "should" be able to enter u-boot commands while up but not sure if the Kobo's have that functionality enabled on the chip.. <shrug> Last edited by desterly; 05-16-2019 at 04:19 PM. |
|
05-16-2019, 03:59 PM | #22 |
Wizard
Posts: 1,619
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Android devices are by and large stuck with whatever kernel they came with due to binary-only drivers.
|
05-17-2019, 06:09 AM | #23 | ||
Zealot
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
|
Quote:
So in your case if the bootimage is broken, your f#cked. Its easier to just to dd the bootimage, and restore from that, however you need access to the onboard flash memory which is a tricky situation Quote:
If you want to take a closer look, either enable telnet and manually dump your flash. Or use this tool I made a while ago: https://www.mobileread.com/forums/sh...43#post3812643 It will dump the Image onto your KOBOeReader/Books partition. Its about 500/600 mb. EDIT: Seems davidfor doesn't have the image yet, as he put it, restoring would be a problem. If you do make a backup, consider uploading it to our Grand Sorcerer/Archivist. Last edited by BloodRagg; 05-18-2019 at 12:31 PM. |
||
05-17-2019, 08:56 AM | #24 | ||
Enthusiast
Posts: 36
Karma: 123210
Join Date: Dec 2016
Device: KV,Kobo Forma
|
Quote:
Quote:
* Pre-flash the eMMC from serial a default image (unless there's something device specific that is in there) * Default U-boot enters fastboot/flash mode and then during the update process they update it w/ the version that doesn't * Magic |
||
05-25-2019, 08:17 AM | #25 |
Zealot
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
|
Any progress on your side ?, I've been a little busy lately.
|
05-26-2019, 04:35 AM | #26 | |
Connoisseur
Posts: 76
Karma: 2000
Join Date: Apr 2019
Device: sony
|
Quote:
|
|
05-26-2019, 04:42 AM | #27 |
Connoisseur
Posts: 76
Karma: 2000
Join Date: Apr 2019
Device: sony
|
btw, here's the super deep analyze about kobo with kernel 4.1.15, super super long
https://libreplanet.org/wiki/Group:H...4.1.15_sources |
05-26-2019, 05:04 AM | #28 | |
Zealot
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
|
Quote:
I wish I would have found it, that would have saved me a lot of work. EDIT: Might as well release what I have now (click me) Last edited by BloodRagg; 05-26-2019 at 06:14 AM. |
|
05-26-2019, 08:52 AM | #29 | |
Connoisseur
Posts: 76
Karma: 2000
Join Date: Apr 2019
Device: sony
|
Quote:
some Android Oreo already running 4.9, depends on the cells company if they want to update or not |
|
05-27-2019, 06:02 AM | #30 |
Zealot
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
|
These are only security patches, new kernel usually comes with a new release of android.
But afaik it was stuck on kernel 3 like forever. Security patches are my only concern for frequent updating. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Content The Collection features are disabled to not registered Kindle!!! | Goodspeed | Amazon Kindle | 17 | 09-27-2013 11:41 AM |
Missing the luigi kernel installer? | twobob | Kindle Developer's Corner | 21 | 09-10-2012 03:54 PM |
Missing files from kernel tree | FDD | Onyx Boox | 0 | 06-03-2012 02:05 PM |
Kobo Missing Features? | mfpreach | Kobo Reader | 7 | 05-01-2010 10:37 AM |