[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] how to build a kernel module using ltib? (docu)
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] how to build a kernel module using ltib? (docu) |
Date: |
Wed, 10 Jan 2007 08:45:48 +0000 |
Hi Arun,
I don't know the answer to this one. It's not really an ltib question.
You'd probably be able to get some help by contacting Freescale support.
* go to http://www.freescale.com
* click on "Support / Technical support"
* click on "Submit a Service Request"
* register to get a user name and password.
* login in with your user name and password
* on the "New Service Request" page:
* category = Technical Request
* topic = CodeWarrior
* Click on "Continue"
* fill out the information for the service request
* click on the "Submit" button at the bottom of the page.
Also you may be able to find something by googling (kernel lists?)
Regards, Stuart
On Tue, 2007-01-09 at 11:01 -0800, Arun Kumar wrote:
> Hi ,
> I am configuring TouchScreen(egalax touchscreen) drivers using USB
> Support for MPC5200B processor.
>
> Configured the kernel using ./ltib --configure for USB support as
> shown below.
> Omitting the options which are not set.
> #
> #USB Support
> #
> CONFIG_USB=y
>
> #
> #Miscellaneous USB options
> #
> CONFIG_USB_DEVICEFS=y
> CONFIG_USB_ARCH_HAS_HCD=y
> CONFIG_USB_ARCH_HAS_OHCI=y
>
> #
> # USB Host Controller Drivers
> #
> CONFIG_USB_EHCI_HCD=y
> CONFIG_USB_OHCI_HCD=y
> CONFIG_USB_OHCI_HCD_OCP=y
> CONFIG_USB_OHCI_HCD_PCI=y
> CONFIG_USB_OHCI_LITTLE_ENDIAN=y
> CONFIG_USB_UHCI_HCD=y
>
> #
> #USB Input Devices
> #
> CONFIG_USB_HID=y
> CONFIG_USB_HIDINPUT=y
> CONFIG_USB_EGALAX=m
>
> My Problem here is the touchscreen drivers are working, but on
> touching the screen
> the XY Coordinates are pointing exactly opposite to the touched point.
>
> Can you please help me out in correcting XY Coordinates for the
> driver,
> so that it exactly points to the position where i touched.
>
> Thanks & Regards,
> Arun.
>
>
>
>
>
>
> On 1/9/07, D'Abbraccio Joe-ljd015 <Joe.D'address@hidden>
> wrote:
> Note: When you are in the kernel configuration menus, you can
> type /USB to search for USB related config options and how to
> find them in the menu tree.
>
> For the USB config:
>
> USB_FILE_STORAGE [=n]
> Prompt: File-backed Storage Gadget
> Defined at drivers/usb/gadget/Kconfig:371
> Depends on: <choice>
> Location:
> -> Device Drivers
> -> USB support
> -> USB Gadget Support
> -> USB Gadget Drivers (<choice> [=y])
>
> Here is a complete list of USB setting that I have used
> successfully to do the gadget file operation on the
> MPC8349E-mITX platform (I have omitted many options that are
> not set).
>
> #
> # USB support
> #
> CONFIG_USB_ARCH_HAS_HCD=y
> CONFIG_USB_ARCH_HAS_OHCI=y
> CONFIG_USB_ARCH_HAS_EHCI=y
> CONFIG_USB=y
> # CONFIG_USB_DEBUG is not set
>
> #
> # Miscellaneous USB options
> #
> CONFIG_USB_DEVICEFS=y
>
> #
> # USB Host Controller Drivers
> #
> CONFIG_USB_EHCI_HCD=y
> CONFIG_USB_OHCI_HCD=y
> CONFIG_USB_OHCI_LITTLE_ENDIAN=y
> CONFIG_USB_UHCI_HCD=y
>
> #
> # may also be needed; see USB_STORAGE Help for more
> information
> #
> CONFIG_USB_STORAGE=y
>
> #
> # USB Gadget Support
> #
> CONFIG_USB_GADGET=y
> # CONFIG_USB_GADGET_DEBUG_FILES is not set
> CONFIG_USB_GADGET_SELECTED=y
> CONFIG_USB_GADGET_NET2280=y
> CONFIG_USB_NET2280=y
> # CONFIG_USB_GADGET_PXA2XX is not set
> # CONFIG_USB_GADGET_GOKU is not set
> # CONFIG_USB_GADGET_LH7A40X is not set
> # CONFIG_USB_GADGET_OMAP is not set
> # CONFIG_USB_GADGET_AT91 is not set
> # CONFIG_USB_GADGET_DUMMY_HCD is not set
> CONFIG_USB_GADGET_DUALSPEED=y
> # CONFIG_USB_ZERO is not set
> CONFIG_USB_ETH=y
> CONFIG_USB_ETH_RNDIS=y
> # CONFIG_USB_GADGETFS is not set
> # CONFIG_USB_FILE_STORAGE is not set
> # CONFIG_USB_G_SERIAL is not set
>
> > -----Original Message-----
> > From: address@hidden
> > [mailto:address@hidden On
> > Behalf Of Stuart Hughes
> > Sent: Tuesday, January 09, 2007 5:09 AM
> > To: ???
> > Cc: ltib
> > Subject: Re: [Ltib] how to build a kernel module using ltib?
> (docu)
> >
> > Hi VinuxHuang,
> >
> > As far as adding your own additional modules goes, this can
> be done
> > inside or outside of ltib.
> >
> > If you don't want to integrate into LTIB, simply build your
> module
> > outside LTIB and then make a directory:
> > config/platform/<target>/merge/lib/modules/<version>/misc/
> > and then copy your module there. You then have to manually
> load this
> > (or put into rc.local) at boot up.
> >
> > If you want to integrate with LTIB, you'll need to write a
> spec file.
> > There are some hints in the FAQ at:
> > http://www.bitshrine.org/autodocs/LtibFaq.html
> > It's purely another package. The only thing you'll need to
> > remember is
> > to make sure that you leave the kernel sources unpacked when
> > you build.
> > You can do this by adding a dependency in
> > config/userspace/packages.lkc
> > or more simply by clicking the option:
> > [x] Leave the sources after building
> > When running './ltib --configure'
> >
> > If you want to change the kernel configuration, take a look
> at this:
> > http://www.bitshrine.org/autodocs/LtibFaq.html#ref_24
> >
> > Regards, Stuart
> >
> > On Tue, 2007-01-09 at 11:31 +0800, 黄荣坚 wrote:
> > > Hello,all
> > > I'm a novice of ltib,and I want to build and deploy a
> kernel
> > > module for the target linux running on the board.Though I
> have read
> > > the LtibFAQ document,there seem to be not enough
> > information for me to
> > > do this. So I hope I can get some help here about how I
> can
> > build and
> > > deploy a kernel module with Ltib.
> > > Besides, I want to build a kernel which supports usb
> > gadget mode.
> > > But when I use command: ./ltib -m config to configure the
> kernel ,I
> > > just can find the option
> > > in the configuration menu. How can I add the usb gadget
> support
> > > (file_storage etc.) to the configuration system?
> Would you please
> > > give me some advice about this?
> > > Thanks,
> > > VinuxHuang
> > >
> > >
> > >
> >
> ______________________________________________________________________
> >
> > >
> >
> >
> >
> > _______________________________________________
> > LTIB home page: http://bitshrine.org
> >
> > Ltib mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/ltib
> >
>
>
> _______________________________________________
> LTIB home page: http://bitshrine.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
>