Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-24-2012, 01:55 PM   #1
debiatan
Junior Member
debiatan began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Kobo touch
Upgrading kernel kobo touch

Hi guys,

I'd like to connect a small keyboard to my kobo touch and use it to take notes without having to carry a laptop. I think the touch can operate in USB on-the-go or host mode and allow me to do that. I have recompiled the kernel with hid support and the usbhid module, but so far I have been unable to replace the kernel in the device.

According to this outdated README, I should just place the kernel zImage under .kobo/upgrade/ in the public flash partition and the kernel should be automatically replaced upon unmounting and unplugging the kobo, but that does not work for me. Has any of you replaced the kernel of a kobo touch or know the correct procedure?

I am running 1.9.17 and I have already made a backup of the internal SD card.

Thanks!
debiatan is offline   Reply With Quote
Old 10-25-2012, 09:48 AM   #2
KevinShort
Addict
KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.
 
KevinShort's Avatar
 
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
I installed a new kernel once, and I believe I followed those instructions you linked on where
to put the zImage. However, I can't remember now if it was on the Touch or the Wifi.

So absolutely nothing happens when you put zImage in .kobo/upgrade?
KevinShort is offline   Reply With Quote
Advert
Old 10-25-2012, 11:14 AM   #3
debiatan
Junior Member
debiatan began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Kobo touch
Yeah, that's it. After unplugging the Kobo it comes back to the main menu screen. It does not reboot and it does not remove the zImage file from the upgrade directory. I've tried rebooting and looking at the /proc/config.gz to see if the new kernel made it's way in somehow but it stays the same.

The original instructions are given for an older kernel, so it's possible they no longer apply for moderately recent firmware revisions. I'll head to GitHub and ask directly the Kobo developers.

Thanks for your reply!

Edit: Link to the bug report

Last edited by debiatan; 10-25-2012 at 11:30 AM. Reason: Added link to the bug report
debiatan is offline   Reply With Quote
Old 10-26-2012, 11:25 PM   #4
debiatan
Junior Member
debiatan began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Kobo touch
I was finally able to replace the running kernel by remounting in read-only mode the root partition of the Kobo and then overwritting it with the uImage (not the zImage):

dd if=uImage of=/dev/mmcblk0 bs=512 seek=2048

I probably got something wrong in my kernel .config since it starts (the blue-green LED pattern blinks two or three times) but fails to complete the boot-up process. In the end it may not matter, since I was finally able to compile the hid.ko module (prerequisite for usbhid.ko), which I thought could not be built as a module and had to be included in the kernel.

I'll open a new thread once the keyboard is working.
debiatan is offline   Reply With Quote
Old 10-27-2012, 07:53 AM   #5
KevinShort
Addict
KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.
 
KevinShort's Avatar
 
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
Cool, I'll look forward to seeing your results.
KevinShort is offline   Reply With Quote
Advert
Old 11-07-2012, 12:28 PM   #6
KoboTouchUser
Junior Member
KoboTouchUser can extract oil from cheeseKoboTouchUser can extract oil from cheeseKoboTouchUser can extract oil from cheeseKoboTouchUser can extract oil from cheeseKoboTouchUser can extract oil from cheeseKoboTouchUser can extract oil from cheeseKoboTouchUser can extract oil from cheeseKoboTouchUser can extract oil from cheese
 
Posts: 3
Karma: 1090
Join Date: Nov 2012
Location: France
Device: Kobo Touch
Hello,

For kernel to update, you have to create the .kobo/upgrade directory, and put the kernel inside AND you have to create a .kobo/KoboRoot.tgz, even if it is empty ! From the source /etc/rcS :
Quote:
if [ -e /mnt/onboard/.kobo/KoboRoot.tgz ]; then
(...)
if [ -e /mnt/onboard/.kobo/upgrade ]; then
/etc/init.d/upgrade-wifi.sh
(..)
fi
(...)
fi

Last edited by KoboTouchUser; 11-07-2012 at 12:30 PM.
KoboTouchUser is offline   Reply With Quote
Reply

Tags
kernel, keyboard, kobo touch linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-T1 How-to: Compiling the kernel and kernel modules altruizine Sony Reader Dev Corner 9 09-03-2012 09:12 PM
Touch Backup Touch drive before upgrading to 2.0.0 murg Kobo Reader 2 07-13-2012 04:27 AM
Kindle touch, small question about upgrading to 5.1 cyberynight Kindle Developer's Corner 2 05-16-2012 09:02 AM
Anyone upgrading their K3 for the Kindle Touch hmgreen Amazon Kindle 35 10-06-2011 11:16 PM
upgrading kobo wifi leaperk Kobo Reader 4 06-09-2011 03:46 PM


All times are GMT -4. The time now is 07:28 AM.


MobileRead.com is a privately owned, operated and funded community.