找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4205|回复: 7

RT5350刷入openwrt卡死

[复制链接]
发表于 2015-4-21 12:49 | 显示全部楼层 |阅读模式
我在往路由器中刷入openwrt时卡在[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
编译选择的路由器是hame-mpr-a1,刷入的是RT5350模块, 4M Flash, 16M RAM ,没有EEPRAM

终端显示的具体信息如下:
U-Boot 1.1.8 (Mar 13 2012 - 16:24:24)

Board: Ralink APSoC DRAM:  16 MB
relocate_code Pointer at: 80fb0000
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 42
spi device id: c2 20 16 c2 20 (2016c220)
find flash: MX25L3205D
raspi_read: from:30000 len:1000
.*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 3.6.0.0
--------------------------------------------
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: Boot-Strapping
DRAM_TYPE: SDRAM
DRAM_SIZE: 256 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 32 MBytes
Flash component: SPI Flash
Date:Mar 13 2012  Time:16:24:24
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

##### The CPU freq = 360 MHZ ####
estimate memory size =16 Mbytes
raspi_read: from:40028 len:6
.
raspi_read: from:0 len:30004
....[ff ff]
Init Plat A1
*************Is_update = 0 plat = 1**************
No lcd plat
Disable usb
Usb ok

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.

You choosed 2

0
   
2: System Load Linux Kernel then write to Flash via TFTP.
Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
Please Input new ones /or Ctrl-C to discard
        Input device IP (192.168.1.109) ==:192.168.1.109               
        Input server IP (192.168.1.55) ==:192.168.1.55
        Input Linux Kernel filename () ==:a1rt5350.bin

netboot_common, argc= 3

NetTxPacket = 0x80FE5E40

KSEG1ADDR(NetTxPacket) = 0xA0FE5E40

NetLoop,call eth_halt !

NetLoop,call eth_init !
Trying Eth0 (10/100-M)

Waitting for RX_DMA_BUSY status Start... done


Header Payload scatter function is Disable !!

ETH_STATE_ACTIVE!!
Using Eth0 (10/100-M) device
TFTP from server 192.168.1.55; our IP address is 192.168.1.109
Filename 'a1rt5350.bin'.

TIMEOUT_COUNT=10,Load address: 0x80100000
Loading: checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
Got ARP REPLY, set server/gtwy eth addr (20:6a:8a:5f:fa:1a)
Got it
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################
done
Bytes transferred = 3407876 (340004 hex)
NetBootFileXferSize= 00340004
raspi_erase_write: offs:50000, count:340004
raspi_erase: offs:50000 len:340000
....................................................
raspi_write: to:50000 len:340000
....................................................
raspi_read: from:50000 len:10000
.raspi_read: from:60000 len:10000
.raspi_read: from:70000 len:10000
.raspi_read: from:80000 len:10000
.raspi_read: from:90000 len:10000
.raspi_read: from:a0000 len:10000
.raspi_read: from:b0000 len:10000
.raspi_read: from:c0000 len:10000
.raspi_read: from:d0000 len:10000
.raspi_read: from:e0000 len:10000
.raspi_read: from:f0000 len:10000
.raspi_read: from:100000 len:10000
.raspi_read: from:110000 len:10000
.raspi_read: from:120000 len:10000
.raspi_read: from:130000 len:10000
.raspi_read: from:140000 len:10000
.raspi_read: from:150000 len:10000
.raspi_read: from:160000 len:10000
.raspi_read: from:170000 len:10000
.raspi_read: from:180000 len:10000
.raspi_read: from:190000 len:10000
.raspi_read: from:1a0000 len:10000
.raspi_read: from:1b0000 len:10000
.raspi_read: from:1c0000 len:10000
.raspi_read: from:1d0000 len:10000
.raspi_read: from:1e0000 len:10000
.raspi_read: from:1f0000 len:10000
.raspi_read: from:200000 len:10000
.raspi_read: from:210000 len:10000
.raspi_read: from:220000 len:10000
.raspi_read: from:230000 len:10000
.raspi_read: from:240000 len:10000
.raspi_read: from:250000 len:10000
.raspi_read: from:260000 len:10000
.raspi_read: from:270000 len:10000
.raspi_read: from:280000 len:10000
.raspi_read: from:290000 len:10000
.raspi_read: from:2a0000 len:10000
.raspi_read: from:2b0000 len:10000
.raspi_read: from:2c0000 len:10000
.raspi_read: from:2d0000 len:10000
.raspi_read: from:2e0000 len:10000
.raspi_read: from:2f0000 len:10000
.raspi_read: from:300000 len:10000
.raspi_read: from:310000 len:10000
.raspi_read: from:320000 len:10000
.raspi_read: from:330000 len:10000
.raspi_read: from:340000 len:10000
.raspi_read: from:350000 len:10000
.raspi_read: from:360000 len:10000
.raspi_read: from:370000 len:10000
.raspi_read: from:380000 len:10000
.raspi_read: from:390000 len:10000
.raspi_erase: offs:390000 len:10000
.
raspi_write: to:390000 len:10000
.
raspi_read: from:390000 len:10000
.Done!
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
.   Image Name:   Linux Kernel Image
   Created:      2015-04-21   3:52:08 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1004823 Bytes = 981.3 kB
   Load Address: 80000000
   Entry Point:  80000000
raspi_read: from:50040 len:f5517
................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 16

Starting kernel ...

[    0.000000] Linux version 3.10.49 (gawk@lpc) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44952) ) #5 Tue Apr 21 11:51:56 CST 2015
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is HAME MPR-A1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
就卡在最后一步不动了,求问是为什么,查了很久没查到为什么,先谢谢了
 楼主| 发表于 2015-4-21 14:03 | 显示全部楼层
