Embedded Linux Vs WinCE

2009-04-02 Thread Vivek Kumar Gupta
My manager asked to check difference between WinCE vs Embedded Linux. I am googling.but did not a satisfactory result. I just want comparison in 1. Foot print 2. Wireless mainly RF , WiFi, zigbee, Bluetooth etc support 2. Market survey of 2008, to check which is popular. From

RE: USB support doubt

2009-02-23 Thread Vivek Kumar Gupta
. Regards Vivek -Original Message- From: niamathullah sharief [mailto:sharie...@yahoo.co.in] Sent: Tuesday, February 24, 2009 10:36 AM To: Vivek Kumar Gupta Cc: Kernel newbies Subject: RE: USB support doubt yes...i think USBCORE,UHCI-HCD,OHCI-HCD,EHCI-HCD modules are needed to enable

RE: Division involving u64 : undefined reference to __udivdi3

2009-02-06 Thread Vivek Kumar Gupta
1. Try upgrading your GCC compiler to 4.3.2 2. To avoid Division in code: try using shift operation instead of div. E.g. c = c x instead of c = c / x; Regards Vivek -Original Message- From: kernelnewbies-bou...@nl.linux.org [mailto:kernelnewbies-bou...@nl.linux.org] On Behalf Of

RE: Linux on ARM: remap and MMU

2009-01-16 Thread Vivek Kumar Gupta
Hi Roman, Please take care of the dma_sync_single If applicable. My driver was not working till I made changes related to dma_sync_XXX. See this message from Vineet Gupta query about dma_sync_*_for_cpu and direction=TO_DEVICE Regards Vivek -Original Message- From:

RE: newbie usb gadget query

2009-01-12 Thread Vivek Kumar Gupta
, Vivek Kumar Gupta gkvi...@zilog.com wrote: Hi Mandeep, Too many question, separate and ask them. 1. USB Gadget is the basic driver which is nothing but USB Device(or Slave driver). This will make the Board as USB Device. But u need more other then just this driver. 2. Based on Gadget: you can

RE: newbie usb gadget query

2009-01-11 Thread Vivek Kumar Gupta
Hi Mandeep, Too many question, separate and ask them. 1. USB Gadget is the basic driver which is nothing but USB Device(or Slave driver). This will make the Board as USB Device. But u need more other then just this driver. 2. Based on Gadget: you can use File Storage Module if you need to make

Runtime decide module to load

2009-01-09 Thread Vivek Kumar Gupta
Hi All, I am using Linux kernel 2.6.26.3 on ARM. I have two Ethernet modules. Based on the hardware (run time) I have to run specific driver. Checking hardware is easy, On run time I can read the registers and will know which Ethernet Chip is present. Individually both Ethernet driver

Exception Stack on ARM 922T kernel 2.6.26

2008-11-11 Thread Vivek Kumar Gupta
Hi All, I am using 2.6.26.3 kernel on ARM922T.   Can any one help me understanding how to solve Exception stack occurring when interrupt is triggered from the hardware. Here is the log given below. Due to this problem interrupt is some how hangs some times and some times it comes correctly.

RE: Which routine does make dev file of usb char device ?

2008-11-06 Thread Vivek Kumar Gupta
If it is udev, how does it determine the major and minor number of the device? From the dev file in the sys/class/... file for the device, or from the uevent itself. newer versions of udev only use the uevent, and don't need sysfs. Just a small question, which newer version of kernel don't

RE: Which routine does make dev file of usb char device ?

2008-11-06 Thread Vivek Kumar Gupta
Yes got it, thanks. Sorry it was a silly question. Regards Vivek -Original Message- From: Greg KH [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2008 10:20 AM To: Vivek Kumar Gupta Cc: Kernel Newbies Subject: Re: Which routine does make dev file of usb char device ? On Fri, Nov

UDEV on ARM Linux Kernel 2.6.26

2008-10-16 Thread Vivek Kumar Gupta
Hi All, I want to use UDEV for USB / SD Card on ARM Based Embedded System Device, with Linux Kernel 2.6.26. Though I have enabled UDEV via make menuconfig In General setup CONFIG_HOTPLUG=y and in File systems -Pseudo filesystems CONFIG_SYSFS=y Nothing is visible when I run my kernel on

RE: basic otg support

2008-09-25 Thread Vivek Kumar Gupta
Hi Vamsi, For Otg perspective, you need to 1st implement USB Host, USB Gadget and then USB OTG driver, by using Linux USB core. About the Scenarios: when user want to use USB OTG, so at that time Host, Gadget and otg (in same order) should be loaded into the kernel or memory. So OTG can shift to

RE: basic otg support

2008-09-24 Thread Vivek Kumar Gupta
I am extremely sorry I mean 3rd Party USB Stack. Regards Vivek -Original Message- From: Greg KH [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2008 4:51 AM To: Vivek Kumar Gupta Cc: kernelnewbies@nl.linux.org Subject: Re: basic otg support On Wed, Sep 24, 2008 at 10:10:53AM

RE: Automatic USB drive detection/Disconnection in user application!!!

2008-09-23 Thread Vivek Kumar Gupta
I think, try to see code of The USB Monitor specially file mon_main.c Try to develop your own application driver, also enable /proc interface, In case you want to check from command prompt about the status of usb device like Memory stick connected to your linux usb host. Also user space

RE: basic otg support

2008-09-23 Thread Vivek Kumar Gupta
We have implemented OTG in linux using the existing frame work as suggested by Greg. But in our case we have take 3rd usb stack and done the integration with Linux frame work. I think you can see implementation done by omap guys for OTG. Regards Vivek -Original Message- From: [EMAIL

RE: Kernel command line parameter?

2008-09-19 Thread Vivek Kumar Gupta
Simplest is do $make menuconfig Change the boot options for command line paramenter. If you see .config it is CONFIG_CMDLINE= Regards Vivek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chetan Nanda Sent: Friday, September 19, 2008 2:13 PM

RE: Building a module for different kernels on the same machine

2008-06-10 Thread Vivek Kumar Gupta
You can have multiple kernel source code, then compile the code. But here you will not able to test it. When compiling a module will get the local header and etc...where ever your make file points. Things to check here is 1. you want to try different compilers. 2. you want to try different

g_file_storage and ether driver USB

2008-06-08 Thread Vivek Kumar Gupta
Hi every body, I just enabled g_file_storgage and ether driver in usb gadget. And it is crashing. can any one tell me what is the problem. Here is the log I saw sysfs in the function calls then I enabled sysfs also but it is again crashing at the same place. And same is true for

Debugging Support for ARM

2008-06-03 Thread Vivek Kumar Gupta
Hi I am just looking for debugging via gdb or kdb or kgdb on ARM, I checked most of them are just out dated and are not suitable on ARM??? If any one can help me, in understanding and enabling any debugging tool that will be great. I am doing platform driver development for USB on Linux

RE: Module loading and Unloading

2008-05-28 Thread Vivek Kumar Gupta
-Original Message- From: Rajat Jain [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2008 8:17 AM To: Vivek Kumar Gupta; kernelnewbies Subject: RE: Module loading and Unloading Hi Vivek, I have kernel modules for USB Host, device and OTG. These platform drivers ( usb bus driver