samyGo use on LN52A850 (T-SPHAUSC v.1004)

Here for general support for B series TVs, request and problem solve area.

tskitishvili
Official SamyGO Developer
Posts: 26
Joined: Mon Dec 14, 2009 12:05 am

samyGo use on LN52A850 (T-SPHAUSC v.1004)

Post by tskitishvili »

Hi,

I have tested SamyGO extension pack on my device and here is the list of suggestions to consider for future releases of the software pack.

1. There is no 'cut' utility implemented in busybox of <subject> device. As a result rcSGO script (any many others) of SamyGO Extension pack fails. Please consider replacing it with something working or add it into release notes on wiki page. Here is the list of command line tools available in the firmware:

Code: Select all

# ls -l /bin
lrwxrwxrwx    1 root     0               7 May 19  2008 ash -> busybox
-rwxr-xr-x    1 root     0          921988 Dec 20  2007 busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 cat -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 chmod -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 cp -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 date -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 dd -> busybox
-rwxr-xr-x    1 root     0           20324 Dec  4  2007 ddcmp
lrwxrwxrwx    1 root     0               7 May 19  2008 df -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 dmesg -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 echo -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 egrep -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 fgrep -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 grep -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 hostname -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 kill -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 ln -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 login -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 ls -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 mkdir -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 mknod -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 mount -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 mv -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 netstat -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 nice -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 pidof -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 ping -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 ps -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 pwd -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 rm -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 sed -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 sh -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 sleep -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 sync -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 touch -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 umount -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 usleep -> busybox
lrwxrwxrwx    1 root     0               7 May 19  2008 vi -> busybox
# ls -l /sbin
-rwxr-xr-x    1 root     0          114096 Apr 11  2008 fatcat
-rwxr-xr-x    1 root     0          114096 Apr 11  2008 fatchk
-rwxr-xr-x    1 root     0          114100 Apr 11  2008 fatdump
-rwxr-xr-x    1 root     0          114096 Apr 11  2008 fatinfo
-rwxr-xr-x    1 root     0          114100 Apr 11  2008 fatls
-rwxr-xr-x    1 root     0          111212 Apr 11  2008 fatrm
-rwxr-xr-x    1 root     0            6824 Apr 11  2008 fsrbootreader
-rwxr-xr-x    1 root     0            6872 Apr 11  2008 fsrbootwriter
-rwxr-xr-x    1 root     0            7560 Apr 11  2008 fsrdump
-rwxr-xr-x    1 root     0            4556 Apr 11  2008 fsrerase
-rwxr-xr-x    1 root     0            4664 Apr 11  2008 fsrfdisk
-rwxr-xr-x    1 root     0           12896 Apr 11  2008 fsrflxdump
-rwxr-xr-x    1 root     0          114412 Apr 11  2008 fsrformat
-rwxr-xr-x    1 root     0           16252 Apr 11  2008 fsrpart
-rwxr-xr-x    1 root     0            8128 Apr 11  2008 fsrrestore
-rwxr-xr-x    1 root     0             795 Oct 25  2007 hotplug
lrwxrwxrwx    1 root     0              14 May 19  2008 ifconfig -> ../bin/busybox
lrwxrwxrwx    1 root     0              14 May 19  2008 init -> ../bin/busybox
lrwxrwxrwx    1 root     0              14 May 19  2008 insmod -> ../bin/busybox
-rwxr-xr-x    1 root     0           60491 Dec  7  2007 iwconfig
-rwxr-xr-x    1 root     0           56388 Dec  7  2007 iwlist
-rwxr-xr-x    1 root     0           46773 Dec  7  2007 iwpriv
lrwxrwxrwx    1 root     0              14 May 19  2008 lsmod -> ../bin/busybox
-rwxr-xr-x    1 root     0             940 Apr 11  2008 mkfsrnod
-rwxr-xr-x    1 root     0            8468 Apr 11  2008 rlog
lrwxrwxrwx    1 root     0              14 May 19  2008 rmmod -> ../bin/busybox
lrwxrwxrwx    1 root     0              14 May 19  2008 route -> ../bin/busybox
lrwxrwxrwx    1 root     0              14 May 19  2008 sysctl -> ../bin/busybox
lrwxrwxrwx    1 root     0              14 May 19  2008 udhcpc -> ../bin/busybox
drwxr-xr-x    2 root     0             115 Apr 16  2008 usb_mount
# ls -l /usr/sbin
lrwxrwxrwx    1 root     0              17 May 19  2008 telnetd -> ../../bin/busybox
# ls -l /usr/bin
lrwxrwxrwx    1 root     0              17 May 19  2008 [ -> ../../bin/busybox
lrwxrwxrwx    1 root     0              17 May 19  2008 [[ -> ../../bin/busybox
lrwxrwxrwx    1 root     0              17 May 19  2008 arping -> ../../bin/busybox
lrwxrwxrwx    1 root     0              17 May 19  2008 du -> ../../bin/busybox
lrwxrwxrwx    1 root     0              17 May 19  2008 env -> ../../bin/busybox
lrwxrwxrwx    1 root     0              17 May 19  2008 expr -> ../../bin/busybox
lrwxrwxrwx    1 root     0              17 May 19  2008 free -> ../../bin/busybox
lrwxrwxrwx    1 root     0              17 May 19  2008 hexdump -> ../../bin/busybox
lrwxrwxrwx    1 root     0              17 May 19  2008 killall -> ../../bin/busybox
lrwxrwxrwx    1 root     0              17 May 19  2008 renice -> ../../bin/busybox
lrwxrwxrwx    1 root     0              17 May 19  2008 test -> ../../bin/busybox
lrwxrwxrwx    1 root     0              17 May 19  2008 top -> ../../bin/busybox
2. Although executables included with extension pack seem working, running insmod on .ko modules produce errors. Example:
insmod: cannot insert `cifs.ko': Invalid module format (-1): Exec format error

The <subject> device linux and busybox seem compatible with the system listed on the SamyGO Home page:

Code: Select all

# cat /.info
T-SPHAUSC

# cat /proc/version
Linux version 2.6.18_SELP-ARM_V403_V6K (byjins@SW2-A1) (gcc version 4.2.0 20070514 (GPL2) (SELP 4.2.0-3.0.5.custom 2007-10-31(14:53))) #91 PREEMPT Mon May 19 18:34:53 KST 2008

# busybox
SELP-BusyBox(GPL2) v1.2.2-Samsung.Common.Linux (2007.12.20-05:50+0000) multi-call binary

# cat /proc/cpuinfo
Processor       : ARMv6-compatible processor rev 4 (v6l)
BogoMIPS        : 498.07
Features        : swp half fastmult vfp edsp java
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 4
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format C
Cache format    : Harvard
I size          : 32768
I assoc         : 4
I line length   : 32
I sets          : 256
D size          : 32768
D assoc         : 4
D line length   : 32
D sets          : 256

Hardware        : Samsung-SDP75 Evaluation Board
Revision        : 0000
Serial          : 0000000000000000
The reason why modules do not load is that they wre compiled for version 2.6.18_SELP-ARM while the <subject> version is 2.6.18_SELP-ARM_V403_V6K

After I replaced string "vermagic: 2.6.18_SELP-ARM preempt mod_unload ARMv6 gcc-4.2" with "
vermagic: 2.6.18_SELP-ARM_V403_V6K preempt mod_unload ARMv6 gcc-4.2" inside cifs.ko I was able to load the cifs.ko module but 'mount' produces segmentation fault while using cifs. I guess since new string is longer I might have erased some import variables after that string. So it is better if someone who has working toolchain makes another set of all modules with versions string: 2.6.18_SELP-ARM_V403_V6K. For that you need to modify config variable "CONFIG_LOCALVERSION".

3. Please also consider adding these lines into rcSGO because games had to be placed in SEC_GAME folder on <subject> device:
..
elif [ -x /dtv/usb/sda1/SEC_GAME/SamyGO/etc/rc.sysinit ] ; then
S_SCRIPT="cd /dtv/usb/sda1/SEC_GAME/SamyGO ; ./etc/rc.sysinit 2>&1 &"
..

4. Please consider adding alternative SamyGO.dat file compatible with <subject> device.

Code: Select all

[Name]
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
[Category]
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
[Size]
0x0030,0x0031,0x0020,0x004d,0x0042,0x0000,
0x0030,0x0031,0x0020,0x004d,0x0042,0x0000,
0x0030,0x0031,0x0020,0x004d,0x0042,0x0000,
0x0030,0x0031,0x0020,0x004d,0x0042,0x0000,
[Vendor]
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
[Release_Date]
0x0032,0x0030,0x0030,0x0037,0x002f,0x0031,0x0030,0x002f,0x0033,0x0030,0x0000,
0x0032,0x0030,0x0030,0x0037,0x002f,0x0031,0x0030,0x002f,0x0033,0x0030,0x0000,
0x0032,0x0030,0x0030,0x0037,0x002f,0x0031,0x0030,0x002f,0x0033,0x0030,0x0000,
0x0032,0x0030,0x0030,0x0037,0x002f,0x0031,0x0030,0x002f,0x0033,0x0030,0x0000,
[Description]
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
[JoyStick_Support]
0
[icon_path]
SamyGO.png


// End of Generated Text Resource Source File 
5. Please also consider that there is no reference to shared library from the above .dat file. That's because <subject> device is looking for .dat and .so by name. The .dat file name should match folder name. The .so file name should have 'lib' prefix followed by name matching folder name. So .so file name should be libSamyGO.so

6. Please include into wiki description that SamyGO extension files have to be placed into SEC_GAME\SamyGO folder on USB device.

Thank you for great product.
aquadran
Posts: 264
Joined: Fri Oct 16, 2009 9:35 pm
Location: Poland

Re: samyGo use on LN52A850 (T-SPHAUSC v.1004)

Post by aquadran »

tskitishvili wrote:Hi,


4. Please consider adding alternative SamyGO.dat file compatible with <subject> device.

Code: Select all

[Name]
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
[Category]
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
[Size]
0x0030,0x0031,0x0020,0x004d,0x0042,0x0000,
0x0030,0x0031,0x0020,0x004d,0x0042,0x0000,
0x0030,0x0031,0x0020,0x004d,0x0042,0x0000,
0x0030,0x0031,0x0020,0x004d,0x0042,0x0000,
[Vendor]
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
[Release_Date]
0x0032,0x0030,0x0030,0x0037,0x002f,0x0031,0x0030,0x002f,0x0033,0x0030,0x0000,
0x0032,0x0030,0x0030,0x0037,0x002f,0x0031,0x0030,0x002f,0x0033,0x0030,0x0000,
0x0032,0x0030,0x0030,0x0037,0x002f,0x0031,0x0030,0x002f,0x0033,0x0030,0x0000,
0x0032,0x0030,0x0030,0x0037,0x002f,0x0031,0x0030,0x002f,0x0033,0x0030,0x0000,
[Description]
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
0x0053,0x0061,0x006D,0x0079,0x0047,0x004F,0x0000,
[JoyStick_Support]
0
[icon_path]
SamyGO.png


// End of Generated Text Resource Source File 
5. Please also consider that there is no reference to shared library from the above .dat file. That's because <subject> device is looking for .dat and .so by name. The .dat file name should match folder name. The .so file name should have 'lib' prefix followed by name matching folder name. So .so file name should be libSamyGO.so

6. Please include into wiki description that SamyGO extension files have to be placed into SEC_GAME\SamyGO folder on USB device.

Thank you for great product.
good job,

I was wondering why it was not needed for me, but turns out that is needed for older series tv.
I have question for you, do you have file libGPlayerPorting.so in /mtd_exe/GAME_LIB ? and libYahooSDLHWAcceleration.so in /mtd_exe/YWidget_LIB ?
tskitishvili
Official SamyGO Developer
Posts: 26
Joined: Mon Dec 14, 2009 12:05 am

Re: samyGo use on LN52A850 (T-SPHAUSC v.1004)

Post by tskitishvili »

libGPlayerPorting.so exists, however it is in slightly different place.
libYahooSDLHWAcceleration.so is missing. Actually my TV model does have just three simple widgets: weather, stocks, news.

Code: Select all

# ls -l  /mtd_cmmlib
drwxr-xr-x    2 root     0              40 Oct  3  2008 Comp_LIB
drwxr-xr-x    2 root     0              51 Oct  3  2008 DRM_LIB
drwxr-xr-x    2 root     0             151 Oct  3  2008 GAME_LIB
drwxr-xr-x    2 root     0             249 Oct  3  2008 lib
# ls -l  /mtd_cmmlib/GAME_LIB
-rwxr-xr-x    1 root     0           12224 Oct  3  2008 libGPlayerPorting.so
-rwxr-xr-x    1 root     0          232568 Oct  3  2008 libSDL.so
-rwxr-xr-x    1 root     0           42576 Oct  3  2008 libSDL_image.so
-rwxr-xr-x    1 root     0          183632 Oct  3  2008 libSDL_mixer.so
-rwxr-xr-x    1 root     0          137292 Oct  3  2008 libpngGP.so
-rwxr-xr-x    1 root     0          234864 Oct  3  2008 libsmpeg.so
-rwxr-xr-x    1 root     0           35252 Oct  3  2008 libungif.so
-rwxr-xr-x    1 root     0           71032 Oct  3  2008 libz.so
# ls -l  /mtd_cmmlib/DRM_LIB/
-rwxr-xr-x    1 root     0          219656 Oct  3  2008 libCryptoCore.so
-rwxr-xr-x    1 root     0            6560 Oct  3  2008 libLog4DRM.so
# ls -l  /mtd_cmmlib/Comp_LIB/
-rwxr-xr-x    1 root     0           98500 Oct  3  2008 libptp.so
-rwxr-xr-x    1 root     0           39800 Oct  3  2008 libusb.so
# ls -l  /mtd_cmmlib/lib/
-r-xr-xr-x    1 root     0          146665 Oct  3  2008 ld-2.5.90.so
-r-xr-xr-x    1 root     0         1445092 Oct  3  2008 libc-2.5.90.so
-r-xr-xr-x    1 root     0           17069 Oct  3  2008 libdl-2.5.90.so
-r-xr-xr-x    1 root     0          229241 Oct  3  2008 libgcc_s.so.1
-r-xr-xr-x    1 root     0          502702 Oct  3  2008 libm-2.5.90.so
-r-xr-xr-x    1 root     0           18342 Oct  3  2008 libnss_dns-2.5.90.so
-r-xr-xr-x    1 root     0           50200 Oct  3  2008 libnss_files-2.5.90.so
-r-xr-xr-x    1 root     0          123024 Oct  3  2008 libpthread-2.5.90.so
-r-xr-xr-x    1 root     0           73018 Oct  3  2008 libresolv-2.5.90.so
-r-xr-xr-x    1 root     0           40211 Oct  3  2008 librt-2.5.90.so
-r-xr-xr-x    1 root     0         1206248 Oct  3  2008 libstdc++.so.6.0.9
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: samyGo use on LN52A850 (T-SPHAUSC v.1004)

Post by arris69 »

damagetime wrote:It took me a while to get back to this but today I confirmed your findings regarding LNxxAxxx extension layout on my LN46A750. I was also able to confirm the cut problem you indicated as item #1 in this post. Have you found a workaround?

...

If you have any additional information about getting the extensions to work I would really love to hear it.

Thanks!
the init scripts are rewritten, and no more use cut. but it will be released if the starter lib is fixed to work and UE & LN devices and the build of working kernel modules is fixed.

so pls test applications/scripts/modules you find in software forum (with testing or tester needed...) and report fail/success or what you don't like or what you like to have in extensions.

arris
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: samyGo use on LN52A850 (T-SPHAUSC v.1004)

Post by erdem_ua »

Thanks for informations.
I don't know "2.6.18_SELP-ARM_V403_V6K" issue and the "no cut" issues.
I think NFS work right?

Telnet enabling require manual Bussybox injection or only Firmware patcher?
How do you make telnet enabled? (I forgot how could we that :) )
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: samyGo use on LN52A850 (T-SPHAUSC v.1004)

Post by erdem_ua »

What about "Telnetd Application"
I think it's not required such modifications and could enable telnet automatically. Right? Could you please test this?

Compiling kernel is not big problem. I think Aquadran could prepare new cifs.ko for your TV.
You can use some NFS server utility to test your TV's NFS connection. I think you can view your movies with it. :)

Post Reply

Return to “[B] Support”