how to program Microcode for 10G phy in t2080

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

how to program Microcode for 10G phy in t2080

736 Views
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

Labels (1)
Tags (4)
0 Kudos
Reply
1 Reply

534 Views
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 Kudos
Reply