lgeek / okreader

Free/libre software for Kobo ebook readers
BSD 2-Clause "Simplified" License
212 stars 13 forks source link

No Boot on Kobo Touch. #14

Closed publicsite closed 6 years ago

publicsite commented 6 years ago

Hi,

I just tried following the instructions using a9bf918_build (April 4 2017) and could not get the Kobo Touch to boot.

I also tried compiling from source on a ARM board, then following the installation instructions, but didn't get much luck with that either.

Any help with this much appreciated.

lgeek commented 6 years ago

Hi. See if this helps: https://github.com/lgeek/okreader/issues/12#issuecomment-334270464. Please make sure you have a full backup of the factory SD card. Otherwise, use an UART adapter to get the serial console output.

publicsite commented 6 years ago

I left 15MiB of free space before dding u-boot and kernel.

When switched on, the blue light at top appears, the screen flashes black twice

Unfortunately I don't have a usb-to-uart adapter to debug any more, nor am much good at soldering etc. even if I knew where to solder. :(

lgeek commented 6 years ago

To clarify, what that is saying is to leave 15 MiB of free space before the first partition (not before the u-boot and kernel images). I haven't seen this failure mode myself, so I'm not sure what sort of behaviour you'd see.

publicsite commented 6 years ago

To clarify, what that is saying is to leave 15 MiB of free space before the first partition (not before the u-boot and kernel images).

Yes. I did this using gparted as specified.

publicsite commented 6 years ago

Hi, it seems to be an issue with the kernel or rootfs. When I dd'ed my compiled kernel vs the pre-release kernel, the behaviour changed, in that no light came on and screen did not flash twice. This suggests to me u-boot is fine, but there is either an issue whilst booting the rootfs or running the kernel itself. I.e. it got passed the u-boot stage in order to display said behaviour.

I also tried to dd with a seek of 2048 instead of 1024 for the kernel, but behaviour did not change at all, for either my compiled kernel or the prerelease kernel.

I was considering trying to compile marek's kernel (google search) but I think it requires an old version of gcc.

So once again I am stuck.

publicsite commented 6 years ago

I've managed to get it working.

On the Kobo Touch you shouldn't move the partition, otherwise it doesn't boot. There should be approximately 9.something MiB of space at the start of the disk. Leave it as it is ... do not move to 15MiB as suggested.

Thank you for your help. Glad to have got it working in the end! :)