搜索
bottom↓
回复: 1

【请教】MT7620N U-boot复制到DDR2后无法运行

[复制链接]

出0入0汤圆

发表于 2014-12-18 20:20:26 | 显示全部楼层 |阅读模式
自己做了个MT7620N核心板玩,结果ralink的uboot调不过去了。看Log DDR2貌似已经检过了,大小也识别正确,就是代码重定向到DDR后没输出了……
往有经验的朋友给点思路,多谢啦~~ DDR2颗粒为K4T51163。

*****************************************************************************

我的Log,自己加了调试信息:
U-Boot 1.1.3 (Dec 17 2014 - 21:10:07)

Board: Petrel Test Platform R0A DRAM:  
get_ram_size: Start verifing memory
        --> Retrieving addr=0x80000004
        --> Retrieving addr=0x80000008
        --> Retrieving addr=0x80000010
        --> Retrieving addr=0x80000020
        --> Retrieving addr=0x80000040
        --> Retrieving addr=0x80000080
        --> Retrieving addr=0x80000100
        --> Retrieving addr=0x80000200
        --> Retrieving addr=0x80000400
        --> Retrieving addr=0x80000800
        --> Retrieving addr=0x80001000
        --> Retrieving addr=0x80002000
        --> Retrieving addr=0x80004000
        --> Retrieving addr=0x80008000
        --> Retrieving addr=0x80010000
        --> Retrieving addr=0x80020000
        --> Retrieving addr=0x80040000
        --> Retrieving addr=0x80080000
        --> Retrieving addr=0x80100000
        --> Retrieving addr=0x80200000
        --> Retrieving addr=0x80400000
        --> Retrieving addr=0x80800000
        --> Retrieving addr=0x81000000
        --> Retrieving addr=0x82000000

Return Real size =67108864 !!
64 MB
rt2880 uboot v0.00e04 05/25/2006
SERIAL_CLOCK_DIVISOR =16
kaiker,,CONFIG_BAUDRATE =115200
SDRAM SIZE:04000000
Top of RAM usable for U-Boot at: 84000000
Reserving 275k for U-Boot at: 83fb8000
Reserving 260k for malloc() at: 83f77000
Reserving 44 Bytes for Board Info at: 83f76fd4
Reserving 36 Bytes for Global Data at: 83f76fb0
Reserving 128k for boot params() at: 83f56fb0
Stack Pointer at: 83f56f98
relocate_code Pointer at: 83fb8000
(死在这里……)

**************************************************************************************************

附上别人板子正常的Log,没加调试信息的:
U-Boot 1.1.3 (Feb 15 2014 - 19:45:10)

Board: Ralink SOC AP DRAM:  64 MB
relocate_code Pointer at: 83fb4000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: c2 20 18 c2 20 (2018c220)
find flash: MX25L12805D
raspi_read: from:30000 len:1000
*** Warning - bad CRC, using default environment

============================================
Drogoo UBoot Version: 4.1.2.0
--------------------------------------------
Ralink ASIC (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Feb 15 2014  Time:19:45:10
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

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

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.

阿莫论坛20周年了!感谢大家的支持与爱护!!

知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)

出0入0汤圆

 楼主| 发表于 2014-12-26 10:13:49 | 显示全部楼层
没有人在做7620吗
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片。注意:要连续压缩2次才能满足要求!!】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-7-23 09:18

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

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