主题 : 求助 华为ec1308机顶盒 uboot 进不了linux 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 61032
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
贡献值: 0 点
综合积分: 2 分
注册时间: 2011-12-21
最后登录: 2011-12-25
楼主  发表于: 2011-12-21 17:51

 求助 华为ec1308机顶盒 uboot 进不了linux

电信有送一华为ec1308机顶盒 ,为hi3560方案 ,用的是现代1g闪存,是u-boot启动linux。 因开放了telnet root密码为空,进入本想升级busybox, 但误操作 mv * /ttt/ 指令 造成进入了不linux 现求助解决方法。

另外,此方案下是否可植入网络浏览器,或改为网络启动linux 系统?

现在现象为:

TTL可以进入u-boot 提示符 ,看提示符为“hilinux: ” 网络可以ping通,可以tftp ,loady loadb,但找不到合适的uimage文件,另外内存地址也比较模糊,试过30008000,c2000000,100000等,用bootm时均卡死。

如果自动启动 , ttl终端输入如下:


NAND: 128 MiB


U-Boot 2008.10-svn (Nov 13 2009 - 21:19:04)

DRAM: 64 MB
In: serial
Out: serial
Err: serial
MAC: 00-E0-B1-00-1A-13
boot linux kernel now : bootf vmlinux.bin
Press CTRL-C to abort autoboot in boot flag : 0
logo flag : 0
show logo 2b00000 262144
###### Hard dec
TDE_MAIN_VERSION[TDE_MAIN_VERSION] Build Time[Nov 13 2009, 21:19:50]
TDE_ADP_VERSION[TDE_ADP_VERSION] Build Time[Nov 13 2009, 21:19:50]
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
app flag : 1
UBoot starting ... mem=80M console=ttyAMA0,115200 root=/dev/mtdblock/8 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 ...
bootargs root=/dev/ram rw initrd=0x21100000,6000000 ramdisk_size=15360 console=ttyS0,115200,mem=32M
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/8 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 0x1d
NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix 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 32505864 name is "mtdblock8"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.8, "mtdblock8"
VFS: Mounted root (yaffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 76K
Kernel panic - not syncing: No init found. Try passing init= option to kernel
级别: 风云使者
UID: 36096
精华: 3
发帖: 2513
金钱: 14075 两
威望: 2815 点
贡献值: 3 点
综合积分: 5086 分
注册时间: 2011-01-11
最后登录: 2015-11-15
1楼  发表于: 2011-12-22 12:58
重刷固件可以解决

PS:那是卫星锅用的机顶盒?
极度缺钱,求捐赠……支付宝兼邮箱:huming2207@qq.com