20180115_jeffrey - silenceuncrio/diary GitHub Wiki
0905
ๅนซๅฟ้ฒ่ก DRAM ็ debug
ไธ้ๅง็็ซ้ข
Load Init Script
DDR Stress Test
- Start Freq(MHz) = 520
- End Freq(MHz) = 520
ไธ้ๅง็่จๆฏ
============================================
DDR Stress Test (2.6.0)
Build: Aug 1 2017, 17:33:59
NXP Semiconductors.
============================================
============================================
Chip ID
CHIP ID = i.MX6 UltraLite(0x64)
Internal Revision = TO1.1
============================================
============================================
Boot Configuration
SRC_SBMR1(0x020d8004) = 0x000008b3
SRC_SBMR2(0x020d801c) = 0x01000001
============================================
ARM Clock set to 528MHz
============================================
DDR configuration
DDR type is DDR3
Data width: 16, bank num: 8
Row size: 15, col size: 10
Chip select CSD0 is used
Density per chip select: 512MB
============================================
DDR Stress Test ไนๅพ็่จๆฏ
DDR Stress Test Iteration 1
Current Temperature: 31
============================================
DDR Freq: 528 MHz
t0.1: data is addr test
Address of failure(step2): 0x80000000
Data was: 0xe3e2ffff
But pattern should match address
Error: failed to run stress test!!!
0940
้ๅงไพๅ M360 ็ dual image
m360 ้ๆฉ่จๆฏ - https://gist.github.com/silenceuncrio/a01f33e56887efd4d76e30a36b3bcd4a
1020
ๅพ linux ็่จๆฏๅฏไปฅ็ๅฐ
[ 3.176000] Creating 5 MTD partitions on "MT7621-NAND":
[ 3.188000] 0x000000000000-0x00000ff80000 : "ALL"
[ 3.196000] 0x000000000000-0x000000080000 : "Bootloader"
[ 3.208000] 0x000000080000-0x000000100000 : "Config"
[ 3.220000] 0x000000100000-0x000000140000 : "Factory"
[ 3.232000] 0x000000140000-0x00000ff80000 : "firmware"
[ 3.244000] 0x0000002be7b5-0x00000ff80000 : "rootfs"
็ฎๅ็ uboot env
U-Boot 1.1.3 (Sep 20 2017 - 23:53:31)
MT7621 # printenv
bootcmd=cp.b 0xBFC20000 0x81E00000 0x10000;go 0x81E00000
bootdelay=5
baudrate=57600
ethaddr="00:AA:BB:CC:DD:10"
ethact=Eth0 (10/100-M)
raschksum1=421C8ED2
rootfs1_crc32=00000000
rootfs1_len=0
rootfs1_type=3
bootfile=sysupgrade.bin
autostart=no
filesize=4c0004
fileaddr=80100000
ipaddr=10.10.10.220
serverip=10.10.10.20
Image1Stable=1
BootImage=1
stdin=serial
stdout=serial
stderr=serial
Environment size: 387/4092 bytes
MT7621 #
็ไธๅบ uboot env ๅ mtd partitions ๆไปปไฝ้่ฏ
1030
ๅจ m360 uboot ็ source code ๆพๅฐ DUAL_IMAGE_SUPPORT
็ define
1040
ๅพ http://www.cnblogs.com/sammei/p/3921477.html ็ไพ
DUAL_IMAGE_SUPPORT ไผผไนๅทฒ็ถๆๅไบๆๅๆณ่ฆ็ dual image ๆฉๅถ
1515
็ฎๅ้ๅกๅจ uboot ็ tool chain ็ถไธญ