找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 9828|回复: 14

求助:HG255D升级64MB内存刷linte的32M\64M\128M的U-boot无法启动

[复制链接]
发表于 2012-7-27 15:25 | 显示全部楼层 |阅读模式
按照inte的教程把HG255D升级64MB内存刷linte的32M\64M\128M的U-boot后路由无法正常启动,换回32MB内存则一切正常。大家帮我看看是怎么回事。谢谢大家啦!
附:ttl启动信息:

U-Boot 1.1.3 (May 31 2012 - 20:54:08)

SoC:Ralink APSoC(RT305x)
Memory Testing.....65536K OK.
DRAM:  64 MB
relocate_code Pointer at: 83168000
config usb..

The Flash ID =0000227E

FLASH:S29GL128N, SIZE:16 MBytes SECTOR:128
S29GL128N:Set sect_size = 0x00020000
flash_protect ON: from 0xBF000000 to 0xBF023873
flash_protect ON: from 0xBF040000 to 0xBF040FFF
*** Warning - bad CRC, using default environment(这里跟教程不一样,出现错误)

______________________________________________________
|   ____                           ____              |
|  |  _ \ _ __ ___  __ _ _ __ ___ | __ )  _____  __  |
|  | | | | '__/ _ \/ _` | '_ ` _ \|  _ \ / _ \ \/ /  |
|  | |_| | | |  __/ (_| | | | | | | |_) | (_) >  <   |
|  |____/|_|  \___|\__,_|_| |_| |_|____/ \___/_/\_\  |
|                                                    |
|           http://www.openwrt.org.cn                |
|              Board:HuaWei HG255D                   |
|                                                    |
|         lintel<linte@openwrt.org.cn>               |
|____________________________________________________|

ASIC 3052_MP2 (Port5<->Phy)
Flash component: NOR Flash
Build Date:May 31 2012  Time:20:54:08
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

##### The CPU freq = 384 MHZ ####
estimate memory size =64 Mbytes

GPIO Init:
        UARTF_SHARE_MODE:GPIO
        SPI_GPIO_MODE:GPIO

GPIO_MODE_REG status:0x1e

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.
0

3: System Boot system code via Flash.

eth_register
Eth0 (10/100-M)
enetvar=ethaddr,Eth addr:00:0C:43:09:26:BB

eth_current->name = Eth0 (10/100-M)

Press Reset or WPS button to Rescue Mode...
## Booting image at bf080000 ...
   Image Name:   MIPS OpenWrt Linux-2.6.32.59
   Created:      2012-05-05  15:44:10 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    773839 Bytes = 755.7 kB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64

Starting kernel ...

Linux version 2.6.32.59 (lintel@lintel-NoteBook) (gcc version 4.3.3 (GCC) ) #1 S
at May 5 23:43:33 CST 2012
bootconsole [early0] enabled
CPU revision is: 0001964c (MIPS 24Kc)
Ralink RT3052   id:1 rev:3 running at 384.00 MHz
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS1,57600 rootfstype=squashfs,jffs2 board=HG255D
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=000059c2
Readback ErrCtl register=000059c2
Memory: 62508k/65536k available (1819k kernel code, 2952k reserved, 325k data, 1
32k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:48
console [ttyS1] enabled, bootconsole disabled
console [ttyS1] enabled, bootconsole disabled
Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
Mount-cache hash table entries: 512


上面红色的部分出现错误不知是怎么回事!
我的恩山、我的无线 The best wifi forum is right here.
发表于 2012-7-27 17:43 | 显示全部楼层
更换内存 第一片选有问题

点评

- -! 神马时候当版主了呢,以后可要罩着我点啊  发表于 2012-7-27 23:55
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2012-7-27 17:44 | 显示全部楼层
antons 发表于 2012-7-27 17:43
更换内存 第一片选有问题

版主问下,是第一片内存有问题吗?

点评

最好两个都换掉试试 因为没法确定哪个是第一片  发表于 2012-7-27 17:54
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2012-7-27 17:49 | 显示全部楼层
antons 发表于 2012-7-27 17:43
更换内存 第一片选有问题

是用的HY57V561620BT-H这种SD内存,难道这个内存不能用?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-27 17:52 | 显示全部楼层
fengyuxiong 发表于 2012-7-27 17:49
是用的HY57V561620BT-H这种SD内存,难道这个内存不能用?

可能芯片有损坏 更换试试 另外 这个只能单片最高32M 最大支持32*2=64M 当时UBOOT弄错了 也没有纠正
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2012-7-27 18:00 | 显示全部楼层
版主帮我看看是那片内存是第一片,谢谢啦!





点评

最好两个都换掉试试 因为很难确定哪个是第一片  发表于 2012-7-27 18:05
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2012-7-27 18:06 | 显示全部楼层
fengyuxiong 发表于 2012-7-27 18:00
版主帮我看看是那片内存是第一片,谢谢啦!

谢谢,重新焊接看看!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2012-7-27 21:40 | 显示全部楼层
搞定了,原来是内存颗粒坏了!重新焊接正常!

点评

呵呵 修好就行 这机器还是挺能折腾的  发表于 2012-7-28 07:08
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-27 23:47 | 显示全部楼层
颗粒哪买的?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2012-7-28 08:59 | 显示全部楼层
sede2341 发表于 2012-7-27 23:47
颗粒哪买的?

原来在网上买的条子,要SD的!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2012-7-28 09:02 | 显示全部楼层
antons 发表于 2012-7-27 17:52
可能芯片有损坏 更换试试 另外 这个只能单片最高32M 最大支持32*2=64M 当时UBOOT弄错了 也没有纠正

版主再帮我看看TTL信息,怎么有时能启动有时不能启动,出现莫名其妙的问题。

ttl信息启动到这里就不能启动,电源灯狂闪:

U-Boot 1.1.3 (May 31 2012 - 20:54:08)

SoC:Ralink APSoC(RT305x)
Memory Testing.....65536K OK.
DRAM:  64 MB
relocate_code Pointer at: 83168000
config usb..

The Flash ID =0000227E

FLASH:S29GL128N, SIZE:16 MBytes SECTOR:128
S29GL128N:Set sect_size = 0x00020000
flash_protect ON: from 0xBF000000 to 0xBF023873
flash_protect ON: from 0xBF040000 to 0xBF040FFF
*** Warning - bad CRC, using default environment

______________________________________________________
|   ____                           ____              |
|  |  _ \ _ __ ___  __ _ _ __ ___ | __ )  _____  __  |
|  | | | | '__/ _ \/ _` | '_ ` _ \|  _ \ / _ \ \/ /  |
|  | |_| | | |  __/ (_| | | | | | | |_) | (_) >  <   |
|  |____/|_|  \___|\__,_|_| |_| |_|____/ \___/_/\_\  |
|                                                    |
|           http://www.openwrt.org.cn                |
|              Board:HuaWei HG255D                   |
|                                                    |
|         lintel<linte@openwrt.org.cn>               |
|____________________________________________________|

