LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 04-13-2015, 02:59 PM   #1
Sammy1234
LQ Newbie
 
Registered: Apr 2015
Posts: 4

Rep: Reputation: Disabled
NDISwrapper on embedded linux


I have successfully installed NDISwrapper on fedora. I want to install it on embedded platform( AT91sam9260 microcontroller based) after porting embedded linux into it. So will it work and how do I proceed??
 
Old 04-13-2015, 03:15 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,976

Rep: Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678
No, NDISwrapper allows you to use Windows XP device drivers on linux. Therefore it only works with x86 architectures.

Are you trying to get an existing USB wireless adapter working on the AT91sam9260?
 
Old 04-14-2015, 02:52 AM   #3
Sammy1234
LQ Newbie
 
Registered: Apr 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks!!Yes I was trying to use existing reliance wireless USB adapter on AT91sam9260. But I know that NDISwrapper works on Rasberry pie.So I thought there would be some way to make it work on other platform.
 
Old 04-14-2015, 05:48 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,976

Rep: Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678
The RPi is also an ARM device and a quick search did not find anything that indicates NDISwrapper works.
 
1 members found this post helpful.
Old 04-14-2015, 06:40 AM   #5
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
It does not work on anything but X86.

The problem is that it is designed to provide an interface for Windows X86 drivers - and thus has to use X86 assembly code to do that.

The amount of code isn't all that large, but it is only X86 drivers that are supported. Most Windows drivers that you can get will be only X86 - and thus won't work on non-X86 processors anyway.

You have even more work trying to implement an X86 emulator for the driver... if the result would even fit in memory.

Last edited by jpollard; 04-14-2015 at 06:43 AM.
 
1 members found this post helpful.
Old 04-14-2015, 10:53 AM   #6
Sammy1234
LQ Newbie
 
Registered: Apr 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
The RPi is also an ARM device and a quick search did not find anything that indicates NDISwrapper works.
I also have the same notion about NDISwrapper being x86 specific. But got source codes of NDISwrapper for raspberry. Links are:

http://code.metager.de/source/xref/r...gadget/rndis.c
http://code.metager.de/source/xref/r...gadget/rndis.h
http://code.metager.de/source/xref/r.../gadget/ndis.h

This source codes made be think about the feasibility of NDISwrapper towards other ARM based platforms.
 
Old 04-14-2015, 11:02 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,976

Rep: Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678Reputation: 5678
RNDIS is not the same thing as NDISwrapper.
 
1 members found this post helpful.
Old 04-14-2015, 11:21 AM   #8
Sammy1234
LQ Newbie
 
Registered: Apr 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Got it!!! Thanks a lot! Saved me from going in wrong direction.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xpert in 8-16 bit microcontroller embedded system now inclining toward embedded linux priyadarshan Linux - Embedded & Single-board computer 2 02-12-2009 05:28 AM
LXer: Embedded Linux as Dependable for Developers as RTOSes, says Embedded Market For LXer Syndicated Linux News 0 01-23-2008 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 03:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration