linux firmware update commands

General Forum for talking area for B series TVs.
Post Reply

lcdpro
Posts: 1
Joined: Tue Jan 13, 2015 3:00 am

linux firmware update commands

Post by lcdpro » Tue Jan 13, 2015 4:04 am

Hi, everyone , i enjoyed reading and learning allot from many of the Wikis on this site , i want to thank everyone for the great information.

my post is because i dont know how to get around in Linux ,i know dos , machine language and some c+, i know that this is a Samsung site and i 'm asking help on a different brand but at the core they are very similar, I'm trying to avoid removing the Flash chip which is not a small soic8 rather a TSOP56 (s29gl128n) and i have to build a programmer adapter to be able to Read /Write the damaged firmware, so i used the onboard UART serial 3 wire inerface and the putty terminal , but now i stomped at the commands to Dump the flash and reload another firmware hoping to unbrick the 47'' Big #W LCD# TV.

can someone please list the steps to do that , i tried to follow the B series Wiki it looks similar but some command doesn't work and the mounted images different.

the Putty window is below

Thank you

Code: Select all

BootLoader Binanry Information:
This version is built by 'root' on host 'localhost.localdomain' for 'trid_demo'
At '?? 10?? 10 13:28:35 UTC 2006'
The compiler is 'gcc version 2.95.3 20010315 (release/MontaVista)'
BOARD:                  allboardRevB
DDR brand:              allddr
MIPS:                   250MHz
DDR:                    333MHz
DDR bandwidth:  32bits
Flash timing:   120ns and faster chip
CVS tag:                0007
Global version: 0030
Update using [RS232][USB]
Total 64M Physical Memory Detected On Board.
Begin to identify flash type...
[AMD]S29GL128N 16M flash found on this platform
Usb Device Detected!
load boot2 image begin,its size is 20000...
Found unCompressed boot2 image, copying...
load boot2 image end.
Scanning Bus for devices...
2 USB Devices found
       scanning bus for storage devices...
  Device 0: reading /safe-kernel.img1
sehci_submit_job:1237   error:a102a000,2008d40!
ERROR: sehci_submit_job failed
sehci_submit_job:1237   error:a102a000,2008d40!
ERROR: sehci_submit_job failed
sehci_submit_job:1237   error:a102a000,2008d40!
ERROR: sehci_submit_job failed
could not load fail-safe kernel from FAT
Parse kernel from USB disk failed
update flash use ext dev failed
Found uncompressed HOST KERNEL image, copying to dest...
Begin to boot HOST KERNEL...
Detected LX5180 (PRID: c501),
Revision: 5a4c0161, Default 64 MB SDRAM,parse mem=xxx[MmKkGg] later...
CPU revision is: 0000c501
64 entry TLB.
Linux version 2.4.17_mvl21-4189ref (root@AlanLinux) (gcc version 2.95.3 20010315 (release/MontaVista)) #533 Tue Jul 18 15:42:50 CST 2006
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
User-defined physical RAM map:
 memory: 01a00000 @ 00000000 (usable)
reserve_bootmem: entering reserve_bootmem_core.
 bootmem reserved from:8a000000 size:340
reserve_bootmem: leaving reserve_bootmem_core
Initial ramdisk at: 0x80348000 (0 bytes)
On node 0 totalpages: 6656
zone(0): 4096 pages.
zone(1): 2560 pages.
zone(2): 0 pages.
Kernel command line: mem=26m console=ttyS0,115200n8 root=/dev/mtdblock2 rootfstype=cramfs MTD_NAME=mtd1,0,3M MTD_NAME=mtd2,3M,3M MTD_NAME=mtd3,6M,2M MTD_NAME=mtd4,8M,8M FV=&00070030
Real Time Scheduler Is Disabled
PREEMPT Is Disabled
calculating Memory Clock frequency(250MHZ ??)... memory clock frequency is set to 250M in menuconfig
0x0ee6b280(250000000)
Calibrating delay loop (skipped)... 249.03 BogoMIPS
MIPS CPU counter frequency is fixed at 250000000 Hz
Memory: 22576k/26624k available (2155k kernel code, 4048k reserved, 94k data, 76k init)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
Autoconfig PCI channel 0x8033e868
Scanning bus 00, I/O 0x14001000:0x14fff000, Mem 0x10000000:0x14000000
00:01.4 Class 0680: 1283:8172 (rev 11)
00:01.5 Class 0101: 1283:8172 (rev 01)
Alan Liu:Found HiDTV PCI-IDE controller
        I/O at 0x140001f1 [size=0x8]
        I/O at 0x140003f5 [size=0x4]
        I/O at 0x14000171 [size=0x8]
        I/O at 0x14000375 [size=0x4]
        I/O at 0x14000001 [size=0x10]