ASIC 3052_MP2 (Port5<->Phy)
Flash component: NOR Flash
Build Date:May 31 2012  Time:20:54:08
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

##### The CPU freq = 384 MHZ ####
estimate memory size =64 Mbytes

GPIO Init:
        UARTF_SHARE_MODE:GPIO
        SPI_GPIO_MODE:GPIO

GPIO_MODE_REG status:0x1e

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.
0

3: System Boot system code via Flash.

eth_register
Eth0 (10/100-M)
enetvar=ethaddr,Eth addr:00:0C:43:09:26:BB

eth_current->name = Eth0 (10/100-M)

Press Reset or WPS button to Rescue Mode...
## Booting image at bf080000 ...
   Image Name:   MIPS OpenWrt Linux-2.6.32.59
   Created:      2012-03-31   2:20:18 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    773828 Bytes = 755.7 kB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64

Starting kernel ...

Linux version 2.6.32.59 (lintel@lintel-NoteBook) (gcc version 4.3.3 (GCC) ) #1 S
at Mar 31 10:19:56 CST 2012
bootconsole [early0] enabled
CPU revision is: 0001964c (MIPS 24Kc)
Ralink RT3052   id:1 rev:3 running at 384.00 MHz
Determined physical RAM map:
memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS1,57600 rootfstype=squashfs,jffs2 board=HG255D
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=00005982
Readback ErrCtl register=00005982
Memory: 62508k/65536k available (1819k kernel code, 2952k reserved, 325k data, 1
32k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:48
console [ttyS1] enabled, bootconsole disabled
console [ttyS1] enabled, bootconsole disabled
Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is HuaWei HG255D
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.
msgmni has been set to 122
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
physmap platform flash device: 01000000 at bf000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
CFI mfr 0x00000001
CFI id  0x00002101
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.3.
physmap-flash.0: 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.
RedBoot partition parsing not available
Using physmap partition information
Creating 7 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000060000 : "u-boot-env"
0x000000060000-0x000000080000 : "factory"
0x000000080000-0x000000180000 : "kernel"
0x000000180000-0x000001000000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=8A0000, len=760000
0x0000008a0000-0x000001000000 : "rootfs_data"
0x000000080000-0x000001000000 : "firmware"
0x000000000000-0x000001000000 : "fullflash"
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
Freeing unused kernel memory: 132k freed
Please be patient, while OpenWrt loads ...
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Button Hotplug driver version 0.3.1
- preinit -
Registered led device: hg255d:power
Registered led device: hg255d:internet
Registered led device: hg255d:wlan
Registered led device: hg255d:usb
Registered led device: hg255d:wps
Registered led device: hg255d:voice
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
- init -

Please press Enter to activate this console. device eth0.1 entered promiscuous m
ode
device eth0 entered promiscuous mode
br-lan: port 1(eth0.1) entering forwarding state
Compat-wireless backport release: compat-wireless-2011-11-29
Backport based on wireless-testing.git master-2011-12-01
CPU 0 Unable to handle kernel paging request at virtual address c1080e41, epc ==
800fc1d8, ra == 800fc150
Oops[#1]:
Cpu 0
$ 0   : 00000000 00000001 c1080e41 00020000
$ 4   : fffe53d1 000053d1 fffe0000 83ac2480
$ 8   : 81076fa0 00000041 83babab0 48b00bb6
$12   : 71576721 00000001 00100073 a1dc29b2
$16   : 018653d0 00000008 00000000 c152b644
$20   : 00004212 0000000a 018653d1 c1082000
$24   : 00000018 2aaaa724
$28   : 83baa000 83baba98 c152b000 800fc150
Hi    : 00000002
Lo    : 00000000
epc   : 800fc1d8 0x800fc1d8
    Not tainted
ra    : 800fc150 0x800fc150
Status: 1000a403    KERNEL EXL IE
Cause : 00800008
BadVA : c1080e41
PrId  : 0001964c (MIPS 24Kc)
Modules linked in: compat sha1_generic md5 arc4 aes_generic deflate ecb cbc leds
_gpio button_hotplug gpio_buttons input_polldev input_core
Process adjtimex (pid: 488, threadinfo=83baa000, task=83817ae8, tls=00000000)
Stack : 00000010 83babb08 834022c4 8346d120 00000008 00000031 00000010 0200006d
        01f92200 00000000 00000000 800fb204 c005232c c0051000 c0059473 00008473
        00e2579f 012bcced 012bcced 0000046a 0000007a 00000053 000000c1 00000000
        c0051000 00000003 00000003 00000001 00000002 c152b644 c152ba68 c152b664
        00000007 00000400 80250000 00000022 83b56888 00000000 00000000 c0059473
        ...
Call Trace:[<800fb204>] 0x800fb204
[<800c52d0>] 0x800c52d0
[<800c516c>] 0x800c516c
[<800c1b98>] 0x800c1b98
[<8002ea94>] 0x8002ea94
[<800c2440>] 0x800c2440
[<800c3378>] 0x800c3378
[<80049dcc>] 0x80049dcc
[<80051ea4>] 0x80051ea4
[<80051f38>] 0x80051f38
[<80052484>] 0x80052484
[<8004b968>] 0x8004b968
[<8007f944>] 0x8007f944
[<800c8c0c>] 0x800c8c0c
[<80075c34>] 0x80075c34
[<8007273c>] 0x8007273c
[<800743c4>] 0x800743c4
[<800c8100>] 0x800c8100
[<8002ea94>] 0x8002ea94
[<80065384>] 0x80065384
[<800c88b8>] 0x800c88b8
[<80065d18>] 0x80065d18
[<80075160>] 0x80075160
[<80075318>] 0x80075318
[<80002544>] 0x80002544
[<800043d8>] 0x800043d8


Code: 5040fffe  00832021  02e41021 <90500000> 02f41021  a0500000  8fa400bc  1080
000d  26940001
Disabling lock debugging due to kernel taint

点评

更换芯片 补焊引脚再试试  发表于 2012-7-28 09:25
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-7-28 09:27 | 显示全部楼层
重刷固件也不行吗?不行UBOOT也重刷次
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2012-7-28 09:31 | 显示全部楼层
shukai2008 发表于 2012-7-28 09:27
重刷固件也不行吗?不行UBOOT也重刷次

主要是有时能启动有时不能启动,重刷UBOOT也不行
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2012-8-5 10:58 | 显示全部楼层
fengyuxiong 发表于 2012-7-28 08:59
原来在网上买的条子,要SD的!

pm个地址好吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2012-8-5 13:16 | 显示全部楼层
sede2341 发表于 2012-8-5 10:58
pm个地址好吗

http://item.taobao.com/item.htm?id=13417540093
你要问清楚哦,貌似现代的颗粒有兼容性问题。在其他机子上改没问题,但是在这机子上改有时能启动有时又不能启动,稳定性极差。来来去去焊接接了7、8次,后来还是换回原来的才稳定。不晓得是不是UBOOT的问题!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-25 00:39

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表