View Single Post
Old 01-13-2021, 09:05 PM   #1
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
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
Emulating Nickel + touch input

Hi,
I've been working hard these last few days to try to get the Kobo firmware working in a QEMU-system-arm virtual machine (i.e. emulating a Kobo in a x86 PC)

I've successfully (and surprisingly) been able to build a cross-compiled Linux kernel, boot the stock filesystem and firmware of a Glo HD (with a disk image formatted in 3 partitions (rootfs, recoveryfs and onboard), and I gasped when I saw the Nickel setup welcome screen with language selection on a QEMU window. This was quite unexpected and of course it has cleared off many of my concerns in emulating/faking/redirecting a framebuffer to output via VNC or something like that.
I've also successfully got to a BusyBox shell where I can type commands and stuff.

But now that I've got into Nickel, I can't use it at all. Why? Touch input. (of course)
Sure it was not going to be easy... Do someone know how to simulate/emulate touch events that Nickel can understand?

I joined two screenshots of my QEMU window, if that can help you. One shows it in a console output mode, when it uses all the 1024x768 res. and the other shows Nickel covering about half of the screen.

Any help would be much appreciated.
Thanks!
Attached Thumbnails
Click image for larger version

Name:	console.png
Views:	362
Size:	42.6 KB
ID:	184731   Click image for larger version

Name:	nickel.png
Views:	388
Size:	26.5 KB
ID:	184732  
NiMa is offline   Reply With Quote