UsbConfigDevRNDIS

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search

Translate this page to
cs - Česky

de - Deutsch

es - Español

fi - Suomi

fr - Français

hu - Magyar

it - Italiano

ja - 日本語

ko - 한국어

pl - Polski

pt - Português

ru - Русский

sv - Svenska

vi - Tiếng Việt

zh-CN - ‪中文(中国大陆)‬
Translate Show original

UsbConfigDevRNDIS

RNDIS gadget Kernel Config

Linux PSP

Contents

1 About this page

2 Configuration

2.1 Linux v3.2

3 Testing

About this page

This page describes the Linux kernel config options for usb RNDIS gadget on different kernel versions. Please refer the config option which matches with kernel version of release you are using.

Configuration

Linux v3.2

Start the Linux Kernel Configuration tool:

$ make CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm menuconfig

Select Device Drivers from the main menu.

...
...
Power management options --->
[ ] Networking support --->
Device Drivers --->
File systems --->
Kernel hacking --->
...
...

Select USB support as shown here

...
...
<*> Sound card support --->
[*] HID Devices --->
[*] USB support --->
<*> MMC/SD/SDIO card support --->
...
...

Go to USB Gadget Support as shown here

...
...
< > USB YUREX driver support
<*> USB Gadget Support --->
*** OTG and related infrastructure ***
< > GPIO based peripheral-only VBUS sensing 'transceiver'
...
...

Select Inventra HDRC USB Peripheral as shown here

...
...
(2) Maximum VBUS Power usage (2-500 mA)
(2) Number of storage pipeline buffers
<*> USB Peripheral Controller (Inventra HDRC USB Peripheral (TI, ADI, ...)) --->
< > USB Gadget Drivers
...
...

Select Ethernet Gadget as shown here

...
...
<*> USB Peripheral Controller (Inventra HDRC USB Peripheral (TI, ADI, ...)) --->
< > USB Gadget Drivers
...
<M> Ethernet Gadget (with CDC Ethernet support)
[*] RNDIS support
[ ] Ethernet Emulation Model (EEM) support
...
...

NOTE

For RNDIS gadget "RNDIS support" is selected

This is all required for adding USB RNDIS gadget support in kernel.

Testing

RNDIS gadget driver module can be inserted using $ insmod g_ether.ko

The RNDIS Gadget driver will create an Ethernet device by the name usb0. You need to assign an IP address to the device and bring up the device. The typical command for that would be:
$ ifconfig usb0 &lt;IP_ADDR&gt; netmask 255.255.255.0 up

| For technical support please post your questions at http://e2e.ti.com/. Please post only comments about the article UsbConfigDevRNDIS here.

| Links

ARM Microcontroller MCU | ARM Processor | Digital Media Processor | Digital Signal Processing | Microcontroller MCU | Multi Core Processor

Ultra Low Power DSP | 8 bit Microcontroller MCU | 16 bit Microcontroller MCU | 32 bit Microcontroller MCU

Retrieved from "http://processors.wiki.ti.com/index.php/UsbConfigDevRNDIS"

Leave a Comment

Personal tools

Log in / create account

Namespaces

Page

Discussion

Variants

Views

Read

View source

View history

Actions

Search

Navigation

Main Page

All pages

All categories

Popular pages

Popular authors

Popular categories

Category stats

Recent changes

Random page

Help

Google Search

Print/export

Create a book

Download as PDF

Printable version

Toolbox

What links here

Related changes

Special pages

Permanent link

Browse properties

This page was last modified on 14 February 2012, at 06:08.

This page has been accessed 551 times.

Content is available under Creative Commons Attribution-Share Alike 3.0 license.

Privacy policy

About Texas Instruments Embedded Processors Wiki

Disclaimers