Page 2 of 3

Re: Modifying the bootloader

Posted: Mon Oct 12, 2009 4:13 pm
by arris69
nobody0472 wrote:Hi all,

I do have an LE46A956, and I can confirm that the service-plug is a serial output, but during a normal boot only two lines are exported there.
I have tried to patch the exe.img (as it is not encrypted for the series), but couldn't get telnet to work.

I've tweaked the run-script in the exe.img, but no luck on this.

Has anybody an idea how to get telnet to work on this device ?

Thanks,
N.
our modifications are for UExxB70xx, LExxB65x.
your model use the firmware T-RBYDEU if i checked this correct,
where /etc/telnetd_start.sh is't existent.
your firmware includes
find T-RBYDEU/dimage | grep telnet
T-RBYDEU/dimage/rootfs/sbin/telnetd
T-RBYDEU/dimage/rootfs/usr/sbin/telnetd

you can try to tweak your firmware to call

Code: Select all

/sbin/telnetd &
or may better:

Code: Select all

/sbin/inetd &
and not

Code: Select all

/etc/telnetd_start.sh&
read the disclaimer in the wiki!!

if you had success pls read and report in this thread:
http://forum.samygo.tv/viewtopic.php?f=2&t=19#p79
or send me the informations requested in the thread via pm

arris

Re: Modifying the bootloader

Posted: Thu Dec 17, 2009 10:57 am
by tskitishvili
Hello nobody0472,

Same thing happened with my LN52A850. I have modified exe.img, flashed, but no results. But I have figured out how to inject telnetd through content library. Please download and try the package I have created for that: http://forum.samygo.tv/viewtopic.php?f=2&t=202

After enabling telnet I figured out that I had flashed bad exe.img , because my TV picks up backup copy. It is easy to check if you run "cat /mtd_rwarea/Version.0"

Code: Select all

TV LN52A850
# cat /mtd_rwarea/Version.0
cat: /mtd_rwarea/Version.0: No such file or directory
# cat /mtd_rwarea/Version.1
SWU_T-SPHAUSC_001003_I04_EK000DK000JK000AK000_080813
# cat /proc/cpuinfo | grep Hard
Hardware        : Samsung-SDP75 Evaluation Board
# 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
I have figured out why my generated exe.img was bad. I was using squashfs tools 3.1 for windows. Although I have replicated all settings to make compatible image, TV probably still did not like the fact that squashfs image was version 3.1. Fortunately SamyGO extensions include native squashfs tools build for the TV. After I used it for image generation, my TV took the image and now I have telnetd daemon starting automatically when TV is on.


Hello arris69,

Unfortunately I cannot install .ko modules from original SamyGO package, due to slight version mismatch, which I have described in item #3 of this post: http://forum.samygo.tv/viewtopic.php?f=4&t=207
Can you do a favor and build cifs.ko with CONFIG_LOCALVERSION=_V403_V6K ?

Re: Modifying the bootloader

Posted: Thu Dec 17, 2009 11:20 am
by arris69
tskitishvili wrote:...

Hello arris69,

Unfortunately I cannot install .ko modules from original SamyGO package, due to slight version mismatch, which I have described in item #3 of this post: http://forum.samygo.tv/viewtopic.php?f=4&t=207
Can you do a favor and build cifs.ko with CONFIG_LOCALVERSION=_V403_V6K ?
i have no plans to release some new stuff this year, but i watch the forum so "SamyGO All Extensions v0.04" should
match the most requested fixes/functions, and support more tv models.

so it is important that you post fix solutions and professional error/success reports ;) , i just have one uexxb7020 for testing :)

arris

Re: Modifying the bootloader

Posted: Thu Dec 17, 2009 11:57 am
by tskitishvili
arris69 wrote:
tskitishvili wrote:...
i have no plans to release some new stuff this year, but i watch the forum so "SamyGO All Extensions v0.04" should
match the most requested fixes/functions, and support more tv models.
arris
I'm not asking to speedup any release. :) I would like to test modified cifs.ko . The modification I ask does not require rebuilding any toolchain or building new kernel. The model of my TV is running SamyGO compatible version of linux (2.6.18_SELP-ARM). The sub version info ( _V403_V6K ) is just optional comments which can be added via config variable. You can set it temporarily, build just cifs and then remove it. Please.

Re: Modifying the bootloader

Posted: Thu Dec 17, 2009 1:19 pm
by arris69
tskitishvili wrote:
arris69 wrote:
tskitishvili wrote:...
i have no plans to release some new stuff this year, but i watch the forum so "SamyGO All Extensions v0.04" should
match the most requested fixes/functions, and support more tv models.
arris
I'm not asking to speedup any release. :) I would like to test modified cifs.ko . The modification I ask does not require rebuilding any toolchain or building new kernel. The model of my TV is running SamyGO compatible version of linux (2.6.18_SELP-ARM). The sub version info ( _V403_V6K ) is just optional comments which can be added via config variable. You can set it temporarily, build just cifs and then remove it. Please.
http://linux.zsolttech.com/Samsung/T-SPHAUSC-cifs.zip

i wait for full testreport!!

arris

Re: Modifying the bootloader

Posted: Fri Dec 18, 2009 7:03 am
by tskitishvili
Thank you, arris

Unfortunately I've got segmentation fault while running mount. Do you know if there is any log file or core dump I can analyze upon crash ?

Re: Modifying the bootloader

Posted: Fri Dec 18, 2009 8:33 am
by arris69
tskitishvili wrote:Thank you, arris

Unfortunately I've got segmentation fault while running mount. Do you know if there is any log file or core dump I can analyze upon crash ?
there is somewhere a thread how to enable logging to usb, than you get the coredump file in the root of usb stick
esewhere i think you get it on /mtd_rwarea or in current dir (i am not shure), so if you cd /dtv/usb/sd.. may you get one on usb.

hth
arris
ps: can you pls post

Code: Select all

cat /proc/cpuinfo
and

Code: Select all

cat /sys/selp/vd/lspinfo/*

Re: Modifying the bootloader

Posted: Fri Dec 18, 2009 10:39 am
by tskitishvili
# cat /proc/cpuinfo

Code: Select all

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
# cat /sys/selp/vd/lspinfo/*

Code: Select all

A1(arm1136jfs),Bayhill+(arm920tdmi[arm926ej-s])
20071023
bayhill+/a1
P17
arm_v5t_le/arm_v6_vfp_le
17
SELP Version            : v2.6.18_SELP_3.X_GA_bayhill+/a1
Board Name              : A1(arm1136jfs),Bayhill+(arm920tdmi[arm926ej-s])
LSP Name                : bayhill+/a1
LSP Revision            : 20071023.P17
SELP Architecture       : arm_v5t_le/arm_v6_vfp_le
Patch Level             : 17