|
IntroductionThis guide will help the setup and configuration of a working USB subsystem on a LinuxSH installation. The topics covered will be specific to the SH architecture in general and the ST40GX1 processor in particular. This guide is meant to be read with a generic knowledge of how the USB bus works and how it is used under Linux. Please read the first sections of the Linux-USB guide at www.linux-usb.org before proceeding. Kernel configurationAdding support for USBThe standard Linux kernel has complete support for USB out of the box. Most kernels now have support for USB enabled by default. In addition there is support for the ST40GX1 embedded Host Controller.
All the USB configuration options are available by selecting one of the
kernel configuration top-level menus that is displayed by a
To add USB support visibility to a standard LinuxSH kernel you have to modify one file as specified in the following points.
This change added support for USB devices through an external PCI Host Controller. These controllers come in the from of small PCI boards that can be easily added to any LinuxSH system equipped with a free PCI slot. Using the ST40GX1The ST40GX1 chip has an embedded Host Controller device connected to the CPU core by an on-chip bus called SuperHyway and many boards using this chip have all the necessary electronics to make use of this controller. The problem is that the standard USB code in the Linux kernel expects all Host Controllers to be PCI devices. In order to use it, a PCI emulation layer was written that allows the cell to be seen as a PCI device by the rest of the kernel. This code is included in the kernel package provided as part of the ST distribution, will soon be added to the mainstream LinuxSH kernel.
This emulation is selected by setting two options in the
These options are hierarchical and the second one only becomes available
after the first is selected and they both can be used only after the
processor type has been defined as
Once these options are selected proceed to the
entry must be selected. ResourcesUSB standards informationLinux-USB information & drivers
|
||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||