how to program Microcode for 10G phy in t2080

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

how to program Microcode for 10G phy in t2080

711 次查看
sameerarvikar
Contributor III

I am using t2080 with cortina cs4317 10G phy ,(in T2080RDB its cortina cs4315)

I have got microcode for the cs4317phy but the file is  in text format ,

so if i  program the microcode with the method given on following link

Submit Form 

it get programmed but when i reboot u-boot i get error

Not found Cortina PHY ucode at 0xefe00000

So is it necessary that the file ucode file should be a .bin  ?

How can i convert a txt file to bin format .?

In text file data is in following format

write $address $value

.above line repeated for more than 1000 times

.

where address and value are hexadecimal numbers

标签 (1)
标记 (4)
0 项奖励
回复
1 回复

509 次查看
alexander_yakov
NXP Employee
NXP Employee

I guess, the most easy way to use microcode in this format is to find a place in your code, where it looks this microcode at location 0xefe00000, and than comment it out and replace it by this sequential code "write $address $value" you already have.

If this is not possible due to complexity of the sources, that you can use some converter to convert your txt to bin or s-records format or, simply, run this code in RAM to write all required values to appropriate places in RAM, and than dump this RAM as binary.

0 项奖励
回复