瀏覽代碼

[Add][Uboot][mtest]

2021.03.02 / Folus Wen

Actions:
1. Add mtest command to uboot for DDR test.

Files:
1. As follow commit history

Image version: D0.00.XX.XXXX.XX
Image checksum: XXXXXXXX

Hardware PWB P/N : XXXXXXX
Hardware Version : XXXXXXX
FolusWen 4 年之前
父節點
當前提交
d47e4744c0

+ 1 - 1
board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/.config

@@ -379,7 +379,7 @@ CONFIG_CMD_ENV_EXISTS=y
 CONFIG_CMD_MEMORY=y
 CONFIG_CMD_CRC32=y
 # CONFIG_LOOPW is not set
-# CONFIG_CMD_MEMTEST is not set
+CONFIG_CMD_MEMTEST=y
 # CONFIG_CMD_MX_CYCLIC is not set
 # CONFIG_CMD_MEMINFO is not set
 

+ 2 - 0
board-support/u-boot-2017.01+gitAUTOINC+340fb36f04-g340fb36f04/include/configs/am335x_evm.h

@@ -18,6 +18,8 @@
 
 #include <configs/ti_am335x_common.h>
 
+#define CONFIG_SYS_MEMTEST_START	0x80000000
+#define CONFIG_SYS_MEMTEST_END		0x9fffffff
 
 #ifndef CONFIG_SPL_BUILD
 # define CONFIG_TIMESTAMP