LS1043A Tool for compiling register

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1043A Tool for compiling register

Jump to solution
360 Views
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 Kudos
1 Solution
284 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

View solution in original post

9 Replies
337 Views
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.

332 Views
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 Kudos
327 Views
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

316 Views
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 Kudos
285 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

225 Views
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 Kudos
220 Views
yipingwang
NXP TechSupport
NXP TechSupport

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

217 Views
TJAhn
Contributor III
Thank you very much for quick answer yipingwang, your answer help me a lot.
0 Kudos
215 Views
yipingwang
NXP TechSupport
NXP TechSupport

Welcome

0 Kudos