- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to get ring 0 on MIC,so I want to program a driver.
Any Help will be appreciated.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you read http://software.intel.com/en-us/articles/intel-manycore-platform-software-stack-mpss?
It tells you how to rebuild your MPSS stack from source. The sources should include the driver.
Regards
--
Taylor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One of my colleagues pointed out that you probably want to write a kernel driver to run on the coprocessor uOS.
If you are familiar with writing Linux kernel drivers, you needn't do anything special for the coprocessor as it runs a uOS Linux.
There is a bundled GCC cross-compiler that you can use to build your module. You'll have to compile against the kernel source in the MPSS src package.
Please let me know if this answers your question. If it doesn't, I'll find you a more informed answer.
Regards
--
Taylor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use /lib/modules/2.6.32-358.el6.x86_64/build/Makefile to build linux kernel.
But I don't know how to build on mic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It only rebuild driver on host's OS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just one more thought on this -
As Linux, it should be possible to build a driver for the coprocessor as a kernel module, thus avoiding the need to rebuild the kernel itself. You should be able to find any additional include files you need in linux-2.6.38+mpss<version>.tar.bz2 in the mpss-src-<version>.tar file available with the MPSS release. Use either the gcc cross-compiler on the host (x86_64-k1om-linux-gcc) or the gcc compiler on the coprocessor.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page