Running Power On Self Test support in u-boot for T1022.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Running Power On Self Test support in u-boot for T1022.

2,100 次查看
vijayb1
Contributor II

Hi,

Our platform is based T1040 Reference platform, we are trying to add Power On Self Test support in u-boot.

Seems like this is disabled for T1040RDB,

We see that CONFIG_POST is not allowed as cpu_init.c throws error "POST memory test cannot be enabled with TDM"

I tried to change T104xRDB.h to include the CONFIG_POST CONFIG_SYS_POST_MEMORY.

What are the options for us for DDR test from u-boot?

Thanks

Vijay

0 项奖励
3 回复数

1,129 次查看
Pavel
NXP Employee
NXP Employee

Use the "mtest" command from u-boot. See the following page:

http://www.denx.de/wiki/view/DULG/UBootCmdGroupMemory#Section_5.9.2.7.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

1,129 次查看
vijayb1
Contributor II

Also looking at the bdinfo.

memstart    = 0x00000000
memsize     = 0x100000000
flashstart  = 0xE8000000
flashsize   = 0x10000000
flashoffset = 0x00000000
sramstart   = 0x00000000
sramsize    = 0x00000000
immr_base   = 0xFE000000
bootflags   = 0x00000000
intfreq     =   1400 MHz
busfreq     =    600 MHz
addressing  = 36-bit
ethaddr     = 68:05:ca:44:0d:03
IP addr     = 192.168.0.56
baudrate    = 115200 bps
relocaddr   = 0x7FEF0000

I will never be able to use mtest for the range 0x000000000x100000000,

as uboot gets relocated at the relocation address and Flash is memory mapped from 0xE8000000.

Can some one give us what is the ideal approach?

Thanks

0 项奖励

1,129 次查看
vijayb1
Contributor II

I have tried this, this seems slower. So was looking for POST as this is fast and we can run this every time boot the system.

Thanks

Vijay

0 项奖励