华为EC1308机顶盒

来自IPTV爱好者
跳转至: 导航搜索

概述

华为EC1308机顶盒改参数

设置密码: 8288

保存密码: 3008

Telnet用户名:sunniwell,密码是82883008

广东电信认证服务器:http://eds.iptv.gd.cn:8082/EDS/jsp/AuthenticationURL

广东电信升级服务器:http://eds.iptv.gd.cn:8082/

浙江电信认证服务器:http://itv.zj.vnet.cn:8082/EDS/jsp/AuthenticationURL

浙江电信升级服务器:http://itv.zj.vnet.cn:8082/

MTD分区信息:

0x00000000-0x08000000 : "whole"            	/dev/mtdblock/0
0x00000000-0x00100000 : "loader"		/dev/mtdblock/1
0x00100000-0x00b00000 : "boot1"			/dev/mtdblock/2
0x00b00000-0x02b00000 : "app1"			/dev/mtdblock/3
0x02b00000-0x02c00000 : "logo1"			/dev/mtdblock/4
0x02c00000-0x02d00000 : "param1"		/dev/mtdblock/5
0x02d00000-0x02e00000 : "playlist1"		/dev/mtdblock/6
0x02e00000-0x03800000 : "boot2"			/dev/mtdblock/7
0x03800000-0x06800000 : "app2"			/dev/mtdblock/8
0x06800000-0x06900000 : "logo2"			/dev/mtdblock/9
0x06900000-0x06a00000 : "param2"		/dev/mtdblock/10
0x06a00000-0x06b00000 : "playlist2"		/dev/mtdblock/11
0x06b00000-0x08000000 : "swfs"			/dev/mtdblock/12

备份MTD分区到U盘:

cat /dev/mtdblock/0 >/mnt/udisk1/mtdblock0.bin
cat /dev/mtdblock/1 >/mnt/udisk1/mtdblock1.bin
cat /dev/mtdblock/2 >/mnt/udisk1/mtdblock2.bin
cat /dev/mtdblock/3 >/mnt/udisk1/mtdblock3.bin
cat /dev/mtdblock/4 >/mnt/udisk1/mtdblock4.bin
cat /dev/mtdblock/5 >/mnt/udisk1/mtdblock5.bin
cat /dev/mtdblock/6 >/mnt/udisk1/mtdblock6.bin
cat /dev/mtdblock/7 >/mnt/udisk1/mtdblock7.bin
cat /dev/mtdblock/8 >/mnt/udisk1/mtdblock8.bin
cat /dev/mtdblock/9 >/mnt/udisk1/mtdblock9.bin
cat "/dev/mtdblock/:" >/mnt/udisk1/mtdblock10.bin
cat "/dev/mtdblock/;" >/mnt/udisk1/mtdblock11.bin
cat "/dev/mtdblock/<" >/mnt/udisk1/mtdblock12.bin

Bootloader

U-Boot启动信息

NAND:  128 MiB


U-Boot 2008.10-svn (May 28 2010 - 11:04:43)

DRAM:  64 MB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
MAC address invalid!
Set Random MAC address: 5A:31:18:90:DD:28
boot linux kernel now : bootf vmlinux.bin 
Press CTRL-C to abort autoboot in 1 seconds

First boot loader Booting 2th loader to mem : form 20000 to mem c2000000 .... 
nand_mem_cp off= 20000,size = 262144,addr = c2000000
## Starting application at 0xC2000000 ...
NAND:  128 MiB


U-Boot 2008.10-svn (May 28 2010 - 13:15:19)

DRAM:  64 MB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
MAC address invalid!
Set Random MAC address: 16:09:5F:D6:3A:A6
boot linux kernel now : bootf vmlinux.bin 
Press CTRL-C to abort autoboot in 1 seconds

boot flag : 0
logo flag : 0
show logo 2b00000 262144 
0   640    536
TDE_MAIN_VERSION[TDE_MAIN_VERSION] Build Time[May 28 2010, 13:15:39]
TDE_ADP_VERSION[TDE_ADP_VERSION] Build Time[May 28 2010, 13:15:39]
Booting kernel  load data to mem : form 100000 to mem c2000000 .... 
nand_mem_cp off= 100000,size = 1572864,addr = c2000000
## Booting kernel from Legacy Image at c2000000 ...
   Image Name:   hilinux
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1050632 Bytes =  1 MB
   Load Address: c0800000
   Entry Point:  c0800000
   Loading Kernel Image ... OK
