Thanks, 

Am I understand right  - all I need - it is just open .ko file, jumb to 
symbols page and choose needed variable (4ex:  
GSLX680_FW_I81_GSL3676B_8001280_OGS_SG) and choose "export to binary" and 
as result I will get my firmware?
In that case  = declarations exists in .rodata and .data. ;-) of course I 
will try both, but would like to understand = which is correct.

Regards, 
       Serge.



On Monday, May 18, 2015 at 9:46:55 AM UTC+3, Alexis Jeandet wrote:
>
> Hi,
>
> You can do it with readelf and dd, it's not straight forward, you need to 
> find the symbol offset(table offset + symbol ofset) and size in the file 
> then you dump it with dd.
> I made a graphical tool to make this easier:
> https://hephaistos.lpp.polytechnique.fr/redmine/projects/execut/wiki
> You have the choice between sources, rpm for fedora and static Win32 exe.
>
> Best regards,
> Alexis.
> On Monday, May 18, 2015 at 3:31:00 AM UTC+2, [email protected] wrote:
>>
>> Hello.
>>
>> Could anyone share or describe the way how to extract it firmware for 
>> GSL1680 on 8" with 800x1280?
>>
>> What I have - rooted Android and binaries of kenel module (driver) fw is 
>> inside.
>> Also I have original fw from Windows 8.1.
>>
>> More technical details for Linux Guru: I need assistance of extracting 
>> from ELFfile .data segment declared their static (constant) values.
>>
>> Look at the objdump
>>
>> objdump -t gslx68x_ts.ko  | grep gsl_config
>> 00000140 g     O .data    0000035c gsl_config_data_id_gsl_customer
>> 000054a0 g     O .data    00000800 
>> gsl_config_data_id_I81_GSL3676B_8001280_OGS_SG
>> 00005ca0 g     O .data    00000800 
>> gsl_config_data_id_I802_GSL3676B_8001280_OGS_SG
>> 000064a0 g     O .data    00000800 
>> gsl_config_data_id_I802_GSL3676B_8001280_OGS_DZ
>> 00004ca0 g     O .data    00000800 
>> gsl_config_data_id_I100_GSL3692_1280800_GG_SG
>> 000044a0 g     O .data    00000800 
>> gsl_config_data_id_I89_GSL3676B_19201200_OGS_SG
>> 000034a0 g     O .data    00000800 
>> gsl_config_data_id_I71_GSL1686F_1024600_PG_XLL
>> 000024a0 g     O .data    00000800 
>> gsl_config_data_id_I86_GSL3676B_8001280_PG_FC
>> 00001ca0 g     O .data    00000800 
>> gsl_config_data_id_I86_GSL3676B_8001280_OGS_SG
>> 00002ca0 g     O .data    00000800 
>> gsl_config_data_id_I706_GSL1686_OGS_6001024_DZ_70F2
>> 00003ca0 g     O .data    00000800 
>> gsl_config_data_id_I89_GSL3676B_19201200_OGS_DZ
>> 00000ca0 g     O .data    00000800 
>> gsl_config_data_id_I101_GSL3692_1280800_GG_FC_FC101S123
>> 000014a0 g     O .data    00000800 
>> gsl_config_data_id_I86_GSL3676B_8001280_PG_FC_W
>> 000004a0 g     O .data    00000800 
>> gsl_config_data_id_I892_GSL3676B_8001280_OGS_SG
>>
>> objdump -x gslx68x_ts.ko | grep .data
>>
>> I am attaching linux driver module to this message. If it is needed 
>> windows fw file - please let me know - I will send it too.
>> PS: Suppose this helps to have more fw for new screen!
>> RELOCATION RECORDS FOR [.data]:
>> 00000040 R_386_32          gsl_config_data_id_gsl_customer
>> 00000044 R_386_32          gsl_config_data_id_I81_GSL3676B_8001280_OGS_SG
>> 00000048 R_386_32          gsl_config_data_id_I802_GSL3676B_8001280_OGS_SG
>> 0000004c R_386_32          gsl_config_data_id_I802_GSL3676B_8001280_OGS_DZ
>> 00000050 R_386_32          gsl_config_data_id_I100_GSL3692_1280800_GG_SG
>> 00000054 R_386_32          gsl_config_data_id_I89_GSL3676B_19201200_OGS_SG
>> 00000058 R_386_32          gsl_config_data_id_I71_GSL1686F_1024600_PG_XLL
>> 0000005c R_386_32          gsl_config_data_id_I86_GSL3676B_8001280_PG_FC
>> 00000060 R_386_32          gsl_config_data_id_I86_GSL3676B_8001280_OGS_SG
>> 00000064 R_386_32          
>> gsl_config_data_id_I706_GSL1686_OGS_6001024_DZ_70F2
>> 00000068 R_386_32          gsl_config_data_id_I89_GSL3676B_19201200_OGS_DZ
>> 0000006c R_386_32          
>> gsl_config_data_id_I101_GSL3692_1280800_GG_FC_FC101S123
>> 00000070 R_386_32          gsl_config_data_id_I86_GSL3676B_8001280_PG_FC_W
>> 00000074 R_386_32          gsl_config_data_id_I892_GSL3676B_8001280_OGS_SG
>>
>> Kind regards,
>>       Serge Kolotylo.
>>
>>
>>

-- 
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