How to modify *.inc script to *.cfg ?

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

How to modify *.inc script to *.cfg ?

910 Views
shipingwu
Contributor I

Hi ,

How to modify *.inc script to *.cfg after DDR stress testing ? I want to use file *.inc for u-boot ddr config.

Thanks a lot.

0 Kudos
6 Replies

795 Views
Yuri
NXP Employee
NXP Employee

Hello,

  it would be better to "convert" .inc initialization script to DCD table of U-boot manually,

since it depends on U-boot version.

Have a great day,
Yuri

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

0 Kudos

795 Views
shipingwu
Contributor I

Thank you very much.

And how to convert to DCD table?

Thanks a lot.

0 Kudos

795 Views
Yuri
NXP Employee
NXP Employee

Hello,

.inc file has format as following :

setmem /32 0x021b0800 = 0xa1390003 

meaning write data 0xa1390003 to address 0x021b0800.

corresponding  line of the DCD is as following :

DATA 4, 0x021b08000xa1390003

Regards,

Yuri.

0 Kudos

795 Views
shipingwu
Contributor I

OK, thanks a lot.

Is there a script to convert ?

Or should I must convert it manual?

0 Kudos

795 Views
Yuri
NXP Employee
NXP Employee

I think - manually.

~Yuri.

0 Kudos

795 Views
shipingwu
Contributor I

OK.

Thanks a lot.

0 Kudos