00:01.6 Class 0680: 1283:8172 (rev 10)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Disabling the Out Of Memory Killer
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x14011800 (irq = 39) is a 16550A
ttyS01 at 0x14014000 (irq = 35) is a 16550A
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
PPP generic driver version 2.4.1
PPP Deflate Compression module registered
PPP BSD Compression module registered
fether: total 682 pieces
SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
physmap flash device: 1000000 at 1c000000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
phys_mapped_flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Using physmap partition definition
Creating 1 MTD partitions on "phys_mapped_flash":
0x00000000-0x01000000 : "mtd0"
Using partition definition from KERNEL command line parameters
Creating 4 MTD partitions on "phys_mapped_flash":
0x00000000-0x00300000 : "mtd1"
0x00300000-0x00600000 : "mtd2"
0x00600000-0x00800000 : "mtd3"
0x00800000-0x01000000 : "mtd4"
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
Probe HiDTV PRO EHCI HC now...
ehci_hcd : irq 34, NON PCI IO/MEM SPACE(0x1b003100~0x1b003fff) bb003100
usb.c: new USB bus registered, assigned bus number 1
Alan: USB HC 64bit addressing is not supported
hub.c: USB hub found
hub.c: 1 port detected
usb.c: registered new driver usbnet
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Couldn't find valid RAM disk image starting at 0.
VFS: Mounted root (cramfs filesystem).
Freeing unused kernel memory: 76k freed
mount: /etc/mtab: Permission denied
Algorithmics/MIPS FPUmount: /etc/mtab: Permission denied
 Emulator v1.5
hub.c: new USB device HiDTV PRO EHCI HC-1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
There are 1 ports in this hub
  Vendor: iT1167B   Model: USB Flash Disk    Rev: 0.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 7852032 512-byte hdwr sectors (4020 MB)
sda: Write Protect is off
kmod: failed to exec /sbin/modprobe -s -k char-major-4, errno = Partition check:
2
INIT: version 2.78 booting
mknod: /dev/hidtv2dge: File exists
mount: /etc/mtab: Permission denied
mount: /etc/mtab: Permission denied
mknod: /dev/display: File exists
mknod: /dev/imemdmem: File exists
hub.c: new USB device HiDTV PRO EHCI HC-1, assigned address 2
Using ./hidtvreghidtvreg: setup scsi0 : SCSI emulation for USB Mass Storage devices
done
  Vendor: iT1167B   Model: USB Flash Disk    Rev: 0.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Using i2c.o
Hidtv master i2c driver enter
SCSI device sda: 7852032 512-byte hdwr sectors (4020 MB)
sda: Write Protect is off
Partition check:
 sda: sda1 sdaUsing i2c2.o
2 sda3 sda4
Hidtv master i2c 2 driver enter
Using ge2d_dev.o
This is CMO47 panel
next_opt =102
next_opt =101
next_opt =111
next_opt =105
gLogoPicture =logopic/WDELogo.yuyv
next_opt =108
12807202
 w = 1280 , h = 720 , pB = 2
next_opt =-1
debug_ienable_irq(41) unbalanced from c00f59a8
nit for module:2kmod: failed to exec /sbin/modprobe -s -k char-major-251, errno = 2
, gui_control_debug:debug:0 exsdk:0, gui_control_debug:0x7fff7ef3
gui_control_size:15
ImageWidth=1280  ImageHeight=720 ImagePixelByte=2 wRowByte =2560
begin reset 15021403 osd
0
4
after reset 15021403 osd
begin reset 15021403 display
0
40
after reset 15021403 display
begin write 15022054
after write 15022054
start to check PowerOnPlug
gpio2 register value
mknod: /dev/i2c-0: File exists
mknod: /dev/hidtv2dge: File exists
mknod: /dev/displayd600
: File exists
mknod: /dev/imemdmem: File exists
firstPowerOn 1
PowerOnPlugFlag 0
ready to power off
Using ./hidtvreg_drv.o
uart2 open success!!!!!!!
hidtvreg: setup done
**********uart2 open success**Ma*CTL[0x45],~~~ PAYLOAD[0x30]ComposeCommandPackage [0x45][0x30]
Using i2c.o
ComposeCommandPackage [0x45][0x30]
Hidtv master i2c driver enter
~~~~g_transmit_buffer_index[5]
Using i2c2.o
Hidtv master [0x2]
i2c 2 driver enter
Using ge2d_dev.o
[0x45]
[0x30]
[0xcf]
[0x3]
INIT: Entering runlevel: 1


