Hi Jith911 Please tell me if you came right with this. I also need to upload firmware to a chip and as Android doesn't come with hotplug it gets a bit interesting when the kernel calls request_firmware
Regards Mike On Jan 11, 1:46 pm, ">> Jith911" <[email protected]> wrote: > Hi, > > I am running Android on a PXA and I was trying to hook loading of > cusom wifi driver using Android WiFi Manager by editing hardware/ > libhardware/wifi/wifi.c > > I have tried following steps. > > 1. Add insmod driver.ko, firmware download to rc.local so that when > linux loads the driver also get loaded > 2. Run Android Init. > 3. After Android is initialized, use android wifi settings to turn on > wifi. In wifi.c wifi_load_driver i initialized the driver. > > Then I tried to move step 1 to wifi_load_driver(), but strangely > Android hangs after ifconfig up is done. I am using kernel threads in > the driver. There is nothing much different in the two scenarios. Only > difference is the loading of driver before and after Android init. So > i am wondering whether it has to do something with process context > from which the insmod is instantiated. > > THanks, > > Jith911. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
