801硬件检测工具DragonHD的使用
2018/11/28 13:39
版本:V1.0
开发板:SC3817R
1、客户要认证器件,使用了全志官方的工具:DragonHD.exe
打开之后可以见用户界面过大,我的电脑是1920x1080分辨率,长度仍然拉倒最下面了。(全志出品的工具就不要考虑太好的人性化了!)
2、选择平台R16,测试项目中DDR选择552MHZ,测试一次就够了(默认两次的)
3、工具里面也绝对不会告诉你需要重启到烧录模式才可以测试的,对新用户保证不友好,你不问你绝对不会知道里面有多少坑的!
[email protected]:/# reboot efex
write misc: efex
[email protected]:/# [ 234.120600] CPU1: Booted secondary processor
[ 234.140677] CPU2: Booted secondary processor
[ 234.160666] CPU3: Booted secondary processor
[ 234.380181] adb_release
[ 235.686416] CPU3: shutdown
[ 235.691281] [hotplug]: cpu(2) try to kill cpu(3)
[ 235.697375] [hotplug]: cpu3 is killed! .
[ 235.725790] CPU2: shutdown
[ 235.729761] [hotplug]: cpu(0) try to kill cpu(2)
[ 235.736278] [hotplug]: cpu2 is killed! .
[ 235.765660] CPU1: shutdown
[ 235.769641] [hotplug]: cpu(0) try to kill cpu(1)
[ 235.776265] [hotplug]: cpu1 is killed! .
[ 235.885352] drivers/cpufreq/autohotplug.c:reboot_notifier_call: stop autoplug begin
[ 235.895083] drivers/cpufreq/autohotplug.c:reboot_notifier_call: stop autoplug done
[ 235.905345] drivers/cpufreq/cpufreq.c:reboot_notifier_call: stop none boot cpus
[ 235.915347] drivers/cpufreq/cpufreq.c:reboot_notifier_call: stop none boot cpus done
[ 235.925762] [LCD]close, step 0 finish
[ 235.970287] [LCD]close, step 1 finish
[ 235.980174] [LCD]close, step 2 finish
[ 236.193044] [LCD]close, step 3 finish
[ 237.333502] [mmc]: shutdown_mmc: is not card 2, return
[ 237.340248] [mmc]: shutdown_mmc: mmc 1 shutdown exit..ok
[ 237.347747] [mmc]: try to disable cache
[ 237.353220] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing LEGACY(SDR12) dt B
[ 237.365758] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 237.378212] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 237.389990] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 237.406790] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 237.430341] [mmc]: shutdown_mmc: mmc 2 shutdown exit..ok
[ 237.436459] [alarmtimer] have no shutdown alarm! alarmtimer_shutdown 330
[ 237.464991] pmu_shutdown_chgcur = 1000000
[ 237.469578] current_limit = 1000000
[ 237.473798] Restarting system.
[ 237.477279]
[ 237.479018] Restarting Linux version 3.4.39 ([email protected]) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #1 SMP PREEMPT Tue Nov 27 02:49:55 UTC 2018
[ 237.479026]
HELLO! BOOT0 is starting!
boot0 version : 4.2.0
boot0 commit : c027f1b7be4ba13ca3d6f68b27dc00bcd6d6bd06
fel_flag = 0x00000000
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
DRAM DRIVE INFO: V1.8
DRAM Type =3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM zq value: 00003bfbDRAM CLK =552 MHZ
ID CHECK VERSION: V0.1
using ic R16
USE PLL DDR1
USE PLL NORMAL
PLL FREQUENCE = 1104 MHZ
DRAM master priority setting ok.
Auto calculate timing parameter!
para_dram_tpr0 = 0047214f
para_dram_tpr1 = 01c2294b
para_dram_tpr2 = 00061043
tcl = 6,tcwl = 4
DRAM TIMING PARA0 = 0b0e180b
DRAM TIMING PARA1 = 0003040f
DRAM TIMING PARA2 = 0406050a
DRAM TIMING PARA3 = 0000400c
DRAM TIMING PARA4 = 05020405
DRAM TIMING PARA5 = 05050403
DRAM TIMING PARA8 = 90003310
DRAM PHY INTERFACE PARA = 02040102
DRAM VTC is disable
DRAM dynamic DQS/DQ ODT is on
DRAM DQS gate is PD mode.
DRAM one rank training is on,the value is 91003587
DRAM work mode register value = 004318e4
DRAM SIZE =512 M
set one rank ODTMAP
DRAM simple test OK.
dram size =512
card boot number = 2
card no is 2
sdcard 2 line count 4
[mmc]: mmc driver ver 2017-04-25 17:18:00
[mmc]: ***Try SD card 2***
[mmc]: mmc 2 cmd 8 err 00000100
[mmc]: mmc 2 cmd 8 err 00000100
[mmc]: mmc 2 send if cond failed
[mmc]: mmc 2 cmd 55 err 00000100
[mmc]: mmc 2 cmd 55 err 00000100
[mmc]: mmc 2 send app cmd failed
[mmc]: ***Try MMC card 2***
[mmc]: mmc re-update_phase
[mmc]: mmc re-update_phase
[mmc]: 4bit bus ddr!!!
[mmc]: mmc re-update_phase
[mmc]: MMC ver 4.41
[mmc]: SD/MMC Card: 4bit, capacity: 3728MB
[mmc]: vendor: Man 00150100 Snr 00ef0719
[mmc]: product: M4G1F
[mmc]: revision: 4.2
[mmc]: ***SD/MMC 2 init OK!!!***
sdcard 2 init ok
The size of uboot is 000e8000.
sum=a9a7021b
src_sum=a9a7021b
set_mmc_para,sdly 50M 0
set_mmc_para,sdly 25M 0
Succeed in loading uboot from sdmmc flash.
Ready to disable icache.
Jump to secend Boot.
[ 0.372]
U-Boot 2011.09-rc1-00004-ge191f62-dirty (Nov 27 2018 - 14:04:52) Allwinner Technology
[ 0.381]version: 1.1.0
[ 0.384]uboot commit : e191f62e42d1c610fa2bc5bff359bc8b38a26bd3
[ 0.391]pmbus: normal or secure os
ready
[ 0.395]PMU: AXP221
[ 0.397]PMU: AXP22x found
rsb set run time address failed, flag 0x100: NOACK !!
rsb write failed, flag 0x100: NOACK !!
axp259 write 0xff error
probe axp259 failed
bat_vol=0, ratio=100
[ 0.415]PMU: dcdc3 1200
[ 0.418]PMU: pll1 1008 Mhz,PLL6=600 Mhz
AXI=336 Mhz,AHB=200 Mhz, APB1=100 Mhz
dcdc1_vol = 3000
dcdc2_vol = 1100
dcdc3_vol = 1200
dcdc4_vol = 0
dcdc5_vol = 1500
aldo2_vol = 2500
aldo3_vol = 3000
find power_sply to end
vbus not exist
no battery, limit to dc
fel key new mode
run key detect
fel_key_mode:0
no key found
no key input
dram_para_set start
dram_para_set end
[ 0.653]DRAM: 512 MiB
relocation Offset is: 1e1bc000
save config for small mem_size
board.c 629
smcl's set manager is NULL
<axp22, dc1sw>
keyvalue = 0
workmode = 0
MMC: 2
[ 0.736][mmc]: mmc driver ver 2018-06-25 14:21:00
[ 0.741][mmc]: get sdc_phy_wipe fail.
[ 0.745][mmc]: get sdc0 sdc_erase fail.
[ 0.749][mmc]: get sdc2 sdc_hw_rst fail.
[ 0.753][mmc]: get sdc_2xmode ok, val = 1
[ 0.757][mmc]: get sdc_ddrmode ok, val = 1
[ 0.761][mmc]: get sdc_f_max fail,use default 50000000Hz
[ 0.767][mmc]: get card_line ok, card_line = 4
[ 0.771][mmc]: get sdc_test fail.
[ 0.775][mmc]: get sdc_ex_dly_used fail,use default
[ 0.780][mmc]: SUNXI SD/MMC: 2
[ 0.784][mmc]: mmc_config_clock: clk 400000
[ 0.792][mmc]: *Try SD card 2*
[ 0.795][mmc]: mmc 2 cmd 8 err 100
[ 0.799][mmc]: mmc send if cond failed
[ 0.803][mmc]: mmc 2 cmd 55 err 100
[ 0.807][mmc]: send app cmd failed
[ 0.811][mmc]: *Try MMC card 2*
[ 0.844][mmc]: mmc_config_clock: clk 25000000
[ 0.848][mmc]: mmc re-update_phase
[ 0.852][mmc]: mmc re-update_phase
[ 0.856][mmc]: mmc re-update_phase
[ 0.859][mmc]: ddr4
[ 0.861][mmc]: mmc re-update_phase
[ 0.865][mmc]: mmc_config_clock: clk 25000000
[ 0.869][mmc]: mmc_config_clock: clk 50000000
[ 0.874][mmc]: CID 0x1501004d 0x34473146 0x4200ef07 0x19dcce21
[ 0.880][mmc]: MMC ver 4.41
[ 0.883][mmc]: mmc clk 50000000
[ 0.886][mmc]: SD/MMC Card: 4bit, capacity: 3728MB
[ 0.891][mmc]: boot0 capacity: 1000KB,boot1 capacity: 1000KB
[ 0.897][mmc]: ***SD/MMC 2 init OK!!!***
[ 0.902][mmc]: erase_grp_size:0x400WrBlk * 0x200 = 0x80000 Byte
[ 0.908][mmc]: secure_feature 0x15
[ 0.911][mmc]: secure_removal_type 0x0
[ 0.915]sunxi flash init ok
In: serial
Out: serial
Err: serial
the flash size is 3728 MB
--------fastboot partitions--------
-total partitions:9-
-name- -start- -size-
boot-res : 1000000 100000
env : 1100000 100000
boot : 1200000 400000
rootfs : 1600000 1000000
rootfs_data : 2600000 3000000
private : 5600000 100000
recovery : 5700000 1000000
misc : 6700000 100000
UDISK : 6800000 e2800000
-----------------------------------
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_mmc
key 0
cant find rcvy value
cant find fstbt value
misc partition found
find efex cmd
set next system status
<axp22, dc1sw>
mod 18 is already disable
sunxi_board_close_source
[ 1.258][mmc]: mmc exit start
[ 1.262][mmc]: mmc_config_clock: clk 50000000
[ 1.266][mmc]: mmc_config_clock: clk 400000
[ 1.275][mmc]: mmc 2 cmd 8 err 100
[ 1.279][mmc]: mmc send if cond failed
[ 1.284][mmc]: mmc 2 cmd 55 err 100
[ 1.288][mmc]: send app cmd failed
[ 1.299][mmc]: get sdc_phy_wipe fail.
[ 1.302][mmc]: get sdc0 sdc_erase fail.
[ 1.306][mmc]: get sdc2 sdc_hw_rst fail.
[ 1.310][mmc]: get sdc_2xmode ok, val = 1
[ 1.314][mmc]: get sdc_ddrmode ok, val = 1
[ 1.319][mmc]: get sdc_f_max fail,use default 50000000Hz
[ 1.324][mmc]: get card_line ok, card_line = 4
[ 1.329][mmc]: get sdc_test fail.
[ 1.332][mmc]: get sdc_ex_dly_used fail,use default
[ 1.337][mmc]: mmc 2 exit ok
reset cpu
HELLO! BOOT0 is starting!
boot0 version : 4.2.0
boot0 commit : c027f1b7be4ba13ca3d6f68b27dc00bcd6d6bd06
fel_flag = 0x5aa5a55a
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x5aa5a55a
rtc[3] value = 0x00000000
eraly jump fel
- 点击“启动”,然后再插入USB线,如果设备1没有检测到,请多插拔USB线几次。(这些知识全志的PDF文档里面绝对不会有的!^_)
- 不到一分钟即可测试完成。串口LOG如下:(人性化的界面全志仍需努力!)
====================dram pattern test start!============================
col test start
col test ok
row test start
row test ok
checkbord test start
checkbord test ok
CORE 0 TEST
CORE 1 TEST
rDRAM]memoCrOyR Et e2s tT EsStTa
ted
[DRAM]memoryORDERAeM]tmes ToErytTet
[tDRAM]rmemor
y test started
[DRAM]test_random_comparison test successful
MDRAM]test_random_comparison test successfDulA
]tes[_ranM]om_ct_mpardoson omest isuccetesfulsu
ccessful
[DRAM]test_stuck_address0 test successful
[DRAM]test_stuck_address0 test successful
]test_stuck_address0 test successfulssDful
[DRAM]test_stuck_address1 test successful
[DRAM]test_stuck_address1 test successful
[DRAM]test_stuck_address1 test successful
[DRAM]test_stuck_address1 test successful
CORE 0 TEST
CORE 1 TEST
dDRAM]memory CtOeRsEt 2s tTaErStTe
[DRAM]memorCORtER 3M]mTEory tea
rtesDt started
y test started
[DRAM]test_solidbits_comparison test successful
[DRAM]test_solidbits_comparison test successful
oDRAM]test_solidbits_comparison [DRAst tsusccess_ul
lidbits_comparison test successful
[DRAM]test_checkrboard_comparison test successful
[DRAM]test_checkrboard_comparison test successful
[DRAM]test_checkrboard_comparison test successful
[DRAM]test_checkrboard_comparison test successful
[DRAM][tDeRsAtM_]wtaelsktb_iwtasl0k_bciotmsp0a_rciosmopna rtiessot tsuccesssful
cessful
[DRAM]test_walkbits0_comparison test successful
[DRAM]test_walkbits0_comparison test successful
[DRAM]test_crosstalk_comparison test successful
[DRAM]test_crosstalk_comparison test successful
[DRAM]test_crosstalk_comparison test successful
[DRAM]test_crosstalk_comparison test successful
[DRAM]test_walkbits1_comparison test successful
[DRAM]test_walkbits1_comparison test successful
[DRAM]test_walkbits1_comparison test successful
[DRAM]test_walkbits1_comparison test successful
[DRAM]test_bitspread_comparison test successful
[DRAM]test_bitspread_comparison test successful
[DRAM]test_bitspread_comparison test successful
[DRAM]test_bitspread_comparison test successful
[DRAM]test_bitflip_comparison test successful
[DRAM]test_bitflip_comparison test successful
[DRAM]test_bitflip_comparison test successful
[DRAM]test_bitflip_comparison test successful
CORE 0 TEST
CORE 1 TEST
CORE 2 TEST
MEMTESTER LOOP 0
CORE 3 TEST
MEMTESTER LOOP 1
MEMTESTER LOOP 2
MEMTESTER LOOP 3
MEMTESTER LOOP 4
MEMTESTER LOOP 5
MEMTESTER LOOP 6
MEMTESTER LOOP 7
MEMTESTER LOOP 8
MEMTESTER LOOP 9
MEMTESTER LOOP 10
MEMTESTER LOOP 11
MEMTESTER LOOP 12
MEMTESTER LOOP 13
MEMTESTER LOOP 14
MEMTESTER LOOP 15
dram dma3 test ok!
====================dram pattern test start!============================
col test start
col test ok
row test start
row test ok
checkbord test start
checkbord test ok
CORE 0 TEST
CORE 1 TEST
rDRAM]memoCrOyR Et e2s tT EsStTa
ted
[DRAM]memoryORDERAeM]tmes ToErytTet
[tDRAM]rmemor
y test started
[DRAM]test_random_comparison test successful
[DRAM]test_random_comparison test succe[sfuAl
successfulm_costparindon tcost sricces tful
[DRAM]test_stuck_address0 test successful
[DRAM]test_stuck_address0 test successful
[DRAM]test_stuck_address0 test successfRAM]test_stuck_address0 test successful
[DRAM]test_stuck_address1 test successful
[DRAM]test_stuck_address1 test successful
[DRAM]test_stuck_address1 test successful
[DRAM]test_stuck_address1 test successful
CORE 0 TEST
CORE 1 TEST
dDRAM]memory CtOeRsEt 2s tTaErStTe
t RAM]memory[ ORE AM e]Et sta
e[Ds
RAMs]memoryetest
started
sDRAM]t[esDtRA_Ms]oltiesdbti_tsso_lciodmbpiatrsi_scoonm ptaersitson tecse ssucuels
ful
[[DDRRAAMM]]tteesstt__ssoolidbitis_s_comompaarisson test s suuccessssfulful
[DRAM]test_checkrboard_comparison test successful
[DRAM]test_checkrboard_comparison test successful
[DRAM]test_checkrboard[_cRAMpa]teon chetckr suoarces_scuolm
parison test successful
[DRAM]test_walkbits0_comparison test successful
[DRAM]test_walkbits0_comparison test successful
[DRAM]test_walkbits0_comparison test successful
[DRAM]test_walkbits0_comparison test successful
[DRAM]test_crosstalk_comparison test successful
[DRAM]test_crosstalk_comparison test successful
[DRAM]test_crosstalk_comparison test successful
[DRAM]test_crosstalk_comparison test successful
[DRAM]test_walkbits1_comparison test successful
[DRAM]test_walkbits1_comparison test successful
[DRAM]test_walkbits1_comparison test successful
[DRAM]test_walkbits1_comparison test successful
[DRAM]test_bitspread_comparison test successful
[DRAM]test_bitspread_comparison test successful
[DRAM]test_bitspread_comparison test successful
[DRAM]test_bitspread_comparison test successful
[DRAM]test_bitflip_comparison test successful
[DRAM]test_bitflip_comparison test successful
[DRAM]test_bitflip_comparison test successful
[DRAM]test_bitflip_comparison test successful
CORE 0 TEST
CORE 1 TEST
CORE 2 TEST
MEMTESTER LOOP 0
CORE 3 TEST
MEMTESTER LOOP 1
MEMTESTER LOOP 2
MEMTESTER LOOP 3
MEMTESTER LOOP 4
MEMTESTER LOOP 5
MEMTESTER LOOP 6
MEMTESTER LOOP 7
MEMTESTER LOOP 8
MEMTESTER LOOP 9
MEMTESTER LOOP 10
MEMTESTER LOOP 11
MEMTESTER LOOP 12
MEMTESTER LOOP 13
MEMTESTER LOOP 14
MEMTESTER LOOP 15
dram dma3 test ok!
软件生成的LOG如下:
Round : 1
DragonHD V3.0,dram size is 512M,dram init OK! channel0----(byte0 erro:0,byte1 erro:0).......rank0 is 0x0,rank1 is 0x0
uart init finish!
dram pattern test OK!
dram memtester test OK!
dram memtester test OK!
dram dma3 test OK!
set dram_vcc 1450 mV OK!
dram pattern test OK!
dram memtester test OK!
dram memtester test OK!
dram dma3 test OK!
All Test Finish!