BusyBox v0.60.2 (2002.04.30-09:36+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

#
This is CMO47 panel
next_opt =102
next_opt =101
next_opt =111
next_opt =105
gLogoPicture =logopic/WDELogo.yuyv
next_opt =108
12807202
 w = 1280 , h = 720 , pB = 2
next_opt =-1
debug_ienable_irq(41) unbalanced from c00f59a8
nit for module:2kmod: failed to exec /sbin/modprobe -s -k char-major-251, errno = 2
, gui_control_debug:debug:0 exsdk:0, gui_control_debug:0x7fff7ef3
gui_control_size:15
ImageWidth=1280  ImageHeight=720 ImagePixelByte=2 wRowByte =2560
begin reset 15021403 osd
0
4
after reset 15021403 osd
begin reset 15021403 display
0
40
after reset 15021403 display
begin write 15022054
after write 15022054
start to check PowerOnPlug
gpio2 register value
d300
firstPowerOn 0
PowerOnPlugFlag 0
FirstPowerOn false
after PowerOnPlug check
uart2 open success!!!!!!!
**********uart2 open success**Matthew**********CTL[0x45],~~~ PAYLOAD[0xdf]ComposeCommandPackage [0x45][0xdf]
ComposeCommandPackage [0x45][0xdf]
~~~~g_transmit_buffer_index[5]
[0x2]
[0x45]
[0xdf]
[0x20]
[0x3]
Using ./timer_dev.o
Timer test: <6>init_module:done

Using ./rmctl.o
Install RMCTL Driver For Sony Remote Controller!
Install ADC_RM Module Begin ...
Set ADC repeat rate:25
Install ADC_RM Module Done!
Using ./mpeg_dev.o
Using ./demux_dev.o
Using hidtv_audio_dev.o
socket number: 65530
socket number: 65529
dbgserver: udp start up complete
dbgserver: tcp start up complete
debug_init for module:2, gui_control_debug:debug:0 exsdk:0, gui_control_debug:0x7fff7ef2
gui_control_size:15
enable_irq(7) unbalanced from c0108b18
INIT: Entering runlevel: 1


BusyBox v0.60.2 (2002.04.30-09:36+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

#
 maped base io = 0x2b654000

face id is created on function FT2CreateFont, file freetype2_driver.c, line 507
start_x 160, star_y :40
color key 526344 will be set for plane 1

face id is created on function FT2CreateFont, file freetype2_driver.c, line 507

face id is created on function FT2CreateFont, file freetype2_driver.c, line 507
FT2SetFontSize(freetype2_driver.c: 681):
Scaler.width = 45, Scaler.height = 45
[CESEPG]==>file:CC608Data.c [1144] func:CC608MSetWindow  After CC608ONegotiateFont, font size: height = 53,width = 38
CCDataThread pid:113=====
CCDecodeDisplayThread pid:114====
DemuxSec Version: 1.08
SIIntrThrd PID=1enable_irq(11) unbalanced from c010b708
15




---I can se it-&&&&----------



[CESEPG]==>file:cfgSaver.c [903] func:CommReadConfig  Cant Open /etc/VDL_ColorTempInfo
[CESEPG]==>file:cfgSaver.c [903] func:CommReadConfig  Cant Open /etc/VDL_VideoMinMaxInfo
[CESEPG]==>file:cfgSaver.c [903] func:CommReadConfig  Cant Open /etc/VDL_VideoMiscInfo
[CESEPG]==>file:cfgSaver.c [903] func:CommReadConfig  Cant Open /etc/VDL_VideoWhiteBalanceInfo
[CESEPG]==>file:cfgSaver.c [903] func:CommReadConfig  Cant Open /etc/VDL_VideoSourceSelectInfo
PVRTSIntrThrd PID=116
[CESEPG]==>file:S5H1409.c [252] func:Dm_1409xModeControl  TS parallel mode output

[Reset TDMS 2]
tafe:mc_tab=ffff, pc_tab=ffff
OPEN SUCCESS
AVCore Version=0.2
Demux Version: 1.08
NOSIIntrThrd PIDenable_irq(12) unbalanced from c010b708
=117
MpegVideo Version: 1.08
[CESEPG]==>file:Main/MpegDev.c [112] func:MpegDecoderInit  MpegDecoderInit id:0
enable_irq(14) unbalanced from c01087bc
Mpeg VBS Intr thread:PID:118
MpegVideo Version: 1.08
[CESEPG]==>file:Main/MpegDev.c [112] func:MpegDecoderInit  MpegDecoderInit id:1
[CESEPG]==>file:Device/MpegIO.c [76] func:MpegIO_Open  MPEGIO_Open, 0:id:15,1id:15
Audio Version: 1.08
[CESEPG]==>file:cfgSaver.c [903] func:CommReadConfig  Cant Open /etc/VChipInfo
[CESEPG]==>file:cfgSaver.c [903] func:CommReadConfig  Cant Open /etc/OpenVChipRRTInfo
[CESEPG]==>file:cfgSaver.c [903] func:CommReadConfig  Cant Open /etc/TVSourceInfo
PRO psipversion=3.2.8
PsipEttThread PID=120
PsipEitThread, PID=121
PsipRRTThread, pid=123
PsipSttThread PID=122
TV_Tuner_SetCableStandardType>>> CableStdType=4 RealCableStdType=4

VDL_Tuner_SetCableStandardType> AnalogCableStand=1 DigitalCableStand=4

TV_Tuner_SetCableStandardType>>> CableStdType=4 RealCableStdType=4

VDL_Tuner_SetCableStandardType> AnalogCableStand=4 DigitalCableStand=4

uart2 open success!!!!!!!
uart2 open success!!!!!!!
**********uart2 open success**Matthew**********CTL[0x45],~~~ PAYLOAD[0xd0]ComposeCommandPackage [0x45][0xd0]
ComposeCommandPackage [0x45][0xd0]
~~~~g_transmit_buffer_index[5]
[0x2]
[0x45]
[0xd0]
[0x2f]
[0x3]
**********uart2 open success**Matthew*******************Initial APP UART@ Matthew***********
CurPMSetting[WinType].HueTint = 50

CurPMSetting[WinType].HueTint = 50
[CESEPG]==>file:AVCore.c [856] func:AVCore_SetAudioOutMode  SetAudioMode cur_mode:0x6, toset:0x0====================
TV_Audio_SetWooferMute bMute=0
TV_Audio_SetWooferMute bMute=0
[CESEPG]==>file:Channel_ATSC/tvChanComm.c [372] func:TV_Chan_CheckValid  Major:2 Minor:2 Type:1 ProgIndex:-1 CheckSum:0x0ce807
[CESEPG]==>file:APP_background.c [601] func:APP_BG_UpdateScreenColor  Really want to update Screen Color status

[Reset TDMS 2]

[Reset TDMS 2]

CurPMSetting[WinType].HueTint = 50

CurPMSetting[WinType].HueTint = 50

[Reset TDMS 2]

[Reset TDMS 2]

CurPMSetting[WinType].HueTint = 50
Trying Qam256...
[CESEPG]==>file:S5H1409TunerAPI.c [1033] func:TunerGetLockExt  AGC VALUE=0xf880
[CESEPG]==>file:S5H1409TunerAPI.c [1037] func:TunerGetLockExt  AGC check ERROR,RETURN!
[CESEPG]==>file:VDL_tuner/VDL_tuner.c [635] func:VDL_Tuner_SetTunerByChanNo  Digital Qam Mode:2, ChanNo:116
[CESEPG]==>file:S5H1409TunerAPI.c [1140] func:TunerTuneATSCCableChanExt  The wrong cable type!
ASSERT FAILED, File:S5H1409TunerAPI.c Line:1141 Routine:TunerTuneATSCCableChanExt
help

Built-in commands:
-------------------
        . : alias break builtin cd chdir continue eval exec exit exp
        export false fc hash help jobs let local read readonly return
        set setvar shift times trap true type ulimit umask unalias unset
        wait

# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/root                 5552      5552         0 100% /
/dev/mtd3                 2048       480      1568  23% /etc
/dev/mtd4                19180     19180         0 100% /mnt
#

Post Reply

Return to “[B] General”