Sorry but your post makes it more weird.
According https://linux-sunxi.org/GSL1680 page GSL1680 controller stores 
Firmware in 0x00-0x7F: these registers are used to load portions of the 
firmware 
This is only 128 8bit = 1byte registers.  
So main question is - does this registers = 128 1 byte registers store the 
whole firmware? 

If so - then why firmware files for example from Windows 8.1 or even 
extracted from mentioned above .ko file are more than 128 byte? (32KB 
extracted from .ko and 104KB for windows fw).

Or I missunderstand the logic, and 128 registers just used to load chunks 
of the firmware into RAM and through this registers there is iteraction 
with firmware code resided in RAM?

What is the logic of working of controller chip with firmware?

For example = why when I am loading firmware Silead.fw taken from my tablet 
from Windows 8.1  with ported Sergio Costas user space driver for GSL1680 I 
could not!!!! get correct feedback (coordinates that are read from 
0x84-0x87 ) for my 1280x800 touch? I have response for all but not 
1280x800, acrtually weird coordinates like 1725x1120 or something close.



On Tuesday, May 19, 2015 at 11:19:50 AM UTC+3, Michal Suchanek wrote:
>
> Hello, 
>
> On 19 May 2015 at 09:37,  <[email protected] <javascript:>> wrote: 
> > Sergio, 
> > Please help to make it clear - the logic of gsl1680 FW: 
> > 
> > Is it organized in chunks of 128 byte? and if so - does it mean that 
> current 
> > firmware = you should switch to the correct block of 128 byte between 
> loaded 
> > set of such 128 byte blocks? 
>
> The firmware is some random data that is sent over i2c and written to 
> the GSL configuration registers. 
>
> Some of the earlier modules had full i2c communication dump in the 
> form of 1-byte address 1-integer data. 
>
> Some had part of this dump with some values (like screen resolution) 
> computed dynamically and not stored in the firmware dump. 
>
> It seems that the configuration registers are organized in pages and 
> writing a particular register switches the accessible page. 
>
> Obviously, if you have a dump like this it can contain the writes to 
> page change register and contain multiple configuration pages in one 
> blob. 
>
> There is even a GSL datasheet that explains the details of the 
> protocol. It does not explain the content of the configuration area, 
> however. 
>
> Also see http://linux-sunxi.org/GSL1680 
>
> HTH 
>
> Michal 
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to