Enable Network support on B550 and B6000 Series Devices


From SamyGO
Revision as of 15:29, 21 December 2010 by Merv07 (talk | contribs)
Jump to: navigation, search

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

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]
  1. 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 Flash To TV

Test kernel image via u-boot with Exlink cable. (with usb drive prepared in step 1 plugged in tv usb port)
  1. Enter service menu, tv is initially off, then on remote control hit {info}-{menu}-{mute}-{ON}
  2. Change setting for your RS232C interface to "debug" ( Control -> Sub Option -> RS-232 Jack -> [ Debug | UART | Logic ] )
  3. Change setting for Watchdog to "off" ( Control -> Sub Option -> Watchdog -> [ on | off ] )
  4. Exit service menu & switch off tv.
  5. Connect computer to tv via exlink cable and start telnet. (to test connection, switch on & off tv to see output in telnet)
  6. Press and hold "~" (shift + "~") and while holding, switch on tv. Then quickly hit "enter" before 3 seconds delay expires.
  7. Select "0" (zero) and hit "enter". to jump to uboot prompt.
  8. 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
  9. TV should start like normal, booting modified kernel image off usb drive.
  10. If success and tv started and operated like normal. proceed to step 3.

Step 3 - Flash Modified Kernel To TV

Flash usb drive prepared in step 1 to TV memory. (WARNING. no option in TV 'software update' to revert to previous firmware)
  1. Plug usb drive in tv usb port and power on tv.
  2. Select 'software update' and 'ok' to search usb for update.
  3. When update found select 'ok' to continue update. Do NOT switch off tv or unplug usb.
  4. TV will reboot itself to complete update. update process was under 30 seconds on my tv.
  5. If successfully flashed, tv 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
  1. Telnet to tv via exlink cable and power on tv.
  2. Type "debug" at the invisible prompt to enable your serial console.
  3. Type "1198282" and hit "enter", for 'Top Debug Menu'.
  4. Type "11" and hit "enter", for 'TD Debug'
  5. Type "04" and hit "enter", for 'spl Debug'
  6. Type "68" and hit "enter", for 'Shell'
  7. At prompt# type following line and hit "enter", to dump/copy boot image to usb drive.
    cat /dev/bml0/7 > /dtv/usb/sda1/dev_bml0_07.img
  8. IMPORTANT, before step 1 to dump/backup all important partitions in case of bricked tv. hopefully not required if careful.

Step 5 - Modify 'rc.local' To Auto Start Script

Modify tv boot partition to auto start 'SamyGo.sh' script. Fat formatted usb drive plugged in TV required
  1. Download squashfs-tool-pack.tar.bz2 from SamyGO file downloads: [3]
  2. Extract desired squashfs-tools platform into new folder with 'dev_bml0_07.img' file created earlier.
  3. To inspect 'dev_bml0_07.img' open command prompt in new folder and type following and hit "enter" (I used win XP)
    unsquashfs -s dev_bml0_07.img
  4. To extract image open command prompt in new folder and type following and hit "enter"
    unsquashfs -dest dev_bml0_07 dev_bml0_07.img
  5. Open '/<new folder>/dev_bml0_07' folder and edit '.version' file (with notepad++ or similar text editor) increasing version number by 1 and save file. Example below done on my tv.
    From this:
    28_64_256-34
    To this:
    28_64_256-35
  6. While in '/<new folder>/dev_bml0_07' folder also edit 'rc.local' file, after line 'insmod /mtd_boot/modules/usb_fault.ko' add line '/mtd_rwarea/SamyGO.sh &' and save file.
    (optionally after testing samygo-extensions, add line '/mtd_rwarea/rcSGO &' instead)
  7. If you know what you are doing delete unneeded files (I safely deleted 'dev_bml0_07/modules/install_ko.sh')
  8. Copy new modules like 'rt73.ko', 'rt2870sta.ko', 'cifs.ko' & 'nfs.ko' etc to 'dev_bml0_07/modules' folder. Other options are to copy required modules manually to tv memory or use 'samygo-extensions pack' for your tv's firmware.
    New cut down version of 'samygo-extensions' available here: [4]
  9. Fix ownership if done on linux pc 'chown -R root:root dev_bml0_07' (I skipped this as I used windows XP)
  10. Create 'boot.img' type following command in command prompt and hit "enter"
    mksquashfs dev_bml0_07 boot.img -le -b 65536
  11. To ckeck 'boot.img' type following command and hit "enter"
    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
  1. Download original firmware from Samsung and extract to usb drive.
  2. Delete unwanted files from firmware
    T-CHL5DAUC/image/exe.img.enc
    T-CHL5DAUC/image/appdata.img.enc
  3. Copy 'boot.img' (created in step 5.10) to usb in 'T-CHL5DAUC/image' folder
  4. Get crc of 'boot.img' and edit 'T-CHL5DAUC/image/validinfo.txt' performing 2 steps below
    1. delete existing info 'exe.img.enc' and 'appdata.img.enc'. see example below:
      *007_exe.img_718ba666*011_appdata.img_cc1057e2
    2. insert new crc info of 'boot.img' into 'validinfo.txt'. see example below:
      *008_boot.img_a1cb1115
  5. 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 *****