|
7#
楼主 |
发表于 2015-4-23 21:06:54
|
只看该作者
x210 # md 23e00000
23e00000: 00002000 00000000 00000000 00000000 . ..............
23e00010: ea000013 e59ff014 e59ff014 e59ff014 ................
23e00020: e59ff014 e59ff014 e59ff014 e59ff014 ................
23e00030: c3e002a0 c3e00300 c3e00360 c3e003c0 ........`.......
23e00040: c3e00420 c3e00480 c3e004e0 12345678 ...........xV4.
23e00050: c3e00000 33e00000 c3e00010 c3e70000 .......3........
23e00060: c3eb5b2c e321f0d3 eb000164 eb00017b ,[....!.d...{...
23e00070: eb00016a e3a00000 ee080f17 ee070f15 j...............
23e00080: ee110f10 e3c00a02 e3c00007 e3800002 ................
23e00090: e3800b02 ee010f10 e3a0020e e5901004 ................
23e000a0: e201203e e3520000 03a03002 e3520002 > ....R..0....R.
23e000b0: 03a03002 e3520004 03a03002 e3520006 .0....R..0....R.
23e000c0: 03a03002 e3520008 03a03001 e352000c .0....R..0....R.
23e000d0: 03a03003 e3520014 03a03004 e3520010 .0....R..0....R.
23e000e0: 03a03005 e59f059c e580300c e59fd598 .0.......0......
23e000f0: e24dd00c e3a0b000 eb000272 e59f058c ..M.....r.......
x210 # md 33e00000
33e00000: 00002000 00000000 00000000 00000000 . ..............
33e00010: ea000013 e59ff014 e59ff014 e59ff014 ................
33e00020: e59ff014 e59ff014 e59ff014 e59ff014 ................
33e00030: c3e002a0 c3e00300 c3e00360 c3e003c0 ........`.......
33e00040: c3e00420 c3e00480 c3e004e0 12345678 ...........xV4.
33e00050: c3e00000 33e00000 c3e00010 c3e70000 .......3........
33e00060: c3eb5b2c e321f0d3 eb000164 eb00017b ,[....!.d...{...
33e00070: eb00016a e3a00000 ee080f17 ee070f15 j...............
33e00080: ee110f10 e3c00a02 e3c00007 e3800002 ................
33e00090: e3800b02 ee010f10 e3a0020e e5901004 ................
33e000a0: e201203e e3520000 03a03002 e3520002 > ....R..0....R.
33e000b0: 03a03002 e3520004 03a03002 e3520006 .0....R..0....R.
33e000c0: 03a03002 e3520008 03a03001 e352000c .0....R..0....R.
33e000d0: 03a03003 e3520014 03a03004 e3520010 .0....R..0....R.
33e000e0: 03a03005 e59f059c e580300c e59fd598 .0.......0......
33e000f0: e24dd00c e3a0b000 eb000272 e59f058c ..M.....r.......
x210 # md c3e00000
c3e00000: 00002000 00000000 00000000 00000000 . ..............
c3e00010: ea000013 e59ff014 e59ff014 e59ff014 ................
c3e00020: e59ff014 e59ff014 e59ff014 e59ff014 ................
c3e00030: c3e002a0 c3e00300 c3e00360 c3e003c0 ........`.......
c3e00040: c3e00420 c3e00480 c3e004e0 12345678 ...........xV4.
c3e00050: c3e00000 33e00000 c3e00010 c3e70000 .......3........
c3e00060: c3eb5b2c e321f0d3 eb000164 eb00017b ,[....!.d...{...
c3e00070: eb00016a e3a00000 ee080f17 ee070f15 j...............
c3e00080: ee110f10 e3c00a02 e3c00007 e3800002 ................
c3e00090: e3800b02 ee010f10 e3a0020e e5901004 ................
c3e000a0: e201203e e3520000 03a03002 e3520002 > ....R..0....R.
c3e000b0: 03a03002 e3520004 03a03002 e3520006 .0....R..0....R.
c3e000c0: 03a03002 e3520008 03a03001 e352000c .0....R..0....R.
c3e000d0: 03a03003 e3520014 03a03004 e3520010 .0....R..0....R.
c3e000e0: 03a03005 e59f059c e580300c e59fd598 .0.......0......
c3e000f0: e24dd00c e3a0b000 eb000272 e59f058c ..M.....r.......
以上是使用md查看的内存数据,对比0x23e0 0000 0x33e0 0000 0xc000 000三个地址的数据都是一样的,那么问题来了,0xc3e0 0000到底映射到0x23e0 0000还是0x33e0 0000?uboot 难道自己从0x23e0 0000拷贝到 0x33e0 0000?代码里没看到啊,usb启动模式下OM值被判定为bootnand模式,如果当前不是在ddr中运行,进入copy_uboot_to_ram,没有从内存拷贝数据的代码。。。 |
|