sdlong1983 发表于 2015-4-21 13:51
看见 5350 就想起我那个 死去的 酷翼a2

我才刚开始思考,编译过程就问题不断,慢慢的解决了,下载出现这个问题,卡了好久了
回复 支持 反对

使用道具 举报

发表于 2015-4-21 16:23 | 显示全部楼层
感激Flash的分区没出来啊

点评

具体点呢,要查些什么方面的资料  详情 回复 发表于 2015-4-26 14:04
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-4-26 14:01 | 显示全部楼层
sdlong1983 发表于 2015-4-21 16:19
官网有 固件和不死

这两天忙着其他事情了……opwnert的官网吗,没有找到= =
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-4-26 14:04 | 显示全部楼层
andy_wsj 发表于 2015-4-21 16:23
感激Flash的分区没出来啊

具体点呢,要查些什么方面的资料

点评

u-boot内增加对应Flash型号,openwrt内修改dst分区文件描述,使得内核能够找到参数、文件系统正确的位置,匹配当前使用的flash  详情 回复 发表于 2015-4-27 12:06
回复 支持 反对

使用道具 举报

发表于 2015-4-27 08:57 | 显示全部楼层
flash没有识别出
回复 支持 反对

使用道具 举报

发表于 2015-4-27 12:06 | 显示全部楼层
Gawkera 发表于 2015-4-26 14:04
具体点呢,要查些什么方面的资料

u-boot内增加对应Flash型号,openwrt内修改dst分区文件描述,使得内核能够找到参数、文件系统正确的位置,匹配当前使用的flash

点评

谢谢指导,这段时间忙忘记了…… 我没有找到如何在U-boot中增加对应的flash型号,但我找到了相应的文件分区描述,我不是很懂,不知如何下手,看了些相关文档还是似懂非懂。 碰巧我在github上找到了下面两个开源项  详情 回复 发表于 2015-5-5 10:10
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-5-5 10:10 | 显示全部楼层
andy_wsj 发表于 2015-4-27 12:06
u-boot内增加对应Flash型号,openwrt内修改dst分区文件描述,使得内核能够找到参数、文件系统正确的位置 ...

谢谢指导,这段时间忙忘记了……
我没有找到如何在U-boot中增加对应的flash型号,但我找到了相应的文件分区描述,我不是很懂,不知如何下手,看了些相关文档还是似懂非懂。
碰巧我在github上找到了下面两个开源项目
Squonk42/OpenWrt-RT5350
JiapengLi/OpenWrt-RT5350
我下载编译后是可用的,问题也就解决了……
还是谢谢了


回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-10 17:30

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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