This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to conver uClinux kernel(vmlinux) to HEX file to run on VCS(verilog compiled simulator )?

Note: This was originally posted on 15th September 2012 at http://forums.arm.com

Hi,
I want to run uClinux on VCS(verilog compiled simulator),so how to convert uClinux kernel(vmlinux) to HEX file to run on VCS? The tool  fromelf  can used, but there are two output file (text and data),I don't know how to run the two file on the VCS.

Thanks in advance!
  • Note: This was originally posted on 15th September 2012 at http://forums.arm.com

    [size=2]Thanks a lot,[/size]
    [size=2] I'm a fresh man to use VCS and uclinux,and have no idea how to use fopen and fread to perform that.Can you give me some example or web links about that? I had searched for a long time on google, but find little useful material.[/size]
    [size=2] Thanks again.[/size]
    [size=2]
    [/size]

    You don't need to perform this conversion, just use $fopen and $fread to directly read the vmlinux binary.

    hth
    s.


  • Note: This was originally posted on 15th September 2012 at http://forums.arm.com

    You don't need to perform this conversion, just use $fopen and $fread to directly read the vmlinux binary.

    hth
    s.