<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.samygo.tv/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tom+van</id>
	<title>SamyGO - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.samygo.tv/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tom+van"/>
	<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Special:Contributions/Tom_van"/>
	<updated>2026-05-06T22:23:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3747</id>
		<title>Open source software for series A7/8/9 SH4</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3747"/>
		<updated>2013-03-14T17:46:53Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Increasing discontent with Samsung software resulted in looking for better alternative.&lt;br /&gt;
And open source community offers one.&lt;br /&gt;
Belive or not, Samsung TV can run without Samsung's software!&lt;br /&gt;
=Disclaimer=&lt;br /&gt;
System is very experimental and many components are work in progress.&lt;br /&gt;
It is not yet suitable for general public. If you are not experienced in linux, please do not use it.&lt;br /&gt;
There is &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;ABSOLUTELY NO WARRANTY&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=System components=&lt;br /&gt;
System is based on Linux, modified [http://www.stlinux.com/ STLinux] from ST Microelectronics&lt;br /&gt;
and [http://duckbox.info/ DuckBox] - collection of open software for satellite box.&lt;br /&gt;
TDT used in following text is acronym for Team Duck Box.&lt;br /&gt;
&lt;br /&gt;
===Build toolchain===&lt;br /&gt;
Used TDT build system with patches for SAMTV&lt;br /&gt;
&lt;br /&gt;
===Linux kernel===&lt;br /&gt;
[ftp://ftp.stlinux.com/pub/stlinux/2.4/updates/SRPMS/stlinux24-host-kernel-source-sh4-2.6.32.59_stm24_0211-211.src.rpm linux kernel] version 2.6.32.59 stm24-211&lt;br /&gt;
with TDT patches and SAMTV board setup.&lt;br /&gt;
Kernel is configured for nfs boot and root. To speed up boot time, usb disk and flash drivers are NOT compiled in, so this kernel will NOT work with usb root.&lt;br /&gt;
&lt;br /&gt;
===Havana player2===&lt;br /&gt;
Open source multimedia player framework from ST Microelectronics.&lt;br /&gt;
In original Samsung software is used player version 1 with STAPI. Player 2 has linux native DVB API.&lt;br /&gt;
Used TDT patched version 2-191 with aditional patches for SAMTV.&lt;br /&gt;
&lt;br /&gt;
===Native linux DVB-T driver===&lt;br /&gt;
Driver for DVB-T frontend S5H1432 was backported from linux 3.6 and substantially reworked.&lt;br /&gt;
&lt;br /&gt;
===Initialization and control of TV hardware===&lt;br /&gt;
User mode process for initializing and setting&lt;br /&gt;
* FRC (frame rate converter) - I belive FRC9459M chip from Micronas is used&lt;br /&gt;
* FBE (FBE2 picture enhancer, commercially called DNIe)&lt;br /&gt;
* LDM (local dimming control)&lt;br /&gt;
* NTP3100 speaker amplifiers&lt;br /&gt;
Also used for&lt;br /&gt;
* SCH (scaler handling) - communication with secondary CPU MTK8226&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=User software=&lt;br /&gt;
&lt;br /&gt;
[[File:neutrino-samtv.jpg|400px|right]]&lt;br /&gt;
===Neutrino MP===&lt;br /&gt;
User software for satellite receiver. Multiplatform version with DVB-T.&lt;br /&gt;
&lt;br /&gt;
Sources git://gitorious.org/neutrino-mp/neutrino-mp.git&lt;br /&gt;
&lt;br /&gt;
* Fast start-up and operation&lt;br /&gt;
* Reasonable memory requirements - 50 MB free when running&lt;br /&gt;
* Nice GUI with partial transparency&lt;br /&gt;
* Advanced live graphs of signal quality.&lt;br /&gt;
* Simple media player and UPnP browser, not yet working on Samsung TV.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:showtime-samtv1.jpg|400px|right]]&lt;br /&gt;
===Showtime media center===&lt;br /&gt;
Nice media center software now being ported to sh4 / Havana player2.&lt;br /&gt;
See http://www.lonelycoder.com/showtime/&lt;br /&gt;
&lt;br /&gt;
* Appealing animated GUI&lt;br /&gt;
* Advanced browser with support for local files, smb, http, UPnP&lt;br /&gt;
* Automatic search in info databases&lt;br /&gt;
* Demanding lot of CPU and GPU power, original GUI uses OpenGL rendering&lt;br /&gt;
* Plugins and internal scripting in JavaScript&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test showed that number of simplifications in GUI must be done to adjust low CPU power of Samsung TV.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:showtime-samtv2.jpg|220px]] [[File:showtime-samtv3.jpg|220px]] [[File:showtime-samtv-min.jpg|220px]] [[File:showtime-samtv-max.jpg|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DuckBox project includes also following user software&lt;br /&gt;
&lt;br /&gt;
* Enigma 2: Satellite receiver user software. Works and supports DVB-T. Media player does not decode all formats supported by Havana player2.&lt;br /&gt;
* XBMC: Media center works but is very very slow and hardly fits into memory. Not for real use on this architecture.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Instalation=&lt;br /&gt;
To be described&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=TODO list=&lt;br /&gt;
* Factory and user settings of FBE2, FRC, LDM&lt;br /&gt;
* More filter banks for speaker amplifiers&lt;br /&gt;
* setting EEPROM handling&lt;br /&gt;
* HDMI input handling&lt;br /&gt;
* Micom IR remote control input and improve micom handler&lt;br /&gt;
* HDMI CEC&lt;br /&gt;
* SPIDF output&lt;br /&gt;
&lt;br /&gt;
===Functions NOT planned to be suported===&lt;br /&gt;
* Analogue TV&lt;br /&gt;
* Analogue video in/out&lt;br /&gt;
&lt;br /&gt;
=Misc=&lt;br /&gt;
Also see [https://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=5528 discussion]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3746</id>
		<title>Open source software for series A7/8/9 SH4</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3746"/>
		<updated>2013-03-14T17:45:41Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Increasing discontent with Samsung software resulted in looking for better alternative.&lt;br /&gt;
And open source community offers one.&lt;br /&gt;
Belive or not, Samsung TV can run without Samsung's software!&lt;br /&gt;
=Disclaimer=&lt;br /&gt;
System is very experimental and many components are work in progress.&lt;br /&gt;
It is not yet suitable for general public. If you are not experienced in linux, please do not use it.&lt;br /&gt;
There is &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;ABSOLUTELY NO WARRANTY&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=System components=&lt;br /&gt;
System is based on Linux, modified [http://www.stlinux.com/ STLinux] from ST Microelectronics&lt;br /&gt;
and [http://duckbox.info/ DuckBox] - collection of open software for satellite box.&lt;br /&gt;
TDT used in following text is acronym for Team Duck Box.&lt;br /&gt;
&lt;br /&gt;
===Build toolchain===&lt;br /&gt;
Used TDT build system with patches for SAMTV&lt;br /&gt;
&lt;br /&gt;
===Linux kernel===&lt;br /&gt;
[ftp://ftp.stlinux.com/pub/stlinux/2.4/updates/SRPMS/stlinux24-host-kernel-source-sh4-2.6.32.59_stm24_0211-211.src.rpm linux kernel] version 2.6.32.59 stm24-211&lt;br /&gt;
with TDT patches and SAMTV board setup.&lt;br /&gt;
Kernel is configured for nfs boot and root. To speed up boot time, usb disk and flash drivers are NOT compiled in, so this kernel will NOT work with usb root.&lt;br /&gt;
&lt;br /&gt;
===Havana player2===&lt;br /&gt;
Open source multimedia player framework from ST Microelectronics.&lt;br /&gt;
In original Samsung software is used player version 1 with STAPI. Player 2 has linux native DVB API.&lt;br /&gt;
Used TDT patched version 2-191 with aditional patches for SAMTV.&lt;br /&gt;
&lt;br /&gt;
===Native linux DVB-T driver===&lt;br /&gt;
Driver for DVB-T frontend S5H1432 was backported from linux 3.6 and substantially reworked.&lt;br /&gt;
&lt;br /&gt;
===Initialization and control of TV hardware===&lt;br /&gt;
User mode process for initializing and setting&lt;br /&gt;
* FRC (frame rate converter) - I belive FRC9459M chip from Micronas is used&lt;br /&gt;
* FBE (FBE2 picture enhancer, commercially called DNIe)&lt;br /&gt;
* LDM (local dimming control)&lt;br /&gt;
* NTP3100 speaker amplifiers&lt;br /&gt;
Also used for&lt;br /&gt;
* SCH (scaler handling) - communication with secondary CPU MTK8226&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=User software=&lt;br /&gt;
&lt;br /&gt;
[[File:neutrino-samtv.jpg|400px|right]]&lt;br /&gt;
===Neutrino MP===&lt;br /&gt;
User software for satellite receiver. Multiplatform version with DVB-T.&lt;br /&gt;
&lt;br /&gt;
Sources git://gitorious.org/neutrino-mp/neutrino-mp.git&lt;br /&gt;
&lt;br /&gt;
* Fast start-up and operation&lt;br /&gt;
* Reasonable memory requirements - 50 MB free when running&lt;br /&gt;
* Nice GUI with partial transparency&lt;br /&gt;
* Advanced live graphs of signal quality.&lt;br /&gt;
* Simple media player and UPnP browser, not yet working on Samsung TV.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:showtime-samtv1.jpg|400px|right]]&lt;br /&gt;
===Showtime media center===&lt;br /&gt;
Nice media center software now being ported to sh4 / Havana player2.&lt;br /&gt;
See http://www.lonelycoder.com/showtime/&lt;br /&gt;
&lt;br /&gt;
* Appealing animated GUI&lt;br /&gt;
* Advanced browser with support for local files, smb, http, UPnP&lt;br /&gt;
* Automatic search in info databases&lt;br /&gt;
* Demanding lot of CPU and GPU power, original GUI uses OpenGL rendering&lt;br /&gt;
* Plugins and internal scripting in JavaScript&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test showed that number of simplifications in GUI must be done to adjust low CPU power of Samsung TV.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:showtime-samtv2.jpg|220px]] [[File:showtime-samtv3.jpg|220px]] [[File:showtime-samtv-min.jpg|220px]] [[File:showtime-samtv-max.jpg|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DuckBox project includes also following user software&lt;br /&gt;
&lt;br /&gt;
* Enigma 2: Satellite receiver user software. Works and supports DVB-T. Media player does not decode all formats supported by Havana player2.&lt;br /&gt;
* XBMC: Media center works but is very very slow and hardly fits into memory. Not for real use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Instalation=&lt;br /&gt;
To be described&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=TODO list=&lt;br /&gt;
* Factory and user settings of FBE2, FRC, LDM&lt;br /&gt;
* More filter banks for speaker amplifiers&lt;br /&gt;
* setting EEPROM handling&lt;br /&gt;
* HDMI input handling&lt;br /&gt;
* Micom IR remote control input and improve micom handler&lt;br /&gt;
* HDMI CEC&lt;br /&gt;
* SPIDF output&lt;br /&gt;
&lt;br /&gt;
===Functions NOT planned to be suported===&lt;br /&gt;
* Analogue TV&lt;br /&gt;
* Analogue video in/out&lt;br /&gt;
&lt;br /&gt;
=Misc=&lt;br /&gt;
Also see [https://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=5528 discussion]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3745</id>
		<title>Open source software for series A7/8/9 SH4</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3745"/>
		<updated>2013-03-14T17:44:33Z</updated>

		<summary type="html">&lt;p&gt;Tom van: add neutrino-mp and screenshots&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Increasing discontent with Samsung software resulted in looking for better alternative.&lt;br /&gt;
And open source community offers one.&lt;br /&gt;
Belive or not, Samsung TV can run without Samsung's software!&lt;br /&gt;
=Disclaimer=&lt;br /&gt;
System is very experimental and many components are work in progress.&lt;br /&gt;
It is not yet suitable for general public. If you are not experienced in linux, please do not use it.&lt;br /&gt;
There is &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;ABSOLUTELY NO WARRANTY&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=System components=&lt;br /&gt;
System is based on Linux, modified [http://www.stlinux.com/ STLinux] from ST Microelectronics&lt;br /&gt;
and [http://duckbox.info/ DuckBox] - collection of open software for satellite box.&lt;br /&gt;
TDT used in following text is acronym for Team Duck Box.&lt;br /&gt;
&lt;br /&gt;
===Build toolchain===&lt;br /&gt;
Used TDT build system with patches for SAMTV&lt;br /&gt;
&lt;br /&gt;
===Linux kernel===&lt;br /&gt;
[ftp://ftp.stlinux.com/pub/stlinux/2.4/updates/SRPMS/stlinux24-host-kernel-source-sh4-2.6.32.59_stm24_0211-211.src.rpm linux kernel] version 2.6.32.59 stm24-211&lt;br /&gt;
with TDT patches and SAMTV board setup.&lt;br /&gt;
Kernel is configured for nfs boot and root. To speed up boot time, usb disk and flash drivers are NOT compiled in, so this kernel will NOT work with usb root.&lt;br /&gt;
&lt;br /&gt;
===Havana player2===&lt;br /&gt;
Open source multimedia player framework from ST Microelectronics.&lt;br /&gt;
In original Samsung software is used player version 1 with STAPI. Player 2 has linux native DVB API.&lt;br /&gt;
Used TDT patched version 2-191 with aditional patches for SAMTV.&lt;br /&gt;
&lt;br /&gt;
===Native linux DVB-T driver===&lt;br /&gt;
Driver for DVB-T frontend S5H1432 was backported from linux 3.6 and substantially reworked.&lt;br /&gt;
&lt;br /&gt;
===Initialization and control of TV hardware===&lt;br /&gt;
User mode process for initializing and setting&lt;br /&gt;
* FRC (frame rate converter) - I belive FRC9459M chip from Micronas is used&lt;br /&gt;
* FBE (FBE2 picture enhancer, commercially called DNIe)&lt;br /&gt;
* LDM (local dimming control)&lt;br /&gt;
* NTP3100 speaker amplifiers&lt;br /&gt;
Also used for&lt;br /&gt;
* SCH (scaler handling) - communication with secondary CPU MTK8226&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=User software=&lt;br /&gt;
&lt;br /&gt;
[[File:neutrino-samtv.jpg|400px|right]]&lt;br /&gt;
===Neutrino MP===&lt;br /&gt;
User software for satellite receiver. Multiplatform version with DVB-T.&lt;br /&gt;
&lt;br /&gt;
Sources git://gitorious.org/neutrino-mp/neutrino-mp.git&lt;br /&gt;
&lt;br /&gt;
* Fast start-up and operation&lt;br /&gt;
* Reasonable memory requirements - 50 MB free when running&lt;br /&gt;
* Nice GUI with partial transparency&lt;br /&gt;
* Advanced live graphs of signal quality.&lt;br /&gt;
* Simple media player and UPnP browser, not yet working on Samsung TV.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[File:showtime-samtv1.jpg|400px|right]]&lt;br /&gt;
===Showtime media center===&lt;br /&gt;
Nice media center software now being ported to sh4 / Havana player2.&lt;br /&gt;
See http://www.lonelycoder.com/showtime/&lt;br /&gt;
&lt;br /&gt;
* Appealing animated GUI&lt;br /&gt;
* Advanced browser with support for local files, smb, http, UPnP&lt;br /&gt;
* Automatic search in info databases&lt;br /&gt;
* Demanding lot of CPU and GPU power, original GUI uses OpenGL rendering&lt;br /&gt;
* Plugins and internal scripting in JavaScript&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Test showed that number of simplifications in GUI must be done to adjust low CPU power of Samsung TV.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:showtime-samtv2.jpg|220px]] [[File:showtime-samtv3.jpg|220px]] [[File:showtime-samtv-min.jpg|220px]] [[File:showtime-samtv-max.jpg|220px]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
DuckBox project includes also following user software&lt;br /&gt;
&lt;br /&gt;
* Enigma 2: Satellite receiver user software. Works and supports DVB-T. Media player does not decode all formats supported by Havana player2.&lt;br /&gt;
* XBMC: Media center works but is very very slow and hardly fits into memory. Not for real use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Instalation=&lt;br /&gt;
To be described&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=TODO list=&lt;br /&gt;
* Factory and user settings of FBE2, FRC, LDM&lt;br /&gt;
* More filter banks for speaker amplifiers&lt;br /&gt;
* setting EEPROM handling&lt;br /&gt;
* HDMI input handling&lt;br /&gt;
* Micom IR remote control input and improve micom handler&lt;br /&gt;
* HDMI CEC&lt;br /&gt;
* SPIDF output&lt;br /&gt;
&lt;br /&gt;
===Functions NOT planned to be suported===&lt;br /&gt;
* Analogue TV&lt;br /&gt;
* Analogue video in/out&lt;br /&gt;
&lt;br /&gt;
=Misc=&lt;br /&gt;
Also see [https://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=5528 discussion]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=File:Showtime-samtv-max.jpg&amp;diff=3744</id>
		<title>File:Showtime-samtv-max.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=File:Showtime-samtv-max.jpg&amp;diff=3744"/>
		<updated>2013-03-14T17:40:50Z</updated>

		<summary type="html">&lt;p&gt;Tom van: showtime really big font&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;showtime really big font&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=File:Showtime-samtv-min.jpg&amp;diff=3743</id>
		<title>File:Showtime-samtv-min.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=File:Showtime-samtv-min.jpg&amp;diff=3743"/>
		<updated>2013-03-14T17:39:35Z</updated>

		<summary type="html">&lt;p&gt;Tom van: showtime minimal font size&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;showtime minimal font size&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=File:Showtime-samtv3.jpg&amp;diff=3742</id>
		<title>File:Showtime-samtv3.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=File:Showtime-samtv3.jpg&amp;diff=3742"/>
		<updated>2013-03-14T17:38:20Z</updated>

		<summary type="html">&lt;p&gt;Tom van: showtime settings menu&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;showtime settings menu&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=File:Showtime-samtv2.jpg&amp;diff=3741</id>
		<title>File:Showtime-samtv2.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=File:Showtime-samtv2.jpg&amp;diff=3741"/>
		<updated>2013-03-14T17:35:47Z</updated>

		<summary type="html">&lt;p&gt;Tom van: showtime multimedia browser&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;showtime multimedia browser&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=File:Showtime-samtv1.jpg&amp;diff=3740</id>
		<title>File:Showtime-samtv1.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=File:Showtime-samtv1.jpg&amp;diff=3740"/>
		<updated>2013-03-14T17:04:20Z</updated>

		<summary type="html">&lt;p&gt;Tom van: showtime design on black background perfectly fits Samsung LE46A956 black frame&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;showtime design on black background perfectly fits Samsung LE46A956 black frame&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=File:Neutrino-samtv.jpg&amp;diff=3739</id>
		<title>File:Neutrino-samtv.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=File:Neutrino-samtv.jpg&amp;diff=3739"/>
		<updated>2013-03-14T16:54:15Z</updated>

		<summary type="html">&lt;p&gt;Tom van: neutrino mp just ported to Samsung LE46A956&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;neutrino mp just ported to Samsung LE46A956&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3738</id>
		<title>Open source software for series A7/8/9 SH4</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3738"/>
		<updated>2013-03-11T11:20:48Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Increasing discontent with Samsung software resulted in looking for better alternative.&lt;br /&gt;
And open source community offers one.&lt;br /&gt;
Belive or not, Samsung TV can run without Samsung's software!&lt;br /&gt;
=Disclaimer=&lt;br /&gt;
System is very experimental and many components are work in progress.&lt;br /&gt;
It is not yet suitable for general public. If you are not experienced in linux, please do not use it.&lt;br /&gt;
There is &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;ABSOLUTELY NO WARRANTY&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Components=&lt;br /&gt;
System is based on Linux, modified [http://www.stlinux.com/ STLinux] from ST Microelectronics&lt;br /&gt;
and [http://duckbox.info/ DuckBox] - collection of open software for satellite box.&lt;br /&gt;
TDT used in following text is acronym for Team Duck Box.&lt;br /&gt;
&lt;br /&gt;
===Build toolchain===&lt;br /&gt;
Used TDT build system with patches for SAMTV&lt;br /&gt;
&lt;br /&gt;
===Linux kernel===&lt;br /&gt;
[ftp://ftp.stlinux.com/pub/stlinux/2.4/updates/SRPMS/stlinux24-host-kernel-source-sh4-2.6.32.59_stm24_0211-211.src.rpm linux kernel] version 2.6.32.59 stm24-211&lt;br /&gt;
with TDT patches and SAMTV board setup.&lt;br /&gt;
Kernel is configured for nfs boot and root. To speed up boot time, usb disk and flash drivers are NOT compiled in, so this kernel will NOT work with usb root.&lt;br /&gt;
&lt;br /&gt;
===Havana player2===&lt;br /&gt;
Open source multimedia player framework from ST Microelectronics.&lt;br /&gt;
In original Samsung software is used player version 1 with STAPI. Player 2 has linux native DVB API.&lt;br /&gt;
Used TDT patched version 2-191 with aditional patches for SAMTV.&lt;br /&gt;
&lt;br /&gt;
===Native linux DVB-T driver===&lt;br /&gt;
Driver for DVB-T frontend S5H1432 was backported from linux 3.6 and substantially reworked.&lt;br /&gt;
&lt;br /&gt;
===Initialization and control of TV hardware===&lt;br /&gt;
User mode process for initializing and setting&lt;br /&gt;
* FRC (frame rate converter) - I belive FRC9459M chip from Micronas is used&lt;br /&gt;
* FBE (FBE2 picture enhancer, commercially called DNIe)&lt;br /&gt;
* LDM (local dimming control)&lt;br /&gt;
* NTP3100 speaker amplifiers&lt;br /&gt;
Also used for&lt;br /&gt;
* SCH (scaler handling) - communication with secondary CPU MTK8226&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Showtime media center===&lt;br /&gt;
Nice media center software now being ported to sh4 / Havana player2. See http://www.lonelycoder.com/showtime/&lt;br /&gt;
&lt;br /&gt;
===Other software===&lt;br /&gt;
DuckBox project includes following user software&lt;br /&gt;
&lt;br /&gt;
* Enigma 2: Satellite receiver user software. Works and supports DVB-T. Media player does not decode all formats supported by Havana player2.&lt;br /&gt;
* Neutrino MP: Satellite receiver user software. New version with DVB-T shold be tested. Fast start-up and operation. Good and simple media player.&lt;br /&gt;
* XBMC: Media center works but is very very slow and hardly fits into memory. Not for real use.&lt;br /&gt;
&lt;br /&gt;
=Instalation=&lt;br /&gt;
To be described&lt;br /&gt;
&lt;br /&gt;
=TODO list=&lt;br /&gt;
* Factory and user settings of FBE2, FRC, LDM&lt;br /&gt;
* More filter banks for speaker amplifiers&lt;br /&gt;
* setting EEPROM handling&lt;br /&gt;
* HDMI input handling&lt;br /&gt;
* Micom IR remote control input and improve micom handler&lt;br /&gt;
* HDMI CEC&lt;br /&gt;
* SPIDF output&lt;br /&gt;
&lt;br /&gt;
===Functions NOT planned to be suported===&lt;br /&gt;
* Analogue TV&lt;br /&gt;
* Analogue video in/out&lt;br /&gt;
&lt;br /&gt;
=Misc=&lt;br /&gt;
Also see [https://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=5528 discussion]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3737</id>
		<title>Open source software for series A7/8/9 SH4</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3737"/>
		<updated>2013-03-11T11:15:41Z</updated>

		<summary type="html">&lt;p&gt;Tom van: added TODO list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Increasing discontent with Samsung software resulted in looking for better alternative.&lt;br /&gt;
And open source community offers one.&lt;br /&gt;
Belive or not, Samsung TV can run without Samsung's software!&lt;br /&gt;
=Disclaimer=&lt;br /&gt;
System is very experimental and many components are work in progress.&lt;br /&gt;
It is not yet suitable for general public. If you are not experienced in linux, please do not use it.&lt;br /&gt;
There is &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;ABSOLUTELY NO WARRANTY&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Components=&lt;br /&gt;
System is based on Linux, modified [http://www.stlinux.com/ STLinux] from ST Microelectronics&lt;br /&gt;
and [http://duckbox.info/ DuckBox] - collection of open software for satellite box.&lt;br /&gt;
TDT used in following text is acronym for Team Duck Box.&lt;br /&gt;
&lt;br /&gt;
===Build toolchain===&lt;br /&gt;
Used TDT build system with patches for SAMTV&lt;br /&gt;
&lt;br /&gt;
===Linux kernel===&lt;br /&gt;
[ftp://ftp.stlinux.com/pub/stlinux/2.4/updates/SRPMS/stlinux24-host-kernel-source-sh4-2.6.32.59_stm24_0211-211.src.rpm linux kernel] version 2.6.32.59 stm24-211&lt;br /&gt;
with TDT patches and SAMTV board setup.&lt;br /&gt;
Kernel is configured for nfs boot and root. To speed up boot time, usb disk and flash drivers are NOT compiled in, so this kernel will NOT work with usb root.&lt;br /&gt;
&lt;br /&gt;
===Havana player2===&lt;br /&gt;
Open source multimedia player framework from ST Microelectronics.&lt;br /&gt;
In original Samsung software is used player version 1 with STAPI. Player 2 has linux native DVB API.&lt;br /&gt;
Used TDT patched version 2-191 with aditional patches for SAMTV.&lt;br /&gt;
&lt;br /&gt;
===Native linux DVB-T driver===&lt;br /&gt;
Driver for DVB-T frontend S5H1432 was backported from linux 3.6 and substantially reworked.&lt;br /&gt;
&lt;br /&gt;
===Initialization and control of TV hardware===&lt;br /&gt;
User mode process for initializing and setting&lt;br /&gt;
* FRC (frame rate converter) - I belive FRC9459M chip from Micronas is used&lt;br /&gt;
* FBE2 (picture enhancer, commercially called DNIe)&lt;br /&gt;
* local dimming control&lt;br /&gt;
* NTP3100 speaker amplifiers&lt;br /&gt;
Also used for&lt;br /&gt;
* SCH (scaler handling) - communication with secondary CPU MTK8226&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Showtime media center===&lt;br /&gt;
Nice media center software now being ported to sh4 / Havana player2. See http://www.lonelycoder.com/showtime/&lt;br /&gt;
&lt;br /&gt;
===Other software===&lt;br /&gt;
DuckBox project includes following user software&lt;br /&gt;
&lt;br /&gt;
* Enigma 2: Satellite receiver user software. Works and supports DVB-T. Media player does not decode all formats supported by Havana player2.&lt;br /&gt;
* Neutrino MP: Satellite receiver user software. New version with DVB-T shold be tested. Fast start-up and operation. Good and simple media player.&lt;br /&gt;
* XBMC: Media center works but is very very slow and hardly fits into memory. Not for real use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Instalation=&lt;br /&gt;
To be described&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=TODO list=&lt;br /&gt;
* Factory and user settings of FBE2, FRCM, LD&lt;br /&gt;
* setting EEPROM handling&lt;br /&gt;
* HDMI input handling&lt;br /&gt;
* Micom IR remote control input and improve micom handler&lt;br /&gt;
* HDMI CEC&lt;br /&gt;
* SPIDF output&lt;br /&gt;
&lt;br /&gt;
===Functions NOT planned to be suported===&lt;br /&gt;
* Analogue TV&lt;br /&gt;
* Analogue video in/out&lt;br /&gt;
&lt;br /&gt;
Also see [https://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=5528 discussion]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3736</id>
		<title>Open source software for series A7/8/9 SH4</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3736"/>
		<updated>2013-03-10T09:29:40Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Increasing discontent with Samsung software resulted in looking for better alternative.&lt;br /&gt;
And open source community offers one.&lt;br /&gt;
Belive or not, Samsung TV can run without Samsung's software!&lt;br /&gt;
=Disclaimer=&lt;br /&gt;
System is very experimental and many components are work in progress.&lt;br /&gt;
It is not yet suitable for general public. If you are not experienced in linux, please do not use it.&lt;br /&gt;
There is &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;ABSOLUTELY NO WARRANTY&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Components=&lt;br /&gt;
System is based on Linux, modified [http://www.stlinux.com/ STLinux] from ST Microelectronics&lt;br /&gt;
and [http://duckbox.info/ DuckBox] - collection of open software for satellite box.&lt;br /&gt;
TDT used in following text is acronym for Team Duck Box.&lt;br /&gt;
&lt;br /&gt;
===Build toolchain===&lt;br /&gt;
Used TDT build system with patches for SAMTV&lt;br /&gt;
&lt;br /&gt;
===Linux kernel===&lt;br /&gt;
[ftp://ftp.stlinux.com/pub/stlinux/2.4/updates/SRPMS/stlinux24-host-kernel-source-sh4-2.6.32.59_stm24_0211-211.src.rpm linux kernel] version 2.6.32.59 stm24-211&lt;br /&gt;
with TDT patches and SAMTV board setup.&lt;br /&gt;
Kernel is configured for nfs boot and root. To speed up boot time, usb disk and flash drivers are NOT compiled in, so this kernel will NOT work with usb root.&lt;br /&gt;
&lt;br /&gt;
===Havana player2===&lt;br /&gt;
Open source multimedia player framework from ST Microelectronics.&lt;br /&gt;
In original Samsung software is used player version 1 with STAPI. Player 2 has linux native DVB API.&lt;br /&gt;
Used TDT patched version 2-191 with aditional patches for SAMTV.&lt;br /&gt;
&lt;br /&gt;
===Native linux DVB-T driver===&lt;br /&gt;
Driver for DVB-T frontend S5H1432 was backported from linux 3.6 and substantially reworked.&lt;br /&gt;
&lt;br /&gt;
===Showtime media center===&lt;br /&gt;
Nice media center software now being ported to sh4 / Havana player2. See http://www.lonelycoder.com/showtime/&lt;br /&gt;
&lt;br /&gt;
===Other software===&lt;br /&gt;
DuckBox project includes following user software&lt;br /&gt;
&lt;br /&gt;
* Enigma 2: Satellite receiver user software. Works and supports DVB-T. Media player does not decode all formats supported by Havana player2.&lt;br /&gt;
* Neutrino HD: Satellite receiver user software. Works but does not support DVB-T. Fast start-up and operation. Good and simple media player.&lt;br /&gt;
* XBMC: Media center works but is very very slow and hardly fits into memory. Not for real use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Instalation=&lt;br /&gt;
To be described&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also see [https://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=5528 discussion]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3735</id>
		<title>Open source software for series A7/8/9 SH4</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3735"/>
		<updated>2013-03-10T09:28:19Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Increasing discontent with Samsung software resulted in looking for better alternative.&lt;br /&gt;
And open source community offers one.&lt;br /&gt;
Belive or not, Samsung TV can run without Samsung's software!&lt;br /&gt;
=Disclaimer=&lt;br /&gt;
System is very experimental and many components are work in progress.&lt;br /&gt;
It is not yet suitable for general public. If you are not experienced in linux, please do not use it.&lt;br /&gt;
There is &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;ABSOLUTELY NO WARRANTY&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Components=&lt;br /&gt;
System is based on Linux, modified [http://www.stlinux.com/ STLinux] from ST Microelectronics&lt;br /&gt;
and [http://duckbox.info/ DuckBox] - collection of open software for satellite box.&lt;br /&gt;
TDT used in following text is acronym for Team Duck Box.&lt;br /&gt;
&lt;br /&gt;
==Build toolchain==&lt;br /&gt;
Used TDT build system with patches for SAMTV&lt;br /&gt;
&lt;br /&gt;
==Linux kernel==&lt;br /&gt;
[ftp://ftp.stlinux.com/pub/stlinux/2.4/updates/SRPMS/stlinux24-host-kernel-source-sh4-2.6.32.59_stm24_0211-211.src.rpm linux kernel] version 2.6.32.59 stm24-211&lt;br /&gt;
with TDT patches and SAMTV board setup.&lt;br /&gt;
Kernel is configured for nfs boot and root. To speed up boot time, usb disk and flash drivers are NOT compiled in, so this kernel will NOT work with usb root.&lt;br /&gt;
&lt;br /&gt;
==Havana player2==&lt;br /&gt;
Open source multimedia player framework from ST Microelectronics.&lt;br /&gt;
In original Samsung software is used player version 1 with STAPI. Player 2 has linux native DVB API.&lt;br /&gt;
Used TDT patched version 2-191 with aditional patches for SAMTV.&lt;br /&gt;
&lt;br /&gt;
==Native linux DVB-T driver==&lt;br /&gt;
Driver for DVB-T frontend S5H1432 was backported from linux 3.6 and substantially reworked.&lt;br /&gt;
&lt;br /&gt;
==Showtime media center==&lt;br /&gt;
Nice media center software now being ported to sh4 / Havana player2. See http://www.lonelycoder.com/showtime/&lt;br /&gt;
&lt;br /&gt;
==Other software==&lt;br /&gt;
DuckBox project includes following user software&lt;br /&gt;
&lt;br /&gt;
* Enigma 2: Satellite receiver user software. Works and supports DVB-T. Media player does not decode all formats supported by Havana player2.&lt;br /&gt;
* Neutrino HD: Satellite receiver user software. Works but does not support DVB-T. Fast start-up and operation. Good and simple media player.&lt;br /&gt;
* XBMC: Media center works but is very very slow and hardly fits into memory. Not for real use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Instalation=&lt;br /&gt;
To be described&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also see [https://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=5528 discussion]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3734</id>
		<title>Open source software for series A7/8/9 SH4</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Open_source_software_for_series_A7/8/9_SH4&amp;diff=3734"/>
		<updated>2013-03-10T09:24:58Z</updated>

		<summary type="html">&lt;p&gt;Tom van: Created page with &amp;quot;Increasing discontent with Samsung software resulted in looking for better alternative. And open source community offers one. Belive or not, Samsung TV can run without Samsung...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Increasing discontent with Samsung software resulted in looking for better alternative.&lt;br /&gt;
And open source community offers one.&lt;br /&gt;
Belive or not, Samsung TV can run without Samsung's software!&lt;br /&gt;
=Disclaimer=&lt;br /&gt;
System is very experimental and many components are work in progress.&lt;br /&gt;
It is not yet suitable for general public. If you are not experienced in linux, please do not use it.&lt;br /&gt;
There is &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;ABSOLUTELY NO WARRANTY&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Components=&lt;br /&gt;
System is based on Linux, modified [http://www.stlinux.com/ STLinux] from ST Microelectronics&lt;br /&gt;
and [http://duckbox.info/ DuckBox] - collection of open software for satellite box.&lt;br /&gt;
TDT used in following text is acronym for Team Duck Box.&lt;br /&gt;
&lt;br /&gt;
==Build toolchain==&lt;br /&gt;
Used TDT build system with patches for SAMTV&lt;br /&gt;
&lt;br /&gt;
==Linux kernel==&lt;br /&gt;
[ftp://ftp.stlinux.com/pub/stlinux/2.4/updates/SRPMS/stlinux24-host-kernel-source-sh4-2.6.32.59_stm24_0211-211.src.rpm linux kernel] version 2.6.32.59 stm24-211&lt;br /&gt;
with TDT patches and SAMTV board setup.&lt;br /&gt;
Kernel is configured for nfs boot and root. To speed up boot time, usb disk and flash drivers are NOT compiled in, so this kernel will NOT work with usb root.&lt;br /&gt;
&lt;br /&gt;
==Havana player2==&lt;br /&gt;
Open source multimedia player framework from ST Microelectronics.&lt;br /&gt;
In original Samsung software is used player version 1 with STAPI. Player 2 has linux native DVB API.&lt;br /&gt;
Used TDT patched version 2-191 with aditional patches for SAMTV.&lt;br /&gt;
&lt;br /&gt;
==Native linux DVB-T driver==&lt;br /&gt;
Driver for DVB-T frontend S5H1432 was backported from linux 3.6 and substantially reworked.&lt;br /&gt;
&lt;br /&gt;
==Showtime media center==&lt;br /&gt;
Nice media center software now being ported to sh4 / Havana player2. See https://www.lonelycoder.com/showtime/&lt;br /&gt;
&lt;br /&gt;
==Other software==&lt;br /&gt;
DuckBox project includes following user software&lt;br /&gt;
&lt;br /&gt;
* Enigma 2: Satellite receiver user software. Works and supports DVB-T. Media player does not decode all formats supported by Havana player2.&lt;br /&gt;
* Neutrino HD: Satellite receiver user software. Works but does not support DVB-T. Fast start-up and operation. Good and simple media player.&lt;br /&gt;
* XBMC: Media center works but is very very slow and hardly fits into memory. Not for real use.&lt;br /&gt;
&lt;br /&gt;
=Instalation=&lt;br /&gt;
To be described&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also see [https://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=5528 discussion]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=The_A_Series_Wiki&amp;diff=3733</id>
		<title>The A Series Wiki</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=The_A_Series_Wiki&amp;diff=3733"/>
		<updated>2013-03-10T08:18:32Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Samsung produced TV sets with two different CPU architectures in 2008:&lt;br /&gt;
[[File:a_wiki.png|140px|right]]&lt;br /&gt;
=SH4 CPU based models=&lt;br /&gt;
&lt;br /&gt;
*[[Samsung A Series (sh4 CPU) Hacks]] and technical info&lt;br /&gt;
*[[Open source software for series A7/8/9 SH4 ]]&lt;br /&gt;
&lt;br /&gt;
== Unbricking ==&lt;br /&gt;
*[[Samsung A 6 Series (sh4 CPU) Unbricking]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=ARM CPU based models=&lt;br /&gt;
*[[Samsung A Series (2008 Model) Hacks]]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=The_A_Series_Wiki&amp;diff=3732</id>
		<title>The A Series Wiki</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=The_A_Series_Wiki&amp;diff=3732"/>
		<updated>2013-03-10T08:16:53Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Samsung produced TV sets with two different CPU architectures in 2008:&lt;br /&gt;
[[File:a_wiki.png|140px|right]]&lt;br /&gt;
=SH4 CPU based models=&lt;br /&gt;
&lt;br /&gt;
*[[Samsung A Series (sh4 CPU) Hacks]]&lt;br /&gt;
*[[Open source software for series A7/8/9 SH4 ]]&lt;br /&gt;
&lt;br /&gt;
== Unbricking ==&lt;br /&gt;
*[[Samsung A 6 Series (sh4 CPU) Unbricking]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=ARM CPU based models=&lt;br /&gt;
*[[Samsung A Series (2008 Model) Hacks]]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=The_A_Series_Wiki&amp;diff=3731</id>
		<title>The A Series Wiki</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=The_A_Series_Wiki&amp;diff=3731"/>
		<updated>2013-03-10T08:16:17Z</updated>

		<summary type="html">&lt;p&gt;Tom van: redesingned&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Samsung produced TV sets with two different CPU architectures in 2008:&lt;br /&gt;
[[File:a_wiki.png|140px|right]]&lt;br /&gt;
=SH4 CPU based models=&lt;br /&gt;
&lt;br /&gt;
*[[Samsung A Series (sh4 CPU) Hacks]]&lt;br /&gt;
*[[Open source software for series A7/8/9 SH4 ]] is available.&lt;br /&gt;
&lt;br /&gt;
== Unbricking ==&lt;br /&gt;
*[[Samsung A 6 Series (sh4 CPU) Unbricking]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=ARM CPU based models=&lt;br /&gt;
*[[Samsung A Series (2008 Model) Hacks]]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=The_A_Series_Wiki&amp;diff=3730</id>
		<title>The A Series Wiki</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=The_A_Series_Wiki&amp;diff=3730"/>
		<updated>2013-03-10T08:06:29Z</updated>

		<summary type="html">&lt;p&gt;Tom van: not actual foreword deleted, added link to open source for A7/8/9&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Welcome to A Series Wiki Page=&lt;br /&gt;
[[File:a_wiki.png|140px|right]]&lt;br /&gt;
&lt;br /&gt;
*[[Samsung A Series (2008 Model) Hacks]]&lt;br /&gt;
*[[Samsung A Series (sh4 CPU) Hacks]]&lt;br /&gt;
*[[Open source software for series A7/8/9 SH4 ]]&lt;br /&gt;
&lt;br /&gt;
== Unbricking ==&lt;br /&gt;
*[[Samsung A 6 Series (sh4 CPU) Unbricking]]&lt;br /&gt;
&lt;br /&gt;
==Interested forum topics==&lt;br /&gt;
&lt;br /&gt;
*[http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=2021&amp;amp;start=0 libGame.so launcher restored for A/sh4 series]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=3729</id>
		<title>Samsung A Series (sh4 CPU) Hacks</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=3729"/>
		<updated>2013-03-10T08:00:29Z</updated>

		<summary type="html">&lt;p&gt;Tom van: open source for A7/8/9&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==T-AMBDFRC (Models LExxA676)==&lt;br /&gt;
&lt;br /&gt;
A SH4 CPU model - please add details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==T-RBYDEUC (Models LExxA756, LExxA856, LExxA956/959)==&lt;br /&gt;
&lt;br /&gt;
==='''Available hacks / software'''===&lt;br /&gt;
&lt;br /&gt;
Look for latest versions in [http://download.samygo.tv/A%20Series/ download area]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Firmware Patcher]]&lt;br /&gt;
* WiseLink video player aspect ratio fix (arfix-sh) is applied&lt;br /&gt;
* optionally enabling boot time call to a script /SamyGO/rcSGO from USB disk (answer upercase '''U''') - e.g. for Extension Pack&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Extensions Pack]]&lt;br /&gt;
&lt;br /&gt;
A collection of command line linux applications. Unpack files to USB disk and insert to tv set.&lt;br /&gt;
A firmware patch or [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices serial console] is necessary to start extensions (call a script /SamyGO/rcSGO on USB disk)&lt;br /&gt;
* SSH daemon for linux command line access ( user: root, password: SamyGO )&lt;br /&gt;
* kernel modules/scripts for mounting CIFS (Windows) shares and NFS shares&lt;br /&gt;
* lot lot more... see [http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=1313 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Video player aspect ratio fix (SH4)]]&lt;br /&gt;
&lt;br /&gt;
arfix-sh fixes part of internal firmware, WiseLink video player.&lt;br /&gt;
Also see [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Content library launcher'''&lt;br /&gt;
&lt;br /&gt;
See [http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=2021&amp;amp;p=17250#p17250 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Open source software for series A7/8/9 SH4 ]]&lt;br /&gt;
&lt;br /&gt;
Experimental system with nfs boot and root. Samsung TV can run without Samsung's software!&lt;br /&gt;
Work in progress! Also see [https://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=5528 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''T-RBYDEUC technical info'''===&lt;br /&gt;
&lt;br /&gt;
The main CPU of these models is NOT an ARM processor but the '''SH4 processor''' [http://www.st.com/stonline/products/literature/bd/11660/sti7109.pdf STi7109]. Therefore ARM-based hacks and tools won't run!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Getting access to u-boot (SH4)]]&lt;br /&gt;
&lt;br /&gt;
[[Watchdogs and MICOM on A series(SH4)]]&lt;br /&gt;
&lt;br /&gt;
[[Ex-link in service mode on A series(SH4)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Official firmware from Samsung: T-RBYDEU (T-RBYDEUC) in version 1013.1&lt;br /&gt;
&lt;br /&gt;
Linux version:&lt;br /&gt;
   Linux version 2.6.17.14_stm22_0039-Samsung_7103 (gcc version 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)) #363 PREEMPT Sun Jul 27 17:14:14 KST 2008&lt;br /&gt;
&lt;br /&gt;
Other differences from ARM model line:&lt;br /&gt;
* exeDSP has all symbols stripped&lt;br /&gt;
* libGame.so loading and running is completely blocked in exeDSP&lt;br /&gt;
* First USB is connected to MTK8226 (secondary CPU) so the first USB disk appears as /dev/sdb (mountpoint /dtv/usb/sdb1)&lt;br /&gt;
* busybox has a malfunctioning telnet-deamon compiled in (busybox is compiled without /dev/pts filesystem support however kernel needs it)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Manual firmware patching T-RBYDEUC==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Obsoleted by SamyGO Firmware Patcher and Extension Pack.&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
So, what you need is an updated BusyBox, a modified exe.img to enable script-starts from USB-Pens and a good USB-Script to start telnet-daemon.&lt;br /&gt;
You can find most of the things in the following thread:&lt;br /&gt;
&lt;br /&gt;
Hacking T-RBYDEUC Firmware - LE40A756 and A856 &lt;br /&gt;
[http://forum.samygo.tv/viewtopic.php?f=2&amp;amp;t=49]&lt;br /&gt;
&lt;br /&gt;
So, what you need to do, to get access to your TV:&lt;br /&gt;
&lt;br /&gt;
1. Modifiy your start.sh in exe.img, either by unpacking and repacking it (see below how to do), or by using a hex-editor.&lt;br /&gt;
There are many descriptions how to modify exe.img and to correct the crc-hash. What you need to add to start.sh:&lt;br /&gt;
&lt;br /&gt;
   export LOGNAME=&amp;quot;root&amp;quot; [already there]&lt;br /&gt;
   ...&lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PATH_USB=`cat log | grep Mount`&lt;br /&gt;
   PATH_USB=`echo ${PATH_USB##MountDir : }`&lt;br /&gt;
   echo $PATH_USB&lt;br /&gt;
   $PATH_USB/usb.sh &amp;amp;&lt;br /&gt;
   ## mount -n -t usbfs none /proc/bus/usb&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Modification may not work as some USB disks get mounted later than the modified code is executed&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now I can run scripts (usb.sh) from pendrive. Therefore you need to build (or copy from archive) the folloing script to the root of your pendrive:&lt;br /&gt;
&lt;br /&gt;
   #! /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB START !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   /bin/stty -F /dev/ttyAS0 ospeed 57600 ispeed 57600&lt;br /&gt;
   #line before enables console for speed 57600. Put 'debug' to console and you see menu, put '12' and ENTER&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start console on 57600 !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   &lt;br /&gt;
   #sleep 25 (m)sec is need for wait ethernet start&lt;br /&gt;
   sleep 25&lt;br /&gt;
   &lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PU=`cat log | grep Mount`&lt;br /&gt;
   PU=`echo ${PU##MountDir : }`&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start telnet !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   $PU/busybox telnetd -l /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start cifs.ko !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   cd $PU&lt;br /&gt;
   insmod cifs.ko&lt;br /&gt;
   &lt;br /&gt;
   sleep 4&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! clear old contents USB on TV  !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   rm /mtd_contents/V* -R&lt;br /&gt;
   rm /mtd_contents/database -R&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start mount !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/photo $PU/photo -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/mp3 $PU/mp3 -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/video $PU/video -o user=user_xp -o pass=password_xp&lt;br /&gt;
   &lt;br /&gt;
   mount&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB END !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
On pendrive you have to have empty folders: photo, mp3, video and files: usb.sh, cifs.ko (size for my compilation 2707316 bytes), busybox (size for my compilation 992084 bytes)&lt;br /&gt;
&lt;br /&gt;
You can download the whole package here: &lt;br /&gt;
[http://forum.samygo.tv/download/file.php?id=62]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Watchdogs_and_MICOM_on_A_series(SH4)&amp;diff=3665</id>
		<title>Watchdogs and MICOM on A series(SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Watchdogs_and_MICOM_on_A_series(SH4)&amp;diff=3665"/>
		<updated>2013-02-10T11:34:45Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is abundant use of watchdogs/timeouts in LE46A956. I'm not sure if it is because of&lt;br /&gt;
&amp;quot;quality&amp;quot; of firmware or it is an anti-hacking measure.&lt;br /&gt;
&lt;br /&gt;
== Micom microcontroller ==&lt;br /&gt;
Micom is a microcontroller responsible for receiving commands from an infrared remote control,&lt;br /&gt;
switching main power supply on and off, resetting main SH4 CPU and so on.&lt;br /&gt;
It also works as a watchdog.&lt;br /&gt;
&lt;br /&gt;
== Micom control from linux command line ==&lt;br /&gt;
Use&lt;br /&gt;
 /mtd_boot/MicomCtrl&lt;br /&gt;
or&lt;br /&gt;
 /lib/modules/MicomCtrl&lt;br /&gt;
to send commands to Micom. If the main tv process exeDSP is active, a collision between MicomCtrl and exeDSP command can happen - you can repeat MicomCtrl several times to ensure the command is accepted.&lt;br /&gt;
&lt;br /&gt;
== Micom control from U-Boot ==&lt;br /&gt;
'''umicom.img''' is a standalone U-Boot application for sending commands to Micom. It was tested on LE46A956 with fw T-RBYDEUC 1013.1.&lt;br /&gt;
It should work on all models with T-RBYDEUC software a might run also on other SH4 models. Grab latest version and source from [http://download.samygo.tv/A%20Series/ download area].&lt;br /&gt;
&lt;br /&gt;
Export the image from a nfs server or set up a tftp server. Lets suppose we have '''umicom.img''' on a linux host in directory /home/samygo/&lt;br /&gt;
 sudo exportfs ''ip_of_your_tv'':/home/samygo&lt;br /&gt;
&lt;br /&gt;
At TV U-Boot prompt enter:&lt;br /&gt;
 nfs 84300000 ''ip_of_your_linux_host'':/home/samygo/umicom.img;bootm&lt;br /&gt;
&lt;br /&gt;
umicom.img is position independent code, so you can change address 84300000 to any suitable place in RAM. Then you have to start umicom by U-Boot command go with load addres + 0x40&lt;br /&gt;
 nfs 84000000 ''ip_of_your_linux_host'':/home/samygo/umicom.img;go 84000040&lt;br /&gt;
&lt;br /&gt;
Loading umicom.img over nfs:&lt;br /&gt;
&lt;br /&gt;
 STi710x&amp;gt; nfs 84300000 192.168.0.1:/home/samygo/umicom.img&lt;br /&gt;
 Using MAC Address 00:xx:xx:xx:xx:xx&lt;br /&gt;
 STMAC: SMSC LAN8700 found&lt;br /&gt;
 File transfer via NFS from server 192.168.0.1; our IP address is 192.168.0.10&lt;br /&gt;
 Filename '/home/samygo/umicom.img'.&lt;br /&gt;
 Load address: 0x84300000&lt;br /&gt;
 Loading: ##############&lt;br /&gt;
 done&lt;br /&gt;
 Bytes transferred = 70548 (11394 hex)&lt;br /&gt;
&lt;br /&gt;
umicom.img without parameters switch off Micom watchdogs and reset ''silent'' flag. Power LED starts quickly flashing to indicate that communication works. A short help is printed:&lt;br /&gt;
&lt;br /&gt;
 STi710x&amp;gt; bootm&lt;br /&gt;
 ## Booting image at 84300000 ...&lt;br /&gt;
    Image Name:   micom watchdog killer 1.0&lt;br /&gt;
    Image Type:   SH-4 Linux Standalone Program (uncompressed)&lt;br /&gt;
    Data Size:    70484 Bytes = 68.8 kB&lt;br /&gt;
    Load Address: 84300040&lt;br /&gt;
    Entry Point:  84300040&lt;br /&gt;
 OK&lt;br /&gt;
 === www.SamyGO.tv === umicom.img 1.0 === micom watchdog killer ===&lt;br /&gt;
 http://wiki.samygo.tv/index.php5?title=Watchdogs_and_MICOM_on_A_series(SH4)&lt;br /&gt;
 micom via AsyncSerialController0, 0xb8030000&lt;br /&gt;
  baud rate set to 9600 Bd&lt;br /&gt;
 pll1 config is 0x91d02 (391500 kHz), serial console baud divisor 1234&lt;br /&gt;
 baud divisor for micom 637&lt;br /&gt;
  ff ff d0 00 00 00 00 00 d0 ...msg 'Set Sw Pvcc' sent&lt;br /&gt;
  ff ff e8 01 00 00 00 00 e9 ...msg 'App Init Ok' sent&lt;br /&gt;
  ff ff 17 00 00 00 00 00 17 ...msg 'Watchdog Disable' sent&lt;br /&gt;
  ff ff e3 03 00 00 00 00 e6 ...power LED quickly blinking&lt;br /&gt;
 Use:&lt;br /&gt;
  go 84300040 e  ....enable watchdog&lt;br /&gt;
  go 84300040 d  ....disable watchdog&lt;br /&gt;
  go 84300040 18  ...switch off the TV&lt;br /&gt;
  go 84300040 29  ...power cycle reboot&lt;br /&gt;
  go 84300040 143  ..reset&lt;br /&gt;
  go 84300040 ram  ..presence test of RAM&lt;br /&gt;
  go 84300040 ovc [ndiv [mdiv [pexp]]] ..overclock ClkGenA PLL1&lt;br /&gt;
&lt;br /&gt;
Example of command, switching TV off&lt;br /&gt;
&lt;br /&gt;
 STi710x&amp;gt; go 84300040 18&lt;br /&gt;
 ## Starting application at 0x84300040 ...&lt;br /&gt;
  ff ff 12 00 00 00 00 00 12 ...msg sent&lt;br /&gt;
 &lt;br /&gt;
 ## Application terminated, rc = 0x1&lt;br /&gt;
&lt;br /&gt;
== Early boot timeout ==&lt;br /&gt;
In the first 14 seconds since boot start Micom expects command Set_Sw_Pvcc (208).&lt;br /&gt;
exeDSP sends it normally. If you don't want to or can't run exeDSP, use&lt;br /&gt;
 /mtd_boot/MicomCtrl 208&lt;br /&gt;
If this command is not given in time, TV reboots 6 times and after that this watchdog&lt;br /&gt;
deactivates itself.&lt;br /&gt;
&lt;br /&gt;
== Boot finished OK timeout ==&lt;br /&gt;
Micom expects command SetAppInitOk in 60 seconds from boot start otherwise it reboots.&lt;br /&gt;
 /mtd_boot/MicomCtrl 232 1&lt;br /&gt;
&lt;br /&gt;
== Micom periodic watchdog ==&lt;br /&gt;
Periodic WD is disabled in boot time. exeDSP always enables WD during startup and then periodically sends alive message. Timeout is 40 seconds.&lt;br /&gt;
Commands:&lt;br /&gt;
 /mtd_boot/MicomCtrl 22      # watchdog enable&lt;br /&gt;
 /mtd_boot/MicomCtrl 23      # watchdog disable&lt;br /&gt;
 /mtd_boot/MicomCtrl 24      # alive message&lt;br /&gt;
&lt;br /&gt;
 /mtd_boot/MicomCtrl 133 1/0 # watchdog on/off&lt;br /&gt;
 /mtd_boot/MicomCtrl 135     # get watchdog on/off&lt;br /&gt;
 hexdump -v -n 9 -e '/1 &amp;quot;%02x &amp;quot;' /dev/ttyAS2 # reads reply packet from serial line&lt;br /&gt;
&lt;br /&gt;
== Linux kernel watchdog ==&lt;br /&gt;
Software watchdog with 30 second timeout and /proc/watchdog interface. /proc/watchdog is periodically written from exeDSP internal watchdog thread.&lt;br /&gt;
&lt;br /&gt;
== exeDSP internal watchdog ==&lt;br /&gt;
One thread of exeDSP periodically checks the other important threads and if one does not respond, reboots the TV.&lt;br /&gt;
Watchdog thread can be disabled writing nonzero to address 0x2091164. If the watchdog thread is disabled, /proc/watchdog is not synced anymore.&lt;br /&gt;
&lt;br /&gt;
== Other Micom commands ==&lt;br /&gt;
 /mtd_boot/MicomCtrl 18      # power off&lt;br /&gt;
 /mtd_boot/MicomCtrl 29      # system restart (cycles main power off and on)&lt;br /&gt;
 /mtd_boot/MicomCtrl 143     # CPU reset (TV screen is shifted because GPU is not properly initialized)&lt;br /&gt;
&lt;br /&gt;
 /mtd_boot/MicomCtrl 227 0-4 # power LED control 0..off, 1/2/3..slow/medium/fast flashing, 4..on&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=3664</id>
		<title>Getting access to u-boot (SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=3664"/>
		<updated>2013-02-10T11:05:11Z</updated>

		<summary type="html">&lt;p&gt;Tom van: add umicom.img&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Follow below steps to get access to the bootloader of your device.&lt;br /&gt;
This page is modified copy of '''[[Getting_access_to_uBoot_/_bootloader | Getting access to uBoot]]''' as there are some important differences for A series models with SH4.&lt;br /&gt;
Tested on T-RBYDEUC firmware&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Prior to boot-process ==&lt;br /&gt;
1. Settings in Service menu are set before TV broke - do it now, if your TV isn`t broken - insurance for future&lt;br /&gt;
* Switch off the TV&lt;br /&gt;
* Enter Service Menu ( quickly push [INFO] [MENU] [MUTE] [POWER] on your remote control )&lt;br /&gt;
* Enable Advanced Menu ( navigate to Advanced, enter 0-0-0-0 )&lt;br /&gt;
* Change setting for your Ex-link interface to &amp;quot;STi&amp;quot; ( Advanced -&amp;gt; Adjust -&amp;gt; UART Select --&amp;gt; [ W.Mount | '''STi''' | MTK | Logic ] ) &lt;br /&gt;
Setting Watchdog off does not seem to work on this model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Make or buy '''Service Cable''' - [[Enable_Serial_Console_on_non_CI%2B_Devices#The_Ex-Link_.28serial.29_cable | ExLink]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Terminal Connection Parameters ==&lt;br /&gt;
*Connect Ex-link and use following connection parameters with your terminal-client ( e.g. Kermit, Hyper Therminal or ZOC Terminal ):&lt;br /&gt;
 Baudrate: '''115200'''&lt;br /&gt;
 Data bits: '''8'''&lt;br /&gt;
 Parity: '''none'''&lt;br /&gt;
 Stop bits: '''1'''&lt;br /&gt;
 Flow Control: '''none'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== During the boot-process ==&lt;br /&gt;
* TV is just switched on or rebooting&lt;br /&gt;
* Press and hold space&lt;br /&gt;
* If you're lucky, you'll see prompt &lt;br /&gt;
 Enter MBL..[0001]&lt;br /&gt;
 _ShadowOS.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Board: STb7109&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 *** Samsung U-Boot 1.1.2 (FlexOneNand) VER : 0029 - 195MHz  (Jul 31 2008 - 12:49:44) - st2.0-14 ***&lt;br /&gt;
 &lt;br /&gt;
 DRAM:  128 MB&lt;br /&gt;
 In:    serial&lt;br /&gt;
 Out:   serial&lt;br /&gt;
 Err:   serial&lt;br /&gt;
 Net:   Using MAC Address 00:xx:xx:xx:xx:xx&lt;br /&gt;
 STMAC: SMSC LAN8700 found&lt;br /&gt;
 eeprom = 0&lt;br /&gt;
 Hit any key to stop autoboot:  0&lt;br /&gt;
 STi710x&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see just first two lines, you have not set Ex-link interface to &amp;quot;STi&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As there is no known way to switch watchdog off permanently on this model, you have &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;only 14 seconds&lt;br /&gt;
until watchdog reboots&amp;lt;/span&amp;gt;. After 5 consecutive reboots watchdog prolong the time to 1 minute.&lt;br /&gt;
&lt;br /&gt;
If you need more time to configure U-Boot environment or to reflash bricked TV, use '''umicom.img''' to disable and enable the watchdog. See [[Watchdogs and MICOM on A series(SH4)]].&lt;br /&gt;
&lt;br /&gt;
Entering U-Boot prompt needs good timing because original setting of parameter bootdelay=0 means that U-Boot does not wait for keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==U-Boot silent mode==&lt;br /&gt;
If Ex-link interface have not been set to &amp;quot;STi&amp;quot; in service menu, U-Boot is in ''silent'' mode.&lt;br /&gt;
You can type commands, see line editing. Commands work however any output of them is suppressed completely.&lt;br /&gt;
Also help command does not print anything.&lt;br /&gt;
&lt;br /&gt;
If you desperately need access to U-Boot and you cannot make changes in service menu e.g. because the TV does not boot,&lt;br /&gt;
reset ''silent'' flag directly in the RAM:&lt;br /&gt;
 mw 86149a18 3&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;The address is valid ONLY for the U-Boot version shown above.&amp;lt;/span&amp;gt; Running '''umicom.img''' also resets ''silent'' flag. See also [[Samsung A 6 Series (sh4 CPU) Unbricking]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Changes to environment==&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BE VERY CAREFUL AND ABSOLUTELY SURE YOU KNOW WHAT YOU ARE DOING&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can change bootdelay to 1 second to be sure you'll catch the prompt. Paste from clipboard command:&lt;br /&gt;
 setenv bootdelay 1&lt;br /&gt;
 saveenv&lt;br /&gt;
If you set long bootdelay, TV reboots 5 times until starts or you have to start boot manually.&lt;br /&gt;
&lt;br /&gt;
To use serial console for linux at 115200 Baud you have to eliminate crippling of linux serial driver: add &amp;quot;yongsik&amp;quot; parameter.&lt;br /&gt;
You can directly load kernel by pasting the command&lt;br /&gt;
 bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000 quiet yongsik; bootm 0x84100000&lt;br /&gt;
&lt;br /&gt;
Or you can save the change&lt;br /&gt;
 setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rootfstype=squashfs bigphysarea=2000 quiet yongsik&lt;br /&gt;
 setenv bootcmd &amp;quot;bbm load kernel;bbm close;bootm 0x84100000&amp;quot;&lt;br /&gt;
 saveenv&lt;br /&gt;
&lt;br /&gt;
Command ''saveenv'' always hangs in this version of U-Boot, however environment is saved correctly. Make sure that watchdog is enabled before starting ''saveenv''.&lt;br /&gt;
See also [[http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=49 discussion]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==U-Boot commands==&lt;br /&gt;
 ?       - alias for 'help'&lt;br /&gt;
 askenv  - get environment variables from stdin&lt;br /&gt;
 autoscr - run script from memory&lt;br /&gt;
 base    - print or set address offset&lt;br /&gt;
 bbm   - BBM sub-system&lt;br /&gt;
 bdinfo  - print Board Info structure&lt;br /&gt;
 boot    - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootd   - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootm   - boot application image from memory&lt;br /&gt;
 bootp	- boot image via network using BootP/TFTP protocol&lt;br /&gt;
 cmp     - memory compare&lt;br /&gt;
 coninfo - print console devices and information&lt;br /&gt;
 cp      - memory copy&lt;br /&gt;
 crc32   - checksum calculation&lt;br /&gt;
 dhcp	- invoke DHCP client to obtain IP/boot params&lt;br /&gt;
 diskboot- boot from IDE device&lt;br /&gt;
 echo    - echo args to console&lt;br /&gt;
 erase   - erase FLASH memory&lt;br /&gt;
 exit    - exit script&lt;br /&gt;
 ext2load- load binary file from a Ext2 filesystem&lt;br /&gt;
 ext2ls- list files in a directory (default /)&lt;br /&gt;
 fatinfo - print information about filesystem&lt;br /&gt;
 fatload - load binary file from a dos filesystem&lt;br /&gt;
 fatls   - list files in a directory (default /)&lt;br /&gt;
 flinfo  - print FLASH memory information&lt;br /&gt;
 fnw    - FlexoneNand Writer&lt;br /&gt;
 go      - start application at address 'addr'&lt;br /&gt;
 help    - print online help&lt;br /&gt;
 ide     - IDE sub-system&lt;br /&gt;
 iminfo  - print header information for application image&lt;br /&gt;
 imls    - list all images found in flash&lt;br /&gt;
 itest	- return true/false on integer compare&lt;br /&gt;
 loadb   - load binary file over serial line (kermit mode)&lt;br /&gt;
 loads   - load S-Record file over serial line&lt;br /&gt;
 loop    - infinite loop on address range&lt;br /&gt;
 md      - memory display&lt;br /&gt;
 mm      - memory modify (auto-incrementing)&lt;br /&gt;
 mtest   - simple RAM test&lt;br /&gt;
 mw      - memory write (fill)&lt;br /&gt;
 nfs	- boot image via network using NFS protocol&lt;br /&gt;
 nm      - memory modify (constant address)&lt;br /&gt;
 ping	- send ICMP ECHO_REQUEST to network host&lt;br /&gt;
 printenv- print environment variables&lt;br /&gt;
 protect - enable or disable FLASH write protection&lt;br /&gt;
 rarpboot- boot image via network using RARP/TFTP protocol&lt;br /&gt;
 reset   - Perform RESET of the CPU&lt;br /&gt;
 run     - run commands in an environment variable&lt;br /&gt;
 saveenv - save environment variables to persistent storage&lt;br /&gt;
 setenv  - set environment variables&lt;br /&gt;
 sleep   - delay execution for some time&lt;br /&gt;
 test    - minimal test like /bin/sh&lt;br /&gt;
 tftpboot- boot image via network using TFTP protocol&lt;br /&gt;
 usb     - USB sub-system&lt;br /&gt;
 usbboot - boot from USB device&lt;br /&gt;
 version - print monitor version&lt;br /&gt;
==Original U-Boot environment==&lt;br /&gt;
 bootdelay=0&lt;br /&gt;
 baudrate=115200&lt;br /&gt;
 ipaddr=192.168.10.120&lt;br /&gt;
 netmask=255.255.255.0&lt;br /&gt;
 gatewayip=192.168.10.1&lt;br /&gt;
 serverip=192.168.10.200&lt;br /&gt;
 ethaddr=00:04:67:FF:FF:0F&lt;br /&gt;
 nfsserver=192.168.10.200&lt;br /&gt;
 nfsrootdir=/data/Samsung/rootfs/rfs&lt;br /&gt;
 bigphys=2000&lt;br /&gt;
 memsize=84M&lt;br /&gt;
 board=stb7100ref_27&lt;br /&gt;
 monitor_base=0xA0000000&lt;br /&gt;
 monitor_len=0x00020000&lt;br /&gt;
 monitor_sec=1:0-8&lt;br /&gt;
 env_sec=1:9-10&lt;br /&gt;
 cleanenv=protect off $env_sec;erase $env_sec;protect on $env_sec&lt;br /&gt;
 kernel_base=0xA0040000&lt;br /&gt;
 kernel_len=0x00200000&lt;br /&gt;
 kernel_sec=1:11-42&lt;br /&gt;
 cramfs_base=0xA0240000&lt;br /&gt;
 cramfs_sec=1:43-90&lt;br /&gt;
 cramfs_len=0x00300000&lt;br /&gt;
 load_addr=0x84000000&lt;br /&gt;
 updatebootrom=protect off $monitor_sec;erase $monitor_sec;tftp $load_addr u-boot.bin;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec&lt;br /&gt;
 updatelinux=protect off $kernel_sec;erase $kernel_sec;tftp $load_addr vmlinux.ub;cp.b $load_addr $kernel_base $kernel_len;protect on $kernel_sec&lt;br /&gt;
 updaterfs=protect off $cramfs_sec;erase $cramfs_sec;tftp $load_addr rfs.cramfs;cp.b $load_addr $cramfs_base $cramfs_len;protect on $cramfs_sec&lt;br /&gt;
 ipconf=set ip $ipaddr::$gatewayip:$netmask:stb7109::off&lt;br /&gt;
 nfsconf=set nfsroot $nfsserver:$nfsrootdir,nfsvers=2,rsize=4096,wsize=8192,tcp&lt;br /&gt;
 hwnfconf=set nwhwnet device:eth0,hwaddr:$ethaddr&lt;br /&gt;
 nfsbootargs=run ipconf;run nfsconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/nfs rw nfsroot=$nfsroot ip=$ip nwhwconf=$nwhwnet bigphysarea=$&lt;br /&gt;
 bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512&lt;br /&gt;
 cramfsbootargs=run ipconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/mtdblock2 rw rootfstype=cramfs ip=$ip nwhwconf=$nwhwnet bigphysarea=$bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512 quiet&lt;br /&gt;
 testlinux=tftp $load_addr vmlinux.ub; bootm $load_addr&lt;br /&gt;
 verify=n&lt;br /&gt;
 bootcmd=bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000,watchdog:4000,rxsize:512 quiet; bootm 0x84100000&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Watchdogs_and_MICOM_on_A_series(SH4)&amp;diff=3663</id>
		<title>Watchdogs and MICOM on A series(SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Watchdogs_and_MICOM_on_A_series(SH4)&amp;diff=3663"/>
		<updated>2013-02-10T11:03:04Z</updated>

		<summary type="html">&lt;p&gt;Tom van: add umicom.img&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is abundant use of watchdogs/timeouts in LE46A956. I'm not sure if it is because of&lt;br /&gt;
&amp;quot;quality&amp;quot; of firmware or it is an anti-hacking measure.&lt;br /&gt;
&lt;br /&gt;
== Micom microcontroller ==&lt;br /&gt;
Micom is a microcontroller responsible for receiving commands from an infrared remote control,&lt;br /&gt;
switching main power supply on and off, resetting main SH4 CPU and so on.&lt;br /&gt;
It also works as a watchdog.&lt;br /&gt;
&lt;br /&gt;
== Micom control from linux command line ==&lt;br /&gt;
Use&lt;br /&gt;
 /mtd_boot/MicomCtrl&lt;br /&gt;
or&lt;br /&gt;
 /lib/modules/MicomCtrl&lt;br /&gt;
to send commands to Micom. If the main tv process exeDSP is active, a collision between MicomCtrl and exeDSP command can happen - you can repeat MicomCtrl several times to ensure the command is accepted.&lt;br /&gt;
&lt;br /&gt;
== Micom control from U-Boot ==&lt;br /&gt;
'''umicom.img''' is a standalone U-Boot application for sending commands to Micom. It was tested on LE46A956 with fw T-RBYDEUC 1013.1.&lt;br /&gt;
It should work on all models with T-RBYDEUC software a might run also on other SH4 models. Grab latest version and source from [http://download.samygo.tv/A%20Series/ download area].&lt;br /&gt;
&lt;br /&gt;
Export the image from a nfs server or set up tftp server. Lets suppose we have '''umicom.img''' on a linux host in directory /home/samygo/&lt;br /&gt;
 sudo exportfs ''ip_of_your_tv'':/home/samygo&lt;br /&gt;
&lt;br /&gt;
At TV U-Boot prompt enter&lt;br /&gt;
 nfs 84300000 ''ip_of_your_linux_host'':/home/samygo/umicom.img;bootm&lt;br /&gt;
&lt;br /&gt;
umicom.img is position independent code, so you can change address 84300000 to any suitable place in RAM. Then you have to start umicom by U-Boot command go with load addres + 0x40&lt;br /&gt;
 nfs 84000000 ''ip_of_your_linux_host'':/home/samygo/umicom.img;go 84000040&lt;br /&gt;
&lt;br /&gt;
Loading umicom.img over nfs:&lt;br /&gt;
&lt;br /&gt;
 STi710x&amp;gt; nfs 84300000 192.168.0.1:/home/samygo/umicom.img&lt;br /&gt;
 Using MAC Address 00:xx:xx:xx:xx:xx&lt;br /&gt;
 STMAC: SMSC LAN8700 found&lt;br /&gt;
 File transfer via NFS from server 192.168.0.1; our IP address is 192.168.0.10&lt;br /&gt;
 Filename '/home/samygo/umicom.img'.&lt;br /&gt;
 Load address: 0x84300000&lt;br /&gt;
 Loading: ##############&lt;br /&gt;
 done&lt;br /&gt;
 Bytes transferred = 70548 (11394 hex)&lt;br /&gt;
&lt;br /&gt;
umicom.img without parameters switch off Micom watchdogs and reset ''silent'' flag. Power LED starts quickly flashing to indicate that communication works. A short help is printed&lt;br /&gt;
&lt;br /&gt;
 STi710x&amp;gt; bootm&lt;br /&gt;
 ## Booting image at 84300000 ...&lt;br /&gt;
    Image Name:   micom watchdog killer 1.0&lt;br /&gt;
    Image Type:   SH-4 Linux Standalone Program (uncompressed)&lt;br /&gt;
    Data Size:    70484 Bytes = 68.8 kB&lt;br /&gt;
    Load Address: 84300040&lt;br /&gt;
    Entry Point:  84300040&lt;br /&gt;
 OK&lt;br /&gt;
 === www.SamyGO.tv === umicom.img 1.0 === micom watchdog killer ===&lt;br /&gt;
 http://wiki.samygo.tv/index.php5?title=Watchdogs_and_MICOM_on_A_series(SH4)&lt;br /&gt;
 micom via AsyncSerialController0, 0xb8030000&lt;br /&gt;
  baud rate set to 9600 Bd&lt;br /&gt;
 pll1 config is 0x91d02 (391500 kHz), serial console baud divisor 1234&lt;br /&gt;
 baud divisor for micom 637&lt;br /&gt;
  ff ff d0 00 00 00 00 00 d0 ...msg 'Set Sw Pvcc' sent&lt;br /&gt;
  ff ff e8 01 00 00 00 00 e9 ...msg 'App Init Ok' sent&lt;br /&gt;
  ff ff 17 00 00 00 00 00 17 ...msg 'Watchdog Disable' sent&lt;br /&gt;
  ff ff e3 03 00 00 00 00 e6 ...power LED quickly blinking&lt;br /&gt;
 Use:&lt;br /&gt;
  go 84300040 e  ....enable watchdog&lt;br /&gt;
  go 84300040 d  ....disable watchdog&lt;br /&gt;
  go 84300040 18  ...switch off the TV&lt;br /&gt;
  go 84300040 29  ...power cycle reboot&lt;br /&gt;
  go 84300040 143  ..reset&lt;br /&gt;
  go 84300040 ram  ..presence test of RAM&lt;br /&gt;
  go 84300040 ovc [ndiv [mdiv [pexp]]] ..overclock ClkGenA PLL1&lt;br /&gt;
&lt;br /&gt;
Example of command, switching TV off&lt;br /&gt;
&lt;br /&gt;
 STi710x&amp;gt; go 84300040 18&lt;br /&gt;
 ## Starting application at 0x84300040 ...&lt;br /&gt;
  ff ff 12 00 00 00 00 00 12 ...msg sent&lt;br /&gt;
 &lt;br /&gt;
 ## Application terminated, rc = 0x1&lt;br /&gt;
&lt;br /&gt;
== Early boot timeout ==&lt;br /&gt;
In the first 14 seconds since boot start Micom expects command Set_Sw_Pvcc (208).&lt;br /&gt;
exeDSP sends it normally. If you don't want to or can't run exeDSP, use&lt;br /&gt;
 /mtd_boot/MicomCtrl 208&lt;br /&gt;
If this command is not given in time, TV reboots 6 times and after that this watchdog&lt;br /&gt;
deactivates itself.&lt;br /&gt;
&lt;br /&gt;
== Boot finished OK timeout ==&lt;br /&gt;
Micom expects command SetAppInitOk in 60 seconds from boot start otherwise it reboots.&lt;br /&gt;
 /mtd_boot/MicomCtrl 232 1&lt;br /&gt;
&lt;br /&gt;
== Micom periodic watchdog ==&lt;br /&gt;
Periodic WD is disabled in boot time. exeDSP always enables WD during startup and then periodically sends alive message. Timeout is 40 seconds.&lt;br /&gt;
Commands:&lt;br /&gt;
 /mtd_boot/MicomCtrl 22      # watchdog enable&lt;br /&gt;
 /mtd_boot/MicomCtrl 23      # watchdog disable&lt;br /&gt;
 /mtd_boot/MicomCtrl 24      # alive message&lt;br /&gt;
&lt;br /&gt;
 /mtd_boot/MicomCtrl 133 1/0 # watchdog on/off&lt;br /&gt;
 /mtd_boot/MicomCtrl 135     # get watchdog on/off&lt;br /&gt;
 hexdump -v -n 9 -e '/1 &amp;quot;%02x &amp;quot;' /dev/ttyAS2 # reads reply packet from serial line&lt;br /&gt;
&lt;br /&gt;
== Linux kernel watchdog ==&lt;br /&gt;
Software watchdog with 30 second timeout and /proc/watchdog interface. /proc/watchdog is periodically written from exeDSP internal watchdog thread.&lt;br /&gt;
&lt;br /&gt;
== exeDSP internal watchdog ==&lt;br /&gt;
One thread of exeDSP periodically checks the other important threads and if one does not respond, reboots the TV.&lt;br /&gt;
Watchdog thread can be disabled writing nonzero to address 0x2091164. If the watchdog thread is disabled, /proc/watchdog is not synced anymore.&lt;br /&gt;
&lt;br /&gt;
== Other Micom commands ==&lt;br /&gt;
 /mtd_boot/MicomCtrl 18      # power off&lt;br /&gt;
 /mtd_boot/MicomCtrl 29      # system restart (cycles main power off and on)&lt;br /&gt;
 /mtd_boot/MicomCtrl 143     # CPU reset (TV screen is shifted because GPU is not properly initialized)&lt;br /&gt;
&lt;br /&gt;
 /mtd_boot/MicomCtrl 227 0-4 # power LED control 0..off, 1/2/3..slow/medium/fast flashing, 4..on&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=3550</id>
		<title>Getting access to u-boot (SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=3550"/>
		<updated>2013-01-07T19:41:12Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Follow below steps to get access to the bootloader of your device.&lt;br /&gt;
This page is modified copy of [[Getting access to U-Boot]] as there are some important differences for A series models with SH4.&lt;br /&gt;
Tested on T-RBYDEUC firmware&lt;br /&gt;
&lt;br /&gt;
== Prior to boot-process ==&lt;br /&gt;
1. Settings in Service menu are set before TV broke - do it now, if your TV isn`t broken - insurance for future&lt;br /&gt;
* Switch off the TV&lt;br /&gt;
* Enter Service Menu ( quickly push [INFO] [MENU] [MUTE] [POWER] on your remote control )&lt;br /&gt;
* Enable Advanced Menu ( navigate to Advanced, enter 0-0-0-0 )&lt;br /&gt;
* Change setting for your Ex-link interface to &amp;quot;STi&amp;quot; ( Advanced -&amp;gt; Adjust -&amp;gt; UART Select --&amp;gt; [ W.Mount | '''STi''' | MTK | Logic ] ) &lt;br /&gt;
Setting Watchdog off does not seem to work on this model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Make or buy '''Service Cable''' - [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices#The_Ex-Link_.28serial.29_cable ExLink]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Terminal Connection Parameters ==&lt;br /&gt;
*Connect Ex-link and use following connection parameters with your terminal-client ( e.g. Kermit, Hyper Therminal or ZOC Terminal ):&lt;br /&gt;
 Baudrate: '''115200'''&lt;br /&gt;
 Data bits: '''8'''&lt;br /&gt;
 Parity: '''none'''&lt;br /&gt;
 Stop bits: '''1'''&lt;br /&gt;
 Flow Control: '''none'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== During the boot-process ==&lt;br /&gt;
* TV is just switched on or rebooting&lt;br /&gt;
* Press and hold space&lt;br /&gt;
* If you're lucky, you'll see prompt &lt;br /&gt;
 Enter MBL..[0001]&lt;br /&gt;
 _ShadowOS.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Board: STb7109&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 *** Samsung U-Boot 1.1.2 (FlexOneNand) VER : 0029 - 195MHz  (Jul 31 2008 - 12:49:44) - st2.0-14 ***&lt;br /&gt;
 &lt;br /&gt;
 DRAM:  128 MB&lt;br /&gt;
 In:    serial&lt;br /&gt;
 Out:   serial&lt;br /&gt;
 Err:   serial&lt;br /&gt;
 Net:   Using MAC Address 00:12:FB:1A:15:03&lt;br /&gt;
 STMAC: SMSC LAN8700 found&lt;br /&gt;
 eeprom = 0&lt;br /&gt;
 Hit any key to stop autoboot:  0&lt;br /&gt;
 STi710x&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see just first two lines, you have not set Ex-link interface to &amp;quot;STi&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As there is no known way to switch watchdog off permanently on this model, you have only 14 seconds&lt;br /&gt;
until watchdog reboots. After 5 consecutive reboots watchdog prolong the time to 1 minute.&lt;br /&gt;
See [[Watchdogs and MICOM on A series(SH4)]].&lt;br /&gt;
&lt;br /&gt;
Entering U-Boot prompt needs good timing because original setting of parameter bootdelay=0 means that U-Boot does not wait for keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==U-Boot silent mode==&lt;br /&gt;
If Ex-link interface have not been set to &amp;quot;STi&amp;quot; in service menu, U-Boot is in ''silent'' mode.&lt;br /&gt;
You can type commands, see line editing. Commands work however any output of them is suppressed completely.&lt;br /&gt;
Also help command does not print anything.&lt;br /&gt;
&lt;br /&gt;
If you desperately need access to U-Boot and you cannot make changes in service menu e.g. because the TV does not boot,&lt;br /&gt;
reset ''silent'' flag directly in the RAM:&lt;br /&gt;
 mw 86149a18 3&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;The address is valid ONLY for the U-Boot version shown above.&amp;lt;/span&amp;gt; See also [[Samsung A 6 Series (sh4 CPU) Unbricking]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Changes to environment==&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BE VERY CAREFUL AND ABSOLUTELY SURE YOU KNOW WHAT YOU ARE DOING&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can change bootdelay to 1 second to be sure you'll catch the prompt. Paste from clipboard command:&lt;br /&gt;
 setenv bootdelay 1&lt;br /&gt;
 saveenv&lt;br /&gt;
If you set long bootdelay, TV reboots 5 times until starts or you have to start boot manually.&lt;br /&gt;
&lt;br /&gt;
To use serial console for linux at 115200 Baud you have to eliminate crippling of linux serial driver: add &amp;quot;yongsik&amp;quot; parameter.&lt;br /&gt;
You can directly load kernel by pasting the command&lt;br /&gt;
 bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000 quiet yongsik; bootm 0x84100000&lt;br /&gt;
&lt;br /&gt;
Or you can save the change&lt;br /&gt;
 setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rootfstype=squashfs bigphysarea=2000 quiet yongsik&lt;br /&gt;
 setenv bootcmd &amp;quot;bbm load kernel;bbm close;bootm 0x84100000&amp;quot;&lt;br /&gt;
 saveenv&lt;br /&gt;
&lt;br /&gt;
See also [[http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=49 discussion]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==U-Boot commands==&lt;br /&gt;
 ?       - alias for 'help'&lt;br /&gt;
 askenv  - get environment variables from stdin&lt;br /&gt;
 autoscr - run script from memory&lt;br /&gt;
 base    - print or set address offset&lt;br /&gt;
 bbm   - BBM sub-system&lt;br /&gt;
 bdinfo  - print Board Info structure&lt;br /&gt;
 boot    - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootd   - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootm   - boot application image from memory&lt;br /&gt;
 bootp	- boot image via network using BootP/TFTP protocol&lt;br /&gt;
 cmp     - memory compare&lt;br /&gt;
 coninfo - print console devices and information&lt;br /&gt;
 cp      - memory copy&lt;br /&gt;
 crc32   - checksum calculation&lt;br /&gt;
 dhcp	- invoke DHCP client to obtain IP/boot params&lt;br /&gt;
 diskboot- boot from IDE device&lt;br /&gt;
 echo    - echo args to console&lt;br /&gt;
 erase   - erase FLASH memory&lt;br /&gt;
 exit    - exit script&lt;br /&gt;
 ext2load- load binary file from a Ext2 filesystem&lt;br /&gt;
 ext2ls- list files in a directory (default /)&lt;br /&gt;
 fatinfo - print information about filesystem&lt;br /&gt;
 fatload - load binary file from a dos filesystem&lt;br /&gt;
 fatls   - list files in a directory (default /)&lt;br /&gt;
 flinfo  - print FLASH memory information&lt;br /&gt;
 fnw    - FlexoneNand Writer&lt;br /&gt;
 go      - start application at address 'addr'&lt;br /&gt;
 help    - print online help&lt;br /&gt;
 ide     - IDE sub-system&lt;br /&gt;
 iminfo  - print header information for application image&lt;br /&gt;
 imls    - list all images found in flash&lt;br /&gt;
 itest	- return true/false on integer compare&lt;br /&gt;
 loadb   - load binary file over serial line (kermit mode)&lt;br /&gt;
 loads   - load S-Record file over serial line&lt;br /&gt;
 loop    - infinite loop on address range&lt;br /&gt;
 md      - memory display&lt;br /&gt;
 mm      - memory modify (auto-incrementing)&lt;br /&gt;
 mtest   - simple RAM test&lt;br /&gt;
 mw      - memory write (fill)&lt;br /&gt;
 nfs	- boot image via network using NFS protocol&lt;br /&gt;
 nm      - memory modify (constant address)&lt;br /&gt;
 ping	- send ICMP ECHO_REQUEST to network host&lt;br /&gt;
 printenv- print environment variables&lt;br /&gt;
 protect - enable or disable FLASH write protection&lt;br /&gt;
 rarpboot- boot image via network using RARP/TFTP protocol&lt;br /&gt;
 reset   - Perform RESET of the CPU&lt;br /&gt;
 run     - run commands in an environment variable&lt;br /&gt;
 saveenv - save environment variables to persistent storage&lt;br /&gt;
 setenv  - set environment variables&lt;br /&gt;
 sleep   - delay execution for some time&lt;br /&gt;
 test    - minimal test like /bin/sh&lt;br /&gt;
 tftpboot- boot image via network using TFTP protocol&lt;br /&gt;
 usb     - USB sub-system&lt;br /&gt;
 usbboot - boot from USB device&lt;br /&gt;
 version - print monitor version&lt;br /&gt;
==Original U-Boot environment==&lt;br /&gt;
 bootdelay=0&lt;br /&gt;
 baudrate=115200&lt;br /&gt;
 ipaddr=192.168.10.120&lt;br /&gt;
 netmask=255.255.255.0&lt;br /&gt;
 gatewayip=192.168.10.1&lt;br /&gt;
 serverip=192.168.10.200&lt;br /&gt;
 ethaddr=00:04:67:FF:FF:0F&lt;br /&gt;
 nfsserver=192.168.10.200&lt;br /&gt;
 nfsrootdir=/data/Samsung/rootfs/rfs&lt;br /&gt;
 bigphys=2000&lt;br /&gt;
 memsize=84M&lt;br /&gt;
 board=stb7100ref_27&lt;br /&gt;
 monitor_base=0xA0000000&lt;br /&gt;
 monitor_len=0x00020000&lt;br /&gt;
 monitor_sec=1:0-8&lt;br /&gt;
 env_sec=1:9-10&lt;br /&gt;
 cleanenv=protect off $env_sec;erase $env_sec;protect on $env_sec&lt;br /&gt;
 kernel_base=0xA0040000&lt;br /&gt;
 kernel_len=0x00200000&lt;br /&gt;
 kernel_sec=1:11-42&lt;br /&gt;
 cramfs_base=0xA0240000&lt;br /&gt;
 cramfs_sec=1:43-90&lt;br /&gt;
 cramfs_len=0x00300000&lt;br /&gt;
 load_addr=0x84000000&lt;br /&gt;
 updatebootrom=protect off $monitor_sec;erase $monitor_sec;tftp $load_addr u-boot.bin;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec&lt;br /&gt;
 updatelinux=protect off $kernel_sec;erase $kernel_sec;tftp $load_addr vmlinux.ub;cp.b $load_addr $kernel_base $kernel_len;protect on $kernel_sec&lt;br /&gt;
 updaterfs=protect off $cramfs_sec;erase $cramfs_sec;tftp $load_addr rfs.cramfs;cp.b $load_addr $cramfs_base $cramfs_len;protect on $cramfs_sec&lt;br /&gt;
 ipconf=set ip $ipaddr::$gatewayip:$netmask:stb7109::off&lt;br /&gt;
 nfsconf=set nfsroot $nfsserver:$nfsrootdir,nfsvers=2,rsize=4096,wsize=8192,tcp&lt;br /&gt;
 hwnfconf=set nwhwnet device:eth0,hwaddr:$ethaddr&lt;br /&gt;
 nfsbootargs=run ipconf;run nfsconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/nfs rw nfsroot=$nfsroot ip=$ip nwhwconf=$nwhwnet bigphysarea=$&lt;br /&gt;
 bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512&lt;br /&gt;
 cramfsbootargs=run ipconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/mtdblock2 rw rootfstype=cramfs ip=$ip nwhwconf=$nwhwnet bigphysarea=$bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512 quiet&lt;br /&gt;
 testlinux=tftp $load_addr vmlinux.ub; bootm $load_addr&lt;br /&gt;
 verify=n&lt;br /&gt;
 bootcmd=bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000,watchdog:4000,rxsize:512 quiet; bootm 0x84100000&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=3549</id>
		<title>Getting access to u-boot (SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=3549"/>
		<updated>2013-01-07T18:26:06Z</updated>

		<summary type="html">&lt;p&gt;Tom van: silent mode, subst/u-boot/U-Boot/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Follow below steps to get access to the bootloader of your device.&lt;br /&gt;
This page is modified copy of [[Getting access to U-Boot]] as there are some important differences for A series models with SH4.&lt;br /&gt;
Tested on T-RBYDEUC firmware&lt;br /&gt;
== Prior to boot-process ==&lt;br /&gt;
1. Settings in Service menu are set before TV broke - do it now, if your TV isn`t broken - insurance for future&lt;br /&gt;
* Switch off the TV&lt;br /&gt;
* Enter Service Menu ( quickly push [INFO] [MENU] [MUTE] [POWER] on your remote control )&lt;br /&gt;
* Enable Advanced Menu ( navigate to Advanced, enter 0-0-0-0 )&lt;br /&gt;
* Change setting for your Ex-link interface to &amp;quot;STi&amp;quot; ( Advanced -&amp;gt; Adjust -&amp;gt; UART Select --&amp;gt; [ W.Mount | '''STi''' | MTK | Logic ] ) &lt;br /&gt;
Setting Watchdog off does not seem to work on this model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Make or buy '''Service Cable''' - [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices#The_Ex-Link_.28serial.29_cable ExLink]&lt;br /&gt;
&lt;br /&gt;
== Terminal Connection Parameters ==&lt;br /&gt;
*Connect Ex-link and use following connection parameters with your terminal-client ( e.g. Kermit, Hyper Therminal or ZOC Terminal ):&lt;br /&gt;
 Baudrate: '''115200'''&lt;br /&gt;
 Data bits: '''8'''&lt;br /&gt;
 Parity: '''none'''&lt;br /&gt;
 Stop bits: '''1'''&lt;br /&gt;
 Flow Control: '''none'''&lt;br /&gt;
&lt;br /&gt;
== During the boot-process ==&lt;br /&gt;
* TV is just switched on or rebooting&lt;br /&gt;
* Press and hold space&lt;br /&gt;
* If you're lucky, you'll see prompt &lt;br /&gt;
 Enter MBL..[0001]&lt;br /&gt;
 _ShadowOS.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Board: STb7109&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 *** Samsung U-Boot 1.1.2 (FlexOneNand) VER : 0029 - 195MHz  (Jul 31 2008 - 12:49:44) - st2.0-14 ***&lt;br /&gt;
 &lt;br /&gt;
 DRAM:  128 MB&lt;br /&gt;
 In:    serial&lt;br /&gt;
 Out:   serial&lt;br /&gt;
 Err:   serial&lt;br /&gt;
 Net:   Using MAC Address 00:12:FB:1A:15:03&lt;br /&gt;
 STMAC: SMSC LAN8700 found&lt;br /&gt;
 eeprom = 0&lt;br /&gt;
 Hit any key to stop autoboot:  0&lt;br /&gt;
 STi710x&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see just first two lines, you have not set Ex-link interface to &amp;quot;STi&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As there is no known way to switch watchdog off permanently on this model, you have only 14 seconds&lt;br /&gt;
until watchdog reboots. After 5 consecutive reboots watchdog prolong the time to 1 minute.&lt;br /&gt;
See [[Watchdogs and MICOM on A series(SH4)]].&lt;br /&gt;
&lt;br /&gt;
Entering U-Boot prompt needs good timing because original setting of parameter bootdelay=0 means that U-Boot does not wait for keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==U-Boot silent mode==&lt;br /&gt;
If Ex-link interface have not been set to &amp;quot;STi&amp;quot; in service menu, U-Boot is in ''silent'' mode.&lt;br /&gt;
You can type commands, see line editing. Commands work however any output of them is suppressed completely.&lt;br /&gt;
Also help command does not print anything.&lt;br /&gt;
&lt;br /&gt;
If you desperately need access to U-Boot and you cannot make changes in service menu e.g. because the TV does not boot,&lt;br /&gt;
reset ''silent'' flag directly in the RAM:&lt;br /&gt;
 mw 86149a18 3&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;The address is valid ONLY for the U-Boot version shown above.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Changes to environment==&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BE VERY CAREFUL AND ABSOLUTELY SURE YOU KNOW WHAT YOU ARE DOING&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can change bootdelay to 1 second to be sure you'll catch the prompt. Paste from clipboard command:&lt;br /&gt;
 setenv bootdelay 1&lt;br /&gt;
 saveenv&lt;br /&gt;
If you set long bootdelay, TV reboots 5 times until starts or you have to start boot manually.&lt;br /&gt;
&lt;br /&gt;
To use serial console for linux at 115200 Baud you have to eliminate crippling of linux serial driver: add &amp;quot;yongsik&amp;quot; parameter.&lt;br /&gt;
You can directly load kernel by pasting the command&lt;br /&gt;
 bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000 quiet yongsik; bootm 0x84100000&lt;br /&gt;
&lt;br /&gt;
Or you can save the change&lt;br /&gt;
 setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rootfstype=squashfs bigphysarea=2000 quiet yongsik&lt;br /&gt;
 setenv bootcmd &amp;quot;bbm load kernel;bbm close;bootm 0x84100000&amp;quot;&lt;br /&gt;
 saveenv&lt;br /&gt;
&lt;br /&gt;
See also [[http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=49 discussion]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==U-Boot commands==&lt;br /&gt;
 ?       - alias for 'help'&lt;br /&gt;
 askenv  - get environment variables from stdin&lt;br /&gt;
 autoscr - run script from memory&lt;br /&gt;
 base    - print or set address offset&lt;br /&gt;
 bbm   - BBM sub-system&lt;br /&gt;
 bdinfo  - print Board Info structure&lt;br /&gt;
 boot    - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootd   - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootm   - boot application image from memory&lt;br /&gt;
 bootp	- boot image via network using BootP/TFTP protocol&lt;br /&gt;
 cmp     - memory compare&lt;br /&gt;
 coninfo - print console devices and information&lt;br /&gt;
 cp      - memory copy&lt;br /&gt;
 crc32   - checksum calculation&lt;br /&gt;
 dhcp	- invoke DHCP client to obtain IP/boot params&lt;br /&gt;
 diskboot- boot from IDE device&lt;br /&gt;
 echo    - echo args to console&lt;br /&gt;
 erase   - erase FLASH memory&lt;br /&gt;
 exit    - exit script&lt;br /&gt;
 ext2load- load binary file from a Ext2 filesystem&lt;br /&gt;
 ext2ls- list files in a directory (default /)&lt;br /&gt;
 fatinfo - print information about filesystem&lt;br /&gt;
 fatload - load binary file from a dos filesystem&lt;br /&gt;
 fatls   - list files in a directory (default /)&lt;br /&gt;
 flinfo  - print FLASH memory information&lt;br /&gt;
 fnw    - FlexoneNand Writer&lt;br /&gt;
 go      - start application at address 'addr'&lt;br /&gt;
 help    - print online help&lt;br /&gt;
 ide     - IDE sub-system&lt;br /&gt;
 iminfo  - print header information for application image&lt;br /&gt;
 imls    - list all images found in flash&lt;br /&gt;
 itest	- return true/false on integer compare&lt;br /&gt;
 loadb   - load binary file over serial line (kermit mode)&lt;br /&gt;
 loads   - load S-Record file over serial line&lt;br /&gt;
 loop    - infinite loop on address range&lt;br /&gt;
 md      - memory display&lt;br /&gt;
 mm      - memory modify (auto-incrementing)&lt;br /&gt;
 mtest   - simple RAM test&lt;br /&gt;
 mw      - memory write (fill)&lt;br /&gt;
 nfs	- boot image via network using NFS protocol&lt;br /&gt;
 nm      - memory modify (constant address)&lt;br /&gt;
 ping	- send ICMP ECHO_REQUEST to network host&lt;br /&gt;
 printenv- print environment variables&lt;br /&gt;
 protect - enable or disable FLASH write protection&lt;br /&gt;
 rarpboot- boot image via network using RARP/TFTP protocol&lt;br /&gt;
 reset   - Perform RESET of the CPU&lt;br /&gt;
 run     - run commands in an environment variable&lt;br /&gt;
 saveenv - save environment variables to persistent storage&lt;br /&gt;
 setenv  - set environment variables&lt;br /&gt;
 sleep   - delay execution for some time&lt;br /&gt;
 test    - minimal test like /bin/sh&lt;br /&gt;
 tftpboot- boot image via network using TFTP protocol&lt;br /&gt;
 usb     - USB sub-system&lt;br /&gt;
 usbboot - boot from USB device&lt;br /&gt;
 version - print monitor version&lt;br /&gt;
==Original U-Boot environment==&lt;br /&gt;
 bootdelay=0&lt;br /&gt;
 baudrate=115200&lt;br /&gt;
 ipaddr=192.168.10.120&lt;br /&gt;
 netmask=255.255.255.0&lt;br /&gt;
 gatewayip=192.168.10.1&lt;br /&gt;
 serverip=192.168.10.200&lt;br /&gt;
 ethaddr=00:04:67:FF:FF:0F&lt;br /&gt;
 nfsserver=192.168.10.200&lt;br /&gt;
 nfsrootdir=/data/Samsung/rootfs/rfs&lt;br /&gt;
 bigphys=2000&lt;br /&gt;
 memsize=84M&lt;br /&gt;
 board=stb7100ref_27&lt;br /&gt;
 monitor_base=0xA0000000&lt;br /&gt;
 monitor_len=0x00020000&lt;br /&gt;
 monitor_sec=1:0-8&lt;br /&gt;
 env_sec=1:9-10&lt;br /&gt;
 cleanenv=protect off $env_sec;erase $env_sec;protect on $env_sec&lt;br /&gt;
 kernel_base=0xA0040000&lt;br /&gt;
 kernel_len=0x00200000&lt;br /&gt;
 kernel_sec=1:11-42&lt;br /&gt;
 cramfs_base=0xA0240000&lt;br /&gt;
 cramfs_sec=1:43-90&lt;br /&gt;
 cramfs_len=0x00300000&lt;br /&gt;
 load_addr=0x84000000&lt;br /&gt;
 updatebootrom=protect off $monitor_sec;erase $monitor_sec;tftp $load_addr u-boot.bin;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec&lt;br /&gt;
 updatelinux=protect off $kernel_sec;erase $kernel_sec;tftp $load_addr vmlinux.ub;cp.b $load_addr $kernel_base $kernel_len;protect on $kernel_sec&lt;br /&gt;
 updaterfs=protect off $cramfs_sec;erase $cramfs_sec;tftp $load_addr rfs.cramfs;cp.b $load_addr $cramfs_base $cramfs_len;protect on $cramfs_sec&lt;br /&gt;
 ipconf=set ip $ipaddr::$gatewayip:$netmask:stb7109::off&lt;br /&gt;
 nfsconf=set nfsroot $nfsserver:$nfsrootdir,nfsvers=2,rsize=4096,wsize=8192,tcp&lt;br /&gt;
 hwnfconf=set nwhwnet device:eth0,hwaddr:$ethaddr&lt;br /&gt;
 nfsbootargs=run ipconf;run nfsconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/nfs rw nfsroot=$nfsroot ip=$ip nwhwconf=$nwhwnet bigphysarea=$&lt;br /&gt;
 bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512&lt;br /&gt;
 cramfsbootargs=run ipconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/mtdblock2 rw rootfstype=cramfs ip=$ip nwhwconf=$nwhwnet bigphysarea=$bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512 quiet&lt;br /&gt;
 testlinux=tftp $load_addr vmlinux.ub; bootm $load_addr&lt;br /&gt;
 verify=n&lt;br /&gt;
 bootcmd=bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000,watchdog:4000,rxsize:512 quiet; bootm 0x84100000&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Compatibility&amp;diff=3218</id>
		<title>Compatibility</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Compatibility&amp;diff=3218"/>
		<updated>2012-11-11T22:16:55Z</updated>

		<summary type="html">&lt;p&gt;Tom van: T-RBYDEUC: arfix-sh version updated to 1.2 (couple years late...)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Tested Matrix ==&lt;br /&gt;
&lt;br /&gt;
These TV models and related versions have been explicitly tested. Here you can find only '''A''' and '''B series''' TV.&lt;br /&gt;
&lt;br /&gt;
If your TV is newer check other pages with compatibility tables:&lt;br /&gt;
* [[Compatibility Table for C series TVs|'''C Series''' (2010)]]&lt;br /&gt;
* [[Compatibility Table for D series TVs|'''D Series''' (2011)]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;!-- DO NOT MOVE THIS TABLE OR TABLE AT MAIN WEB PAGE WILL DROP THE TABLE! --&amp;gt;&lt;br /&gt;
&amp;lt;div id='TableOfCompatibility'&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&lt;br /&gt;
'''WARNING: DO NOT APPLY THE LATEST FIRMWARE UPGRADES or you can't use some of our tools easily!'''&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+SamyGO Table Of Compatibility for Samsung B Series TV's (and older)&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Name of Device&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Firmware&lt;br /&gt;
!width=&amp;quot;60&amp;quot;|Version&lt;br /&gt;
!width=&amp;quot;90&amp;quot;|Telnet&lt;br /&gt;
!width=&amp;quot;80&amp;quot;|&amp;lt;small&amp;gt;Aspect Ratio&amp;lt;/small&amp;gt; Video Fix&lt;br /&gt;
!width=&amp;quot;30&amp;quot;|&amp;lt;small&amp;gt;Big &amp;amp; Color&amp;lt;/small&amp;gt; Subtitles&lt;br /&gt;
!width=&amp;quot;20&amp;quot;|NFS&lt;br /&gt;
!width=&amp;quot;20&amp;quot;|SAMBA&lt;br /&gt;
!width=&amp;quot;20&amp;quot;|UPNP&lt;br /&gt;
!width=&amp;quot;330&amp;quot;|Notes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|'''LExxB55x&amp;lt;br&amp;gt;LExxB57x&amp;lt;br&amp;gt;PSxxB55x&amp;lt;br&amp;gt;PSxxB56x&amp;lt;br&amp;gt;LExxB62x&amp;lt;br&amp;gt;UExxB6xxx'''||T-CHL5DEUC||2008.0||bgcolor=&amp;quot;#cfff90&amp;quot;|&amp;lt;del&amp;gt;N/A&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;Enable*||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' bgcolor=&amp;quot;#cfff90&amp;quot;|&amp;lt;del&amp;gt;N/A&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;Enable*||align=&amp;quot;left&amp;quot;|Play movie from USB supported (WiseLink hack).&amp;lt;br&amp;gt;&amp;lt;del&amp;gt;Telnet N/A because of Kernel not support Network.&amp;lt;/del&amp;gt;&amp;lt;br\&amp;gt;* Telnet, Samba/NFS requires USB WiFi/Eth dongle, custom linux kernel from SamyGO OpenEmbedded and rewrite uboot partition with correct one. Also some other hand works too.&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|T-CHL5CIPDEUC||2007.0||bgcolor=&amp;quot;#cfff90&amp;quot;|&amp;lt;del&amp;gt;N/A&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;Enable*||bgcolor=&amp;quot;#ff9090&amp;quot;|&amp;lt;del&amp;gt;N/A&amp;lt;/del&amp;gt;?||bgcolor=&amp;quot;#cfff90&amp;quot;|&amp;lt;del&amp;gt;N/A&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;Probably (?)||colspan='3' bgcolor=&amp;quot;#ff9090&amp;quot;|Not Yet||align=&amp;quot;left&amp;quot;|&amp;lt;strike&amp;gt;We cannot get linux shell access on this type of Firmware.&amp;lt;/strike&amp;gt;We have just enable ExLink console on this device too via Top Debug Menu memory editing.&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;|'''LExxB65x&amp;lt;br&amp;gt;LExxB75x&amp;lt;br&amp;gt;PSxxB65x'''||rowspan=&amp;quot;2&amp;quot;|T-CHL7DEUC||2004.1||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v2||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' rowspan='2' bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
||2005.0||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|T-CHLCIPDEUC||2006.0||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|'''LExxB679'''||T-CHL6CIPDSEUC||1008.0||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;5&amp;quot;|'''UExxB7xxx&amp;lt;br&amp;gt;UExxB8xxx&amp;lt;br&amp;gt;PSxxB85x'''||rowspan=&amp;quot;4&amp;quot;|T-CHU7DEUC||2004.0||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' rowspan='4' bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|2008.2||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|2009.0||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|3000.G||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|T-CHUCIPDEUC||3000.0||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|'''LNxxB64x'''||T-CHEAUSC||1013.0&amp;lt;br/&amp;gt;1014.0||bgcolor=&amp;quot;#cfff90&amp;quot;|Enable*||bgcolor=&amp;quot;#ffff90&amp;quot;|Need Tester||bgcolor=&amp;quot;#ffff90&amp;quot;|Need Tester||colspan='3' bgcolor=&amp;quot;#cfff90&amp;quot;|Partial**||align=&amp;quot;left&amp;quot;|I have successfully modified (by hand) the firmware update currently available on Samsung's site.  It still allows exlink console.&amp;lt;br&amp;gt;* Telnet was enabled by manually modifying the firmware image (see my walkthrough: [[LN40B640_Walkthrough]][in progress])&amp;lt;br&amp;gt;** NFS support is built-in to the firmware, the cifs kernel module causes a panic (I will try compiling my own later) and I don't like UPnP so I didn't even try it out :)&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|LNxxB65x&amp;lt;br&amp;gt;P'''NxxB65x&amp;lt;br&amp;gt;LNxxB75x'''||T-CHEAUSC||1012.3||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|'''LNxxB63x&amp;lt;br&amp;gt;UNxxB6xxx'''||T-CHE6AUSC||1012.0||bgcolor=&amp;quot;#ffff90&amp;quot;|Need Tester||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' bgcolor=&amp;quot;#ffff90&amp;quot;|Need Tester||align=&amp;quot;left&amp;quot;|Play movie from USB supported (WiseLink hack).&amp;lt;br&amp;gt;No telnet access (yet).&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|T-CHE5IBRC||1009.1||bgcolor=&amp;quot;#ffff90&amp;quot;|Need Tester||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' bgcolor=&amp;quot;#ffff90&amp;quot;|Need Tester||align=&amp;quot;left&amp;quot;|No Wiselink hack by Firmware Patcher.&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|'''UNxxB7xxx&amp;lt;br&amp;gt;UNxxB8xxx'''||T-CHE7AUSC||1013.0||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;|'''LAxxB65x&amp;lt;br&amp;gt;PSxxB65x&amp;lt;br&amp;gt;LAxxB75x'''||T-CHL7DAUC||2001.1||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|T-CHEAEAC||2005.0||bgcolor=&amp;quot;#ffff90&amp;quot;|Work in Progress||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|'''UAxxB6xxx'''||T-CHL5DAUC||2001.1||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|'''UAxxB7xxx&amp;lt;br&amp;gt;UAxxB8xxx'''||T-CHU7DAUC||1008.0||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|'''PSxxB85x'''||T-CHU7DAUC||1007.0||bgcolor=&amp;quot;#90ff90&amp;quot;|Enable||bgcolor=&amp;quot;#90ff90&amp;quot;|v1||bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||colspan='3' bgcolor=&amp;quot;#90ff90&amp;quot;|Yes&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|'''LExxA75x&amp;lt;br&amp;gt;LExxA85x&amp;lt;br&amp;gt;LExxA95x'''||T-RBYDEUC||1013.1||bgcolor=&amp;quot;#cfff90&amp;quot;|Enable*||bgcolor=&amp;quot;#90ff90&amp;quot;|arfix-sh&amp;lt;br&amp;gt;1.2||bgcolor=&amp;quot;#ff9090&amp;quot;|N/A||colspan='3' bgcolor=&amp;quot;#90ff90&amp;quot;|Yes||align=&amp;quot;left&amp;quot;|Telnet needs telnetd/BusyBox injection.&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|'''LNxxA75x&amp;lt;br&amp;gt;LNxxA76x'''||T-RBYAUSC||1012.2||bgcolor=&amp;quot;#cfff90&amp;quot;|Enable*||bgcolor=&amp;quot;#ff9090&amp;quot;|N/A||bgcolor=&amp;quot;#ff9090&amp;quot;|N/A||colspan='3' bgcolor=&amp;quot;#ffff90&amp;quot;|No Samba/UPNP||align=&amp;quot;left&amp;quot;|Telnet needs manual firmware patching or&amp;lt;br&amp;gt; Telnetd Application.&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|'''LNxxA85x&amp;lt;br&amp;gt;LNxxA86x'''||T-SPHAUSC||1004.0||bgcolor=&amp;quot;#cfff90&amp;quot;|Enable*||bgcolor=&amp;quot;#ff9090&amp;quot;|N/A||bgcolor=&amp;quot;#ff9090&amp;quot;|N/A||colspan='3' bgcolor=&amp;quot;#ffff90&amp;quot;|Need Tester||align=&amp;quot;left&amp;quot;|Telnet needs manual firmware patching or&amp;lt;br&amp;gt; Telnetd Application.&lt;br /&gt;
|-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|'''LExxA676'''||T-AMBDFRC||1017.0||bgcolor=&amp;quot;#ffff90&amp;quot;|Need Tester||bgcolor=&amp;quot;#ff9090&amp;quot;|N/A||bgcolor=&amp;quot;#ff9090&amp;quot;|N/A||colspan='3' bgcolor=&amp;quot;#ffff90&amp;quot;|Need Tester&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;!-- DO NOT MOVE THIS TABLE OR TABLE AT MAIN WEB PAGE WILL DROP THE TABLE! --&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compatibility Overview ==&lt;br /&gt;
&lt;br /&gt;
The Samsung TV model can be broken down like so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;TYPE&amp;gt;&amp;lt;REGION&amp;gt;&amp;lt;SIZE&amp;gt;&amp;lt;YEAR&amp;gt;&amp;lt;SERIES&amp;gt;&amp;lt;VARIANT&amp;gt;[misc details]&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|Type:&lt;br /&gt;
|'''L''' = LCD&amp;lt;br&amp;gt;'''P''' = Plasma&amp;lt;br&amp;gt;'''U''' = LED&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|Region:&lt;br /&gt;
|'''A''' = Australia&amp;lt;br&amp;gt;'''E''' = Europe&amp;lt;br&amp;gt;'''N''' = North America&lt;br /&gt;
|-&lt;br /&gt;
|align=&amp;quot;right&amp;quot;|Year:&lt;br /&gt;
|'''A''' = 2008&amp;lt;br&amp;gt;'''B''' = 2009&amp;lt;br&amp;gt;etc...&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
An example, the ''UN55B8500'' is an 8 series (500 variant) 55&amp;quot; LED TV in North America from 2009.&lt;br /&gt;
&lt;br /&gt;
So typically, the firmware modifications here should work on TVs of the same type, year, and series.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
[[File:Samsung_Models.jpg]]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=2050</id>
		<title>Samsung A Series (sh4 CPU) Hacks</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=2050"/>
		<updated>2011-07-11T10:12:09Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==T-AMBDFRC (Models LExxA676)==&lt;br /&gt;
&lt;br /&gt;
A SH4 CPU model - please add details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==T-RBYDEUC (Models LExxA756, LExxA856, LExxA956/959)==&lt;br /&gt;
&lt;br /&gt;
==='''Available hacks / software'''===&lt;br /&gt;
&lt;br /&gt;
Look for latest versions in [http://download.samygo.tv/A%20Series/ download area]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Firmware Patcher]]&lt;br /&gt;
* WiseLink video player aspect ratio fix (arfix-sh) is applied&lt;br /&gt;
* optionally enabling boot time call to a script /SamyGO/rcSGO from USB disk (answer upercase '''U''') - e.g. for Extension Pack&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Extensions Pack]]&lt;br /&gt;
&lt;br /&gt;
A collection of command line linux applications. Unpack files to USB disk and insert to tv set.&lt;br /&gt;
A firmware patch or [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices serial console] is necessary to start extensions (call a script /SamyGO/rcSGO on USB disk)&lt;br /&gt;
* SSH daemon for linux command line access ( user: root, password: SamyGO )&lt;br /&gt;
* kernel modules/scripts for mounting CIFS (Windows) shares and NFS shares&lt;br /&gt;
* lot lot more... see [http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=1313 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Video player aspect ratio fix (SH4)]]&lt;br /&gt;
&lt;br /&gt;
arfix-sh fixes part of internal firmware, WiseLink video player.&lt;br /&gt;
Also see [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Content library launcher'''&lt;br /&gt;
&lt;br /&gt;
Work in progress, see [http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=2021&amp;amp;p=17250#p17250 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''T-RBYDEUC technical info'''===&lt;br /&gt;
&lt;br /&gt;
The main CPU of these models is NOT an ARM processor but the '''SH4 processor''' [http://www.st.com/stonline/products/literature/bd/11660/sti7109.pdf STi7109]. Therefore ARM-based hacks and tools won't run!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Getting access to u-boot (SH4)]]&lt;br /&gt;
&lt;br /&gt;
[[Watchdogs and MICOM on A series(SH4)]]&lt;br /&gt;
&lt;br /&gt;
[[Ex-link in service mode on A series(SH4)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Official firmware from Samsung: T-RBYDEU (T-RBYDEUC) in version 1013.1&lt;br /&gt;
&lt;br /&gt;
Linux version:&lt;br /&gt;
   Linux version 2.6.17.14_stm22_0039-Samsung_7103 (gcc version 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)) #363 PREEMPT Sun Jul 27 17:14:14 KST 2008&lt;br /&gt;
&lt;br /&gt;
Other differences from ARM model line:&lt;br /&gt;
* exeDSP has all symbols stripped&lt;br /&gt;
* libGame.so loading and running is completely blocked in exeDSP&lt;br /&gt;
* First USB is connected to MTK8226 (secondary CPU) so the first USB disk appears as /dev/sdb (mountpoint /dtv/usb/sdb1)&lt;br /&gt;
* busybox has a malfunctioning telnet-deamon compiled in (busybox is compiled without /dev/pts filesystem support however kernel needs it)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Manual firmware patching T-RBYDEUC==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Obsoleted by SamyGO Firmware Patcher and Extension Pack.&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
So, what you need is an updated BusyBox, a modified exe.img to enable script-starts from USB-Pens and a good USB-Script to start telnet-daemon.&lt;br /&gt;
You can find most of the things in the following thread:&lt;br /&gt;
&lt;br /&gt;
Hacking T-RBYDEUC Firmware - LE40A756 and A856 &lt;br /&gt;
[http://forum.samygo.tv/viewtopic.php?f=2&amp;amp;t=49]&lt;br /&gt;
&lt;br /&gt;
So, what you need to do, to get access to your TV:&lt;br /&gt;
&lt;br /&gt;
1. Modifiy your start.sh in exe.img, either by unpacking and repacking it (see below how to do), or by using a hex-editor.&lt;br /&gt;
There are many descriptions how to modify exe.img and to correct the crc-hash. What you need to add to start.sh:&lt;br /&gt;
&lt;br /&gt;
   export LOGNAME=&amp;quot;root&amp;quot; [already there]&lt;br /&gt;
   ...&lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PATH_USB=`cat log | grep Mount`&lt;br /&gt;
   PATH_USB=`echo ${PATH_USB##MountDir : }`&lt;br /&gt;
   echo $PATH_USB&lt;br /&gt;
   $PATH_USB/usb.sh &amp;amp;&lt;br /&gt;
   ## mount -n -t usbfs none /proc/bus/usb&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Modification may not work as some USB disks get mounted later than the modified code is executed&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now I can run scripts (usb.sh) from pendrive. Therefore you need to build (or copy from archive) the folloing script to the root of your pendrive:&lt;br /&gt;
&lt;br /&gt;
   #! /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB START !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   /bin/stty -F /dev/ttyAS0 ospeed 57600 ispeed 57600&lt;br /&gt;
   #line before enables console for speed 57600. Put 'debug' to console and you see menu, put '12' and ENTER&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start console on 57600 !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   &lt;br /&gt;
   #sleep 25 (m)sec is need for wait ethernet start&lt;br /&gt;
   sleep 25&lt;br /&gt;
   &lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PU=`cat log | grep Mount`&lt;br /&gt;
   PU=`echo ${PU##MountDir : }`&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start telnet !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   $PU/busybox telnetd -l /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start cifs.ko !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   cd $PU&lt;br /&gt;
   insmod cifs.ko&lt;br /&gt;
   &lt;br /&gt;
   sleep 4&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! clear old contents USB on TV  !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   rm /mtd_contents/V* -R&lt;br /&gt;
   rm /mtd_contents/database -R&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start mount !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/photo $PU/photo -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/mp3 $PU/mp3 -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/video $PU/video -o user=user_xp -o pass=password_xp&lt;br /&gt;
   &lt;br /&gt;
   mount&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB END !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
On pendrive you have to have empty folders: photo, mp3, video and files: usb.sh, cifs.ko (size for my compilation 2707316 bytes), busybox (size for my compilation 992084 bytes)&lt;br /&gt;
&lt;br /&gt;
You can download the whole package here: &lt;br /&gt;
[http://forum.samygo.tv/download/file.php?id=62]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Ex-link_in_service_mode_on_A_series(SH4)&amp;diff=2043</id>
		<title>Ex-link in service mode on A series(SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Ex-link_in_service_mode_on_A_series(SH4)&amp;diff=2043"/>
		<updated>2011-06-26T09:14:02Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Getting access to u-boot (SH4)]] how to connect a '''Service Cable''' - [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices#The_Ex-Link_.28serial.29_cable ExLink]. Provided that you have working Ex-link connection you can enter following commands (based on T-RBYDEUC firmware)&lt;br /&gt;
&lt;br /&gt;
==Debug Menu==&lt;br /&gt;
Let serial line calm down from huge boot messages and type&lt;br /&gt;
 debug [ Enter ]&lt;br /&gt;
Very complex menu tree follows. You can do lot of things there, especially screw up your TV completely.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BE VERY CAREFUL AND ABSOLUTELY SURE YOU KNOW WHAT YOU ARE DOING&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Other Debug commands==&lt;br /&gt;
I doubt about usefulness of following commands:&lt;br /&gt;
&lt;br /&gt;
 ^ [ Enter ]&lt;br /&gt;
CPU reset (TV screen is shifted because GPU is not properly initialized) - same as micom 143.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 keydebug [ Enter ]&lt;br /&gt;
 keyrec [ Enter ]&lt;br /&gt;
 keyexit [ Enter ]&lt;br /&gt;
Repeats periodically sequence of simulated key presses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Simulated remote control==&lt;br /&gt;
Enter one character code followed by [ Enter ] to simulate a remote control key press.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Character entered to Ex-link&lt;br /&gt;
! RC command code (hex)&lt;br /&gt;
! Command&lt;br /&gt;
|-&lt;br /&gt;
| 1 2 3 4 5 6 7 8 9 0 || 4 5 6 8 9 0xa 0xc 0xd 0xe 0x11 || numeric keys&lt;br /&gt;
|-&lt;br /&gt;
| space&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;| 0x3b ||rowspan=&amp;quot;3&amp;quot;| Factory (not available on standard RC)&lt;br /&gt;
|-&lt;br /&gt;
| `&lt;br /&gt;
|-&lt;br /&gt;
| s&lt;br /&gt;
|-&lt;br /&gt;
| ! || 0x65 || left&lt;br /&gt;
|-&lt;br /&gt;
| # || 0x61 || down &lt;br /&gt;
|-&lt;br /&gt;
| $ || 0x62 || right&lt;br /&gt;
|-&lt;br /&gt;
| . || 0x19 ||&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt; || 0x20 ||&lt;br /&gt;
|-&lt;br /&gt;
| @ || 0x60 || up&lt;br /&gt;
|-&lt;br /&gt;
| D || 0x43 || ?? shows channel number&lt;br /&gt;
|-&lt;br /&gt;
| N || 0x32 || ?? not avail&lt;br /&gt;
|-&lt;br /&gt;
| Z || 0x0f || mute&lt;br /&gt;
|-&lt;br /&gt;
| d || 0x10 || prog- &lt;br /&gt;
|-&lt;br /&gt;
| e || 0x68 || enter&lt;br /&gt;
|-&lt;br /&gt;
| f || 0x44 || favorite channel?&lt;br /&gt;
|-&lt;br /&gt;
| g || 0x4f || guide&lt;br /&gt;
|-&lt;br /&gt;
| i || 0x1f || info&lt;br /&gt;
|-&lt;br /&gt;
| l || 0x0b || vol-&lt;br /&gt;
|-&lt;br /&gt;
| m || 0x1a || menu&lt;br /&gt;
|-&lt;br /&gt;
| n || 0x33 || ?? not available&lt;br /&gt;
|-&lt;br /&gt;
| p || 0x13 || prev-ch&lt;br /&gt;
|-&lt;br /&gt;
| r || 0x07 || vol+&lt;br /&gt;
|-&lt;br /&gt;
| u || 0x12 || prog+&lt;br /&gt;
|-&lt;br /&gt;
| v || 0x01 || source &lt;br /&gt;
|-&lt;br /&gt;
| x || 0x2d || exit &lt;br /&gt;
|-&lt;br /&gt;
| z || 0x25 || subt &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=2042</id>
		<title>Getting access to u-boot (SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=2042"/>
		<updated>2011-06-26T09:09:20Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Follow below steps to get access to the bootloader of your device.&lt;br /&gt;
This page is modified copy of [[Getting access to u-boot]] as there are some important differences for A series models with SH4.&lt;br /&gt;
Tested on T-RBYDEUC firmware&lt;br /&gt;
== Prior to boot-process ==&lt;br /&gt;
1. Settings in Service menu are set before TV broke - do it now, if your TV isn`t broken - insurance for future&lt;br /&gt;
* Switch off the TV&lt;br /&gt;
* Enter Service Menu ( quickly push [INFO] [MENU] [MUTE] [POWER] on your remote control )&lt;br /&gt;
* Enable Advanced Menu ( navigate to Advanced, enter 0-0-0-0 )&lt;br /&gt;
* Change setting for your Ex-link interface to &amp;quot;STi&amp;quot; ( Advanced -&amp;gt; Adjust -&amp;gt; UART Select --&amp;gt; [ W.Mount | '''STi''' | MTK | Logic ] ) &lt;br /&gt;
Setting Watchdog off does not seem to work on this model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Make or buy '''Service Cable''' - [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices#The_Ex-Link_.28serial.29_cable ExLink]&lt;br /&gt;
&lt;br /&gt;
== Terminal Connection Parameters ==&lt;br /&gt;
*Connect Ex-link and use following connection parameters with your terminal-client ( e.g. Kermit, Hyper Therminal or ZOC Terminal ):&lt;br /&gt;
 Baudrate: '''115200'''&lt;br /&gt;
 Data bits: '''8'''&lt;br /&gt;
 Parity: '''none'''&lt;br /&gt;
 Stop bits: '''1'''&lt;br /&gt;
 Flow Control: '''none'''&lt;br /&gt;
&lt;br /&gt;
== During the boot-process ==&lt;br /&gt;
* TV is just switched on or rebooting&lt;br /&gt;
* Press and hold space&lt;br /&gt;
* If you're lucky, you'll see prompt &lt;br /&gt;
 Enter MBL..[0001]&lt;br /&gt;
 _ShadowOS.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Board: STb7109&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 *** Samsung U-Boot 1.1.2 (FlexOneNand) VER : 0029 - 195MHz  (Jul 31 2008 - 12:49:44) - st2.0-14 ***&lt;br /&gt;
 &lt;br /&gt;
 DRAM:  128 MB&lt;br /&gt;
 In:    serial&lt;br /&gt;
 Out:   serial&lt;br /&gt;
 Err:   serial&lt;br /&gt;
 Net:   Using MAC Address 00:12:FB:1A:15:03&lt;br /&gt;
 STMAC: SMSC LAN8700 found&lt;br /&gt;
 eeprom = 0&lt;br /&gt;
 Hit any key to stop autoboot:  0&lt;br /&gt;
 STi710x&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see just first two lines, you have not set Ex-link interface to &amp;quot;STi&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As there is no known way to switch watchdog off permanently on this model, you have only 14 seconds&lt;br /&gt;
until watchdog reboots. After 5 consecutive reboots watchdog prolong the time to 1 minute.&lt;br /&gt;
See [[Watchdogs and MICOM on A series(SH4)]].&lt;br /&gt;
&lt;br /&gt;
Entering u-boot prompt needs good timing because original setting of parameter bootdelay=0 means that u-boot does not wait for keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Changes to environment==&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BE VERY CAREFUL AND ABSOLUTELY SURE YOU KNOW WHAT YOU ARE DOING&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can change bootdelay to 1 second to be sure you'll catch the prompt. Paste from clipboard command:&lt;br /&gt;
 setenv bootdelay 1&lt;br /&gt;
 saveenv&lt;br /&gt;
If you set long bootdelay, TV reboots 5 times until starts or you have to start boot manually.&lt;br /&gt;
&lt;br /&gt;
To use serial console for linux at 115200 Baud you have to eliminate crippling of linux serial driver: add &amp;quot;yongsik&amp;quot; parameter.&lt;br /&gt;
You can directly load kernel by pasting the command&lt;br /&gt;
 bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000 quiet yongsik; bootm 0x84100000&lt;br /&gt;
&lt;br /&gt;
Or you can save the change&lt;br /&gt;
 setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rootfstype=squashfs bigphysarea=2000 quiet yongsik&lt;br /&gt;
 setenv bootcmd &amp;quot;bbm load kernel;bbm close;bootm 0x84100000&amp;quot;&lt;br /&gt;
 saveenv&lt;br /&gt;
&lt;br /&gt;
See also [[http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=49 discussion]]&lt;br /&gt;
&lt;br /&gt;
==Debug Menu==&lt;br /&gt;
Let serial line calm down from huge boot messages and type&lt;br /&gt;
 debug [ Enter ]&lt;br /&gt;
&lt;br /&gt;
==u-boot commands==&lt;br /&gt;
 ?       - alias for 'help'&lt;br /&gt;
 askenv  - get environment variables from stdin&lt;br /&gt;
 autoscr - run script from memory&lt;br /&gt;
 base    - print or set address offset&lt;br /&gt;
 bbm   - BBM sub-system&lt;br /&gt;
 bdinfo  - print Board Info structure&lt;br /&gt;
 boot    - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootd   - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootm   - boot application image from memory&lt;br /&gt;
 bootp	- boot image via network using BootP/TFTP protocol&lt;br /&gt;
 cmp     - memory compare&lt;br /&gt;
 coninfo - print console devices and information&lt;br /&gt;
 cp      - memory copy&lt;br /&gt;
 crc32   - checksum calculation&lt;br /&gt;
 dhcp	- invoke DHCP client to obtain IP/boot params&lt;br /&gt;
 diskboot- boot from IDE device&lt;br /&gt;
 echo    - echo args to console&lt;br /&gt;
 erase   - erase FLASH memory&lt;br /&gt;
 exit    - exit script&lt;br /&gt;
 ext2load- load binary file from a Ext2 filesystem&lt;br /&gt;
 ext2ls- list files in a directory (default /)&lt;br /&gt;
 fatinfo - print information about filesystem&lt;br /&gt;
 fatload - load binary file from a dos filesystem&lt;br /&gt;
 fatls   - list files in a directory (default /)&lt;br /&gt;
 flinfo  - print FLASH memory information&lt;br /&gt;
 fnw    - FlexoneNand Writer&lt;br /&gt;
 go      - start application at address 'addr'&lt;br /&gt;
 help    - print online help&lt;br /&gt;
 ide     - IDE sub-system&lt;br /&gt;
 iminfo  - print header information for application image&lt;br /&gt;
 imls    - list all images found in flash&lt;br /&gt;
 itest	- return true/false on integer compare&lt;br /&gt;
 loadb   - load binary file over serial line (kermit mode)&lt;br /&gt;
 loads   - load S-Record file over serial line&lt;br /&gt;
 loop    - infinite loop on address range&lt;br /&gt;
 md      - memory display&lt;br /&gt;
 mm      - memory modify (auto-incrementing)&lt;br /&gt;
 mtest   - simple RAM test&lt;br /&gt;
 mw      - memory write (fill)&lt;br /&gt;
 nfs	- boot image via network using NFS protocol&lt;br /&gt;
 nm      - memory modify (constant address)&lt;br /&gt;
 ping	- send ICMP ECHO_REQUEST to network host&lt;br /&gt;
 printenv- print environment variables&lt;br /&gt;
 protect - enable or disable FLASH write protection&lt;br /&gt;
 rarpboot- boot image via network using RARP/TFTP protocol&lt;br /&gt;
 reset   - Perform RESET of the CPU&lt;br /&gt;
 run     - run commands in an environment variable&lt;br /&gt;
 saveenv - save environment variables to persistent storage&lt;br /&gt;
 setenv  - set environment variables&lt;br /&gt;
 sleep   - delay execution for some time&lt;br /&gt;
 test    - minimal test like /bin/sh&lt;br /&gt;
 tftpboot- boot image via network using TFTP protocol&lt;br /&gt;
 usb     - USB sub-system&lt;br /&gt;
 usbboot - boot from USB device&lt;br /&gt;
 version - print monitor version&lt;br /&gt;
==Original u-boot environment==&lt;br /&gt;
 bootdelay=0&lt;br /&gt;
 baudrate=115200&lt;br /&gt;
 ipaddr=192.168.10.120&lt;br /&gt;
 netmask=255.255.255.0&lt;br /&gt;
 gatewayip=192.168.10.1&lt;br /&gt;
 serverip=192.168.10.200&lt;br /&gt;
 ethaddr=00:04:67:FF:FF:0F&lt;br /&gt;
 nfsserver=192.168.10.200&lt;br /&gt;
 nfsrootdir=/data/Samsung/rootfs/rfs&lt;br /&gt;
 bigphys=2000&lt;br /&gt;
 memsize=84M&lt;br /&gt;
 board=stb7100ref_27&lt;br /&gt;
 monitor_base=0xA0000000&lt;br /&gt;
 monitor_len=0x00020000&lt;br /&gt;
 monitor_sec=1:0-8&lt;br /&gt;
 env_sec=1:9-10&lt;br /&gt;
 cleanenv=protect off $env_sec;erase $env_sec;protect on $env_sec&lt;br /&gt;
 kernel_base=0xA0040000&lt;br /&gt;
 kernel_len=0x00200000&lt;br /&gt;
 kernel_sec=1:11-42&lt;br /&gt;
 cramfs_base=0xA0240000&lt;br /&gt;
 cramfs_sec=1:43-90&lt;br /&gt;
 cramfs_len=0x00300000&lt;br /&gt;
 load_addr=0x84000000&lt;br /&gt;
 updatebootrom=protect off $monitor_sec;erase $monitor_sec;tftp $load_addr u-boot.bin;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec&lt;br /&gt;
 updatelinux=protect off $kernel_sec;erase $kernel_sec;tftp $load_addr vmlinux.ub;cp.b $load_addr $kernel_base $kernel_len;protect on $kernel_sec&lt;br /&gt;
 updaterfs=protect off $cramfs_sec;erase $cramfs_sec;tftp $load_addr rfs.cramfs;cp.b $load_addr $cramfs_base $cramfs_len;protect on $cramfs_sec&lt;br /&gt;
 ipconf=set ip $ipaddr::$gatewayip:$netmask:stb7109::off&lt;br /&gt;
 nfsconf=set nfsroot $nfsserver:$nfsrootdir,nfsvers=2,rsize=4096,wsize=8192,tcp&lt;br /&gt;
 hwnfconf=set nwhwnet device:eth0,hwaddr:$ethaddr&lt;br /&gt;
 nfsbootargs=run ipconf;run nfsconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/nfs rw nfsroot=$nfsroot ip=$ip nwhwconf=$nwhwnet bigphysarea=$&lt;br /&gt;
 bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512&lt;br /&gt;
 cramfsbootargs=run ipconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/mtdblock2 rw rootfstype=cramfs ip=$ip nwhwconf=$nwhwnet bigphysarea=$bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512 quiet&lt;br /&gt;
 testlinux=tftp $load_addr vmlinux.ub; bootm $load_addr&lt;br /&gt;
 verify=n&lt;br /&gt;
 bootcmd=bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000,watchdog:4000,rxsize:512 quiet; bootm 0x84100000&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Ex-link_in_service_mode_on_A_series(SH4)&amp;diff=2041</id>
		<title>Ex-link in service mode on A series(SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Ex-link_in_service_mode_on_A_series(SH4)&amp;diff=2041"/>
		<updated>2011-06-26T09:08:19Z</updated>

		<summary type="html">&lt;p&gt;Tom van: Created page with 'See Getting access to u-boot (SH4) how to connect a '''Service Cable''' - [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devâ¦'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See [[Getting access to u-boot (SH4)]] how to connect a '''Service Cable''' - [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices#The_Ex-Link_.28serial.29_cable ExLink]. Provided that you have working Ex-link connection you can enter following commands (based on T-RBYDEUC firmware)&lt;br /&gt;
&lt;br /&gt;
==Debug Menu==&lt;br /&gt;
Let serial line calm down from huge boot messages and type&lt;br /&gt;
 debug [ Enter ]&lt;br /&gt;
Very complex menu tree follows. You can do lot of things there, especially screw up your TV completely.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BE VERY CAREFUL AND ABSOLUTELY SURE YOU KNOW WHAT YOU ARE DOING&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Other Debug commands==&lt;br /&gt;
I doubt about usefulness of following commands:&lt;br /&gt;
&lt;br /&gt;
 ^ [ Enter ]&lt;br /&gt;
CPU reset (TV screen is shifted because GPU is not properly initialized) - same as micom 143.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 keydebug [ Enter ]&lt;br /&gt;
 keyrec [ Enter ]&lt;br /&gt;
 keyexit [ Enter ]&lt;br /&gt;
Repeats periodically sequence of simulated key presses.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Simulated remote control==&lt;br /&gt;
Enter one character code followed by [ Enter ] to simulate a remote control key press.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Character entered to Ex-link&lt;br /&gt;
! RC command code (hex)&lt;br /&gt;
! Command&lt;br /&gt;
|-&lt;br /&gt;
| space&lt;br /&gt;
|rowspan=&amp;quot;3&amp;quot;| 0x3b ||rowspan=&amp;quot;3&amp;quot;| Factory (not available on standard RC)&lt;br /&gt;
|-&lt;br /&gt;
| `&lt;br /&gt;
|-&lt;br /&gt;
| s&lt;br /&gt;
|-&lt;br /&gt;
| ! || 0x65 || left&lt;br /&gt;
|-&lt;br /&gt;
| # || 0x61 || down &lt;br /&gt;
|-&lt;br /&gt;
| $ || 0x62 || right&lt;br /&gt;
|-&lt;br /&gt;
| . || 0x19 ||&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt; || 0x20 ||&lt;br /&gt;
|-&lt;br /&gt;
| @ || 0x60 || up&lt;br /&gt;
|-&lt;br /&gt;
| D || 0x43 || ?? shows channel number&lt;br /&gt;
|-&lt;br /&gt;
| N || 0x32 || ?? not avail&lt;br /&gt;
|-&lt;br /&gt;
| Z || 0x0f || mute&lt;br /&gt;
|-&lt;br /&gt;
| d || 0x10 || prog- &lt;br /&gt;
|-&lt;br /&gt;
| e || 0x68 || enter&lt;br /&gt;
|-&lt;br /&gt;
| f || 0x44 || favorite channel?&lt;br /&gt;
|-&lt;br /&gt;
| g || 0x4f || guide&lt;br /&gt;
|-&lt;br /&gt;
| i || 0x1f || info&lt;br /&gt;
|-&lt;br /&gt;
| l || 0x0b || vol-&lt;br /&gt;
|-&lt;br /&gt;
| m || 0x1a || menu&lt;br /&gt;
|-&lt;br /&gt;
| n || 0x33 || ?? not available&lt;br /&gt;
|-&lt;br /&gt;
| p || 0x13 || prev-ch&lt;br /&gt;
|-&lt;br /&gt;
| r || 0x07 || vol+&lt;br /&gt;
|-&lt;br /&gt;
| u || 0x12 || prog+&lt;br /&gt;
|-&lt;br /&gt;
| v || 0x01 || source &lt;br /&gt;
|-&lt;br /&gt;
| x || 0x2d || exit &lt;br /&gt;
|-&lt;br /&gt;
| z || 0x25 || subt &lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=2040</id>
		<title>Samsung A Series (sh4 CPU) Hacks</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=2040"/>
		<updated>2011-06-26T08:24:32Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==T-AMBDFRC (Models LExxA676)==&lt;br /&gt;
&lt;br /&gt;
A SH4 CPU model - please add details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==T-RBYDEUC (Models LExxA756, LExxA856, LExxA956/959)==&lt;br /&gt;
&lt;br /&gt;
==='''Available hacks / software'''===&lt;br /&gt;
&lt;br /&gt;
Look for latest versions in [http://download.samygo.tv/A%20Series/ download area]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Firmware Patcher]]&lt;br /&gt;
* WiseLink video player aspect ratio fix (arfix-sh) is applied&lt;br /&gt;
* optionally enabling boot time call to a script /SamyGO/rcSGO from USB disk (answer upercase '''U''') - e.g. for Extension Pack&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Extensions Pack]]&lt;br /&gt;
&lt;br /&gt;
A collection of command line linux applications. Unpack files to USB disk and insert to tv set.&lt;br /&gt;
A firmware patch or [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices serial console] is necessary to start extensions (call a script /SamyGO/rcSGO on USB disk)&lt;br /&gt;
* SSH daemon for linux command line access ( user: root, password: SamyGO )&lt;br /&gt;
* kernel modules/scripts for mounting CIFS (Windows) shares and NFS shares&lt;br /&gt;
* lot lot more... see [http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=1313 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Video player aspect ratio fix (SH4)]]&lt;br /&gt;
&lt;br /&gt;
arfix-sh fixes part of internal firmware, WiseLink video player.&lt;br /&gt;
Also see [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''T-RBYDEUC technical info'''===&lt;br /&gt;
&lt;br /&gt;
The main CPU of these models is NOT an ARM processor but the '''SH4 processor''' [http://www.st.com/stonline/products/literature/bd/11660/sti7109.pdf STi7109]. Therefore ARM-based hacks and tools won't run!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Getting access to u-boot (SH4)]]&lt;br /&gt;
&lt;br /&gt;
[[Watchdogs and MICOM on A series(SH4)]]&lt;br /&gt;
&lt;br /&gt;
[[Ex-link in service mode on A series(SH4)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Official firmware from Samsung: T-RBYDEU (T-RBYDEUC) in version 1013.1&lt;br /&gt;
&lt;br /&gt;
Linux version:&lt;br /&gt;
   Linux version 2.6.17.14_stm22_0039-Samsung_7103 (gcc version 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)) #363 PREEMPT Sun Jul 27 17:14:14 KST 2008&lt;br /&gt;
&lt;br /&gt;
Other differences from ARM model line:&lt;br /&gt;
* exeDSP has all symbols stripped&lt;br /&gt;
* libGame.so loading and running is completely blocked in exeDSP&lt;br /&gt;
* First USB is connected to MTK8226 (secondary CPU) so the first USB disk appears as /dev/sdb (mountpoint /dtv/usb/sdb1)&lt;br /&gt;
* busybox has a malfunctioning telnet-deamon compiled in (busybox is compiled without /dev/pts filesystem support however kernel needs it)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Manual firmware patching T-RBYDEUC==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Obsoleted by SamyGO Firmware Patcher and Extension Pack.&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
So, what you need is an updated BusyBox, a modified exe.img to enable script-starts from USB-Pens and a good USB-Script to start telnet-daemon.&lt;br /&gt;
You can find most of the things in the following thread:&lt;br /&gt;
&lt;br /&gt;
Hacking T-RBYDEUC Firmware - LE40A756 and A856 &lt;br /&gt;
[http://forum.samygo.tv/viewtopic.php?f=2&amp;amp;t=49]&lt;br /&gt;
&lt;br /&gt;
So, what you need to do, to get access to your TV:&lt;br /&gt;
&lt;br /&gt;
1. Modifiy your start.sh in exe.img, either by unpacking and repacking it (see below how to do), or by using a hex-editor.&lt;br /&gt;
There are many descriptions how to modify exe.img and to correct the crc-hash. What you need to add to start.sh:&lt;br /&gt;
&lt;br /&gt;
   export LOGNAME=&amp;quot;root&amp;quot; [already there]&lt;br /&gt;
   ...&lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PATH_USB=`cat log | grep Mount`&lt;br /&gt;
   PATH_USB=`echo ${PATH_USB##MountDir : }`&lt;br /&gt;
   echo $PATH_USB&lt;br /&gt;
   $PATH_USB/usb.sh &amp;amp;&lt;br /&gt;
   ## mount -n -t usbfs none /proc/bus/usb&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Modification may not work as some USB disks get mounted later than the modified code is executed&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now I can run scripts (usb.sh) from pendrive. Therefore you need to build (or copy from archive) the folloing script to the root of your pendrive:&lt;br /&gt;
&lt;br /&gt;
   #! /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB START !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   /bin/stty -F /dev/ttyAS0 ospeed 57600 ispeed 57600&lt;br /&gt;
   #line before enables console for speed 57600. Put 'debug' to console and you see menu, put '12' and ENTER&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start console on 57600 !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   &lt;br /&gt;
   #sleep 25 (m)sec is need for wait ethernet start&lt;br /&gt;
   sleep 25&lt;br /&gt;
   &lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PU=`cat log | grep Mount`&lt;br /&gt;
   PU=`echo ${PU##MountDir : }`&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start telnet !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   $PU/busybox telnetd -l /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start cifs.ko !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   cd $PU&lt;br /&gt;
   insmod cifs.ko&lt;br /&gt;
   &lt;br /&gt;
   sleep 4&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! clear old contents USB on TV  !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   rm /mtd_contents/V* -R&lt;br /&gt;
   rm /mtd_contents/database -R&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start mount !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/photo $PU/photo -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/mp3 $PU/mp3 -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/video $PU/video -o user=user_xp -o pass=password_xp&lt;br /&gt;
   &lt;br /&gt;
   mount&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB END !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
On pendrive you have to have empty folders: photo, mp3, video and files: usb.sh, cifs.ko (size for my compilation 2707316 bytes), busybox (size for my compilation 992084 bytes)&lt;br /&gt;
&lt;br /&gt;
You can download the whole package here: &lt;br /&gt;
[http://forum.samygo.tv/download/file.php?id=62]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=2039</id>
		<title>Samsung A Series (sh4 CPU) Hacks</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=2039"/>
		<updated>2011-06-26T08:13:22Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==T-AMBDFRC (Models LExxA676)==&lt;br /&gt;
&lt;br /&gt;
A SH4 CPU model - please add details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==T-RBYDEUC (Models LExxA756, LExxA856, LExxA956/959)==&lt;br /&gt;
&lt;br /&gt;
==='''Available hacks / software'''===&lt;br /&gt;
&lt;br /&gt;
Look for latest versions in [http://download.samygo.tv/A%20Series/ download area]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Firmware Patcher]]&lt;br /&gt;
* WiseLink video player aspect ratio fix (arfix-sh) is applied&lt;br /&gt;
* optionally enabling boot time call to a script /SamyGO/rcSGO from USB disk (answer upercase '''U''') - e.g. for Extension Pack&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Extensions Pack]]&lt;br /&gt;
&lt;br /&gt;
A collection of command line linux applications. Unpack files to USB disk and insert to tv set.&lt;br /&gt;
A firmware patch or [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices serial console] is necessary to start extensions (call a script /SamyGO/rcSGO on USB disk)&lt;br /&gt;
* SSH daemon for linux command line access ( user: root, password: SamyGO )&lt;br /&gt;
* kernel modules/scripts for mounting CIFS (Windows) shares and NFS shares&lt;br /&gt;
* lot lot more... see [http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=1313 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Video player aspect ratio fix (SH4)]]&lt;br /&gt;
&lt;br /&gt;
arfix-sh fixes part of internal firmware, WiseLink video player.&lt;br /&gt;
Also see [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''T-RBYDEUC technical info'''===&lt;br /&gt;
&lt;br /&gt;
The main CPU of these models is NOT an ARM processor but the '''SH4 processor''' [http://www.st.com/stonline/products/literature/bd/11660/sti7109.pdf STi7109]. Therefore ARM-based hacks and tools won't run!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Getting access to u-boot (SH4)]]&lt;br /&gt;
&lt;br /&gt;
[[Watchdogs and MICOM on A series(SH4)]]&lt;br /&gt;
&lt;br /&gt;
[[Debug menu and simulated RC from Ex-link on A series(SH4)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Official firmware from Samsung: T-RBYDEU (T-RBYDEUC) in version 1013.1&lt;br /&gt;
&lt;br /&gt;
Linux version:&lt;br /&gt;
   Linux version 2.6.17.14_stm22_0039-Samsung_7103 (gcc version 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)) #363 PREEMPT Sun Jul 27 17:14:14 KST 2008&lt;br /&gt;
&lt;br /&gt;
Other differences from ARM model line:&lt;br /&gt;
* exeDSP has all symbols stripped&lt;br /&gt;
* libGame.so loading and running is completely blocked in exeDSP&lt;br /&gt;
* First USB is connected to MTK8226 (secondary CPU) so the first USB disk appears as /dev/sdb (mountpoint /dtv/usb/sdb1)&lt;br /&gt;
* busybox has a malfunctioning telnet-deamon compiled in (busybox is compiled without /dev/pts filesystem support however kernel needs it)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Manual firmware patching T-RBYDEUC==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Obsoleted by SamyGO Firmware Patcher and Extension Pack.&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
So, what you need is an updated BusyBox, a modified exe.img to enable script-starts from USB-Pens and a good USB-Script to start telnet-daemon.&lt;br /&gt;
You can find most of the things in the following thread:&lt;br /&gt;
&lt;br /&gt;
Hacking T-RBYDEUC Firmware - LE40A756 and A856 &lt;br /&gt;
[http://forum.samygo.tv/viewtopic.php?f=2&amp;amp;t=49]&lt;br /&gt;
&lt;br /&gt;
So, what you need to do, to get access to your TV:&lt;br /&gt;
&lt;br /&gt;
1. Modifiy your start.sh in exe.img, either by unpacking and repacking it (see below how to do), or by using a hex-editor.&lt;br /&gt;
There are many descriptions how to modify exe.img and to correct the crc-hash. What you need to add to start.sh:&lt;br /&gt;
&lt;br /&gt;
   export LOGNAME=&amp;quot;root&amp;quot; [already there]&lt;br /&gt;
   ...&lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PATH_USB=`cat log | grep Mount`&lt;br /&gt;
   PATH_USB=`echo ${PATH_USB##MountDir : }`&lt;br /&gt;
   echo $PATH_USB&lt;br /&gt;
   $PATH_USB/usb.sh &amp;amp;&lt;br /&gt;
   ## mount -n -t usbfs none /proc/bus/usb&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Modification may not work as some USB disks get mounted later than the modified code is executed&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now I can run scripts (usb.sh) from pendrive. Therefore you need to build (or copy from archive) the folloing script to the root of your pendrive:&lt;br /&gt;
&lt;br /&gt;
   #! /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB START !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   /bin/stty -F /dev/ttyAS0 ospeed 57600 ispeed 57600&lt;br /&gt;
   #line before enables console for speed 57600. Put 'debug' to console and you see menu, put '12' and ENTER&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start console on 57600 !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   &lt;br /&gt;
   #sleep 25 (m)sec is need for wait ethernet start&lt;br /&gt;
   sleep 25&lt;br /&gt;
   &lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PU=`cat log | grep Mount`&lt;br /&gt;
   PU=`echo ${PU##MountDir : }`&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start telnet !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   $PU/busybox telnetd -l /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start cifs.ko !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   cd $PU&lt;br /&gt;
   insmod cifs.ko&lt;br /&gt;
   &lt;br /&gt;
   sleep 4&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! clear old contents USB on TV  !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   rm /mtd_contents/V* -R&lt;br /&gt;
   rm /mtd_contents/database -R&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start mount !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/photo $PU/photo -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/mp3 $PU/mp3 -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/video $PU/video -o user=user_xp -o pass=password_xp&lt;br /&gt;
   &lt;br /&gt;
   mount&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB END !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
On pendrive you have to have empty folders: photo, mp3, video and files: usb.sh, cifs.ko (size for my compilation 2707316 bytes), busybox (size for my compilation 992084 bytes)&lt;br /&gt;
&lt;br /&gt;
You can download the whole package here: &lt;br /&gt;
[http://forum.samygo.tv/download/file.php?id=62]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Watchdogs_and_MICOM_on_A_series(SH4)&amp;diff=1888</id>
		<title>Watchdogs and MICOM on A series(SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Watchdogs_and_MICOM_on_A_series(SH4)&amp;diff=1888"/>
		<updated>2011-05-11T12:40:25Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is abundant use of watchdogs/timeouts in LE46A956. I'm not sure if it is because of&lt;br /&gt;
&amp;quot;quality&amp;quot; of firmware or it is an anti-hacking measure.&lt;br /&gt;
&lt;br /&gt;
Micom is a microcontroller responsible for receiving commands from RC,&lt;br /&gt;
switching main power supply on and off, resetting main SH4 CPU and so on.&lt;br /&gt;
It also works as a watchdog.&lt;br /&gt;
Use&lt;br /&gt;
 /mtd_boot/MicomCtrl&lt;br /&gt;
or&lt;br /&gt;
 /lib/modules/MicomCtrl&lt;br /&gt;
to send commands to Micom. If the main tv process exeDSP is active, a collision between MicomCtrl and exeDSP command can happen - you can repeat MicomCtrl several times to ensure the command is accepted.&lt;br /&gt;
&lt;br /&gt;
== Early boot timeout ==&lt;br /&gt;
In the first 14 seconds since boot start Micom expects command Set_Sw_Pvcc (208).&lt;br /&gt;
exeDSP sends it normally. If you don't want to or can't run exeDSP, use&lt;br /&gt;
 /mtd_boot/MicomCtrl 208&lt;br /&gt;
If this command is not given in time, TV reboots 6 times and after that this watchdog&lt;br /&gt;
deactivates itself.&lt;br /&gt;
&lt;br /&gt;
== Boot finished OK timeout ==&lt;br /&gt;
Micom expects command SetAppInitOk in 60 seconds from boot start otherwise it reboots.&lt;br /&gt;
 /mtd_boot/MicomCtrl 232 1&lt;br /&gt;
&lt;br /&gt;
== Micom periodic watchdog ==&lt;br /&gt;
Periodic WD is disabled in boot time. exeDSP always enables WD during startup and then periodically sends alive message. Timeout is 40 seconds.&lt;br /&gt;
Commands:&lt;br /&gt;
 /mtd_boot/MicomCtrl 22      # watchdog enable&lt;br /&gt;
 /mtd_boot/MicomCtrl 23      # watchdog disable&lt;br /&gt;
 /mtd_boot/MicomCtrl 24      # alive message&lt;br /&gt;
&lt;br /&gt;
 /mtd_boot/MicomCtrl 133 1/0 # watchdog on/off&lt;br /&gt;
 /mtd_boot/MicomCtrl 135     # get watchdog on/off&lt;br /&gt;
 hexdump -v -n 9 -e '/1 &amp;quot;%02x &amp;quot;' /dev/ttyAS2 # reads reply packet from serial line&lt;br /&gt;
&lt;br /&gt;
== Linux kernel watchdog ==&lt;br /&gt;
Software watchdog with 30 second timeout and /proc/watchdog interface. /proc/watchdog is periodically written from exeDSP internal watchdog thread.&lt;br /&gt;
&lt;br /&gt;
== exeDSP internal watchdog ==&lt;br /&gt;
One thread of exeDSP periodically checks the other important threads and if one does not respond, reboots the TV.&lt;br /&gt;
Watchdog thread can be disabled writing nonzero to address 0x2091164. If the watchdog thread is disabled, /proc/watchdog is not synced anymore.&lt;br /&gt;
&lt;br /&gt;
== Other Micom commands ==&lt;br /&gt;
 /mtd_boot/MicomCtrl 18      # power off&lt;br /&gt;
 /mtd_boot/MicomCtrl 29      # system restart (cycles main power off and on)&lt;br /&gt;
 /mtd_boot/MicomCtrl 143     # CPU reset (TV screen is shifted because GPU is not properly initialized)&lt;br /&gt;
&lt;br /&gt;
 /mtd_boot/MicomCtrl 227 0-4 # power LED control 0..off, 1/2/3..slow/medium/fast flashing, 4..on&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=1873</id>
		<title>Getting access to u-boot (SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=1873"/>
		<updated>2011-05-01T11:33:11Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Follow below steps to get access to the bootloader of your device.&lt;br /&gt;
This page is modified copy of [[Getting access to u-boot]] as there are some important differences for A series models with SH4.&lt;br /&gt;
Tested on T-RBYDEUC firmware&lt;br /&gt;
== Prior to boot-process ==&lt;br /&gt;
1. Settings in Service menu are set before TV broke - do it now, if your TV isn`t broken - insurance for future&lt;br /&gt;
* Switch off the TV&lt;br /&gt;
* Enter Service Menu ( quickly push [INFO] [MENU] [MUTE] [POWER] on your remote control )&lt;br /&gt;
* Enable Advanced Menu ( navigate to Advanced, enter 0-0-0-0 )&lt;br /&gt;
* Change setting for your Ex-link interface to &amp;quot;STi&amp;quot; ( Advanced -&amp;gt; Adjust -&amp;gt; UART Select --&amp;gt; [ W.Mount | '''STi''' | MTK | Logic ] ) &lt;br /&gt;
Setting Watchdog off does not seem to work on this model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Make or buy '''Service Cable''' - [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices#The_Ex-Link_.28serial.29_cable ExLink]&lt;br /&gt;
&lt;br /&gt;
== Terminal Connection Parameters ==&lt;br /&gt;
*Connect Ex-link and use following connection parameters with your terminal-client ( e.g. Kermit, Hyper Therminal or ZOC Terminal ):&lt;br /&gt;
 Baudrate: '''115200'''&lt;br /&gt;
 Data bits: '''8'''&lt;br /&gt;
 Parity: '''none'''&lt;br /&gt;
 Stop bits: '''1'''&lt;br /&gt;
 Flow Control: '''none'''&lt;br /&gt;
&lt;br /&gt;
== During the boot-process ==&lt;br /&gt;
* TV is just switched on or rebooting&lt;br /&gt;
* Press and hold space&lt;br /&gt;
* If you're lucky, you'll see prompt &lt;br /&gt;
 Enter MBL..[0001]&lt;br /&gt;
 _ShadowOS.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Board: STb7109&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 *** Samsung U-Boot 1.1.2 (FlexOneNand) VER : 0029 - 195MHz  (Jul 31 2008 - 12:49:44) - st2.0-14 ***&lt;br /&gt;
 &lt;br /&gt;
 DRAM:  128 MB&lt;br /&gt;
 In:    serial&lt;br /&gt;
 Out:   serial&lt;br /&gt;
 Err:   serial&lt;br /&gt;
 Net:   Using MAC Address 00:12:FB:1A:15:03&lt;br /&gt;
 STMAC: SMSC LAN8700 found&lt;br /&gt;
 eeprom = 0&lt;br /&gt;
 Hit any key to stop autoboot:  0&lt;br /&gt;
 STi710x&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see just first two lines, you have not set Ex-link interface to &amp;quot;STi&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As there is no known way to switch watchdog off permanently on this model, you have only 14 seconds&lt;br /&gt;
until watchdog reboots. After 5 consecutive reboots watchdog prolong the time to 1 minute.&lt;br /&gt;
See [[Watchdogs and MICOM on A series(SH4)]].&lt;br /&gt;
&lt;br /&gt;
Entering u-boot prompt needs good timing because original setting of parameter bootdelay=0 means that u-boot does not wait for keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Changes to environment==&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BE VERY CAREFUL AND ABSOLUTELY SURE YOU KNOW WHAT ARE DOING&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can change bootdelay to 1 second to be sure you'll catch the prompt. Paste from clipboard command:&lt;br /&gt;
 setenv bootdelay 1&lt;br /&gt;
 saveenv&lt;br /&gt;
If you set long bootdelay, TV reboots 5 times until starts or you have to start boot manually.&lt;br /&gt;
&lt;br /&gt;
To use serial console for linux at 115200 Baud you have to eliminate crippling of linux serial driver: add &amp;quot;yongsik&amp;quot; parameter.&lt;br /&gt;
You can directly load kernel by pasting the command&lt;br /&gt;
 bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000 quiet yongsik; bootm 0x84100000&lt;br /&gt;
&lt;br /&gt;
Or you can save the change&lt;br /&gt;
 setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rootfstype=squashfs bigphysarea=2000 quiet yongsik&lt;br /&gt;
 setenv bootcmd &amp;quot;bbm load kernel;bbm close;bootm 0x84100000&amp;quot;&lt;br /&gt;
 saveenv&lt;br /&gt;
&lt;br /&gt;
See also [[http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=49 discussion]]&lt;br /&gt;
&lt;br /&gt;
==Debug Menu==&lt;br /&gt;
Let serial line calm down from huge boot messages and type&lt;br /&gt;
 debug [ Enter ]&lt;br /&gt;
&lt;br /&gt;
==u-boot commands==&lt;br /&gt;
 ?       - alias for 'help'&lt;br /&gt;
 askenv  - get environment variables from stdin&lt;br /&gt;
 autoscr - run script from memory&lt;br /&gt;
 base    - print or set address offset&lt;br /&gt;
 bbm   - BBM sub-system&lt;br /&gt;
 bdinfo  - print Board Info structure&lt;br /&gt;
 boot    - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootd   - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootm   - boot application image from memory&lt;br /&gt;
 bootp	- boot image via network using BootP/TFTP protocol&lt;br /&gt;
 cmp     - memory compare&lt;br /&gt;
 coninfo - print console devices and information&lt;br /&gt;
 cp      - memory copy&lt;br /&gt;
 crc32   - checksum calculation&lt;br /&gt;
 dhcp	- invoke DHCP client to obtain IP/boot params&lt;br /&gt;
 diskboot- boot from IDE device&lt;br /&gt;
 echo    - echo args to console&lt;br /&gt;
 erase   - erase FLASH memory&lt;br /&gt;
 exit    - exit script&lt;br /&gt;
 ext2load- load binary file from a Ext2 filesystem&lt;br /&gt;
 ext2ls- list files in a directory (default /)&lt;br /&gt;
 fatinfo - print information about filesystem&lt;br /&gt;
 fatload - load binary file from a dos filesystem&lt;br /&gt;
 fatls   - list files in a directory (default /)&lt;br /&gt;
 flinfo  - print FLASH memory information&lt;br /&gt;
 fnw    - FlexoneNand Writer&lt;br /&gt;
 go      - start application at address 'addr'&lt;br /&gt;
 help    - print online help&lt;br /&gt;
 ide     - IDE sub-system&lt;br /&gt;
 iminfo  - print header information for application image&lt;br /&gt;
 imls    - list all images found in flash&lt;br /&gt;
 itest	- return true/false on integer compare&lt;br /&gt;
 loadb   - load binary file over serial line (kermit mode)&lt;br /&gt;
 loads   - load S-Record file over serial line&lt;br /&gt;
 loop    - infinite loop on address range&lt;br /&gt;
 md      - memory display&lt;br /&gt;
 mm      - memory modify (auto-incrementing)&lt;br /&gt;
 mtest   - simple RAM test&lt;br /&gt;
 mw      - memory write (fill)&lt;br /&gt;
 nfs	- boot image via network using NFS protocol&lt;br /&gt;
 nm      - memory modify (constant address)&lt;br /&gt;
 ping	- send ICMP ECHO_REQUEST to network host&lt;br /&gt;
 printenv- print environment variables&lt;br /&gt;
 protect - enable or disable FLASH write protection&lt;br /&gt;
 rarpboot- boot image via network using RARP/TFTP protocol&lt;br /&gt;
 reset   - Perform RESET of the CPU&lt;br /&gt;
 run     - run commands in an environment variable&lt;br /&gt;
 saveenv - save environment variables to persistent storage&lt;br /&gt;
 setenv  - set environment variables&lt;br /&gt;
 sleep   - delay execution for some time&lt;br /&gt;
 test    - minimal test like /bin/sh&lt;br /&gt;
 tftpboot- boot image via network using TFTP protocol&lt;br /&gt;
 usb     - USB sub-system&lt;br /&gt;
 usbboot - boot from USB device&lt;br /&gt;
 version - print monitor version&lt;br /&gt;
==Original u-boot environment==&lt;br /&gt;
 bootdelay=0&lt;br /&gt;
 baudrate=115200&lt;br /&gt;
 ipaddr=192.168.10.120&lt;br /&gt;
 netmask=255.255.255.0&lt;br /&gt;
 gatewayip=192.168.10.1&lt;br /&gt;
 serverip=192.168.10.200&lt;br /&gt;
 ethaddr=00:04:67:FF:FF:0F&lt;br /&gt;
 nfsserver=192.168.10.200&lt;br /&gt;
 nfsrootdir=/data/Samsung/rootfs/rfs&lt;br /&gt;
 bigphys=2000&lt;br /&gt;
 memsize=84M&lt;br /&gt;
 board=stb7100ref_27&lt;br /&gt;
 monitor_base=0xA0000000&lt;br /&gt;
 monitor_len=0x00020000&lt;br /&gt;
 monitor_sec=1:0-8&lt;br /&gt;
 env_sec=1:9-10&lt;br /&gt;
 cleanenv=protect off $env_sec;erase $env_sec;protect on $env_sec&lt;br /&gt;
 kernel_base=0xA0040000&lt;br /&gt;
 kernel_len=0x00200000&lt;br /&gt;
 kernel_sec=1:11-42&lt;br /&gt;
 cramfs_base=0xA0240000&lt;br /&gt;
 cramfs_sec=1:43-90&lt;br /&gt;
 cramfs_len=0x00300000&lt;br /&gt;
 load_addr=0x84000000&lt;br /&gt;
 updatebootrom=protect off $monitor_sec;erase $monitor_sec;tftp $load_addr u-boot.bin;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec&lt;br /&gt;
 updatelinux=protect off $kernel_sec;erase $kernel_sec;tftp $load_addr vmlinux.ub;cp.b $load_addr $kernel_base $kernel_len;protect on $kernel_sec&lt;br /&gt;
 updaterfs=protect off $cramfs_sec;erase $cramfs_sec;tftp $load_addr rfs.cramfs;cp.b $load_addr $cramfs_base $cramfs_len;protect on $cramfs_sec&lt;br /&gt;
 ipconf=set ip $ipaddr::$gatewayip:$netmask:stb7109::off&lt;br /&gt;
 nfsconf=set nfsroot $nfsserver:$nfsrootdir,nfsvers=2,rsize=4096,wsize=8192,tcp&lt;br /&gt;
 hwnfconf=set nwhwnet device:eth0,hwaddr:$ethaddr&lt;br /&gt;
 nfsbootargs=run ipconf;run nfsconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/nfs rw nfsroot=$nfsroot ip=$ip nwhwconf=$nwhwnet bigphysarea=$&lt;br /&gt;
 bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512&lt;br /&gt;
 cramfsbootargs=run ipconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/mtdblock2 rw rootfstype=cramfs ip=$ip nwhwconf=$nwhwnet bigphysarea=$bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512 quiet&lt;br /&gt;
 testlinux=tftp $load_addr vmlinux.ub; bootm $load_addr&lt;br /&gt;
 verify=n&lt;br /&gt;
 bootcmd=bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000,watchdog:4000,rxsize:512 quiet; bootm 0x84100000&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Watchdogs_and_MICOM_on_A_series(SH4)&amp;diff=1872</id>
		<title>Watchdogs and MICOM on A series(SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Watchdogs_and_MICOM_on_A_series(SH4)&amp;diff=1872"/>
		<updated>2011-05-01T11:32:01Z</updated>

		<summary type="html">&lt;p&gt;Tom van: /* Micom periodic watchdog */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is abundant use of watchdogs/timeouts in LE46A956. I'm not sure if it is because of&lt;br /&gt;
&amp;quot;quality&amp;quot; of firmware or it is an anti-hacking measure.&lt;br /&gt;
&lt;br /&gt;
Micom is a microcontroller responsible for receiving commands from RC,&lt;br /&gt;
switching main power supply on and off, resetting main SH4 CPU and so on.&lt;br /&gt;
It also works as a watchdog.&lt;br /&gt;
Use&lt;br /&gt;
 /mtd_boot/MicomCtrl&lt;br /&gt;
or&lt;br /&gt;
 /lib/modules/MicomCtrl&lt;br /&gt;
to send commands to Micom. If the main tv process exeDSP is active, a collision between MicomCtrl and exeDSP command can happen - you can repeat MicomCtrl several times to ensure the command is accepted.&lt;br /&gt;
&lt;br /&gt;
== Early boot timeout ==&lt;br /&gt;
In the first 14 seconds since boot start Micom expects command Set_Sw_Pvcc (208).&lt;br /&gt;
exeDSP sends it normally. If you don't want to or can't run exeDSP, use&lt;br /&gt;
 /mtd_boot/MicomCtrl 208&lt;br /&gt;
If this command is not given in time, TV reboots 6 times and after that this watchdog&lt;br /&gt;
deactivates itself.&lt;br /&gt;
&lt;br /&gt;
== Boot finished OK timeout ==&lt;br /&gt;
Micom expects command SetAppInitOk in 60 seconds from boot start otherwise it reboots.&lt;br /&gt;
 /mtd_boot/MicomCtrl 232 1&lt;br /&gt;
&lt;br /&gt;
== Micom periodic watchdog ==&lt;br /&gt;
Periodic WD is disabled in boot time. exeDSP always enables WD during startup and then periodically sends alive message. Timeout is 40 seconds.&lt;br /&gt;
Commands:&lt;br /&gt;
 /mtd_boot/MicomCtrl 22      # watchdog enable&lt;br /&gt;
 /mtd_boot/MicomCtrl 23      # watchdog disable&lt;br /&gt;
 /mtd_boot/MicomCtrl 24      # alive message&lt;br /&gt;
&lt;br /&gt;
 /mtd_boot/MicomCtrl 133 1/0 # watchdog on/off&lt;br /&gt;
 /mtd_boot/MicomCtrl 135     # get watchdog on/off&lt;br /&gt;
 hexdump -v -n 9 -e '/1 &amp;quot;%02x &amp;quot;' /dev/ttyAS2 # reads reply packet from serial line&lt;br /&gt;
&lt;br /&gt;
== Linux kernel watchdog ==&lt;br /&gt;
Software watchdog with 30 second timeout and /proc/watchdog interface.&lt;br /&gt;
Probably only this one can be switched off in service menu.&lt;br /&gt;
&lt;br /&gt;
== exeDSP internal watchdog ==&lt;br /&gt;
One thread of exeDSP periodically checks the other important threads and if one does not respond, reboots the TV.&lt;br /&gt;
Watchdog thread can be disabled writing nonzero to address 0x2091164.&lt;br /&gt;
&lt;br /&gt;
== Other Micom commands ==&lt;br /&gt;
 /mtd_boot/MicomCtrl 18      # power off&lt;br /&gt;
 /mtd_boot/MicomCtrl 29      # system restart (cycles main power off and on)&lt;br /&gt;
 /mtd_boot/MicomCtrl 143     # CPU reset (TV screen is shifted because GPU is not properly initialized)&lt;br /&gt;
&lt;br /&gt;
 /mtd_boot/MicomCtrl 227 0-4 # power LED control 0..off, 1/2/3..slow/medium/fast flashing, 4..on&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Watchdogs_and_MICOM_on_A_series(SH4)&amp;diff=1871</id>
		<title>Watchdogs and MICOM on A series(SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Watchdogs_and_MICOM_on_A_series(SH4)&amp;diff=1871"/>
		<updated>2011-05-01T11:30:50Z</updated>

		<summary type="html">&lt;p&gt;Tom van: Created page with 'There is abundant use of watchdogs/timeouts in LE46A956. I'm not sure if it is because of &amp;quot;quality&amp;quot; of firmware or it is an anti-hacking measure.  Micom is a microcontroller respâ¦'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There is abundant use of watchdogs/timeouts in LE46A956. I'm not sure if it is because of&lt;br /&gt;
&amp;quot;quality&amp;quot; of firmware or it is an anti-hacking measure.&lt;br /&gt;
&lt;br /&gt;
Micom is a microcontroller responsible for receiving commands from RC,&lt;br /&gt;
switching main power supply on and off, resetting main SH4 CPU and so on.&lt;br /&gt;
It also works as a watchdog.&lt;br /&gt;
Use&lt;br /&gt;
 /mtd_boot/MicomCtrl&lt;br /&gt;
or&lt;br /&gt;
 /lib/modules/MicomCtrl&lt;br /&gt;
to send commands to Micom. If the main tv process exeDSP is active, a collision between MicomCtrl and exeDSP command can happen - you can repeat MicomCtrl several times to ensure the command is accepted.&lt;br /&gt;
&lt;br /&gt;
== Early boot timeout ==&lt;br /&gt;
In the first 14 seconds since boot start Micom expects command Set_Sw_Pvcc (208).&lt;br /&gt;
exeDSP sends it normally. If you don't want to or can't run exeDSP, use&lt;br /&gt;
 /mtd_boot/MicomCtrl 208&lt;br /&gt;
If this command is not given in time, TV reboots 6 times and after that this watchdog&lt;br /&gt;
deactivates itself.&lt;br /&gt;
&lt;br /&gt;
== Boot finished OK timeout ==&lt;br /&gt;
Micom expects command SetAppInitOk in 60 seconds from boot start otherwise it reboots.&lt;br /&gt;
 /mtd_boot/MicomCtrl 232 1&lt;br /&gt;
&lt;br /&gt;
== Micom periodic watchdog ==&lt;br /&gt;
Periodic WD if disabled in boot time. exeDSP always enables it during startup and then periodically sends alive message. Timeout is 40 seconds.&lt;br /&gt;
Commands:&lt;br /&gt;
 /mtd_boot/MicomCtrl 22      # watchdog enable&lt;br /&gt;
 /mtd_boot/MicomCtrl 23      # watchdog disable&lt;br /&gt;
 /mtd_boot/MicomCtrl 24      # alive message&lt;br /&gt;
&lt;br /&gt;
 /mtd_boot/MicomCtrl 133 1/0 # watchdog on/off&lt;br /&gt;
 /mtd_boot/MicomCtrl 135     # get watchdog on/off&lt;br /&gt;
 hexdump -v -n 9 -e '/1 &amp;quot;%02x &amp;quot;' /dev/ttyAS2 # reads reply packet from serial line&lt;br /&gt;
&lt;br /&gt;
== Linux kernel watchdog ==&lt;br /&gt;
Software watchdog with 30 second timeout and /proc/watchdog interface.&lt;br /&gt;
Probably only this one can be switched off in service menu.&lt;br /&gt;
&lt;br /&gt;
== exeDSP internal watchdog ==&lt;br /&gt;
One thread of exeDSP periodically checks the other important threads and if one does not respond, reboots the TV.&lt;br /&gt;
Watchdog thread can be disabled writing nonzero to address 0x2091164.&lt;br /&gt;
&lt;br /&gt;
== Other Micom commands ==&lt;br /&gt;
 /mtd_boot/MicomCtrl 18      # power off&lt;br /&gt;
 /mtd_boot/MicomCtrl 29      # system restart (cycles main power off and on)&lt;br /&gt;
 /mtd_boot/MicomCtrl 143     # CPU reset (TV screen is shifted because GPU is not properly initialized)&lt;br /&gt;
&lt;br /&gt;
 /mtd_boot/MicomCtrl 227 0-4 # power LED control 0..off, 1/2/3..slow/medium/fast flashing, 4..on&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1868</id>
		<title>Samsung A Series (sh4 CPU) Hacks</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1868"/>
		<updated>2011-05-01T09:07:53Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==T-AMBDFRC (Models LExxA676)==&lt;br /&gt;
&lt;br /&gt;
A SH4 CPU model - please add details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==T-RBYDEUC (Models LExxA756, LExxA856, LExxA956/959)==&lt;br /&gt;
&lt;br /&gt;
==='''Available hacks / software'''===&lt;br /&gt;
&lt;br /&gt;
Look for latest versions in [http://download.samygo.tv/A%20Series/ download area]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Firmware Patcher]]&lt;br /&gt;
* WiseLink video player aspect ratio fix (arfix-sh) is applied&lt;br /&gt;
* optionally enabling boot time call to a script /SamyGO/rcSGO from USB disk (answer upercase '''U''') - e.g. for Extension Pack&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Extensions Pack]]&lt;br /&gt;
&lt;br /&gt;
A collection of command line linux applications. Unpack files to USB disk and insert to tv set.&lt;br /&gt;
A firmware patch or [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices serial console] is necessary to start extensions (call a script /SamyGO/rcSGO on USB disk)&lt;br /&gt;
* SSH daemon for linux command line access ( user: root, password: SamyGO )&lt;br /&gt;
* kernel modules/scripts for mounting CIFS (Windows) shares and NFS shares&lt;br /&gt;
* lot lot more... see [http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=1313 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Video player aspect ratio fix (SH4)]]&lt;br /&gt;
&lt;br /&gt;
arfix-sh fixes part of internal firmware, WiseLink video player.&lt;br /&gt;
Also see [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''T-RBYDEUC technical info'''===&lt;br /&gt;
&lt;br /&gt;
The main CPU of these models is NOT an ARM processor but the '''SH4 processor''' [http://www.st.com/stonline/products/literature/bd/11660/sti7109.pdf STi7109]. Therefore ARM-based hacks and tools won't run!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Getting access to u-boot (SH4)]]&lt;br /&gt;
&lt;br /&gt;
[[Watchdogs and MICOM on A series(SH4)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Official firmware from Samsung: T-RBYDEU (T-RBYDEUC) in version 1013.1&lt;br /&gt;
&lt;br /&gt;
Linux version:&lt;br /&gt;
   Linux version 2.6.17.14_stm22_0039-Samsung_7103 (gcc version 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)) #363 PREEMPT Sun Jul 27 17:14:14 KST 2008&lt;br /&gt;
&lt;br /&gt;
Other differences from ARM model line:&lt;br /&gt;
* exeDSP has all symbols stripped&lt;br /&gt;
* libGame.so loading and running is completely blocked in exeDSP&lt;br /&gt;
* First USB is connected to MTK8226 (secondary CPU) so the first USB disk appears as /dev/sdb (mountpoint /dtv/usb/sdb1)&lt;br /&gt;
* busybox has a malfunctioning telnet-deamon compiled in (busybox is compiled without /dev/pts filesystem support however kernel needs it)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Manual firmware patching T-RBYDEUC==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Obsoleted by SamyGO Firmware Patcher and Extension Pack.&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
So, what you need is an updated BusyBox, a modified exe.img to enable script-starts from USB-Pens and a good USB-Script to start telnet-daemon.&lt;br /&gt;
You can find most of the things in the following thread:&lt;br /&gt;
&lt;br /&gt;
Hacking T-RBYDEUC Firmware - LE40A756 and A856 &lt;br /&gt;
[http://forum.samygo.tv/viewtopic.php?f=2&amp;amp;t=49]&lt;br /&gt;
&lt;br /&gt;
So, what you need to do, to get access to your TV:&lt;br /&gt;
&lt;br /&gt;
1. Modifiy your start.sh in exe.img, either by unpacking and repacking it (see below how to do), or by using a hex-editor.&lt;br /&gt;
There are many descriptions how to modify exe.img and to correct the crc-hash. What you need to add to start.sh:&lt;br /&gt;
&lt;br /&gt;
   export LOGNAME=&amp;quot;root&amp;quot; [already there]&lt;br /&gt;
   ...&lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PATH_USB=`cat log | grep Mount`&lt;br /&gt;
   PATH_USB=`echo ${PATH_USB##MountDir : }`&lt;br /&gt;
   echo $PATH_USB&lt;br /&gt;
   $PATH_USB/usb.sh &amp;amp;&lt;br /&gt;
   ## mount -n -t usbfs none /proc/bus/usb&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Modification may not work as some USB disks get mounted later than the modified code is executed&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now I can run scripts (usb.sh) from pendrive. Therefore you need to build (or copy from archive) the folloing script to the root of your pendrive:&lt;br /&gt;
&lt;br /&gt;
   #! /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB START !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   /bin/stty -F /dev/ttyAS0 ospeed 57600 ispeed 57600&lt;br /&gt;
   #line before enables console for speed 57600. Put 'debug' to console and you see menu, put '12' and ENTER&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start console on 57600 !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   &lt;br /&gt;
   #sleep 25 (m)sec is need for wait ethernet start&lt;br /&gt;
   sleep 25&lt;br /&gt;
   &lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PU=`cat log | grep Mount`&lt;br /&gt;
   PU=`echo ${PU##MountDir : }`&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start telnet !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   $PU/busybox telnetd -l /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start cifs.ko !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   cd $PU&lt;br /&gt;
   insmod cifs.ko&lt;br /&gt;
   &lt;br /&gt;
   sleep 4&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! clear old contents USB on TV  !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   rm /mtd_contents/V* -R&lt;br /&gt;
   rm /mtd_contents/database -R&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start mount !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/photo $PU/photo -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/mp3 $PU/mp3 -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/video $PU/video -o user=user_xp -o pass=password_xp&lt;br /&gt;
   &lt;br /&gt;
   mount&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB END !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
On pendrive you have to have empty folders: photo, mp3, video and files: usb.sh, cifs.ko (size for my compilation 2707316 bytes), busybox (size for my compilation 992084 bytes)&lt;br /&gt;
&lt;br /&gt;
You can download the whole package here: &lt;br /&gt;
[http://forum.samygo.tv/download/file.php?id=62]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=1755</id>
		<title>Getting access to u-boot (SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=1755"/>
		<updated>2011-03-31T10:52:15Z</updated>

		<summary type="html">&lt;p&gt;Tom van: /* Changes to environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Follow below steps to get access to the bootloader of your device.&lt;br /&gt;
This page is modified copy of [[Getting access to u-boot]] as there are some important differences for A series models with SH4.&lt;br /&gt;
Tested on T-RBYDEUC firmware&lt;br /&gt;
== Prior to boot-process ==&lt;br /&gt;
1. Settings in Service menu are set before TV broke - do it now, if your TV isn`t broken - insurance for future&lt;br /&gt;
* Switch off the TV&lt;br /&gt;
* Enter Service Menu ( quickly push [INFO] [MENU] [MUTE] [POWER] on your remote control )&lt;br /&gt;
* Enable Advanced Menu ( navigate to Advanced, enter 0-0-0-0 )&lt;br /&gt;
* Change setting for your Ex-link interface to &amp;quot;STi&amp;quot; ( Advanced -&amp;gt; Adjust -&amp;gt; UART Select --&amp;gt; [ W.Mount | '''STi''' | MTK | Logic ] ) &lt;br /&gt;
Setting Watchdog off does not seem to work on this model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Make or buy '''Service Cable''' - [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices#The_Ex-Link_.28serial.29_cable ExLink]&lt;br /&gt;
&lt;br /&gt;
== Terminal Connection Parameters ==&lt;br /&gt;
*Connect Ex-link and use following connection parameters with your terminal-client ( e.g. Kermit, Hyper Therminal or ZOC Terminal ):&lt;br /&gt;
 Baudrate: '''115200'''&lt;br /&gt;
 Data bits: '''8'''&lt;br /&gt;
 Parity: '''none'''&lt;br /&gt;
 Stop bits: '''1'''&lt;br /&gt;
 Flow Control: '''none'''&lt;br /&gt;
&lt;br /&gt;
== During the boot-process ==&lt;br /&gt;
* TV is just switched on or rebooting&lt;br /&gt;
* Press and hold space&lt;br /&gt;
* If you're lucky, you'll see prompt &lt;br /&gt;
 Enter MBL..[0001]&lt;br /&gt;
 _ShadowOS.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Board: STb7109&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 *** Samsung U-Boot 1.1.2 (FlexOneNand) VER : 0029 - 195MHz  (Jul 31 2008 - 12:49:44) - st2.0-14 ***&lt;br /&gt;
 &lt;br /&gt;
 DRAM:  128 MB&lt;br /&gt;
 In:    serial&lt;br /&gt;
 Out:   serial&lt;br /&gt;
 Err:   serial&lt;br /&gt;
 Net:   Using MAC Address 00:12:FB:1A:15:03&lt;br /&gt;
 STMAC: SMSC LAN8700 found&lt;br /&gt;
 eeprom = 0&lt;br /&gt;
 Hit any key to stop autoboot:  0&lt;br /&gt;
 STi710x&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see just first two lines, you have not set Ex-link interface to &amp;quot;STi&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As there is no known way to switch watchdog off on this model, you have only 14 seconds&lt;br /&gt;
until watchdog reboots. After 5 consecutive reboots watchdog prolong the time to 1 minute.&lt;br /&gt;
&lt;br /&gt;
Entering u-boot prompt needs good timing because original setting of parameter bootdelay=0 means that u-boot does not wait for keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Changes to environment==&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BE VERY CAREFUL AND ABSOLUTELY SURE YOU KNOW WHAT ARE DOING&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can change bootdelay to 1 second to be sure you'll catch the prompt. Paste from clipboard command:&lt;br /&gt;
 setenv bootdelay 1&lt;br /&gt;
 saveenv&lt;br /&gt;
If you set long bootdelay, TV reboots 5 times until starts or you have to start boot manually.&lt;br /&gt;
&lt;br /&gt;
To use serial console for linux at 115200 Baud you have to eliminate crippling of linux serial driver: add &amp;quot;yongsik&amp;quot; parameter.&lt;br /&gt;
You can directly load kernel by pasting the command&lt;br /&gt;
 bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000 quiet yongsik; bootm 0x84100000&lt;br /&gt;
&lt;br /&gt;
Or you can save the change&lt;br /&gt;
 setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rootfstype=squashfs bigphysarea=2000 quiet yongsik&lt;br /&gt;
 setenv bootcmd &amp;quot;bbm load kernel;bbm close;bootm 0x84100000&amp;quot;&lt;br /&gt;
 saveenv&lt;br /&gt;
&lt;br /&gt;
See also [[http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=49 discussion]]&lt;br /&gt;
&lt;br /&gt;
==Debug Menu==&lt;br /&gt;
Let serial line calm down from huge boot messages and type&lt;br /&gt;
 debug [ Enter ]&lt;br /&gt;
&lt;br /&gt;
==u-boot commands==&lt;br /&gt;
 ?       - alias for 'help'&lt;br /&gt;
 askenv  - get environment variables from stdin&lt;br /&gt;
 autoscr - run script from memory&lt;br /&gt;
 base    - print or set address offset&lt;br /&gt;
 bbm   - BBM sub-system&lt;br /&gt;
 bdinfo  - print Board Info structure&lt;br /&gt;
 boot    - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootd   - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootm   - boot application image from memory&lt;br /&gt;
 bootp	- boot image via network using BootP/TFTP protocol&lt;br /&gt;
 cmp     - memory compare&lt;br /&gt;
 coninfo - print console devices and information&lt;br /&gt;
 cp      - memory copy&lt;br /&gt;
 crc32   - checksum calculation&lt;br /&gt;
 dhcp	- invoke DHCP client to obtain IP/boot params&lt;br /&gt;
 diskboot- boot from IDE device&lt;br /&gt;
 echo    - echo args to console&lt;br /&gt;
 erase   - erase FLASH memory&lt;br /&gt;
 exit    - exit script&lt;br /&gt;
 ext2load- load binary file from a Ext2 filesystem&lt;br /&gt;
 ext2ls- list files in a directory (default /)&lt;br /&gt;
 fatinfo - print information about filesystem&lt;br /&gt;
 fatload - load binary file from a dos filesystem&lt;br /&gt;
 fatls   - list files in a directory (default /)&lt;br /&gt;
 flinfo  - print FLASH memory information&lt;br /&gt;
 fnw    - FlexoneNand Writer&lt;br /&gt;
 go      - start application at address 'addr'&lt;br /&gt;
 help    - print online help&lt;br /&gt;
 ide     - IDE sub-system&lt;br /&gt;
 iminfo  - print header information for application image&lt;br /&gt;
 imls    - list all images found in flash&lt;br /&gt;
 itest	- return true/false on integer compare&lt;br /&gt;
 loadb   - load binary file over serial line (kermit mode)&lt;br /&gt;
 loads   - load S-Record file over serial line&lt;br /&gt;
 loop    - infinite loop on address range&lt;br /&gt;
 md      - memory display&lt;br /&gt;
 mm      - memory modify (auto-incrementing)&lt;br /&gt;
 mtest   - simple RAM test&lt;br /&gt;
 mw      - memory write (fill)&lt;br /&gt;
 nfs	- boot image via network using NFS protocol&lt;br /&gt;
 nm      - memory modify (constant address)&lt;br /&gt;
 ping	- send ICMP ECHO_REQUEST to network host&lt;br /&gt;
 printenv- print environment variables&lt;br /&gt;
 protect - enable or disable FLASH write protection&lt;br /&gt;
 rarpboot- boot image via network using RARP/TFTP protocol&lt;br /&gt;
 reset   - Perform RESET of the CPU&lt;br /&gt;
 run     - run commands in an environment variable&lt;br /&gt;
 saveenv - save environment variables to persistent storage&lt;br /&gt;
 setenv  - set environment variables&lt;br /&gt;
 sleep   - delay execution for some time&lt;br /&gt;
 test    - minimal test like /bin/sh&lt;br /&gt;
 tftpboot- boot image via network using TFTP protocol&lt;br /&gt;
 usb     - USB sub-system&lt;br /&gt;
 usbboot - boot from USB device&lt;br /&gt;
 version - print monitor version&lt;br /&gt;
==Original u-boot environment==&lt;br /&gt;
 bootdelay=0&lt;br /&gt;
 baudrate=115200&lt;br /&gt;
 ipaddr=192.168.10.120&lt;br /&gt;
 netmask=255.255.255.0&lt;br /&gt;
 gatewayip=192.168.10.1&lt;br /&gt;
 serverip=192.168.10.200&lt;br /&gt;
 ethaddr=00:04:67:FF:FF:0F&lt;br /&gt;
 nfsserver=192.168.10.200&lt;br /&gt;
 nfsrootdir=/data/Samsung/rootfs/rfs&lt;br /&gt;
 bigphys=2000&lt;br /&gt;
 memsize=84M&lt;br /&gt;
 board=stb7100ref_27&lt;br /&gt;
 monitor_base=0xA0000000&lt;br /&gt;
 monitor_len=0x00020000&lt;br /&gt;
 monitor_sec=1:0-8&lt;br /&gt;
 env_sec=1:9-10&lt;br /&gt;
 cleanenv=protect off $env_sec;erase $env_sec;protect on $env_sec&lt;br /&gt;
 kernel_base=0xA0040000&lt;br /&gt;
 kernel_len=0x00200000&lt;br /&gt;
 kernel_sec=1:11-42&lt;br /&gt;
 cramfs_base=0xA0240000&lt;br /&gt;
 cramfs_sec=1:43-90&lt;br /&gt;
 cramfs_len=0x00300000&lt;br /&gt;
 load_addr=0x84000000&lt;br /&gt;
 updatebootrom=protect off $monitor_sec;erase $monitor_sec;tftp $load_addr u-boot.bin;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec&lt;br /&gt;
 updatelinux=protect off $kernel_sec;erase $kernel_sec;tftp $load_addr vmlinux.ub;cp.b $load_addr $kernel_base $kernel_len;protect on $kernel_sec&lt;br /&gt;
 updaterfs=protect off $cramfs_sec;erase $cramfs_sec;tftp $load_addr rfs.cramfs;cp.b $load_addr $cramfs_base $cramfs_len;protect on $cramfs_sec&lt;br /&gt;
 ipconf=set ip $ipaddr::$gatewayip:$netmask:stb7109::off&lt;br /&gt;
 nfsconf=set nfsroot $nfsserver:$nfsrootdir,nfsvers=2,rsize=4096,wsize=8192,tcp&lt;br /&gt;
 hwnfconf=set nwhwnet device:eth0,hwaddr:$ethaddr&lt;br /&gt;
 nfsbootargs=run ipconf;run nfsconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/nfs rw nfsroot=$nfsroot ip=$ip nwhwconf=$nwhwnet bigphysarea=$&lt;br /&gt;
 bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512&lt;br /&gt;
 cramfsbootargs=run ipconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/mtdblock2 rw rootfstype=cramfs ip=$ip nwhwconf=$nwhwnet bigphysarea=$bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512 quiet&lt;br /&gt;
 testlinux=tftp $load_addr vmlinux.ub; bootm $load_addr&lt;br /&gt;
 verify=n&lt;br /&gt;
 bootcmd=bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000,watchdog:4000,rxsize:512 quiet; bootm 0x84100000&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=1754</id>
		<title>Getting access to u-boot (SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=1754"/>
		<updated>2011-03-31T10:50:39Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Follow below steps to get access to the bootloader of your device.&lt;br /&gt;
This page is modified copy of [[Getting access to u-boot]] as there are some important differences for A series models with SH4.&lt;br /&gt;
Tested on T-RBYDEUC firmware&lt;br /&gt;
== Prior to boot-process ==&lt;br /&gt;
1. Settings in Service menu are set before TV broke - do it now, if your TV isn`t broken - insurance for future&lt;br /&gt;
* Switch off the TV&lt;br /&gt;
* Enter Service Menu ( quickly push [INFO] [MENU] [MUTE] [POWER] on your remote control )&lt;br /&gt;
* Enable Advanced Menu ( navigate to Advanced, enter 0-0-0-0 )&lt;br /&gt;
* Change setting for your Ex-link interface to &amp;quot;STi&amp;quot; ( Advanced -&amp;gt; Adjust -&amp;gt; UART Select --&amp;gt; [ W.Mount | '''STi''' | MTK | Logic ] ) &lt;br /&gt;
Setting Watchdog off does not seem to work on this model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Make or buy '''Service Cable''' - [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices#The_Ex-Link_.28serial.29_cable ExLink]&lt;br /&gt;
&lt;br /&gt;
== Terminal Connection Parameters ==&lt;br /&gt;
*Connect Ex-link and use following connection parameters with your terminal-client ( e.g. Kermit, Hyper Therminal or ZOC Terminal ):&lt;br /&gt;
 Baudrate: '''115200'''&lt;br /&gt;
 Data bits: '''8'''&lt;br /&gt;
 Parity: '''none'''&lt;br /&gt;
 Stop bits: '''1'''&lt;br /&gt;
 Flow Control: '''none'''&lt;br /&gt;
&lt;br /&gt;
== During the boot-process ==&lt;br /&gt;
* TV is just switched on or rebooting&lt;br /&gt;
* Press and hold space&lt;br /&gt;
* If you're lucky, you'll see prompt &lt;br /&gt;
 Enter MBL..[0001]&lt;br /&gt;
 _ShadowOS.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Board: STb7109&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 *** Samsung U-Boot 1.1.2 (FlexOneNand) VER : 0029 - 195MHz  (Jul 31 2008 - 12:49:44) - st2.0-14 ***&lt;br /&gt;
 &lt;br /&gt;
 DRAM:  128 MB&lt;br /&gt;
 In:    serial&lt;br /&gt;
 Out:   serial&lt;br /&gt;
 Err:   serial&lt;br /&gt;
 Net:   Using MAC Address 00:12:FB:1A:15:03&lt;br /&gt;
 STMAC: SMSC LAN8700 found&lt;br /&gt;
 eeprom = 0&lt;br /&gt;
 Hit any key to stop autoboot:  0&lt;br /&gt;
 STi710x&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see just first two lines, you have not set Ex-link interface to &amp;quot;STi&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As there is no known way to switch watchdog off on this model, you have only 14 seconds&lt;br /&gt;
until watchdog reboots. After 5 consecutive reboots watchdog prolong the time to 1 minute.&lt;br /&gt;
&lt;br /&gt;
Entering u-boot prompt needs good timing because original setting of parameter bootdelay=0 means that u-boot does not wait for keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Changes to environment==&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BE VERY CAREFUL AND ABSOLUTELY SURE YOU KNOW WHAT ARE DOING&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can change bootdelay to 1 second to be sure you'll catch it. Paste from clipboard command:&lt;br /&gt;
 setenv bootdelay 1&lt;br /&gt;
 saveenv&lt;br /&gt;
If you set long bootdelay, TV reboots 5 times until starts or you have to start boot manually.&lt;br /&gt;
&lt;br /&gt;
To use serial console for linux at 115200 Baud you have to eliminate crippling of linux serial driver: add &amp;quot;yongsik&amp;quot; parameter.&lt;br /&gt;
You can directly load kernel by pasting the command&lt;br /&gt;
 bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000 quiet yongsik; bootm 0x84100000&lt;br /&gt;
&lt;br /&gt;
Or you can save the change&lt;br /&gt;
 setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rootfstype=squashfs bigphysarea=2000 quiet yongsik&lt;br /&gt;
 setenv bootcmd &amp;quot;bbm load kernel;bbm close;bootm 0x84100000&amp;quot;&lt;br /&gt;
 saveenv&lt;br /&gt;
&lt;br /&gt;
See also [[http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=49 discussion]]&lt;br /&gt;
&lt;br /&gt;
==Debug Menu==&lt;br /&gt;
Let serial line calm down from huge boot messages and type&lt;br /&gt;
 debug [ Enter ]&lt;br /&gt;
&lt;br /&gt;
==u-boot commands==&lt;br /&gt;
 ?       - alias for 'help'&lt;br /&gt;
 askenv  - get environment variables from stdin&lt;br /&gt;
 autoscr - run script from memory&lt;br /&gt;
 base    - print or set address offset&lt;br /&gt;
 bbm   - BBM sub-system&lt;br /&gt;
 bdinfo  - print Board Info structure&lt;br /&gt;
 boot    - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootd   - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootm   - boot application image from memory&lt;br /&gt;
 bootp	- boot image via network using BootP/TFTP protocol&lt;br /&gt;
 cmp     - memory compare&lt;br /&gt;
 coninfo - print console devices and information&lt;br /&gt;
 cp      - memory copy&lt;br /&gt;
 crc32   - checksum calculation&lt;br /&gt;
 dhcp	- invoke DHCP client to obtain IP/boot params&lt;br /&gt;
 diskboot- boot from IDE device&lt;br /&gt;
 echo    - echo args to console&lt;br /&gt;
 erase   - erase FLASH memory&lt;br /&gt;
 exit    - exit script&lt;br /&gt;
 ext2load- load binary file from a Ext2 filesystem&lt;br /&gt;
 ext2ls- list files in a directory (default /)&lt;br /&gt;
 fatinfo - print information about filesystem&lt;br /&gt;
 fatload - load binary file from a dos filesystem&lt;br /&gt;
 fatls   - list files in a directory (default /)&lt;br /&gt;
 flinfo  - print FLASH memory information&lt;br /&gt;
 fnw    - FlexoneNand Writer&lt;br /&gt;
 go      - start application at address 'addr'&lt;br /&gt;
 help    - print online help&lt;br /&gt;
 ide     - IDE sub-system&lt;br /&gt;
 iminfo  - print header information for application image&lt;br /&gt;
 imls    - list all images found in flash&lt;br /&gt;
 itest	- return true/false on integer compare&lt;br /&gt;
 loadb   - load binary file over serial line (kermit mode)&lt;br /&gt;
 loads   - load S-Record file over serial line&lt;br /&gt;
 loop    - infinite loop on address range&lt;br /&gt;
 md      - memory display&lt;br /&gt;
 mm      - memory modify (auto-incrementing)&lt;br /&gt;
 mtest   - simple RAM test&lt;br /&gt;
 mw      - memory write (fill)&lt;br /&gt;
 nfs	- boot image via network using NFS protocol&lt;br /&gt;
 nm      - memory modify (constant address)&lt;br /&gt;
 ping	- send ICMP ECHO_REQUEST to network host&lt;br /&gt;
 printenv- print environment variables&lt;br /&gt;
 protect - enable or disable FLASH write protection&lt;br /&gt;
 rarpboot- boot image via network using RARP/TFTP protocol&lt;br /&gt;
 reset   - Perform RESET of the CPU&lt;br /&gt;
 run     - run commands in an environment variable&lt;br /&gt;
 saveenv - save environment variables to persistent storage&lt;br /&gt;
 setenv  - set environment variables&lt;br /&gt;
 sleep   - delay execution for some time&lt;br /&gt;
 test    - minimal test like /bin/sh&lt;br /&gt;
 tftpboot- boot image via network using TFTP protocol&lt;br /&gt;
 usb     - USB sub-system&lt;br /&gt;
 usbboot - boot from USB device&lt;br /&gt;
 version - print monitor version&lt;br /&gt;
==Original u-boot environment==&lt;br /&gt;
 bootdelay=0&lt;br /&gt;
 baudrate=115200&lt;br /&gt;
 ipaddr=192.168.10.120&lt;br /&gt;
 netmask=255.255.255.0&lt;br /&gt;
 gatewayip=192.168.10.1&lt;br /&gt;
 serverip=192.168.10.200&lt;br /&gt;
 ethaddr=00:04:67:FF:FF:0F&lt;br /&gt;
 nfsserver=192.168.10.200&lt;br /&gt;
 nfsrootdir=/data/Samsung/rootfs/rfs&lt;br /&gt;
 bigphys=2000&lt;br /&gt;
 memsize=84M&lt;br /&gt;
 board=stb7100ref_27&lt;br /&gt;
 monitor_base=0xA0000000&lt;br /&gt;
 monitor_len=0x00020000&lt;br /&gt;
 monitor_sec=1:0-8&lt;br /&gt;
 env_sec=1:9-10&lt;br /&gt;
 cleanenv=protect off $env_sec;erase $env_sec;protect on $env_sec&lt;br /&gt;
 kernel_base=0xA0040000&lt;br /&gt;
 kernel_len=0x00200000&lt;br /&gt;
 kernel_sec=1:11-42&lt;br /&gt;
 cramfs_base=0xA0240000&lt;br /&gt;
 cramfs_sec=1:43-90&lt;br /&gt;
 cramfs_len=0x00300000&lt;br /&gt;
 load_addr=0x84000000&lt;br /&gt;
 updatebootrom=protect off $monitor_sec;erase $monitor_sec;tftp $load_addr u-boot.bin;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec&lt;br /&gt;
 updatelinux=protect off $kernel_sec;erase $kernel_sec;tftp $load_addr vmlinux.ub;cp.b $load_addr $kernel_base $kernel_len;protect on $kernel_sec&lt;br /&gt;
 updaterfs=protect off $cramfs_sec;erase $cramfs_sec;tftp $load_addr rfs.cramfs;cp.b $load_addr $cramfs_base $cramfs_len;protect on $cramfs_sec&lt;br /&gt;
 ipconf=set ip $ipaddr::$gatewayip:$netmask:stb7109::off&lt;br /&gt;
 nfsconf=set nfsroot $nfsserver:$nfsrootdir,nfsvers=2,rsize=4096,wsize=8192,tcp&lt;br /&gt;
 hwnfconf=set nwhwnet device:eth0,hwaddr:$ethaddr&lt;br /&gt;
 nfsbootargs=run ipconf;run nfsconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/nfs rw nfsroot=$nfsroot ip=$ip nwhwconf=$nwhwnet bigphysarea=$&lt;br /&gt;
 bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512&lt;br /&gt;
 cramfsbootargs=run ipconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/mtdblock2 rw rootfstype=cramfs ip=$ip nwhwconf=$nwhwnet bigphysarea=$bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512 quiet&lt;br /&gt;
 testlinux=tftp $load_addr vmlinux.ub; bootm $load_addr&lt;br /&gt;
 verify=n&lt;br /&gt;
 bootcmd=bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000,watchdog:4000,rxsize:512 quiet; bootm 0x84100000&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=1753</id>
		<title>Getting access to u-boot (SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=1753"/>
		<updated>2011-03-31T10:49:27Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Follow below steps to get access to the bootloader of your device.&lt;br /&gt;
This page is modified copy of [[Getting access to u-boot]] as there are some important differences for A series models with SH4.&lt;br /&gt;
Tested on T-RBYDEUC firmware&lt;br /&gt;
== Prior to boot-process ==&lt;br /&gt;
1. Settings in Service menu are set before TV broke - do it now, if your TV isn`t broken - insurance for future&lt;br /&gt;
* Switch off the TV&lt;br /&gt;
* Enter Service Menu ( quickly push [INFO] [MENU] [MUTE] [POWER] on your remote control )&lt;br /&gt;
* Enable Advanced Menu ( navigate to Advanced, enter 0-0-0-0 )&lt;br /&gt;
* Change setting for your Ex-link interface to &amp;quot;STi&amp;quot; ( Advanced -&amp;gt; Adjust -&amp;gt; UART Select --&amp;gt; [ W.Mount | '''STi''' | MTK | Logic ] ) &lt;br /&gt;
Setting Watchdog off does not seem to work on this model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Make or buy '''Service Cable''' - [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices#The_Ex-Link_.28serial.29_cable ExLink]&lt;br /&gt;
&lt;br /&gt;
== Terminal Connection Parameters ==&lt;br /&gt;
*Connect Ex-link and use following connection parameters with your terminal-client ( e.g. Kermit, Hyper Therminal or ZOC Terminal ):&lt;br /&gt;
 Baudrate: '''115200'''&lt;br /&gt;
 Data bits: '''8'''&lt;br /&gt;
 Parity: '''none'''&lt;br /&gt;
 Stop bits: '''1'''&lt;br /&gt;
 Flow Control: '''none'''&lt;br /&gt;
&lt;br /&gt;
== During the boot-process ==&lt;br /&gt;
* TV is just switched on or rebooting&lt;br /&gt;
* Press and hold space&lt;br /&gt;
* If you're lucky, you'll see prompt &lt;br /&gt;
 Enter MBL..[0001]&lt;br /&gt;
 _ShadowOS.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Board: STb7109&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 *** Samsung U-Boot 1.1.2 (FlexOneNand) VER : 0029 - 195MHz  (Jul 31 2008 - 12:49:44) - st2.0-14 ***&lt;br /&gt;
 &lt;br /&gt;
 DRAM:  128 MB&lt;br /&gt;
 In:    serial&lt;br /&gt;
 Out:   serial&lt;br /&gt;
 Err:   serial&lt;br /&gt;
 Net:   Using MAC Address 00:12:FB:1A:15:03&lt;br /&gt;
 STMAC: SMSC LAN8700 found&lt;br /&gt;
 eeprom = 0&lt;br /&gt;
 Hit any key to stop autoboot:  0&lt;br /&gt;
 STi710x&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see just first two lines, you have not set Ex-link interface to &amp;quot;STi&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As there is no known way to switch watchdog off on this model, you have only 14 seconds&lt;br /&gt;
until watchdog reboots. After 5 consecutive reboots watchdog prolong the time to 1 minute.&lt;br /&gt;
&lt;br /&gt;
Entering u-boot prompt needs good timing because original setting of parameter bootdelay=0 means that u-boot does not wait for keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Changes to environment==&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BE VERY CAREFUL AND ABSOLUTELY SURE YOU KNOW WHAT ARE DOING&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can change bootdelay to 1 second to be sure you'll catch it. Paste from clipboard command:&lt;br /&gt;
 setenv bootdelay 60&lt;br /&gt;
 saveenv&lt;br /&gt;
If you set long bootdelay, TV reboots 5 times until starts or you have to start boot manually.&lt;br /&gt;
&lt;br /&gt;
To use serial console for linux at 115200 Baud you have to eliminate crippling of linux serial driver: add &amp;quot;yongsik&amp;quot; parameter.&lt;br /&gt;
You can directly load kernel by pasting the command&lt;br /&gt;
 bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000 quiet yongsik; bootm 0x84100000&lt;br /&gt;
&lt;br /&gt;
Or you can save the change&lt;br /&gt;
 setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rootfstype=squashfs bigphysarea=2000 quiet yongsik&lt;br /&gt;
 setenv bootcmd &amp;quot;bbm load kernel;bbm close;bootm 0x84100000&amp;quot;&lt;br /&gt;
 saveenv&lt;br /&gt;
&lt;br /&gt;
See also [[http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=49 discussion]]&lt;br /&gt;
&lt;br /&gt;
==Debug Menu==&lt;br /&gt;
Let serial line calm down from huge boot messages and type&lt;br /&gt;
 debug [ Enter ]&lt;br /&gt;
&lt;br /&gt;
==u-boot commands==&lt;br /&gt;
 ?       - alias for 'help'&lt;br /&gt;
 askenv  - get environment variables from stdin&lt;br /&gt;
 autoscr - run script from memory&lt;br /&gt;
 base    - print or set address offset&lt;br /&gt;
 bbm   - BBM sub-system&lt;br /&gt;
 bdinfo  - print Board Info structure&lt;br /&gt;
 boot    - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootd   - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootm   - boot application image from memory&lt;br /&gt;
 bootp	- boot image via network using BootP/TFTP protocol&lt;br /&gt;
 cmp     - memory compare&lt;br /&gt;
 coninfo - print console devices and information&lt;br /&gt;
 cp      - memory copy&lt;br /&gt;
 crc32   - checksum calculation&lt;br /&gt;
 dhcp	- invoke DHCP client to obtain IP/boot params&lt;br /&gt;
 diskboot- boot from IDE device&lt;br /&gt;
 echo    - echo args to console&lt;br /&gt;
 erase   - erase FLASH memory&lt;br /&gt;
 exit    - exit script&lt;br /&gt;
 ext2load- load binary file from a Ext2 filesystem&lt;br /&gt;
 ext2ls- list files in a directory (default /)&lt;br /&gt;
 fatinfo - print information about filesystem&lt;br /&gt;
 fatload - load binary file from a dos filesystem&lt;br /&gt;
 fatls   - list files in a directory (default /)&lt;br /&gt;
 flinfo  - print FLASH memory information&lt;br /&gt;
 fnw    - FlexoneNand Writer&lt;br /&gt;
 go      - start application at address 'addr'&lt;br /&gt;
 help    - print online help&lt;br /&gt;
 ide     - IDE sub-system&lt;br /&gt;
 iminfo  - print header information for application image&lt;br /&gt;
 imls    - list all images found in flash&lt;br /&gt;
 itest	- return true/false on integer compare&lt;br /&gt;
 loadb   - load binary file over serial line (kermit mode)&lt;br /&gt;
 loads   - load S-Record file over serial line&lt;br /&gt;
 loop    - infinite loop on address range&lt;br /&gt;
 md      - memory display&lt;br /&gt;
 mm      - memory modify (auto-incrementing)&lt;br /&gt;
 mtest   - simple RAM test&lt;br /&gt;
 mw      - memory write (fill)&lt;br /&gt;
 nfs	- boot image via network using NFS protocol&lt;br /&gt;
 nm      - memory modify (constant address)&lt;br /&gt;
 ping	- send ICMP ECHO_REQUEST to network host&lt;br /&gt;
 printenv- print environment variables&lt;br /&gt;
 protect - enable or disable FLASH write protection&lt;br /&gt;
 rarpboot- boot image via network using RARP/TFTP protocol&lt;br /&gt;
 reset   - Perform RESET of the CPU&lt;br /&gt;
 run     - run commands in an environment variable&lt;br /&gt;
 saveenv - save environment variables to persistent storage&lt;br /&gt;
 setenv  - set environment variables&lt;br /&gt;
 sleep   - delay execution for some time&lt;br /&gt;
 test    - minimal test like /bin/sh&lt;br /&gt;
 tftpboot- boot image via network using TFTP protocol&lt;br /&gt;
 usb     - USB sub-system&lt;br /&gt;
 usbboot - boot from USB device&lt;br /&gt;
 version - print monitor version&lt;br /&gt;
==Original u-boot environment==&lt;br /&gt;
 bootdelay=0&lt;br /&gt;
 baudrate=115200&lt;br /&gt;
 ipaddr=192.168.10.120&lt;br /&gt;
 netmask=255.255.255.0&lt;br /&gt;
 gatewayip=192.168.10.1&lt;br /&gt;
 serverip=192.168.10.200&lt;br /&gt;
 ethaddr=00:04:67:FF:FF:0F&lt;br /&gt;
 nfsserver=192.168.10.200&lt;br /&gt;
 nfsrootdir=/data/Samsung/rootfs/rfs&lt;br /&gt;
 bigphys=2000&lt;br /&gt;
 memsize=84M&lt;br /&gt;
 board=stb7100ref_27&lt;br /&gt;
 monitor_base=0xA0000000&lt;br /&gt;
 monitor_len=0x00020000&lt;br /&gt;
 monitor_sec=1:0-8&lt;br /&gt;
 env_sec=1:9-10&lt;br /&gt;
 cleanenv=protect off $env_sec;erase $env_sec;protect on $env_sec&lt;br /&gt;
 kernel_base=0xA0040000&lt;br /&gt;
 kernel_len=0x00200000&lt;br /&gt;
 kernel_sec=1:11-42&lt;br /&gt;
 cramfs_base=0xA0240000&lt;br /&gt;
 cramfs_sec=1:43-90&lt;br /&gt;
 cramfs_len=0x00300000&lt;br /&gt;
 load_addr=0x84000000&lt;br /&gt;
 updatebootrom=protect off $monitor_sec;erase $monitor_sec;tftp $load_addr u-boot.bin;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec&lt;br /&gt;
 updatelinux=protect off $kernel_sec;erase $kernel_sec;tftp $load_addr vmlinux.ub;cp.b $load_addr $kernel_base $kernel_len;protect on $kernel_sec&lt;br /&gt;
 updaterfs=protect off $cramfs_sec;erase $cramfs_sec;tftp $load_addr rfs.cramfs;cp.b $load_addr $cramfs_base $cramfs_len;protect on $cramfs_sec&lt;br /&gt;
 ipconf=set ip $ipaddr::$gatewayip:$netmask:stb7109::off&lt;br /&gt;
 nfsconf=set nfsroot $nfsserver:$nfsrootdir,nfsvers=2,rsize=4096,wsize=8192,tcp&lt;br /&gt;
 hwnfconf=set nwhwnet device:eth0,hwaddr:$ethaddr&lt;br /&gt;
 nfsbootargs=run ipconf;run nfsconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/nfs rw nfsroot=$nfsroot ip=$ip nwhwconf=$nwhwnet bigphysarea=$&lt;br /&gt;
 bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512&lt;br /&gt;
 cramfsbootargs=run ipconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/mtdblock2 rw rootfstype=cramfs ip=$ip nwhwconf=$nwhwnet bigphysarea=$bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512 quiet&lt;br /&gt;
 testlinux=tftp $load_addr vmlinux.ub; bootm $load_addr&lt;br /&gt;
 verify=n&lt;br /&gt;
 bootcmd=bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000,watchdog:4000,rxsize:512 quiet; bootm 0x84100000&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=1752</id>
		<title>Getting access to u-boot (SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Getting_access_to_u-boot_(SH4)&amp;diff=1752"/>
		<updated>2011-03-31T10:45:33Z</updated>

		<summary type="html">&lt;p&gt;Tom van: Created page with 'Follow below steps to get access to the bootloader of your device. This page is modified copy of Getting access to u-boot as there are some important differences for A seriesâ¦'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Follow below steps to get access to the bootloader of your device.&lt;br /&gt;
This page is modified copy of [[Getting access to u-boot]] as there are some important differences for A series models with SH4.&lt;br /&gt;
Tested on T-RBYDEUC firmware&lt;br /&gt;
== Prior to boot-process ==&lt;br /&gt;
1. Settings in Service menu are set before TV broke - do it now, if your TV isn`t broken - insurance for future&lt;br /&gt;
* Switch off the TV&lt;br /&gt;
* Enter Service Menu ( quickly push [INFO] [MENU] [MUTE] [POWER] on your remote control )&lt;br /&gt;
* Enable Advanced Menu ( navigate to Advanced, enter 0-0-0-0 )&lt;br /&gt;
* Change setting for your Ex-link interface to &amp;quot;STi&amp;quot; ( Advanced -&amp;gt; Adjust -&amp;gt; UART Select --&amp;gt; [ W.Mount | '''STi''' | MTK | Logic ] ) &lt;br /&gt;
Setting Watchdog off does not seem to work on this model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Make or buy '''Service Cable''' - [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices#The_Ex-Link_.28serial.29_cable ExLink]&lt;br /&gt;
&lt;br /&gt;
== Terminal Connection Parameters ==&lt;br /&gt;
*Connect Ex-link and use following connection parameters with your terminal-client ( e.g. Kermit, Hyper Therminal or ZOC Terminal ):&lt;br /&gt;
 Baudrate: '''115200'''&lt;br /&gt;
 Data bits: '''8'''&lt;br /&gt;
 Parity: '''none'''&lt;br /&gt;
 Stop bits: '''1'''&lt;br /&gt;
 Flow Control: '''none'''&lt;br /&gt;
&lt;br /&gt;
== During the boot-process ==&lt;br /&gt;
* TV is just switched on or rebooting&lt;br /&gt;
* Press and hold space&lt;br /&gt;
* If you're lucky, you'll see prompt &lt;br /&gt;
 Enter MBL..[0001]&lt;br /&gt;
 _ShadowOS.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Board: STb7109&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 *** Samsung U-Boot 1.1.2 (FlexOneNand) VER : 0029 - 195MHz  (Jul 31 2008 - 12:49:44) - st2.0-14 ***&lt;br /&gt;
 &lt;br /&gt;
 DRAM:  128 MB&lt;br /&gt;
 In:    serial&lt;br /&gt;
 Out:   serial&lt;br /&gt;
 Err:   serial&lt;br /&gt;
 Net:   Using MAC Address 00:12:FB:1A:15:03&lt;br /&gt;
 STMAC: SMSC LAN8700 found&lt;br /&gt;
 eeprom = 0&lt;br /&gt;
 Hit any key to stop autoboot:  0&lt;br /&gt;
 STi710x&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see just first two lines, you have not set Ex-link interface to &amp;quot;STi&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
As there is no known way to switch watchdog off on this model, you have only 14 seconds&lt;br /&gt;
until watchdog reboots. After 5 consecutive reboots watchdog prolong the time to 1 minute.&lt;br /&gt;
&lt;br /&gt;
Entering u-boot prompt needs good timing because original setting of parameter bootdelay=0 means that u-boot does not wait for keyboard.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Changes to environment==&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;BE VERY CAREFUL AND ABSOLUTELY SURE YOU KNOW WHAT ARE DOING&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can change bootdelay to 1 second to be sure you'll catch it. Paste from clipboard command:&lt;br /&gt;
 setenv bootdelay 60&lt;br /&gt;
 saveenv&lt;br /&gt;
If you set long bootdelay, TV reboots 5 times until starts or you have to start boot manually.&lt;br /&gt;
&lt;br /&gt;
To use serial console for linux at 115200 Baud you have to eliminate crippling of linux serial driver: add &amp;quot;yongsik&amp;quot; parameter.&lt;br /&gt;
You can directly load kernel by pasting the command&lt;br /&gt;
 bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000 quiet yongsik; bootm 0x84100000&lt;br /&gt;
&lt;br /&gt;
Or you can save the change&lt;br /&gt;
 setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rootfstype=squashfs bigphysarea=2000 quiet yongsik&lt;br /&gt;
 setenv bootcmd &amp;quot;bbm load kernel;bbm close;bootm 0x84100000&amp;quot;&lt;br /&gt;
 saveenv&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Debug Menu==&lt;br /&gt;
Let serial line calm down from huge boot messages and type&lt;br /&gt;
 debug [ Enter ]&lt;br /&gt;
&lt;br /&gt;
==u-boot commands==&lt;br /&gt;
 ?       - alias for 'help'&lt;br /&gt;
 askenv  - get environment variables from stdin&lt;br /&gt;
 autoscr - run script from memory&lt;br /&gt;
 base    - print or set address offset&lt;br /&gt;
 bbm   - BBM sub-system&lt;br /&gt;
 bdinfo  - print Board Info structure&lt;br /&gt;
 boot    - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootd   - boot default, i.e., run 'bootcmd'&lt;br /&gt;
 bootm   - boot application image from memory&lt;br /&gt;
 bootp	- boot image via network using BootP/TFTP protocol&lt;br /&gt;
 cmp     - memory compare&lt;br /&gt;
 coninfo - print console devices and information&lt;br /&gt;
 cp      - memory copy&lt;br /&gt;
 crc32   - checksum calculation&lt;br /&gt;
 dhcp	- invoke DHCP client to obtain IP/boot params&lt;br /&gt;
 diskboot- boot from IDE device&lt;br /&gt;
 echo    - echo args to console&lt;br /&gt;
 erase   - erase FLASH memory&lt;br /&gt;
 exit    - exit script&lt;br /&gt;
 ext2load- load binary file from a Ext2 filesystem&lt;br /&gt;
 ext2ls- list files in a directory (default /)&lt;br /&gt;
 fatinfo - print information about filesystem&lt;br /&gt;
 fatload - load binary file from a dos filesystem&lt;br /&gt;
 fatls   - list files in a directory (default /)&lt;br /&gt;
 flinfo  - print FLASH memory information&lt;br /&gt;
 fnw    - FlexoneNand Writer&lt;br /&gt;
 go      - start application at address 'addr'&lt;br /&gt;
 help    - print online help&lt;br /&gt;
 ide     - IDE sub-system&lt;br /&gt;
 iminfo  - print header information for application image&lt;br /&gt;
 imls    - list all images found in flash&lt;br /&gt;
 itest	- return true/false on integer compare&lt;br /&gt;
 loadb   - load binary file over serial line (kermit mode)&lt;br /&gt;
 loads   - load S-Record file over serial line&lt;br /&gt;
 loop    - infinite loop on address range&lt;br /&gt;
 md      - memory display&lt;br /&gt;
 mm      - memory modify (auto-incrementing)&lt;br /&gt;
 mtest   - simple RAM test&lt;br /&gt;
 mw      - memory write (fill)&lt;br /&gt;
 nfs	- boot image via network using NFS protocol&lt;br /&gt;
 nm      - memory modify (constant address)&lt;br /&gt;
 ping	- send ICMP ECHO_REQUEST to network host&lt;br /&gt;
 printenv- print environment variables&lt;br /&gt;
 protect - enable or disable FLASH write protection&lt;br /&gt;
 rarpboot- boot image via network using RARP/TFTP protocol&lt;br /&gt;
 reset   - Perform RESET of the CPU&lt;br /&gt;
 run     - run commands in an environment variable&lt;br /&gt;
 saveenv - save environment variables to persistent storage&lt;br /&gt;
 setenv  - set environment variables&lt;br /&gt;
 sleep   - delay execution for some time&lt;br /&gt;
 test    - minimal test like /bin/sh&lt;br /&gt;
 tftpboot- boot image via network using TFTP protocol&lt;br /&gt;
 usb     - USB sub-system&lt;br /&gt;
 usbboot - boot from USB device&lt;br /&gt;
 version - print monitor version&lt;br /&gt;
==Original u-boot environment==&lt;br /&gt;
 bootdelay=0&lt;br /&gt;
 baudrate=115200&lt;br /&gt;
 ipaddr=192.168.10.120&lt;br /&gt;
 netmask=255.255.255.0&lt;br /&gt;
 gatewayip=192.168.10.1&lt;br /&gt;
 serverip=192.168.10.200&lt;br /&gt;
 ethaddr=00:04:67:FF:FF:0F&lt;br /&gt;
 nfsserver=192.168.10.200&lt;br /&gt;
 nfsrootdir=/data/Samsung/rootfs/rfs&lt;br /&gt;
 bigphys=2000&lt;br /&gt;
 memsize=84M&lt;br /&gt;
 board=stb7100ref_27&lt;br /&gt;
 monitor_base=0xA0000000&lt;br /&gt;
 monitor_len=0x00020000&lt;br /&gt;
 monitor_sec=1:0-8&lt;br /&gt;
 env_sec=1:9-10&lt;br /&gt;
 cleanenv=protect off $env_sec;erase $env_sec;protect on $env_sec&lt;br /&gt;
 kernel_base=0xA0040000&lt;br /&gt;
 kernel_len=0x00200000&lt;br /&gt;
 kernel_sec=1:11-42&lt;br /&gt;
 cramfs_base=0xA0240000&lt;br /&gt;
 cramfs_sec=1:43-90&lt;br /&gt;
 cramfs_len=0x00300000&lt;br /&gt;
 load_addr=0x84000000&lt;br /&gt;
 updatebootrom=protect off $monitor_sec;erase $monitor_sec;tftp $load_addr u-boot.bin;cp.b $load_addr $monitor_base $monitor_len;protect on $monitor_sec&lt;br /&gt;
 updatelinux=protect off $kernel_sec;erase $kernel_sec;tftp $load_addr vmlinux.ub;cp.b $load_addr $kernel_base $kernel_len;protect on $kernel_sec&lt;br /&gt;
 updaterfs=protect off $cramfs_sec;erase $cramfs_sec;tftp $load_addr rfs.cramfs;cp.b $load_addr $cramfs_base $cramfs_len;protect on $cramfs_sec&lt;br /&gt;
 ipconf=set ip $ipaddr::$gatewayip:$netmask:stb7109::off&lt;br /&gt;
 nfsconf=set nfsroot $nfsserver:$nfsrootdir,nfsvers=2,rsize=4096,wsize=8192,tcp&lt;br /&gt;
 hwnfconf=set nwhwnet device:eth0,hwaddr:$ethaddr&lt;br /&gt;
 nfsbootargs=run ipconf;run nfsconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/nfs rw nfsroot=$nfsroot ip=$ip nwhwconf=$nwhwnet bigphysarea=$&lt;br /&gt;
 bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512&lt;br /&gt;
 cramfsbootargs=run ipconf;run hwnfconf;set bootargs console=ttyAS0,115200 mem=$memsize root=/dev/mtdblock2 rw rootfstype=cramfs ip=$ip nwhwconf=$nwhwnet bigphysarea=$bigphys stmmaceth=msglvl:0,watchdog:4000,rxsize:512 quiet&lt;br /&gt;
 testlinux=tftp $load_addr vmlinux.ub; bootm $load_addr&lt;br /&gt;
 verify=n&lt;br /&gt;
 bootcmd=bbm load kernel; bbm close; setenv bootargs console=ttyAS0,115200 mem=$memsize root=/dev/tfsr6 rw rootfstype=squashfs bigphysarea=2000,watchdog:4000,rxsize:512 quiet; bootm 0x84100000&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1751</id>
		<title>Samsung A Series (sh4 CPU) Hacks</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1751"/>
		<updated>2011-03-31T09:09:04Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==T-AMBDFRC (Models LExxA676)==&lt;br /&gt;
&lt;br /&gt;
A SH4 CPU model - please add details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==T-RBYDEUC (Models LExxA756, LExxA856, LExxA956/959)==&lt;br /&gt;
&lt;br /&gt;
==='''Available hacks / software'''===&lt;br /&gt;
&lt;br /&gt;
Look for latest versions in [http://download.samygo.tv/A%20Series/ download area]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Firmware Patcher]]&lt;br /&gt;
* WiseLink video player aspect ratio fix (arfix-sh) is applied&lt;br /&gt;
* optionally enabling boot time call to a script /SamyGO/rcSGO from USB disk (answer upercase '''U''') - e.g. for Extension Pack&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Extensions Pack]]&lt;br /&gt;
&lt;br /&gt;
A collection of command line linux applications. Unpack files to USB disk and insert to tv set.&lt;br /&gt;
A firmware patch or [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices serial console] is necessary to start extensions (call a script /SamyGO/rcSGO on USB disk)&lt;br /&gt;
* SSH daemon for linux command line access ( user: root, password: SamyGO )&lt;br /&gt;
* kernel modules/scripts for mounting CIFS (Windows) shares and NFS shares&lt;br /&gt;
* lot lot more... see [http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=1313 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Video player aspect ratio fix (SH4)]]&lt;br /&gt;
&lt;br /&gt;
arfix-sh fixes part of internal firmware, WiseLink video player.&lt;br /&gt;
Also see [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''T-RBYDEUC technical info'''===&lt;br /&gt;
&lt;br /&gt;
The main CPU of these models is NOT an ARM processor but the '''SH4 processor''' [http://www.st.com/stonline/products/literature/bd/11660/sti7109.pdf STi7109]. Therefore ARM-based hacks and tools won't run!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Getting access to u-boot (SH4)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Official firmware from Samsung: T-RBYDEU (T-RBYDEUC) in version 1013.1&lt;br /&gt;
&lt;br /&gt;
Linux version:&lt;br /&gt;
   Linux version 2.6.17.14_stm22_0039-Samsung_7103 (gcc version 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)) #363 PREEMPT Sun Jul 27 17:14:14 KST 2008&lt;br /&gt;
&lt;br /&gt;
Other differences from ARM model line:&lt;br /&gt;
* exeDSP has all symbols stripped&lt;br /&gt;
* libGame.so loading and running is completely blocked in exeDSP&lt;br /&gt;
* First USB is connected to MTK8226 (secondary CPU) so the first USB disk appears as /dev/sdb (mountpoint /dtv/usb/sdb1)&lt;br /&gt;
* busybox has a malfunctioning telnet-deamon compiled in (busybox is compiled without /dev/pts filesystem support however kernel needs it)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Manual firmware patching T-RBYDEUC==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Obsoleted by SamyGO Firmware Patcher and Extension Pack.&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
So, what you need is an updated BusyBox, a modified exe.img to enable script-starts from USB-Pens and a good USB-Script to start telnet-daemon.&lt;br /&gt;
You can find most of the things in the following thread:&lt;br /&gt;
&lt;br /&gt;
Hacking T-RBYDEUC Firmware - LE40A756 and A856 &lt;br /&gt;
[http://forum.samygo.tv/viewtopic.php?f=2&amp;amp;t=49]&lt;br /&gt;
&lt;br /&gt;
So, what you need to do, to get access to your TV:&lt;br /&gt;
&lt;br /&gt;
1. Modifiy your start.sh in exe.img, either by unpacking and repacking it (see below how to do), or by using a hex-editor.&lt;br /&gt;
There are many descriptions how to modify exe.img and to correct the crc-hash. What you need to add to start.sh:&lt;br /&gt;
&lt;br /&gt;
   export LOGNAME=&amp;quot;root&amp;quot; [already there]&lt;br /&gt;
   ...&lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PATH_USB=`cat log | grep Mount`&lt;br /&gt;
   PATH_USB=`echo ${PATH_USB##MountDir : }`&lt;br /&gt;
   echo $PATH_USB&lt;br /&gt;
   $PATH_USB/usb.sh &amp;amp;&lt;br /&gt;
   ## mount -n -t usbfs none /proc/bus/usb&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Modification may not work as some USB disks get mounted later than the modified code is executed&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now I can run scripts (usb.sh) from pendrive. Therefore you need to build (or copy from archive) the folloing script to the root of your pendrive:&lt;br /&gt;
&lt;br /&gt;
   #! /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB START !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   /bin/stty -F /dev/ttyAS0 ospeed 57600 ispeed 57600&lt;br /&gt;
   #line before enables console for speed 57600. Put 'debug' to console and you see menu, put '12' and ENTER&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start console on 57600 !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   &lt;br /&gt;
   #sleep 25 (m)sec is need for wait ethernet start&lt;br /&gt;
   sleep 25&lt;br /&gt;
   &lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PU=`cat log | grep Mount`&lt;br /&gt;
   PU=`echo ${PU##MountDir : }`&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start telnet !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   $PU/busybox telnetd -l /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start cifs.ko !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   cd $PU&lt;br /&gt;
   insmod cifs.ko&lt;br /&gt;
   &lt;br /&gt;
   sleep 4&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! clear old contents USB on TV  !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   rm /mtd_contents/V* -R&lt;br /&gt;
   rm /mtd_contents/database -R&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start mount !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/photo $PU/photo -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/mp3 $PU/mp3 -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/video $PU/video -o user=user_xp -o pass=password_xp&lt;br /&gt;
   &lt;br /&gt;
   mount&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB END !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
On pendrive you have to have empty folders: photo, mp3, video and files: usb.sh, cifs.ko (size for my compilation 2707316 bytes), busybox (size for my compilation 992084 bytes)&lt;br /&gt;
&lt;br /&gt;
You can download the whole package here: &lt;br /&gt;
[http://forum.samygo.tv/download/file.php?id=62]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1746</id>
		<title>Samsung A Series (sh4 CPU) Hacks</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1746"/>
		<updated>2011-03-30T11:41:17Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==T-AMBDFRC (Models LExxA676)==&lt;br /&gt;
&lt;br /&gt;
A SH4 CPU model - please add details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==T-RBYDEUC (Models LExxA756, LExxA856, LExxA956/959)==&lt;br /&gt;
&lt;br /&gt;
==='''Available hacks / software'''===&lt;br /&gt;
&lt;br /&gt;
Look for latest versions in [http://download.samygo.tv/A%20Series/ download area]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Firmware Patcher]]&lt;br /&gt;
* WiseLink video player aspect ratio fix (arfix-sh) is applied&lt;br /&gt;
* optionally enabling boot time call to a script /SamyGO/rcSGO from USB disk (answer upercase '''U''') - e.g. for Extension Pack&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Extensions Pack]]&lt;br /&gt;
&lt;br /&gt;
A collection of command line linux applications. Unpack files to USB disk and insert to tv set.&lt;br /&gt;
A firmware patch or [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices serial console] is necessary to start extensions (call a script /SamyGO/rcSGO on USB disk)&lt;br /&gt;
* SSH daemon for linux command line access ( user: root, password: SamyGO )&lt;br /&gt;
* kernel modules/scripts for mounting CIFS (Windows) shares and NFS shares&lt;br /&gt;
* lot lot more... see [http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=1313 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Video player aspect ratio fix (SH4)]]&lt;br /&gt;
&lt;br /&gt;
arfix-sh fixes part of internal firmware, WiseLink video player.&lt;br /&gt;
Also see [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''T-RBYDEUC technical info'''===&lt;br /&gt;
&lt;br /&gt;
The main CPU of these models is NOT an ARM processor but the '''SH4 processor''' [http://www.st.com/stonline/products/literature/bd/11660/sti7109.pdf STi7109]. Therefore ARM-based hacks and tools won't run!&lt;br /&gt;
&lt;br /&gt;
Official firmware from Samsung: T-RBYDEU (T-RBYDEUC) in version 1013.1&lt;br /&gt;
&lt;br /&gt;
Linux version:&lt;br /&gt;
   Linux version 2.6.17.14_stm22_0039-Samsung_7103 (gcc version 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)) #363 PREEMPT Sun Jul 27 17:14:14 KST 2008&lt;br /&gt;
&lt;br /&gt;
Other differences from ARM model line:&lt;br /&gt;
* exeDSP has all symbols stripped&lt;br /&gt;
* libGame.so loading and running is completely blocked in exeDSP&lt;br /&gt;
* First USB is connected to MTK8226 (secondary CPU) so the first USB disk appears as /dev/sdb (mountpoint /dtv/usb/sdb1)&lt;br /&gt;
* busybox has a malfunctioning telnet-deamon compiled in (busybox is compiled without /dev/pts filesystem support however kernel needs it)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Manual firmware patching T-RBYDEUC==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Obsoleted by SamyGO Firmware Patcher and Extension Pack.&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
So, what you need is an updated BusyBox, a modified exe.img to enable script-starts from USB-Pens and a good USB-Script to start telnet-daemon.&lt;br /&gt;
You can find most of the things in the following thread:&lt;br /&gt;
&lt;br /&gt;
Hacking T-RBYDEUC Firmware - LE40A756 and A856 &lt;br /&gt;
[http://forum.samygo.tv/viewtopic.php?f=2&amp;amp;t=49]&lt;br /&gt;
&lt;br /&gt;
So, what you need to do, to get access to your TV:&lt;br /&gt;
&lt;br /&gt;
1. Modifiy your start.sh in exe.img, either by unpacking and repacking it (see below how to do), or by using a hex-editor.&lt;br /&gt;
There are many descriptions how to modify exe.img and to correct the crc-hash. What you need to add to start.sh:&lt;br /&gt;
&lt;br /&gt;
   export LOGNAME=&amp;quot;root&amp;quot; [already there]&lt;br /&gt;
   ...&lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PATH_USB=`cat log | grep Mount`&lt;br /&gt;
   PATH_USB=`echo ${PATH_USB##MountDir : }`&lt;br /&gt;
   echo $PATH_USB&lt;br /&gt;
   $PATH_USB/usb.sh &amp;amp;&lt;br /&gt;
   ## mount -n -t usbfs none /proc/bus/usb&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Modification may not work as some USB disks get mounted later than the modified code is executed&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now I can run scripts (usb.sh) from pendrive. Therefore you need to build (or copy from archive) the folloing script to the root of your pendrive:&lt;br /&gt;
&lt;br /&gt;
   #! /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB START !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   /bin/stty -F /dev/ttyAS0 ospeed 57600 ispeed 57600&lt;br /&gt;
   #line before enables console for speed 57600. Put 'debug' to console and you see menu, put '12' and ENTER&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start console on 57600 !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   &lt;br /&gt;
   #sleep 25 (m)sec is need for wait ethernet start&lt;br /&gt;
   sleep 25&lt;br /&gt;
   &lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PU=`cat log | grep Mount`&lt;br /&gt;
   PU=`echo ${PU##MountDir : }`&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start telnet !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   $PU/busybox telnetd -l /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start cifs.ko !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   cd $PU&lt;br /&gt;
   insmod cifs.ko&lt;br /&gt;
   &lt;br /&gt;
   sleep 4&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! clear old contents USB on TV  !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   rm /mtd_contents/V* -R&lt;br /&gt;
   rm /mtd_contents/database -R&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start mount !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/photo $PU/photo -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/mp3 $PU/mp3 -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/video $PU/video -o user=user_xp -o pass=password_xp&lt;br /&gt;
   &lt;br /&gt;
   mount&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB END !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
On pendrive you have to have empty folders: photo, mp3, video and files: usb.sh, cifs.ko (size for my compilation 2707316 bytes), busybox (size for my compilation 992084 bytes)&lt;br /&gt;
&lt;br /&gt;
You can download the whole package here: &lt;br /&gt;
[http://forum.samygo.tv/download/file.php?id=62]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1745</id>
		<title>Samsung A Series (sh4 CPU) Hacks</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1745"/>
		<updated>2011-03-30T11:39:42Z</updated>

		<summary type="html">&lt;p&gt;Tom van: /* T-RBYDEUC (Models LExxA756, LExxA856, LExxA956/959) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==T-AMBDFRC (Models LExxA676)==&lt;br /&gt;
&lt;br /&gt;
A SH4 CPU model - please add details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==T-RBYDEUC (Models LExxA756, LExxA856, LExxA956/959)==&lt;br /&gt;
&lt;br /&gt;
==='''Available hacks / software'''===&lt;br /&gt;
&lt;br /&gt;
Look for latest versions in [http://download.samygo.tv/A%20Series/ download area]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Firmware Patcher]]&lt;br /&gt;
* WiseLink video player aspect ratio fix (arfix-sh) is applied&lt;br /&gt;
* optionally enabling boot time call to a script /SamyGO/rcSGO from USB disk (answer upercase '''U''') - e.g. for Extension Pack&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Extensions Pack]]&lt;br /&gt;
&lt;br /&gt;
A collection of command line linux applications. Unpack files to USB disk and insert to tv set.&lt;br /&gt;
A firmware patch or [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices serial console] is necessary to start extensions (call a script /SamyGO/rcSGO on USB disk)&lt;br /&gt;
* SSH daemon for linux command line access ( user: root, password: SamyGO )&lt;br /&gt;
* kernel modules/scripts for mounting CIFS (Windows) shares and NFS shares&lt;br /&gt;
* lot lot more... see [http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=1313 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Video player aspect ratio fix (SH4)]]&lt;br /&gt;
&lt;br /&gt;
arfix-sh fixes part of internal firmware, WiseLink video player.&lt;br /&gt;
Also see [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''T-RBYDEUC technical info'''===&lt;br /&gt;
&lt;br /&gt;
The main CPU of these models is NOT an ARM processor but the '''SH4 processor''' [http://www.st.com/stonline/products/literature/bd/11660/sti7109.pdf STi7109]. Therefore ARM-based hacks and tools won't run!&lt;br /&gt;
&lt;br /&gt;
Official firmware from Samsung: T-RBYDEU (T-RBYDEUC) in version 1013.1&lt;br /&gt;
&lt;br /&gt;
Linux version:&lt;br /&gt;
   Linux version 2.6.17.14_stm22_0039-Samsung_7103 (gcc version 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)) #363 PREEMPT Sun Jul 27 17:14:14 KST 2008&lt;br /&gt;
&lt;br /&gt;
Other differences from ARM model line:&lt;br /&gt;
* exeDSP has all symbols stripped&lt;br /&gt;
* libGame.so loading and running is completely blocked in exeDSP&lt;br /&gt;
* First USB is connected to MTK8226 (secondary CPU) so the first USB disk appears as /dev/sdb (mountpoint /dtv/usb/sdb1)&lt;br /&gt;
* busybox has a malfunctioning telnet-deamon compiled in (busybox is compiled without /dev/pts filesystem support however kernel needs it)&lt;br /&gt;
&lt;br /&gt;
==Manual firmware patching T-RBYDEUC==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Obsoleted by SamyGO Firmware Patcher and Extension Pack.&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
So, what you need is an updated BusyBox, a modified exe.img to enable script-starts from USB-Pens and a good USB-Script to start telnet-daemon.&lt;br /&gt;
You can find most of the things in the following thread:&lt;br /&gt;
&lt;br /&gt;
Hacking T-RBYDEUC Firmware - LE40A756 and A856 &lt;br /&gt;
[http://forum.samygo.tv/viewtopic.php?f=2&amp;amp;t=49]&lt;br /&gt;
&lt;br /&gt;
So, what you need to do, to get access to your TV:&lt;br /&gt;
&lt;br /&gt;
1. Modifiy your start.sh in exe.img, either by unpacking and repacking it (see below how to do), or by using a hex-editor.&lt;br /&gt;
There are many descriptions how to modify exe.img and to correct the crc-hash. What you need to add to start.sh:&lt;br /&gt;
&lt;br /&gt;
   export LOGNAME=&amp;quot;root&amp;quot; [already there]&lt;br /&gt;
   ...&lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PATH_USB=`cat log | grep Mount`&lt;br /&gt;
   PATH_USB=`echo ${PATH_USB##MountDir : }`&lt;br /&gt;
   echo $PATH_USB&lt;br /&gt;
   $PATH_USB/usb.sh &amp;amp;&lt;br /&gt;
   ## mount -n -t usbfs none /proc/bus/usb&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Modification may not work as some USB disks get mounted later than the modified code is executed&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now I can run scripts (usb.sh) from pendrive. Therefore you need to build (or copy from archive) the folloing script to the root of your pendrive:&lt;br /&gt;
&lt;br /&gt;
   #! /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB START !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   /bin/stty -F /dev/ttyAS0 ospeed 57600 ispeed 57600&lt;br /&gt;
   #line before enables console for speed 57600. Put 'debug' to console and you see menu, put '12' and ENTER&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start console on 57600 !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   &lt;br /&gt;
   #sleep 25 (m)sec is need for wait ethernet start&lt;br /&gt;
   sleep 25&lt;br /&gt;
   &lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PU=`cat log | grep Mount`&lt;br /&gt;
   PU=`echo ${PU##MountDir : }`&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start telnet !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   $PU/busybox telnetd -l /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start cifs.ko !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   cd $PU&lt;br /&gt;
   insmod cifs.ko&lt;br /&gt;
   &lt;br /&gt;
   sleep 4&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! clear old contents USB on TV  !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   rm /mtd_contents/V* -R&lt;br /&gt;
   rm /mtd_contents/database -R&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start mount !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/photo $PU/photo -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/mp3 $PU/mp3 -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/video $PU/video -o user=user_xp -o pass=password_xp&lt;br /&gt;
   &lt;br /&gt;
   mount&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB END !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
On pendrive you have to have empty folders: photo, mp3, video and files: usb.sh, cifs.ko (size for my compilation 2707316 bytes), busybox (size for my compilation 992084 bytes)&lt;br /&gt;
&lt;br /&gt;
You can download the whole package here: &lt;br /&gt;
[http://forum.samygo.tv/download/file.php?id=62]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Video_AR_Fix&amp;diff=1744</id>
		<title>Video AR Fix</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Video_AR_Fix&amp;diff=1744"/>
		<updated>2011-03-30T11:22:37Z</updated>

		<summary type="html">&lt;p&gt;Tom van: link to Video player aspect ratio fix (SH4)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Problem:''' Original samsung medi@2.0 player cannot fit movies or adjust aspect resolution of movie. It has only &amp;quot;Orginal and Fit&amp;quot; options.&lt;br /&gt;
*Original mode: Movies are shown at their original resolution that leads SD movies are too small at screen. &lt;br /&gt;
*Fit mode: Movies are shown as fitted to screen without changing aspect resolution that leads black bars appears at both side of screen if you playing 4:3 video.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
'''Answer: Video Aspect Resolution Fix'''&lt;br /&gt;
&lt;br /&gt;
When movies playing from medi@2.0 player from USB or LAN via DLNA,NFS,SAMBA,UPNP normally Samsung program ,exeDSP, that plays the content but don't allow us to stretch the Video to TV size.&lt;br /&gt;
SamyGO hacker, newagehun, implements the video aspect resolution fix.&lt;br /&gt;
&lt;br /&gt;
*'''Version 1 :''' This fix will stretch the movie to TV size and discard the aspect resolution of source. You cannot use &amp;quot;original and fit&amp;quot; options from menu. Movie will stretch to TV size every time.&lt;br /&gt;
Version 1 requires change of 5 byte from exeDSP, from different locations. At SamyGO Firmware Patcher, there is a code to extract exeDSP from image and investigate the symbol table of exeDSP than those changes applied automatically to various different exeDSPs within same code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*'''Version 2 :''' This fix implements various view modes. Addition to Original and Fit mode;&lt;br /&gt;
**Full Screen&lt;br /&gt;
**4:3&lt;br /&gt;
**Non Anamorph&lt;br /&gt;
**16:9&lt;br /&gt;
**Anamorph&lt;br /&gt;
**1.85:1&lt;br /&gt;
**2.35:1&lt;br /&gt;
**2.37:1&lt;br /&gt;
**2.39:1&lt;br /&gt;
**2.76:1&lt;br /&gt;
Unfortunately, Version 2 of this fix requires injecting code to exeDSP. Because of needing new area for this injected code, we overwrite some foreign languages area. Due this it's little harder than v1 fix and thus not implemented by SamyGO Firmware Patcher yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''For CI+ devices'''&lt;br /&gt;
&lt;br /&gt;
You can use VideoAR Fix at CI+ devices if only your TV have content library / Game menu. We have v1 for CI+ device firmwares but if you wanted to have v2, you can use mprotect's &amp;quot;AVRFix&amp;quot; for some firmware versions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''For 'A' series devices with SH4 CPU'''&lt;br /&gt;
&lt;br /&gt;
You need arfix-sh. See [[Video player aspect ratio fix (SH4)]]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1743</id>
		<title>Samsung A Series (sh4 CPU) Hacks</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1743"/>
		<updated>2011-03-30T11:15:32Z</updated>

		<summary type="html">&lt;p&gt;Tom van: /* Available hacks / software */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==T-AMBDFRC (Models LExxA676)==&lt;br /&gt;
&lt;br /&gt;
A SH4 CPU model - please add details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==T-RBYDEUC (Models LExxA756, LExxA856, LExxA956/959)==&lt;br /&gt;
&lt;br /&gt;
==='''Available hacks / software'''===&lt;br /&gt;
&lt;br /&gt;
Look for latest versions in [http://download.samygo.tv/A%20Series/ download area]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Firmware Patcher]]&lt;br /&gt;
* WiseLink video player aspect ratio fix (arfix-sh) is applied&lt;br /&gt;
* optionally enabling boot time call to a script /SamyGO/rcSGO from USB disk (answer upercase '''U''') - e.g. for Extension Pack&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Extensions Pack]]&lt;br /&gt;
&lt;br /&gt;
A collection of command line linux applications. Unpack files to USB disk and insert to tv set.&lt;br /&gt;
A firmware patch or [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices serial console] is necessary to start extensions (call a script /SamyGO/rcSGO on USB disk)&lt;br /&gt;
* SSH daemon for linux command line access ( user: root, password: SamyGO )&lt;br /&gt;
* kernel modules/scripts for mounting CIFS (Windows) shares and NFS shares&lt;br /&gt;
* lot lot more... see [http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=1313 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Video player aspect ratio fix (SH4)]]&lt;br /&gt;
&lt;br /&gt;
arfix-sh fixes part of internal firmware, WiseLink video player.&lt;br /&gt;
Also see [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion]&lt;br /&gt;
&lt;br /&gt;
==='''T-RBYDEUC technical info'''===&lt;br /&gt;
&lt;br /&gt;
The main CPU of these models is NOT an ARM processor but the '''SH4 processor''' [http://www.st.com/stonline/products/literature/bd/11660/sti7109.pdf STi7109]. Therefore ARM-based hacks and tools won't run!&lt;br /&gt;
&lt;br /&gt;
Official firmware from Samsung: T-RBYDEU (T-RBYDEUC) in version 1013.1&lt;br /&gt;
&lt;br /&gt;
Linux version:&lt;br /&gt;
   Linux version 2.6.17.14_stm22_0039-Samsung_7103 (gcc version 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)) #363 PREEMPT Sun Jul 27 17:14:14 KST 2008&lt;br /&gt;
&lt;br /&gt;
Other differences from ARM model line:&lt;br /&gt;
* exeDSP has all symbols stripped&lt;br /&gt;
* libGame.so loading and running is completely blocked in exeDSP&lt;br /&gt;
* First USB is connected to MTK8226 (secondary CPU) so the first USB disk appears as /dev/sdb (mountpoint /dtv/usb/sdb1)&lt;br /&gt;
* busybox has a malfunctioning telnet-deamon compiled in (busybox is compiled without /dev/pts filesystem support however kernel needs it)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Manual firmware patching T-RBYDEUC==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Obsoleted by SamyGO Firmware Patcher and Extension Pack.&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
So, what you need is an updated BusyBox, a modified exe.img to enable script-starts from USB-Pens and a good USB-Script to start telnet-daemon.&lt;br /&gt;
You can find most of the things in the following thread:&lt;br /&gt;
&lt;br /&gt;
Hacking T-RBYDEUC Firmware - LE40A756 and A856 &lt;br /&gt;
[http://forum.samygo.tv/viewtopic.php?f=2&amp;amp;t=49]&lt;br /&gt;
&lt;br /&gt;
So, what you need to do, to get access to your TV:&lt;br /&gt;
&lt;br /&gt;
1. Modifiy your start.sh in exe.img, either by unpacking and repacking it (see below how to do), or by using a hex-editor.&lt;br /&gt;
There are many descriptions how to modify exe.img and to correct the crc-hash. What you need to add to start.sh:&lt;br /&gt;
&lt;br /&gt;
   export LOGNAME=&amp;quot;root&amp;quot; [already there]&lt;br /&gt;
   ...&lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PATH_USB=`cat log | grep Mount`&lt;br /&gt;
   PATH_USB=`echo ${PATH_USB##MountDir : }`&lt;br /&gt;
   echo $PATH_USB&lt;br /&gt;
   $PATH_USB/usb.sh &amp;amp;&lt;br /&gt;
   ## mount -n -t usbfs none /proc/bus/usb&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Modification may not work as some USB disks get mounted later than the modified code is executed&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now I can run scripts (usb.sh) from pendrive. Therefore you need to build (or copy from archive) the folloing script to the root of your pendrive:&lt;br /&gt;
&lt;br /&gt;
   #! /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB START !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   /bin/stty -F /dev/ttyAS0 ospeed 57600 ispeed 57600&lt;br /&gt;
   #line before enables console for speed 57600. Put 'debug' to console and you see menu, put '12' and ENTER&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start console on 57600 !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   &lt;br /&gt;
   #sleep 25 (m)sec is need for wait ethernet start&lt;br /&gt;
   sleep 25&lt;br /&gt;
   &lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PU=`cat log | grep Mount`&lt;br /&gt;
   PU=`echo ${PU##MountDir : }`&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start telnet !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   $PU/busybox telnetd -l /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start cifs.ko !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   cd $PU&lt;br /&gt;
   insmod cifs.ko&lt;br /&gt;
   &lt;br /&gt;
   sleep 4&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! clear old contents USB on TV  !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   rm /mtd_contents/V* -R&lt;br /&gt;
   rm /mtd_contents/database -R&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start mount !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/photo $PU/photo -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/mp3 $PU/mp3 -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/video $PU/video -o user=user_xp -o pass=password_xp&lt;br /&gt;
   &lt;br /&gt;
   mount&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB END !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
On pendrive you have to have empty folders: photo, mp3, video and files: usb.sh, cifs.ko (size for my compilation 2707316 bytes), busybox (size for my compilation 992084 bytes)&lt;br /&gt;
&lt;br /&gt;
You can download the whole package here: &lt;br /&gt;
[http://forum.samygo.tv/download/file.php?id=62]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Video_player_aspect_ratio_fix_(SH4)&amp;diff=1742</id>
		<title>Video player aspect ratio fix (SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Video_player_aspect_ratio_fix_(SH4)&amp;diff=1742"/>
		<updated>2011-03-30T11:10:39Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;WiseLink player is a component of television firmware. It can be used for browsing and playback of digital media from USB disk or network server. It is related neither to DVB-T television show nor HDMI playback.&lt;br /&gt;
&lt;br /&gt;
On 'A' series models with [http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks#T-RBYDEUC_.28Models_LExxA756.2C_LExxA856.2C_LExxA956.2F959.29 T-RBYDEUC] firmware (LE40A756, LE46A756, LE46A856, LE52A856, LE46A956 and LE55A956)&lt;br /&gt;
WiseLink player has no interface to set desired aspect ratio for playback (although aspect ratio can be set in other modes).&lt;br /&gt;
DAR (display aspect ratio) information from headers in video file is not honored at all.&lt;br /&gt;
Moreover an evident bug prevents scaling of some type of video files in some circumstances.&lt;br /&gt;
Samsung unfortunately refused complaints and left the problems without fixing.&lt;br /&gt;
&lt;br /&gt;
'''arfix-sh''' is a patch fixing some problems with aspect ratio in WiseLink playback.&lt;br /&gt;
It is a binary patch, available only for firmware T-RBYDEU1013 (T-RBYDEUC-1013.1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What arfix-sh does? ==&lt;br /&gt;
&lt;br /&gt;
WiseLink video player has 3 new items for fixed aspect ratios in Tools menu:&lt;br /&gt;
4:3, 16:9 (also use as fullscreen), 2.21:1&lt;br /&gt;
&lt;br /&gt;
New in version 1.1: For MPEG2 source aspect ratio flag in sequence header (01b3)&lt;br /&gt;
is taken into account in auto fit mode.&lt;br /&gt;
Otherwise if PAL resolution (720x576) is detected in Auto fit mode, aspect ratio 4:3&lt;br /&gt;
is used.&lt;br /&gt;
&lt;br /&gt;
New in version 1.2: Fixed an error in original WiseLink code, which prevented scaling of some video&lt;br /&gt;
formats (e.g. H264 in MPEG TS container).&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Applying permanently to television firmware ==&lt;br /&gt;
&lt;br /&gt;
Use [[SamyGO Firmware Patcher]]&lt;br /&gt;
Version 0.26 integrates arfix-sh 1.2&lt;br /&gt;
&lt;br /&gt;
Run patcher to modify original T-RBYDEUC-1013.1 firmware and flash standard way.&lt;br /&gt;
&lt;br /&gt;
Older version of SamyGO Firmware Patcher from version 0.21 integrated arfix-sh 1.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Dynamic in-memory patching ==&lt;br /&gt;
&lt;br /&gt;
If you have access to linux console in your tv, download [http://download.samygo.tv/A%20Series/SamyGO-T-RBYDEUC-1013.1-arfix_1.2.zip arfix-sh 1.2], unpack zip content to an USB flash or to a network share and insert/mount&lt;br /&gt;
it to TV. Change to patch directory and run arfix.sh&lt;br /&gt;
&lt;br /&gt;
   # cd /dtv/usb/sdb1/T-RBYDEUC-1013.1-arfix_1.2/&lt;br /&gt;
   # ls -l&lt;br /&gt;
   -rw-r--r--    1 root     0            2673 Mar 27  2011 README&lt;br /&gt;
   -rw-r--r--    1 root     0            2960 Mar 27  2011 T-RBYDEUC-1013.1-arfix_1.2.elfpatch&lt;br /&gt;
   -rwxr-xr-x    1 root     0              80 Mar 27  2011 arfix.sh&lt;br /&gt;
   -rwxr-xr-x    1 root     0           55864 Mar 27  2011 elfpatcher&lt;br /&gt;
   # ./arfix.sh&lt;br /&gt;
   Reading patches from file T-RBYDEUC-1013.1-arfix_1.2.elfpatch&lt;br /&gt;
   Checking .checkVersion 16 bytes at 0x1508978&lt;br /&gt;
   Writing .patch1 932 bytes at 0x056f43c&lt;br /&gt;
   Writing .patch4 12 bytes at 0x073d334&lt;br /&gt;
   Writing .patch7 4 bytes at 0x0740320&lt;br /&gt;
   Writing .patch6 4 bytes at 0x0740470&lt;br /&gt;
   Writing .patch5 4 bytes at 0x0b04e8c&lt;br /&gt;
   Writing .patch2 108 bytes at 0x0d16520&lt;br /&gt;
   Writing .patch3 180 bytes at 0x0d167a0&lt;br /&gt;
   #&lt;br /&gt;
&lt;br /&gt;
Changes will be lost after exeDSP restart (TV off/on).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more comfortable alternative is [[SamyGO Extensions Pack]].&lt;br /&gt;
&lt;br /&gt;
Download and install [http://download.samygo.tv/A%20Series/SamyGO-All-Extensions-v0.03.6-r12-for-T-RBYDEUC-201103282318.zip SamyGO-All-Extensions-v0.03.6-r12-for-T-RBYDEUC-201103282318]&lt;br /&gt;
&lt;br /&gt;
This version contains arfix-sh 1.2 and run it at the boot time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See also [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion].&lt;br /&gt;
Source code of arfix-sh is available in [http://samygo.svn.sourceforge.net/viewvc/samygo/oe/branches/branch-0-0-1/oe/packages/arfix-sh/ svn]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Video_player_aspect_ratio_fix_(SH4)&amp;diff=1741</id>
		<title>Video player aspect ratio fix (SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Video_player_aspect_ratio_fix_(SH4)&amp;diff=1741"/>
		<updated>2011-03-30T11:09:02Z</updated>

		<summary type="html">&lt;p&gt;Tom van: /* Applying permanently to television firmware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;WiseLink player is a component of television firmware. It can be used for browsing and playback of digital media from USB disk or network server. It is related neither to DVB-T television show nor HDMI playback.&lt;br /&gt;
&lt;br /&gt;
On 'A' series models with [http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks#T-RBYDEUC_.28Models_LExxA756.2C_LExxA856.2C_LExxA956.2F959.29 T-RBYDEUC] firmware (LE40A756, LE46A756, LE46A856, LE52A856, LE46A956 and LE55A956)&lt;br /&gt;
WiseLink player has no interface to set desired aspect ratio for playback (although aspect ratio can be set in other modes).&lt;br /&gt;
DAR (display aspect ratio) information from headers in video file is not honored at all.&lt;br /&gt;
Moreover an evident bug prevents scaling of some type of video files in some circumstances.&lt;br /&gt;
Samsung unfortunately refused complaints and left the problems without fixing.&lt;br /&gt;
&lt;br /&gt;
'''arfix-sh''' is a patch fixing some problems with aspect ratio in WiseLink playback.&lt;br /&gt;
It is a binary patch, available only for firmware T-RBYDEU1013 (T-RBYDEUC-1013.1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What arfix-sh does? ==&lt;br /&gt;
&lt;br /&gt;
WiseLink video player has 3 new items for fixed aspect ratios in Tools menu:&lt;br /&gt;
4:3, 16:9 (also use as fullscreen), 2.21:1&lt;br /&gt;
&lt;br /&gt;
New in version 1.1: For MPEG2 source aspect ratio flag in sequence header (01b3)&lt;br /&gt;
is taken into account in auto fit mode.&lt;br /&gt;
Otherwise if PAL resolution (720x576) is detected in Auto fit mode, aspect ratio 4:3&lt;br /&gt;
is used.&lt;br /&gt;
&lt;br /&gt;
New in version 1.2: Fixed an error in original WiseLink code, which prevented scaling of some video&lt;br /&gt;
formats (e.g. H264 in MPEG TS container).&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Applying permanently to television firmware ==&lt;br /&gt;
&lt;br /&gt;
Use [[SamyGO Firmware Patcher]]&lt;br /&gt;
Version 0.26 integrates arfix-sh 1.2&lt;br /&gt;
&lt;br /&gt;
Run patcher to modify original T-RBYDEUC-1013.1 firmware and flash standard way.&lt;br /&gt;
&lt;br /&gt;
Older version of SamyGO Firmware Patcher from version 0.21 integrated arfix-sh 1.1&lt;br /&gt;
&lt;br /&gt;
== Dynamic in-memory patching ==&lt;br /&gt;
&lt;br /&gt;
If you have access to linux console in your tv, download [http://download.samygo.tv/A%20Series/SamyGO-T-RBYDEUC-1013.1-arfix_1.2.zip arfix-sh 1.2], unpack zip content to an USB flash or to a network share and insert/mount&lt;br /&gt;
it to TV. Change to patch directory and run arfix.sh&lt;br /&gt;
&lt;br /&gt;
   # cd /dtv/usb/sdb1/T-RBYDEUC-1013.1-arfix_1.2/&lt;br /&gt;
   # ls -l&lt;br /&gt;
   -rw-r--r--    1 root     0            2673 Mar 27  2011 README&lt;br /&gt;
   -rw-r--r--    1 root     0            2960 Mar 27  2011 T-RBYDEUC-1013.1-arfix_1.2.elfpatch&lt;br /&gt;
   -rwxr-xr-x    1 root     0              80 Mar 27  2011 arfix.sh&lt;br /&gt;
   -rwxr-xr-x    1 root     0           55864 Mar 27  2011 elfpatcher&lt;br /&gt;
   # ./arfix.sh&lt;br /&gt;
   Reading patches from file T-RBYDEUC-1013.1-arfix_1.2.elfpatch&lt;br /&gt;
   Checking .checkVersion 16 bytes at 0x1508978&lt;br /&gt;
   Writing .patch1 932 bytes at 0x056f43c&lt;br /&gt;
   Writing .patch4 12 bytes at 0x073d334&lt;br /&gt;
   Writing .patch7 4 bytes at 0x0740320&lt;br /&gt;
   Writing .patch6 4 bytes at 0x0740470&lt;br /&gt;
   Writing .patch5 4 bytes at 0x0b04e8c&lt;br /&gt;
   Writing .patch2 108 bytes at 0x0d16520&lt;br /&gt;
   Writing .patch3 180 bytes at 0x0d167a0&lt;br /&gt;
   #&lt;br /&gt;
&lt;br /&gt;
Changes will be lost after exeDSP restart (TV off/on).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more comfortable alternative is [[SamyGO Extensions Pack]].&lt;br /&gt;
&lt;br /&gt;
Download and install [http://download.samygo.tv/A%20Series/SamyGO-All-Extensions-v0.03.6-r12-for-T-RBYDEUC-201103282318.zip SamyGO-All-Extensions-v0.03.6-r12-for-T-RBYDEUC-201103282318]&lt;br /&gt;
&lt;br /&gt;
This version contains arfix-sh 1.2 and run it at the boot time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See also [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion].&lt;br /&gt;
Source code of arfix-sh is available in [http://samygo.svn.sourceforge.net/viewvc/samygo/oe/branches/branch-0-0-1/oe/packages/arfix-sh/ svn]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Video_player_aspect_ratio_fix_(SH4)&amp;diff=1740</id>
		<title>Video player aspect ratio fix (SH4)</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Video_player_aspect_ratio_fix_(SH4)&amp;diff=1740"/>
		<updated>2011-03-30T11:08:01Z</updated>

		<summary type="html">&lt;p&gt;Tom van: Created page with 'WiseLink player is a component of television firmware. It can be used for browsing and playback of digital media from USB disk or network server. It is related neither to DVB-T tâ¦'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;WiseLink player is a component of television firmware. It can be used for browsing and playback of digital media from USB disk or network server. It is related neither to DVB-T television show nor HDMI playback.&lt;br /&gt;
&lt;br /&gt;
On 'A' series models with [http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks#T-RBYDEUC_.28Models_LExxA756.2C_LExxA856.2C_LExxA956.2F959.29 T-RBYDEUC] firmware (LE40A756, LE46A756, LE46A856, LE52A856, LE46A956 and LE55A956)&lt;br /&gt;
WiseLink player has no interface to set desired aspect ratio for playback (although aspect ratio can be set in other modes).&lt;br /&gt;
DAR (display aspect ratio) information from headers in video file is not honored at all.&lt;br /&gt;
Moreover an evident bug prevents scaling of some type of video files in some circumstances.&lt;br /&gt;
Samsung unfortunately refused complaints and left the problems without fixing.&lt;br /&gt;
&lt;br /&gt;
'''arfix-sh''' is a patch fixing some problems with aspect ratio in WiseLink playback.&lt;br /&gt;
It is a binary patch, available only for firmware T-RBYDEU1013 (T-RBYDEUC-1013.1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What arfix-sh does? ==&lt;br /&gt;
&lt;br /&gt;
WiseLink video player has 3 new items for fixed aspect ratios in Tools menu:&lt;br /&gt;
4:3, 16:9 (also use as fullscreen), 2.21:1&lt;br /&gt;
&lt;br /&gt;
New in version 1.1: For MPEG2 source aspect ratio flag in sequence header (01b3)&lt;br /&gt;
is taken into account in auto fit mode.&lt;br /&gt;
Otherwise if PAL resolution (720x576) is detected in Auto fit mode, aspect ratio 4:3&lt;br /&gt;
is used.&lt;br /&gt;
&lt;br /&gt;
New in version 1.2: Fixed an error in original WiseLink code, which prevented scaling of some video&lt;br /&gt;
formats (e.g. H264 in MPEG TS container).&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Applying permanently to television firmware ==&lt;br /&gt;
&lt;br /&gt;
Use [[SamyGO Firmware Patcher]]&lt;br /&gt;
Version 0.26 integrates arfix-sh 1.2&lt;br /&gt;
&lt;br /&gt;
Run patcher to modify original T-RBYDEUC-1013.1 firmware and flash standard way.&lt;br /&gt;
&lt;br /&gt;
Older version of SamyGO Firmware Patcher from version 0.21 on integrated arfix-sh 1.1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Dynamic in-memory patching ==&lt;br /&gt;
&lt;br /&gt;
If you have access to linux console in your tv, download [http://download.samygo.tv/A%20Series/SamyGO-T-RBYDEUC-1013.1-arfix_1.2.zip arfix-sh 1.2], unpack zip content to an USB flash or to a network share and insert/mount&lt;br /&gt;
it to TV. Change to patch directory and run arfix.sh&lt;br /&gt;
&lt;br /&gt;
   # cd /dtv/usb/sdb1/T-RBYDEUC-1013.1-arfix_1.2/&lt;br /&gt;
   # ls -l&lt;br /&gt;
   -rw-r--r--    1 root     0            2673 Mar 27  2011 README&lt;br /&gt;
   -rw-r--r--    1 root     0            2960 Mar 27  2011 T-RBYDEUC-1013.1-arfix_1.2.elfpatch&lt;br /&gt;
   -rwxr-xr-x    1 root     0              80 Mar 27  2011 arfix.sh&lt;br /&gt;
   -rwxr-xr-x    1 root     0           55864 Mar 27  2011 elfpatcher&lt;br /&gt;
   # ./arfix.sh&lt;br /&gt;
   Reading patches from file T-RBYDEUC-1013.1-arfix_1.2.elfpatch&lt;br /&gt;
   Checking .checkVersion 16 bytes at 0x1508978&lt;br /&gt;
   Writing .patch1 932 bytes at 0x056f43c&lt;br /&gt;
   Writing .patch4 12 bytes at 0x073d334&lt;br /&gt;
   Writing .patch7 4 bytes at 0x0740320&lt;br /&gt;
   Writing .patch6 4 bytes at 0x0740470&lt;br /&gt;
   Writing .patch5 4 bytes at 0x0b04e8c&lt;br /&gt;
   Writing .patch2 108 bytes at 0x0d16520&lt;br /&gt;
   Writing .patch3 180 bytes at 0x0d167a0&lt;br /&gt;
   #&lt;br /&gt;
&lt;br /&gt;
Changes will be lost after exeDSP restart (TV off/on).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A more comfortable alternative is [[SamyGO Extensions Pack]].&lt;br /&gt;
&lt;br /&gt;
Download and install [http://download.samygo.tv/A%20Series/SamyGO-All-Extensions-v0.03.6-r12-for-T-RBYDEUC-201103282318.zip SamyGO-All-Extensions-v0.03.6-r12-for-T-RBYDEUC-201103282318]&lt;br /&gt;
&lt;br /&gt;
This version contains arfix-sh 1.2 and run it at the boot time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See also [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion].&lt;br /&gt;
Source code of arfix-sh is available in [http://samygo.svn.sourceforge.net/viewvc/samygo/oe/branches/branch-0-0-1/oe/packages/arfix-sh/ svn]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1739</id>
		<title>Samsung A Series (sh4 CPU) Hacks</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1739"/>
		<updated>2011-03-30T10:55:52Z</updated>

		<summary type="html">&lt;p&gt;Tom van: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==T-AMBDFRC (Models LExxA676)==&lt;br /&gt;
&lt;br /&gt;
A SH4 CPU model - please add details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==T-RBYDEUC (Models LExxA756, LExxA856, LExxA956/959)==&lt;br /&gt;
&lt;br /&gt;
==='''Available hacks / software'''===&lt;br /&gt;
&lt;br /&gt;
Look for latest versions in [http://download.samygo.tv/A%20Series/ download area]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Firmware Patcher]]&lt;br /&gt;
* WiseLink video player aspect ratio fix (arfix-sh) is applied&lt;br /&gt;
* optionally enabling boot time call to a script /SamyGO/rcSGO from USB disk (answer upercase '''U''') - e.g. for Extension Pack&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Extensions Pack]]&lt;br /&gt;
&lt;br /&gt;
A collection of command line linux applications. Unpack files to USB disk and insert to tv set.&lt;br /&gt;
A firmware patch or [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices serial console] is necessary to start extensions (call a script /SamyGO/rcSGO on USB disk)&lt;br /&gt;
* SSH daemon for console access ( user: root, password: SamyGO )&lt;br /&gt;
* kernel modules/scripts for mounting CIFS (Windows) shares and NFS shares&lt;br /&gt;
* lot lot more... see [http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=1313 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Video player aspect ratio fix (SH4)]]&lt;br /&gt;
&lt;br /&gt;
arfix-sh fixes part of internal firmware, WiseLink video player.&lt;br /&gt;
Also see [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''T-RBYDEUC technical info'''===&lt;br /&gt;
&lt;br /&gt;
The main CPU of these models is NOT an ARM processor but the '''SH4 processor''' [http://www.st.com/stonline/products/literature/bd/11660/sti7109.pdf STi7109]. Therefore ARM-based hacks and tools won't run!&lt;br /&gt;
&lt;br /&gt;
Official firmware from Samsung: T-RBYDEU (T-RBYDEUC) in version 1013.1&lt;br /&gt;
&lt;br /&gt;
Linux version:&lt;br /&gt;
   Linux version 2.6.17.14_stm22_0039-Samsung_7103 (gcc version 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)) #363 PREEMPT Sun Jul 27 17:14:14 KST 2008&lt;br /&gt;
&lt;br /&gt;
Other differences from ARM model line:&lt;br /&gt;
* exeDSP has all symbols stripped&lt;br /&gt;
* libGame.so loading and running is completely blocked in exeDSP&lt;br /&gt;
* First USB is connected to MTK8226 (secondary CPU) so the first USB disk appears as /dev/sdb (mountpoint /dtv/usb/sdb1)&lt;br /&gt;
* busybox has a malfunctioning telnet-deamon compiled in (busybox is compiled without /dev/pts filesystem support however kernel needs it)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Manual firmware patching T-RBYDEUC==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Obsoleted by SamyGO Firmware Patcher and Extension Pack.&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
So, what you need is an updated BusyBox, a modified exe.img to enable script-starts from USB-Pens and a good USB-Script to start telnet-daemon.&lt;br /&gt;
You can find most of the things in the following thread:&lt;br /&gt;
&lt;br /&gt;
Hacking T-RBYDEUC Firmware - LE40A756 and A856 &lt;br /&gt;
[http://forum.samygo.tv/viewtopic.php?f=2&amp;amp;t=49]&lt;br /&gt;
&lt;br /&gt;
So, what you need to do, to get access to your TV:&lt;br /&gt;
&lt;br /&gt;
1. Modifiy your start.sh in exe.img, either by unpacking and repacking it (see below how to do), or by using a hex-editor.&lt;br /&gt;
There are many descriptions how to modify exe.img and to correct the crc-hash. What you need to add to start.sh:&lt;br /&gt;
&lt;br /&gt;
   export LOGNAME=&amp;quot;root&amp;quot; [already there]&lt;br /&gt;
   ...&lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PATH_USB=`cat log | grep Mount`&lt;br /&gt;
   PATH_USB=`echo ${PATH_USB##MountDir : }`&lt;br /&gt;
   echo $PATH_USB&lt;br /&gt;
   $PATH_USB/usb.sh &amp;amp;&lt;br /&gt;
   ## mount -n -t usbfs none /proc/bus/usb&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Modification may not work as some USB disks get mounted later than the modified code is executed&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now I can run scripts (usb.sh) from pendrive. Therefore you need to build (or copy from archive) the folloing script to the root of your pendrive:&lt;br /&gt;
&lt;br /&gt;
   #! /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB START !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   /bin/stty -F /dev/ttyAS0 ospeed 57600 ispeed 57600&lt;br /&gt;
   #line before enables console for speed 57600. Put 'debug' to console and you see menu, put '12' and ENTER&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start console on 57600 !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   &lt;br /&gt;
   #sleep 25 (m)sec is need for wait ethernet start&lt;br /&gt;
   sleep 25&lt;br /&gt;
   &lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PU=`cat log | grep Mount`&lt;br /&gt;
   PU=`echo ${PU##MountDir : }`&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start telnet !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   $PU/busybox telnetd -l /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start cifs.ko !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   cd $PU&lt;br /&gt;
   insmod cifs.ko&lt;br /&gt;
   &lt;br /&gt;
   sleep 4&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! clear old contents USB on TV  !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   rm /mtd_contents/V* -R&lt;br /&gt;
   rm /mtd_contents/database -R&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start mount !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/photo $PU/photo -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/mp3 $PU/mp3 -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/video $PU/video -o user=user_xp -o pass=password_xp&lt;br /&gt;
   &lt;br /&gt;
   mount&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB END !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
On pendrive you have to have empty folders: photo, mp3, video and files: usb.sh, cifs.ko (size for my compilation 2707316 bytes), busybox (size for my compilation 992084 bytes)&lt;br /&gt;
&lt;br /&gt;
You can download the whole package here: &lt;br /&gt;
[http://forum.samygo.tv/download/file.php?id=62]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1738</id>
		<title>Samsung A Series (sh4 CPU) Hacks</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Samsung_A_Series_(sh4_CPU)_Hacks&amp;diff=1738"/>
		<updated>2011-03-30T10:00:19Z</updated>

		<summary type="html">&lt;p&gt;Tom van: /* T-RBYDEUC (Models LExxA756, LExxA856, LExxA956/959) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==T-AMBDFRC (Models LExxA676)==&lt;br /&gt;
&lt;br /&gt;
A SH4 CPU model - please add details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==T-RBYDEUC (Models LExxA756, LExxA856, LExxA956/959)==&lt;br /&gt;
&lt;br /&gt;
==='''Available hacks / software'''===&lt;br /&gt;
&lt;br /&gt;
Look for latest versions in [http://download.samygo.tv/A%20Series/ download area]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Firmware Patcher]]&lt;br /&gt;
* WiseLink video player aspect ratio fix (arfix-sh) is applied&lt;br /&gt;
* optionally enabling boot time call to a script /SamyGO/rcSGO from USB disk (answer upercase '''U''') - e.g. for Extension Pack&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[SamyGO Extensions Pack]]&lt;br /&gt;
&lt;br /&gt;
A collection of command line linux applications. Unpack files to USB disk and insert to tv set.&lt;br /&gt;
A firmware patch or [http://wiki.samygo.tv/index.php?title=Enable_Serial_Console_on_non_CI%2B_Devices serial console] is necessary to start extensions (call a script /SamyGO/rcSGO on USB disk)&lt;br /&gt;
* SSH daemon for console access ( user: root, password: SamyGO )&lt;br /&gt;
* kernel modules/scripts for mounting CIFS (Windows) shares and NFS shares&lt;br /&gt;
* lot lot more... see [http://forum.samygo.tv/viewtopic.php?f=8&amp;amp;t=1313 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Video player aspect ratio fix (SH4)]]&lt;br /&gt;
&lt;br /&gt;
arfix-sh fixes part of internal firmware, WiseLink video player.&lt;br /&gt;
Also see [http://forum.samygo.tv/viewtopic.php?f=5&amp;amp;t=384 discussion]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==='''T-RBYDEUC technical info'''===&lt;br /&gt;
&lt;br /&gt;
The main CPU of these models is NOT an ARM processor but the '''SH4 processor''' [http://www.st.com/stonline/products/literature/bd/11660/sti7109.pdf STi7109]. Therefore ARM-based hacks and tools won't run!&lt;br /&gt;
&lt;br /&gt;
Official firmware from Samsung: T-RBYDEU (T-RBYDEUC) in version 1013.1&lt;br /&gt;
&lt;br /&gt;
Linux version:&lt;br /&gt;
   Linux version 2.6.17.14_stm22_0039-Samsung_7103 (gcc version 4.1.1 (STMicroelectronics/Linux Base 4.1.1-23)) #363 PREEMPT Sun Jul 27 17:14:14 KST 2008&lt;br /&gt;
&lt;br /&gt;
Other differences from ARM model line:&lt;br /&gt;
* exeDSP has all symbols stripped&lt;br /&gt;
* libGame.so loading and running is completely blocked in exeDSP&lt;br /&gt;
* First USB is connected to MTK8226 (secondary CPU) so the first USB disk appears as /dev/sdb (mountpoint /dtv/usb/sdb1)&lt;br /&gt;
* busybox has a malfunctioning telnet-deamon compiled in (busybox is compiled without /dev/pts filesystem support however kernel needs it)&lt;br /&gt;
&lt;br /&gt;
==Manual firmware patching T-RBYDEUC==&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Obsoleted by SamyGO Firmware Patcher and Extension Pack.&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
So, what you need is an updated BusyBox, a modified exe.img to enable script-starts from USB-Pens and a good USB-Script to start telnet-daemon.&lt;br /&gt;
You can find most of the things in the following thread:&lt;br /&gt;
&lt;br /&gt;
Hacking T-RBYDEUC Firmware - LE40A756 and A856 &lt;br /&gt;
[http://forum.samygo.tv/viewtopic.php?f=2&amp;amp;t=49]&lt;br /&gt;
&lt;br /&gt;
So, what you need to do, to get access to your TV:&lt;br /&gt;
&lt;br /&gt;
1. Modifiy your start.sh in exe.img, either by unpacking and repacking it (see below how to do), or by using a hex-editor.&lt;br /&gt;
There are many descriptions how to modify exe.img and to correct the crc-hash. What you need to add to start.sh:&lt;br /&gt;
&lt;br /&gt;
   export LOGNAME=&amp;quot;root&amp;quot; [already there]&lt;br /&gt;
   ...&lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PATH_USB=`cat log | grep Mount`&lt;br /&gt;
   PATH_USB=`echo ${PATH_USB##MountDir : }`&lt;br /&gt;
   echo $PATH_USB&lt;br /&gt;
   $PATH_USB/usb.sh &amp;amp;&lt;br /&gt;
   ## mount -n -t usbfs none /proc/bus/usb&lt;br /&gt;
   ...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Modification may not work as some USB disks get mounted later than the modified code is executed&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and now I can run scripts (usb.sh) from pendrive. Therefore you need to build (or copy from archive) the folloing script to the root of your pendrive:&lt;br /&gt;
&lt;br /&gt;
   #! /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB START !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   /bin/stty -F /dev/ttyAS0 ospeed 57600 ispeed 57600&lt;br /&gt;
   #line before enables console for speed 57600. Put 'debug' to console and you see menu, put '12' and ENTER&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start console on 57600 !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   &lt;br /&gt;
   #sleep 25 (m)sec is need for wait ethernet start&lt;br /&gt;
   sleep 25&lt;br /&gt;
   &lt;br /&gt;
   cd /dtv/usb&lt;br /&gt;
   PU=`cat log | grep Mount`&lt;br /&gt;
   PU=`echo ${PU##MountDir : }`&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start telnet !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   $PU/busybox telnetd -l /bin/sh&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start cifs.ko !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   cd $PU&lt;br /&gt;
   insmod cifs.ko&lt;br /&gt;
   &lt;br /&gt;
   sleep 4&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! clear old contents USB on TV  !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   rm /mtd_contents/V* -R&lt;br /&gt;
   rm /mtd_contents/database -R&lt;br /&gt;
   &lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! start mount !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/photo $PU/photo -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/mp3 $PU/mp3 -o user=user_xp -o pass=password_xp&lt;br /&gt;
   mount -t cifs //XXX.XXX.XXX.XXX/video $PU/video -o user=user_xp -o pass=password_xp&lt;br /&gt;
   &lt;br /&gt;
   mount&lt;br /&gt;
   echo &amp;quot;!!!!!!!!!!!!!! USB END !!!!!!!!!!!!!!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
On pendrive you have to have empty folders: photo, mp3, video and files: usb.sh, cifs.ko (size for my compilation 2707316 bytes), busybox (size for my compilation 992084 bytes)&lt;br /&gt;
&lt;br /&gt;
You can download the whole package here: &lt;br /&gt;
[http://forum.samygo.tv/download/file.php?id=62]&lt;/div&gt;</summary>
		<author><name>Tom van</name></author>
		
	</entry>
</feed>