Difference between revisions of "Enable Network support on B550 and B6000 Series Devices"
m |
|||
Line 1: | Line 1: | ||
Instructions tested on TV model '''UA32B6000 firmware T-CHL5DAUC'''<br /> | Instructions tested on TV model '''UA32B6000 firmware T-CHL5DAUC'''<br /> | ||
'''READ ALL BEFORE ATTEMPTING - ASK QUESTIONS IF ANYTHING UNCLEAR HERE: [http://forum.samygo.tv/viewtopic.php?f=2&t=956 Forum Thread]'''<br /> | '''READ ALL BEFORE ATTEMPTING - ASK QUESTIONS IF ANYTHING UNCLEAR HERE: [http://forum.samygo.tv/viewtopic.php?f=2&t=956 Forum Thread]'''<br /> | ||
− | '''IMPORTANT:''' before beginning dump/backup all important partitions in case of bricked | + | '''IMPORTANT:''' before beginning dump/backup all important partitions in case of bricked TV. <i>(for instructions see step 4)</i> hopefully not required if careful |
== Requirements== | == Requirements== | ||
To Do | To Do | ||
Line 108: | Line 108: | ||
#: +-- rpcsec_gss_krb5.ko | #: +-- rpcsec_gss_krb5.ko | ||
#: </pre> | #: </pre> | ||
− | ==Step 2 - Test Modified Kernel Before | + | ==Step 2 - Test Modified Kernel Before Flashing To TV Memory== |
:<code lang="text"> | :<code lang="text"> | ||
− | :<u><b>Test kernel image via u-boot with Exlink cable. (with usb drive prepared in step 1 plugged in | + | :<u><b>Test kernel image via u-boot with Exlink cable. (with usb drive prepared in step 1 plugged in TV usb port)</b></u> |
:</code> | :</code> | ||
− | # Enter service menu, | + | # Enter service menu, TV is initially '''off''', then on remote control hit '''{info}-{menu}-{mute}-{ON}''' |
# Change setting for your RS232C interface to '''"debug"''' ( Control -> Sub Option -> RS-232 Jack -> [ Debug | UART | Logic ] ) | # Change setting for your RS232C interface to '''"debug"''' ( Control -> Sub Option -> RS-232 Jack -> [ Debug | UART | Logic ] ) | ||
# Change setting for Watchdog to '''"off"''' ( Control -> Sub Option -> Watchdog -> [ on | off ] ) | # Change setting for Watchdog to '''"off"''' ( Control -> Sub Option -> Watchdog -> [ on | off ] ) | ||
− | # Exit service menu & switch off | + | # Exit service menu & switch off TV. |
− | # Connect computer to | + | # Connect computer to TV's 3.5mm service port with exlink cable and start telnet. (to test connection, switch on & off TV to see output in telnet) |
− | # Press and hold '''"~" (shift + "~")''' and while holding, switch on | + | # Press and hold '''"~" (shift + "~")''' and while holding, switch on TV. Then quickly hit '''"enter"''' before 3 seconds delay expires. |
# Select '''"0"''' (zero) and hit '''"enter"'''. to jump to uboot prompt. | # Select '''"0"''' (zero) and hit '''"enter"'''. to jump to uboot prompt. | ||
# Type or copy paste following command and hit '''"enter"''' | # Type or copy paste following command and hit '''"enter"''' | ||
Line 123: | Line 123: | ||
#: setenv bootargs root=139:6 console=ttyS1;usb start;fatload usb 0 61000000 /image/uImage;bootm</pre> | #: setenv bootargs root=139:6 console=ttyS1;usb start;fatload usb 0 61000000 /image/uImage;bootm</pre> | ||
# TV should start like normal, booting modified kernel image off usb drive. | # TV should start like normal, booting modified kernel image off usb drive. | ||
− | # If success and | + | # If success and TV started and operated like normal. Proceed to step 3. |
#:<br /> | #:<br /> | ||
− | ==Step 3 - Flash Modified Kernel To TV== | + | ==Step 3 - Flash Modified Kernel To TV Memory== |
:<code lang="text"> | :<code lang="text"> | ||
:<u><b>Flash usb drive prepared in step 1 to TV memory. (WARNING. no option in TV 'software update' to revert to previous firmware)</b></u> | :<u><b>Flash usb drive prepared in step 1 to TV memory. (WARNING. no option in TV 'software update' to revert to previous firmware)</b></u> | ||
:</code> | :</code> | ||
− | # Plug usb drive in | + | # Plug usb drive in TV usb port and power on TV. |
− | # | + | # In TV menu select ''''support'''', ''''software update'''', ''''by usb'''' and ''''ok'''' to search usb for update. |
− | # When update found select ''''ok'''' to continue update. Do NOT switch off | + | # When update found select ''''ok'''' to continue update. Do NOT switch off TV or unplug usb. |
− | # TV will reboot itself to complete update. | + | # TV will reboot itself to complete update. Update process was under 30 seconds on my TV. |
− | # If successfully flashed | + | # If successfully flashed TV kernel will be network enabled and ready for testing and setup. Proceed to step 4. |
#:<br /> | #:<br /> | ||
==Step 4 - Dump / Copy TV Boot Partition For Modification== | ==Step 4 - Dump / Copy TV Boot Partition For Modification== | ||
:<code lang="text"> | :<code lang="text"> | ||
− | :<u><b>Dump your | + | :<u><b>Dump your TV's boot partition. Fat formatted usb drive plugged in TV required</b></u> |
:</code> | :</code> | ||
− | # Telnet to | + | # Telnet to TV with exlink cable connected to TV and TV powered on. |
+ | # When fully started and TV's boot output in telnet has stopped enter following commands to begin serial console (shell). | ||
# Type <b>"debug"</b> at the invisible prompt to enable your serial console. | # Type <b>"debug"</b> at the invisible prompt to enable your serial console. | ||
# Type <b>"1198282"</b> and hit <b>"enter"</b>, for '<u>Top Debug Menu</u>'. | # Type <b>"1198282"</b> and hit <b>"enter"</b>, for '<u>Top Debug Menu</u>'. | ||
− | # Type <b>"11"</b> and hit <b>"enter"</b>, for '<u>TD Debug</u>' | + | # Type <b>"11"</b> and hit <b>"enter"</b>, for '<u>TD Debug</u>'. |
− | # Type <b>"04"</b> and hit <b>"enter"</b>, for '<u>spl Debug</u>' | + | # Type <b>"04"</b> and hit <b>"enter"</b>, for '<u>spl Debug</u>'. |
− | # Type <b>"68"</b> and hit <b>"enter"</b>, for '<u>Shell</u>' | + | # Type <b>"68"</b> and hit <b>"enter"</b>, for '<u>Shell</u>'. |
− | # At prompt# type | + | # At prompt# type command below and hit <b>"enter"</b>, to dump/copy boot partition to usb drive. |
#: <pre>cat /dev/bml0/7 > /dtv/usb/sda1/dev_bml0_07.img</pre> | #: <pre>cat /dev/bml0/7 > /dtv/usb/sda1/dev_bml0_07.img</pre> | ||
− | # IMPORTANT, before step 1 to dump/backup all important partitions in case of bricked | + | # IMPORTANT, before step 1 to dump/backup all important partitions in case of bricked TV. Hopefully not required if careful. |
#:<br /> | #:<br /> | ||
− | ==Step 5 - Modify | + | ==Step 5 - Modify TV Boot Partition Using TV and SamyGO-Extensions== |
:<code lang="text"> | :<code lang="text"> | ||
− | :<u><b> | + | :<u><b>Using SamyGO-Extensions and TV as OS follow steps below to edit 'rc.local' and '.version' files. Fat formatted usb drive required</b></u> |
:</code> | :</code> | ||
− | # Download | + | # Download '[http://download.samygo.tv/ SamyGO-Extensions]' (not cut down version) from SamyGO file downloads and extract to usb drive. D/L link:''' [http://download.samygo.tv/]''' |
− | # | + | # Copy boot partition <b>'dev_bml0_07.img'</b> (created in step 4) to root of usb drive and insert into TV usb port. |
− | # | + | # Telnet to TV with ex-link cable and begin serial console (as described in step 4). |
− | #: <pre>unsquashfs -s dev_bml0_07.img</pre> | + | # Load/run SamyGO-Extensions to enable tools required to modify boot partition. Type command below and hit <b>"enter"</b>. (Note. init script setup not required to perform this) |
− | # | + | #: <pre>sh -x /dtv/usb/sda1/SamyGO/rcSGO</pre> |
+ | # cd to usb root and inspect <b>'dev_bml0_07.img'</b> file. Type 2 commands below and hit <b>"enter"</b> after each command. Take note of output result. | ||
+ | #: <pre> | ||
+ | #: cd /dtv/usb/sda1 | ||
+ | #: unsquashfs -s dev_bml0_07.img</pre> | ||
+ | # Extract <b>'dev_bml0_07.img'</b> type command below and hit <b>"enter"</b> | ||
#: <pre>unsquashfs -dest dev_bml0_07 dev_bml0_07.img</pre> | #: <pre>unsquashfs -dest dev_bml0_07 dev_bml0_07.img</pre> | ||
− | # | + | # Edit <b>'/dev_bml0_07/.version'</b> file with 'vi' text editor increasing version number by 1 and save file. Example below done on my TV. |
+ | #: <pre>vi /dev_bml0_07/.version</pre> | ||
#: <code lang="text"> | #: <code lang="text"> | ||
#: <b>From this:</b></code> | #: <b>From this:</b></code> | ||
Line 166: | Line 173: | ||
#: <b>To this:</b></code> | #: <b>To this:</b></code> | ||
#: <pre>28_64_256-35</pre> | #: <pre>28_64_256-35</pre> | ||
− | # | + | # Edit <b>'/dev_bml0_o7/rc.local'</b> file and after line <b>'insmod /mtd_boot/modules/usb_fault.ko'</b> insert line <b>'/mtd_rwarea/SamyGO.sh &'</b> and save file. |
− | # | + | ##Alternatively insert line <b>'/mtd_rwarea/rcSGO &'</b> instead for 'SamyGO-Extensions' to load modules, mount networks, enable ssh and using injectso etc. I use 'SamyGO-Extensions' and start with 'SamyGO.sh'. |
− | # | + | # OPTIONAL. If you know what you are doing delete unneeded files (I safely deleted <b>'dev_bml0_07/modules/install_ko.sh'</b>) |
− | + | # OPTIONAL. Copy new modules like <b>'rt73.ko'</b>, <b>'rt2870sta.ko'</b>, <b>'cifs.ko'</b> & <b>'nfs.ko'</b> etc, to <b>'dev_bml0_07/modules'</b> folder. Not required if planning to use 'SamyGO-Extensions' <i>(To do instructions at end)</i>. | |
− | # If you know what you are doing delete unneeded files (I safely deleted <b>'dev_bml0_07/modules/install_ko.sh'</b>) | + | # Fix ownership to <b>'dev_bml0_07'</b> files and sub-files. Type command below and hit <b>"enter"</b>. |
− | # Copy new modules like <b>'rt73.ko'</b>, <b>'rt2870sta.ko'</b>, <b>'cifs.ko'</b> & <b>'nfs.ko'</b> etc to <b>'dev_bml0_07/modules'</b> folder. | + | #: <pre>chown -R root:root dev_bml0_07</pre> |
− | # | + | # Create new <b>'boot.img'</b> to be flashed to TV in step 6. Type following command and hit <b>"enter"</b>. |
− | + | #: <pre>mksquashfs dev_bml0_07 boot.img -le -b 65536</pre> | |
− | + | # Again inspect <b>'boot.img'</b> type following command and hit <b>"enter"</b>. Compare result with first inspection result preformed above. | |
− | # | + | #: <pre>unsquashfs -s boot.img</pre> |
− | # Create <b>'boot.img'</b> | ||
− | #: <pre> | ||
− | |||
− | # | ||
− | #: <pre> | ||
− | |||
#:<br /> | #:<br /> | ||
==Step 6 - Flash Modified 'boot.img' To TV Memory== | ==Step 6 - Flash Modified 'boot.img' To TV Memory== | ||
Line 193: | Line 194: | ||
#: T-CHL5DAUC/image/appdata.img.enc</pre> | #: T-CHL5DAUC/image/appdata.img.enc</pre> | ||
# Copy <b>'boot.img'</b> (created in step 5.10) to usb in <b>'T-CHL5DAUC/image'</b> folder | # Copy <b>'boot.img'</b> (created in step 5.10) to usb in <b>'T-CHL5DAUC/image'</b> folder | ||
− | # Get | + | # Get CRC of <b>'boot.img'</b> and edit <b>'T-CHL5DAUC/image/validinfo.txt'</b> performing 2 steps below <i>(To do CRC instructions)</i> |
## delete existing info <b>'exe.img.enc'</b> and <b>'appdata.img.enc'</b>. <i>see example below:</i> | ## delete existing info <b>'exe.img.enc'</b> and <b>'appdata.img.enc'</b>. <i>see example below:</i> | ||
− | ##: <pre> | + | ##: <pre>*007_exe.img_718ba666*011_appdata.img_cc1057e2</pre> |
− | |||
## insert new crc info of <b>'boot.img'</b> into <b>'validinfo.txt'</b>. <i>see example below:</i> | ## insert new crc info of <b>'boot.img'</b> into <b>'validinfo.txt'</b>. <i>see example below:</i> | ||
− | ##: <pre> | + | ##: <pre>*008_boot.img_a1cb1115</pre> |
− | + | # Plug usb into TV usb port, when/if popup window appears select ''''software update''''. if no popup, then in menu select ''''support'''', ''''software update'''', ''''by usb''''. after search locates upgrade on usb select ''''ok'''' to continue. | |
− | # Plug usb into | ||
::: Do NOT switch off TV or unplug usb. | ::: Do NOT switch off TV or unplug usb. | ||
<br /> | <br /> | ||
:::<b>***** <u>TO BE COMPLETED</u> *****</b> | :::<b>***** <u>TO BE COMPLETED</u> *****</b> |
Revision as of 18:41, 22 December 2010
Instructions tested on TV model UA32B6000 firmware T-CHL5DAUC
READ ALL BEFORE ATTEMPTING - ASK QUESTIONS IF ANYTHING UNCLEAR HERE: Forum Thread
IMPORTANT: before beginning dump/backup all important partitions in case of bricked TV. (for instructions see step 4) hopefully not required if careful
Contents
- 1 Requirements
- 2 Step 1 - Download New Networked Enabled Kernel
- 3 Step 2 - Test Modified Kernel Before Flashing To TV Memory
- 4 Step 3 - Flash Modified Kernel To TV Memory
- 5 Step 4 - Dump / Copy TV Boot Partition For Modification
- 6 Step 5 - Modify TV Boot Partition Using TV and SamyGO-Extensions
- 7 Step 6 - Flash Modified 'boot.img' To TV Memory
Requirements
To Do
Step 1 - Download New Networked Enabled Kernel
- Download network enabled kernel and extract to fat formatted usb flash drive.
- T-CHL5DAUC Download link: [1]
- T-CHL5DEUC Download link: [2]
- Directory structure as following:
- usb-root
- +-- boot
- ¦ +-- uImage
- +-- T-CHL5DAUC
- +-- crc
- +-- ddcmp
- +-- image
- ¦ +-- Image
- ¦ +-- info.txt
- ¦ +-- major_version
- ¦ +-- minor_version
- ¦ +-- serial_temp
- ¦ +-- validinfo.txt
- ¦ +-- version_info.txt
- +-- MicomCtrl
- +-- modules
- +-- 2.6.18_SELP-ARM
- +-- extra
- ¦ +-- rt2570.ko
- +-- kernel
- +-- drivers
- ¦ +-- block
- ¦ ¦ +-- loop.ko
- ¦ ¦ +-- pktcdvd.ko
- ¦ +-- bluetooth
- ¦ ¦ +-- hci_usb.ko
- ¦ +-- cdrom
- ¦ ¦ +-- cdrom.ko
- ¦ +-- input
- ¦ ¦ +-- evdev.ko
- ¦ +-- net
- ¦ ¦ +-- dm9601.ko
- ¦ ¦ +-- rt2570.ko
- ¦ ¦ +-- rt3070sta.ko
- ¦ +-- rt2870
- ¦ ¦ +-- os
- ¦ ¦ +-- linux
- ¦ ¦ +-- rt2870sta.ko
- ¦ +-- rt73
- ¦ ¦ +-- Module
- ¦ ¦ +-- rt73.ko
- ¦ +-- scsi
- ¦ ¦ +-- sg.ko
- ¦ ¦ +-- sr_mod.ko
- ¦ +-- usb
- ¦ ¦ +-- gadget
- ¦ ¦ ¦ +-- dummy_hcd.ko
- ¦ ¦ ¦ +-- g_file_storage.ko
- ¦ ¦ +-- input
- ¦ ¦ +-- usbhid.ko
- ¦ +-- video
- ¦ +-- cfbcopyarea.ko
- ¦ +-- cfbfillrect.ko
- ¦ +-- cfbimgblt.ko
- ¦ +-- console
- ¦ ¦ +-- bitblit.ko
- ¦ ¦ +-- fbcon.ko
- ¦ ¦ +-- font.ko
- ¦ ¦ +-- softcursor.ko
- ¦ +-- fb.ko
- ¦ +-- vfb.ko
- +-- fs
- ¦ +-- cifs
- ¦ ¦ +-- cifs.ko
- ¦ +-- coda
- ¦ ¦ +-- coda.ko
- ¦ +-- hfs
- ¦ ¦ +-- hfs.ko
- ¦ +-- hfsplus
- ¦ ¦ +-- hfsplus.ko
- ¦ +-- isofs
- ¦ ¦ +-- isofs.ko
- ¦ +-- lockd
- ¦ ¦ +-- lockd.ko
- ¦ +-- nfs
- ¦ ¦ +-- nfs.ko
- ¦ +-- nfs_common
- ¦ ¦ +-- nfs_acl.ko
- ¦ +-- udf
- ¦ +-- udf.ko
- +-- net
- +-- bluetooth
- ¦ +-- bluetooth.ko
- ¦ +-- bnep
- ¦ ¦ +-- bnep.ko
- ¦ +-- hidp
- ¦ ¦ +-- hidp.ko
- ¦ +-- l2cap.ko
- ¦ +-- rfcomm
- ¦ ¦ +-- rfcomm.ko
- ¦ +-- sco.ko
- +-- sunrpc
- +-- auth_gss
- +-- auth_rpcgss.ko
- +-- rpcsec_gss_krb5.ko
Step 2 - Test Modified Kernel Before Flashing To TV Memory
- Test kernel image via u-boot with Exlink cable. (with usb drive prepared in step 1 plugged in TV usb port)
- Enter service menu, TV is initially off, then on remote control hit {info}-{menu}-{mute}-{ON}
- Change setting for your RS232C interface to "debug" ( Control -> Sub Option -> RS-232 Jack -> [ Debug | UART | Logic ] )
- Change setting for Watchdog to "off" ( Control -> Sub Option -> Watchdog -> [ on | off ] )
- Exit service menu & switch off TV.
- Connect computer to TV's 3.5mm service port with exlink cable and start telnet. (to test connection, switch on & off TV to see output in telnet)
- Press and hold "~" (shift + "~") and while holding, switch on TV. Then quickly hit "enter" before 3 seconds delay expires.
- Select "0" (zero) and hit "enter". to jump to uboot prompt.
- Type or copy paste following command and hit "enter"
- setenv bootargs root=139:6 console=ttyS1;usb start;fatload usb 0 61000000 /image/uImage;bootm
- TV should start like normal, booting modified kernel image off usb drive.
- If success and TV started and operated like normal. Proceed to step 3.
Step 3 - Flash Modified Kernel To TV Memory
- Flash usb drive prepared in step 1 to TV memory. (WARNING. no option in TV 'software update' to revert to previous firmware)
- Plug usb drive in TV usb port and power on TV.
- In TV menu select 'support', 'software update', 'by usb' and 'ok' to search usb for update.
- When update found select 'ok' to continue update. Do NOT switch off TV or unplug usb.
- TV will reboot itself to complete update. Update process was under 30 seconds on my TV.
- If successfully flashed TV kernel will be network enabled and ready for testing and setup. Proceed to step 4.
Step 4 - Dump / Copy TV Boot Partition For Modification
- Dump your TV's boot partition. Fat formatted usb drive plugged in TV required
- Telnet to TV with exlink cable connected to TV and TV powered on.
- When fully started and TV's boot output in telnet has stopped enter following commands to begin serial console (shell).
- Type "debug" at the invisible prompt to enable your serial console.
- Type "1198282" and hit "enter", for 'Top Debug Menu'.
- Type "11" and hit "enter", for 'TD Debug'.
- Type "04" and hit "enter", for 'spl Debug'.
- Type "68" and hit "enter", for 'Shell'.
- At prompt# type command below and hit "enter", to dump/copy boot partition to usb drive.
cat /dev/bml0/7 > /dtv/usb/sda1/dev_bml0_07.img
- IMPORTANT, before step 1 to dump/backup all important partitions in case of bricked TV. Hopefully not required if careful.
Step 5 - Modify TV Boot Partition Using TV and SamyGO-Extensions
- Using SamyGO-Extensions and TV as OS follow steps below to edit 'rc.local' and '.version' files. Fat formatted usb drive required
- Download 'SamyGO-Extensions' (not cut down version) from SamyGO file downloads and extract to usb drive. D/L link: [3]
- Copy boot partition 'dev_bml0_07.img' (created in step 4) to root of usb drive and insert into TV usb port.
- Telnet to TV with ex-link cable and begin serial console (as described in step 4).
- Load/run SamyGO-Extensions to enable tools required to modify boot partition. Type command below and hit "enter". (Note. init script setup not required to perform this)
sh -x /dtv/usb/sda1/SamyGO/rcSGO
- cd to usb root and inspect 'dev_bml0_07.img' file. Type 2 commands below and hit "enter" after each command. Take note of output result.
- cd /dtv/usb/sda1
- unsquashfs -s dev_bml0_07.img
- Extract 'dev_bml0_07.img' type command below and hit "enter"
unsquashfs -dest dev_bml0_07 dev_bml0_07.img
- Edit '/dev_bml0_07/.version' file with 'vi' text editor increasing version number by 1 and save file. Example below done on my TV.
vi /dev_bml0_07/.version
From this:
28_64_256-34
To this:
28_64_256-35
- Edit '/dev_bml0_o7/rc.local' file and after line 'insmod /mtd_boot/modules/usb_fault.ko' insert line '/mtd_rwarea/SamyGO.sh &' and save file.
- Alternatively insert line '/mtd_rwarea/rcSGO &' instead for 'SamyGO-Extensions' to load modules, mount networks, enable ssh and using injectso etc. I use 'SamyGO-Extensions' and start with 'SamyGO.sh'.
- OPTIONAL. If you know what you are doing delete unneeded files (I safely deleted 'dev_bml0_07/modules/install_ko.sh')
- OPTIONAL. Copy new modules like 'rt73.ko', 'rt2870sta.ko', 'cifs.ko' & 'nfs.ko' etc, to 'dev_bml0_07/modules' folder. Not required if planning to use 'SamyGO-Extensions' (To do instructions at end).
- Fix ownership to 'dev_bml0_07' files and sub-files. Type command below and hit "enter".
chown -R root:root dev_bml0_07
- Create new 'boot.img' to be flashed to TV in step 6. Type following command and hit "enter".
mksquashfs dev_bml0_07 boot.img -le -b 65536
- Again inspect 'boot.img' type following command and hit "enter". Compare result with first inspection result preformed above.
unsquashfs -s boot.img
Step 6 - Flash Modified 'boot.img' To TV Memory
- Prepare usb drive with new 'boot.img' and flash to TV memory
- Download original firmware from Samsung and extract to usb drive.
- Delete unwanted files from firmware
- T-CHL5DAUC/image/exe.img.enc
- T-CHL5DAUC/image/appdata.img.enc
- Copy 'boot.img' (created in step 5.10) to usb in 'T-CHL5DAUC/image' folder
- Get CRC of 'boot.img' and edit 'T-CHL5DAUC/image/validinfo.txt' performing 2 steps below (To do CRC instructions)
- delete existing info 'exe.img.enc' and 'appdata.img.enc'. see example below:
*007_exe.img_718ba666*011_appdata.img_cc1057e2
- insert new crc info of 'boot.img' into 'validinfo.txt'. see example below:
*008_boot.img_a1cb1115
- delete existing info 'exe.img.enc' and 'appdata.img.enc'. see example below:
- Plug usb into TV usb port, when/if popup window appears select 'software update'. if no popup, then in menu select 'support', 'software update', 'by usb'. after search locates upgrade on usb select 'ok' to continue.
- Do NOT switch off TV or unplug usb.
- ***** TO BE COMPLETED *****