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

    rcce: SCC_BAREMETAL?


      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?



        • 1. Re: rcce: SCC_BAREMETAL?

          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?

            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?

              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.




              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.