Thread: Glo Android on Glo
View Single Post
Old 11-30-2013, 06:12 AM   #183
dd366
Member
dd366 doesn't litterdd366 doesn't litter
 
Posts: 23
Karma: 186
Join Date: Jul 2013
Location: France
Device: Kobo glo
Quote:
Originally Posted by MarekGibek View Post
I wonder what's the difference between two kernels you've sent.
I don't compared them thoroughly but examine mach-mx5 directory and I think they add support for others (future ?) Tolino hardware.
Cpu frequency, additionnal ram type, frontlight.

At the moment I noticed especially a frontlight enhancement (Glo related).
The hwconfig has provision for several TABLE setup to select different frontlight led progression settings (More dark at low level, etc)

Code:
1.3 const char * gszFrontLightA[]={"No","TABLE0"};// Front Light .
1.7 const char * gszFrontLightA[]={"No","TABLE0","TABLE0+","TABLE0a","TABLE1+","TABLE2+","TABLE3+","TABLE4+","TABLE5+","TABLE6+"};// Front Light .
but seems not yet implemented in code...


The table is declared in mx50_ntx_io.c There are two, for different harware.

Code:
static unsigned short FL_table0[100]= {
0x0001,0x0006,0x0007,0x0009,0x000C,0x000D,0x000E,0x000F,0x0011,0x0012,
...
HEX: 0100 0600 0700 0900

// Antony add 20130128 : patch from Taipei
static struct front_light_setting FL_table1[100]= {
{0,20000,  7 }, {0,20000,  7 }, {0,20000,  7 }, {0,20000,  7 }, {0,20000,  7 }, //  1%
...
HEX: 00000000 204E0000 02000000
The tables are in mx50_ntx_io.o and I tried to locate these tables in '.img' to patch them, because I would like experiment lower brigthness to read at night.
But I cannot find them... (stripped by linker ?)

In the .img file, the kernel image is raw data before the first partition or is it compressed ?

-----

Finally there is still two points I wish to fix or be fixed: (Glo related)
- 1 Ghz cpu (hwconfig 1.7 kernel has code for that)
- Hall sensor support (Smart cover, not sure for this kernel but the Kobo kernel has code for that)
.

Last edited by dd366; 11-30-2013 at 06:16 AM.
dd366 is offline   Reply With Quote