3 Replies Latest reply: Oct 5, 2010 6:08 PM by tedk RSS

rcce: SCC_BAREMETAL?

junghyun Community Member
Currently Being Moderated

Hi, I'm new to SCC. I have 3 questions below.

 

 

(1) I read README file in trunk/rcce.

 

It says RCCE can be compiled with 3 platforms(SCC_LINUX, SCC_BAREMETAL, and emulator).

 

I ran an application on RCCE with SCC_LINUX successfully, but it fails on RCCE with SCC_BAREMETAL(error code=139).

 

The application I run is PINGPONG.

 

Is there anybody run it successfully??

 

 

(2) I am looking into RCCE code these days, but I think SCC_BAREMETAL does not mean real bare metal.

 

If I set the platform of RCCE as SCC_BAREMETAL, it defines MS_BAREMETAL.

 

That definition is only used in SCC_API.c. Actually, there are only "#ifndef MS_BAREMETAL" only.

 

I think BAREMETAL means that the code runs directly on real HW(without linux).

 

Is there any code run directly on real H/W in SVN codes?

 

 

(3) Can I modify page attributes such as "WB, WT, and MPBT" in application level?

 

Thanks.

  • 1. Re: rcce: SCC_BAREMETAL?
    tedk Community Member
    Currently Being Moderated

    RCCE is still designed to work on baremetal, but work on its baremetal version is not as up-to-date as work on its SCC Linux version. So in the near future you may come across issues when working on baremetal.

     

    MS_BAREMETAL refers to Microsoft's baremetal Visual Studio plugin. This plugin is not currently publicly available.

     

    By modifying page tables, you are essentially modifying the OS.  I don't think this is something you would want to do (even if you could) from the application level. The source code for SCC Linux is available, so you can investigate that area if you want.

  • 2. Re: rcce: SCC_BAREMETAL?
    junghyun Community Member
    Currently Being Moderated

    So, you mean at this moment, I cannot use baremetal version, right?

     

    Could you estimate how long I need to wait to use it? 3 month? or 1 year?

  • 3. Re: rcce: SCC_BAREMETAL?
    tedk Community Member
    Currently Being Moderated

    We'll have better baremetal tools for you in weeks, not months, but you can use baremetal now. However, you are currently on your own.

    MIcrosoft released a baremetal plugin for VIsual Studio today. I think over the next few weeks we should gain some experience using it which we can share with you.

     

    http://research.microsoft.com/en-us/downloads/37ccb116-c67d-4c44-9181-898889b8352d/

     

    There is at least one other group doing baremetal work successfully, but I don't know how close they are to going public.

     

    The intent here is to share as much as we are able to on how researchers are using the SCC in a baremetal environment.

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points