Forum switched to read-only as of 2020/06/01
Latest product reviews |
---|
![]() |
![]() |
Smartphones ![]() |
TV Connect ![]() |
![]() |
ClockworkMod (CWM) Recovery easy install for RK3066 and RK3188 -- TWRP/CWM Flash-Tool and root for RK3288
Please donate to support OMA and CrewRKTablets firmware work, thank you !

2014/10/16

Hi,
I have ereader from onyx C67S running on rk3026.
Unfortunately this reader does not have a touch screen, so I replaced the C67S screen (eink and touchscreen) with C65HD screen. This screen have cypress touchscreen working with the driver cyttsp-i2c. The board on C65HD and C67S have similar design and is possible to connect the touchscreen to the device.
But the C67S did no recognize the device (no loaded module in /proc, no mention in dmesg).
Is there a way how to list build-in drivers in the kernel and enable it?
I was also trying to build cyttsp-i2c module from the source but after the insmod, dmesg complain
<1>[ 411.069022] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
<1>[ 411.077156] pgd = d723c000
<1>[ 411.079866] [0000000c] *pgd=00000000
<0>[ 411.083474] Internal error: Oops: 5 [#1] PREEMPT SMP
<4>[ 411.088450] CPU: 1 Tainted: G C (3.0.36+ #2853)
<4>[ 411.094125] PC is at sys_init_module+0x11ec/0x18dc
<4>[ 411.098923] LR is at sys_init_module+0x11e4/0x18dc
<4>[ 411.103721] pc : [<c04c64b4>] lr : [<c04c64ac>] psr: a0000013
<4>[ 411.103732] sp : cea1bf00 ip : 00000000 fp : 00000028
<4>[ 411.115222] r10: c08caddc r9 : 00000000 r8 : 00000000
<4>[ 411.120453] r7 : fffffff8 r6 : bf2878a8 r5 : bf28786c r4 : bf287860
<4>[ 411.126988] r3 : 00000000 r2 : bf2879a4 r1 : 00000000 r0 : c0a7fa78
<4>[ 411.133525] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
<4>[ 411.140670] Control: 10c5387d Table: 7723c04a DAC: 00000015
<4>[ 411.146422]
The same error is every time I want to load my own cross-compiled module so I think there is something with the compilation configuration.
I was unable to get the original source code so used this repo from github
https://github.com/peterzhu0503/kernel_rk3026.git
For the cyttsp-i2c module I patched the source with nook drivers.
https://github.com/martinezjavier/nook_color.git
the prebuilt toolchain was downloaded form google sourcecode and it was the same as the kernel show on boot
gcc version 4.6.x-google 20120106 (prerelease)
I manage to config the kernel source and the vermagic is the same as the other original modules in /system/lib/modules
vermagic: 3.0.36+ SMP preempt mod_unload ARMv7
but as i said after the insmod the device freeze and reboots.
What am I doing wrong? What else should I try?
Thank you in advance
Fero

2014/10/16

I downloaded theOma_RK3026_Cube_U25GT2-T_KK_4.4.2_v1.0_gen2 loader.7z from http://crewrktablets.arctablet.com/?wpfb_dl=1676
and try to load hubenable.ko and the system did not crash.
What source code, config and toolchain did you use to build the image?

Most Users Ever Online: 803
Currently Online:
88 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Devices in use: Desktop (75), Phone (13)
Top Posters:
finless: 604
DarthJabba: 551
maikal: 394
mussonero1: 350
JEssicannn: 279
alex: 252
damo: 243
DanielVd: 237
Newest Members:
AnnaStockm
IAmTheOne86
tkowalski
Devlin
gitidi3813
goliad
Forum Stats:
Groups: 10
Forums: 185
Topics: 6129
Posts: 60941
Member Stats:
Guest Posters: 43
Members: 266802
Moderators: 5
Admins: 1
Administrators: admin
Moderators: globula_neagra, exelletor, JochenKauz, Oma7144, cracktech
CrewRKTablets moderators: JochenKauz and Astralix