Luca Olivetti | 13 Mar 2010 16:23

Re: LG violates gpl? take 2

En/na Luca Olivetti ha escrit:

>> We distributed the object files using our system. You can download the 
>> object files as the old ways. 
> 
> I got it, but there's no Makefile, so I cannot verify if, once linked 
> with the supplied uclibc, will produce the same program as currently 
> running on the tv, and, as with the kernel, it's very important that I 
> can verify the supplied sources against what's currently running on the 
> tv, you know, I don't want to turn my tv set into an expensive 
> paperweight ;-)

Well, a simple string comparison suggests that the executable running in 
the tv cannot be obtained from the objects you sent me.
First I obtained the strings in the running program

strings RELEASE | sort | uniq > ../strings.release

Then I did the same with all the objects you sent me

strings * | sort | uniq > ../strings.objects

Then I compared them with diff. Of course many differences are due to 
things stripped during the linking process, but there are various 
strings in the executables that are nowhere to be found in the objects, 
kernel sources, uClibc or nanox.

For example this block of text is only in RELEASE:

+[A2SNK]
+        [A2SNK] sbcCfg.bitpool=%02X
+        [A2SNK] sbcCfg.bitpoolMin=%02X, bitpoolMax=%02X
+        [A2SNK] sbcCfg.bitpoolMin=0x%02X, bitpoolMax=0x%02X
+        [A2SNK] sbcCfg.nrofSubbands=%ld, sbcCfg.nrofBlocks=%d, 
sbcCfg.nrofChannels=%d
+        [A2SNK] sbcCfg.sampleFreq=%ld, sbcCfg.channelMode=%d, 
sbcCfg.isSNR=%d
+        A2SRC has been connected before !!
+        A2SRC or A2SNK is already connected !!
+        [A2SRC] sbcCfg.bitpoolMin=0x%02X, bitpoolMax=0x%02X
+        [A2SRC] sbcCfg.nrofSubbands=%ld, sbcCfg.nrofBlocks=%d, 
sbcCfg.nrofChannels=%d
+        [A2SRC] sbcCfg.sampleFreq=%ld, sbcCfg.channelMode=%d, 
sbcCfg.isSNR=%d

or this one

+active device is not exist in list

(sic)

there are more but I got tired of sifting through 120000 differences.

Note that I did this with two different RELEASE files: one downloaded 
from the tv and the other from an epk file I found on the Internet.
Surprisingly, even if they are different, they both are supposed to be 
firmware 3.20 (it seem they've been compiled 5 minutes apart from each 
other, I found this string "Sep  4 2009, 11:21:19" in the file 
downloaded from the Internet and this one "Sep  4 2009, 11:26:36" on my tv).

Could you explain the reason of what I found?

Thank you.
--

-- 
Luca


Gmane