how to program Microcode for 10G phy in t2080

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to program Microcode for 10G phy in t2080

1,460件の閲覧回数
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 返信

1,258件の閲覧回数
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 件の賞賛
返信