LS1043A Tool for compiling register

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

LS1043A Tool for compiling register

跳至解决方案
1,139 次查看
TJAhn
Contributor III

Hello,

I'm searching for tools used to do register settings for LS1043A EVM.

I need to do some works with it.

My goal is,

i) To measure the speed of read & write speed for IFC vs PCIe 2.0(x1 lane)

 - How can I use GPIO pins to measure? They are assigned at TDM interface in EVM.

ii) To set registers related with RCW

How can I approach this things mentioned above?

Is the CodeWarrior necessary for this?

Or is there any such linux tools functioning like above?

Best Regards,

TJ

0 项奖励
回复
1 解答
1,063 次查看
yipingwang
NXP TechSupport
NXP TechSupport

dd command will report the read/write speed. You could read/write from PCIe storage device and IFC flash.

在原帖中查看解决方案

9 回复数
1,116 次查看
yipingwang
NXP TechSupport
NXP TechSupport

i) Would you please describe your purpose in more details?

It is impossible to use GPIO to measure read & write speed for IFC vs PCIe 2.0(x1 lane).

ii) You could use CodeWarrior to generate RCW binary(PBL) file.

Here is the Linux tool:

$ git clone https://github.com/nxp-qoriq/rcw

$ cd rcw

$ git checkout -b lf-6.1.55-2.2.0 lf-6.1.55-2.2.0

Please modify ls1043ardb/RR_FQPP_1455/rcw_1600.rcw according to your target board, then run "make", you will get ls1043ardb/RR_FQPP_1455/rcw_1600.bin.

1,111 次查看
TJAhn
Contributor III
Thank you for kind and detailed reply Yipingwang.
My purpose is to compare the speed of both interface, and decide what interface(between PCIe and IFC) to do such protocols with other board.
Is it possible for me to configure the board and measure this?
Or is there any available linux tools to compare these two interface?
0 项奖励
回复
1,106 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please try to use "dd" command in Linux.

For example

dd if=/dev/zero of=/dev/nvme0n1 bs=16M count=512M iflag=count_bytes

or

dd if=/mnt/ramdisk/random.img of=/dev/nvme0n1 bs=16M

1,095 次查看
TJAhn
Contributor III
Thanks for the reply.
Is it okay to understand that there are way to compare the read/write speed of PCIe and IFC with linux?
0 项奖励
回复
1,064 次查看
yipingwang
NXP TechSupport
NXP TechSupport

dd command will report the read/write speed. You could read/write from PCIe storage device and IFC flash.

1,004 次查看
TJAhn
Contributor III
Thank you for reply.
I beg your pardon but can you answer me one more question?
If you mean "in the linux", does that mean that I can use the command in the TeraTerm prompt?
Best Regards,
TJ
0 项奖励
回复
999 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Yes, you could use this command directly in the prompt of Linux.

996 次查看
TJAhn
Contributor III
Thank you very much for quick answer yipingwang, your answer help me a lot.
0 项奖励
回复
994 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Welcome

0 项奖励
回复