OK

U-Boot命令:

hilinux # help
?       - alias for 'help'
bootf   - boot kernel  from flash depend boot flag in epprom
bootm   - boot application image from memory
go      - start application at address 'addr'
help    - print online help
loadb   - load binary file over serial line (kermit mode)
loady   - load binary file over serial line (ymodem mode)
mii     - MII utility commands
mw      - memory write (fill)
nand - NAND sub-system
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
reset   - Perform RESET of the CPU
setenv  - set environment variables
tftp    - download or upload image via network using TFTP protocol
version - print monitor version
hilinux # printenv
bootargs=mem=32M console=ttyAMA0,115200
bootdelay=1
baudrate=115200
ipaddr=192.168.1.10
serverip=192.168.1.1
netmask=255.255.255.0
bootfile="uImage"
stdin=serial
stdout=serial
stderr=serial
ethaddr=E6:AF:78:FF:65:05
verify=n
ver=U-Boot 2008.10-svn (May 28 2010 - 11:04:43)

Environment size: 273/131068 bytes

Linux

Linux启动信息:

app flag : 0
UBoot starting ... mem=80M console=ttyAMA0,115200 root=/dev/mtdblock/3 rootfstype=yaffs2  mmz=ddr,2,0xF50M,48M  fes=128 nand_partitions=v2&&0:0:1024&1:0:8&2:8:80&3:88:256&4:344:8&5:352:8&6:360:8&7:368:80&8:448:384&9:832:8&10:840:8&11:848:8&12:856:168 tmem=128M 
Starting kernel ...
Uncompressing Linux...................................................................... done, booting the kernel.
Linux version 2.6.14-hi3560v200-release (chenxu@chenxu-laptop) (gcc version 3.4.3 (release) (CodeSourcery ARM Q1B 2005)) #0 PREEMPT Thu Nov 12 23:12:54 CST 2009
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
Machine: Hi3560v200
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists
Kernel command line: mem=80M console=ttyAMA0,115200 root=/dev/mtdblock/3 rootfstype=yaffs2  mmz=ddr,2,0xF50M,48M  fes=128 nand_partitions=v2&&0:0:1024&1:0:8&2:8:80&3:88:256&4:344:8&5:352:8&6:360:8&7:368:80&8:448:384&9:832:8&10:840:8&11:848:8&12:856:168 tmem=128M
PID hash table entries: 512 (order: 9, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 80MB = 80MB total
Memory: 78848KB available (1799K code, 351K data, 76K init)
Mount-cache hash table entries: 512
HI_VERSION=LINUX_2_6_14-M01C04FB02F @hi3560v200_0_0_0_3 2009-10-28 11:24:28
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Hisilicon clock system V0.01
NetWinder Floating Point Emulator V0.97 (double precision)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Nov 12 2009 23:17:42 Installing. 
Initializing Cryptographic API
Serial: AMBA PL011 UART driver
ttyAMA0 at MMIO 0x101ea000 (irq = 10) is a AMBA/PL011
ttyAMA1 at MMIO 0x101eb000 (irq = 11) is a AMBA/PL011
io scheduler noop registered
io scheduler deadline registered
RAMDISK driver initialized: 4 RAM disks of 8192K size 1024 blocksize
physmap flash device: 2000000 at 34000000
flash jedec_probe failed
nand extid 0x95
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
 partition name: whole; partition offset: 0; partition size: 134217728
 partition name: loader; partition offset: 0; partition size: 1048576
 partition name: boot1; partition offset: 1048576; partition size: 10485760
 partition name: app1; partition offset: 11534336; partition size: 33554432
 partition name: logo1; partition offset: 45088768; partition size: 1048576
 partition name: param1; partition offset: 46137344; partition size: 1048576
 partition name: playlist1; partition offset: 47185920; partition size: 1048576
 partition name: boot2; partition offset: 48234496; partition size: 10485760
 partition name: app2; partition offset: 58720256; partition size: 50331648
 partition name: logo2; partition offset: 109051904; partition size: 1048576
 partition name: param2; partition offset: 110100480; partition size: 1048576
 partition name: playlist2; partition offset: 111149056; partition size: 1048576
 partition name: swfs; partition offset: 112197632; partition size: 22020096
Creating 13 MTD partitions on "hinand":
0x00000000-0x08000000 : "whole"
0x00000000-0x00100000 : "loader"
0x00100000-0x00b00000 : "boot1"
0x00b00000-0x02b00000 : "app1"
0x02b00000-0x02c00000 : "logo1"
0x02c00000-0x02d00000 : "param1"
0x02d00000-0x02e00000 : "playlist1"
0x02e00000-0x03800000 : "boot2"
0x03800000-0x06800000 : "app2"
0x06800000-0x06900000 : "logo2"
0x06900000-0x06a00000 : "param2"
0x06a00000-0x06b00000 : "playlist2"
0x06b00000-0x08000000 : "swfs"
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 2
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
VFS: Mounted root (yaffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 76K

init started:  BusyBox v1.1.2 (2009.06.17-09:08+0000) multi-call binary
vm.overcommit_memory = 2
vm.overcommit_ratio = 100
            _ _ _ _ _ _ _ _ _ _ _ _
            \  _  _   _  _ _ ___
            / /__/ \ |_/
           / __   /  -  _ ___
          / /  / /  / /
  _ _ _ _/ /  /  \_/  \_ ______
___________\___\__________________
Checking for boardip ...
rmmod: hifb: No such file or directory
rmmod: fb: No such file or directory
rmmod: epl: No such file or directory
rmmod: hi3560E: No such file or directory
rmmod: tde: No such file or directory
rmmod: hidmac: No such file or directory
rmmod: tuner_cu1216ls: No such file or directory
rmmod: gpioi2c: No such file or directory
rmmod: mmz: No such file or directory
Generic PHY: Registered new driver
Hisilicon ETH net controler(ver Oct 28 2009 11:30:09).
Hisilicon ETH MDIO Bus: probed
Invalid HW-MAC Address: 00:00:00:00:00:00
Set Random MAC address: E6:AE:14:48:EC:55
0:03 not found
hieth:/home/shared/SDKs/Hi3560E/sdk/source/drv/sfv300/net-drv.c:833: connect to phy_device 0:03 failed!
DMAC-MF @hi3560v200_0_0_0_3 2009-10-28 11:30:12
Hisilicon Media Memory Zone Manager
hiir: init ok. ver=Oct 28 2009, 11:30:15.
select i2c0 and i2c1
JPEG Driver Init Success.
TDE_MAIN_VERSION[v2.0.0.0] Build Time[Oct 28 2009, 11:31:32]
TDE_ADP_VERSION[hi3560 adp v2.0.0.0] Build Time[Oct 28 2009, 11:31:32]
hi3560E: module license 'Copyright(c)' taints kernel.
DRV3560E_init
Hisilicon UMAP device driver interface: v1.00
msp_debug device init successful!
g_VdiDbgPhyAddr = 0xc5003000 
DRV3560E_init ok
insert EPL successful!
hifb info: HIFB_MAIN_VERSION[HIFB_MAIN_VERSION] Build Time[Oct 28 2009, 11:31:37]
hifb info: video:vram0_size:5242880,vram1_size:3145728
hifb info: succeed in registering the fb0: ovl0 frame buffer device
hifb info: succeed in registering the fb1: ovl1 frame buffer device
NET: Registered protocol family 17
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
NET: Registered protocol family 24
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbir
usbcore: registered new driver usbserial
/home/shared/SDKs/Hi3560E/sdk/source/os/linux-2.6.14/drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial_generic
/home/shared/SDKs/Hi3560E/sdk/source/os/linux-2.6.14/drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
ohci-hi3560v200 ohci-hi3560v200.0: ohci-hi3560v200
ohci-hi3560v200 ohci-hi3560v200.0: new USB bus registered, assigned bus number 1
ohci-hi3560v200 ohci-hi3560v200.0: irq 21, io mem 0x90050000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hub 1-0:1.0: over-current change on port 1
ehci-hi3560v200 ehci-hi3560v200.0: ehci-hi3560v200
ehci-hi3560v200 ehci-hi3560v200.0: new USB bus registered, assigned bus number 2
ehci-hi3560v200 ehci-hi3560v200.0: irq 7, io mem 0x90060000
ehci-hi3560v200 ehci-hi3560v200.0: park 0
ehci-hi3560v200 ehci-hi3560v200.0: USB 0.0 initialized, EHCI 1.00, driver hi3560v200
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new driver rt73
[0]sw_mqmc_init listen_port=37001 server_ip=0 server_port=37000
PHY: 0:01 - Link is Up - 100/Full
sw_server_init open socket sucess 6 !
[500]Thread-<tHttpServer : 0 : 17e418> opened
[500]sw_mqmc_stb_client_init linkd=0 
OSD_WIDTH:720	OSD_HEIGHT:576	MEM_SIZE:26214400
Boot version: [600]Thread-<tClientThread : 1 : 180480> opened
[600]Thread-<tSwappMsgMonitor : 2 : 180500> opened
8192024
Built at Jul_02_2010__18:10:01
UpdatePtTable nand 8000000 
[0]Partition loader , 0 , 100000 
[0]Partition boot1 , 100000 , a00000 
[0]Partition app1 , b00000 , 2000000 
[0]Partition logo1 , 2b00000 , 100000 
[0]Partition param1 , 2c00000 , 100000 
[10]Partition playlist1 , 2d00000 , 100000 
[10]Partition boot2 , 2e00000 , a00000 
[10]Partition app2 , 3800000 , 3000000 
[10]Partition logo2 , 6800000 , 100000 
[10]Partition param2 , 6900000 , 100000 
[10]Partition playlist2 , 6a00000 , 100000 
[10]Partition swfs , 6b00000 , 1500000 
sw_gpio_init
pinctrl
GPIO_GROUP_4
Init GPIO OK!
boot_init: mute the audio gpio mute=0 .
Init screen ...
ERROR: can not open msp_debug device.
.. OK

HiGo Ver:1.0.1.2 a30
This version is building at Sep 24 2009 10:33:26
HiGo 3560E ADP Ver:1.0.1.2 a30
This version is building at Sep 24 2009 10:33:29
set pcb_version 001000100
[1110]0  0x0017e418 tHttpServer    proc=0xc128     pause=0 ppid=317 pid=318
[1110]1  0x00180480 tClientThread  proc=0xd000     pause=0 ppid=317 pid=319
[1110]2  0x00180500 tSwappMsgMonitor proc=0xb4a0     pause=0 ppid=317 pid=322
[1110]
ref = 3
[1000]Thread-<tMovingLogo : 0 : e54b78> opened
GIF decode ok
GIF decode ok
[1420]Thread-<tMovingLogo> exit self
set pcb_version 001000100
[sw_parameter_get_int] lValue=1
sw_network_set_mac:ifconfig eth0 hw ether 00:07:63:3e:20:ed
sw_ir_init->306
sw_ir_set_trans_callback->286
sw_usbir_init->268
ERROR:can not open /dev/usbir0 device.
sw_usbir_set_trans_callback->247
boot_init: unmute the audio gpio mute=0 .
sw_usb_init init_hotplug_sock 21 
Sunniwell shell,(c) 2007 sunniwell.
==================================
>ifconfig eth0 up still continue wait 1
sw_network_connect pppoe 
sw_network_set_mac:ifconfig eth0 hw ether 00:07:63:3e:20:ed
ifconfig eth0 up still continue wait 1
pppoe user password is wrong
pppoe failed ...
GIF decode ok
GIF decode ok
sw_ir_set_callback->262
sw_usbir_set_callback->223
sw_ir_set_callback->262
sw_usbir_set_callback->223
GIF decode ok
sw_ir_set_trans_callback->286
sw_usbir_set_trans_callback->247
[ipanel memry size]:25165792
---------Creat hashmap 500 members Succeed!---------
--hw_iptv_init---ok!
sw_network_get_lastevent() == PPPOE_EVENT_AUTHFAILED
&&&&&&&&&&&&&&&&&&& pppoe fail &&&&&&&&&&&&&&&&&&&&&&
111111111111111 swboot 
[12330]type=-1, 0x0 0x0 0x0
type = -1
 ifconfig rausb0 down start 
SIOCGIFFLAGS: No such device
[12380]type=7, 0xbeeb5bdc 0x0 0x0
[12390]type=7, 0x0 0x0 0x0

CPU信息

cat /proc/cpuinfo
Processor       : ARM926EJ-Sid(wb) rev 5 (v5l)
BogoMIPS        : 200.70
Features        : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant     : 0x0
CPU part        : 0x926
CPU revision    : 5
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format C
Cache format    : Harvard
I size          : 16384
I assoc         : 4
I line length   : 32
I sets          : 128
D size          : 16384
D assoc         : 4
D line length   : 32
D sets          : 128

Hardware        : Hi3560v200
Revision        : 0000
Serial          : 0000000000000000