How to Build kernel with android build system?

by Jackie Wu » Wed, 18 Feb 2009 03:11:55 GMT


Sponsored Links
 Android doesn't use udev to handle the uevent from kernel but directly
use the init process to handle. By default, it will create the device
file under /dev with infor from uevent. There is no udev descriptor
and you have to specify the device file path in source code directly.

You can refer to system/core/init/init.c and deviced.c. That's code to
handle that.

Thanks
Jackie (Weihua) Wu

If your driver and device have no problem, the device file should be created.






--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



How to Build kernel with android build system?

by Greg KH » Tue, 10 Mar 2009 18:21:55 GMT


 


udev is not on the android system image, so unless you added it, nothing
is catching the uevents.

thanks,

greg k-h

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


How to Build kernel with android build system?

by Manish Sharma » Sat, 14 Mar 2009 06:52:43 GMT


 Hi Greg,
Thanks for your response. I know udev is not there in Android rather init is
taking care of handling uevent. Actually on my system the init was stucking
in forever loop. When I checked the process status flash_recovery and
netstart were going in Z state.

After commenting following 2 services in init.rc the hotplug is working
fine.

#service flash_recovery /system/bin/flash_image recovery
/system/recovery.img
#    oneshot
#service netstart /system/bin/netcfg eth0 dhcp
#    user root
#    oneshot

But still the system is not stable. Like when I try to play music/video it
gives an error "Application not responding" and init again goes in forever
loop. The process status of "app_process" goes to Z state.

Regards,
Manish









--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. Factory data reset - install app

Anyway to install App automatically when doing Factory Data Reset?

Thanks in Advance

-- 

2. Use of AOSP code in a paid app?

Let's say I write a messaging app and re-use some code from the AOSP email 
app.

Can I place that app on the market and I could I charge for it? I have 
checked the license but don't seem to see a clear answer for this.

Thanks.

-- 
.

3. How to Change Screen Resolution Programmatically?

4. [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

5. Eclipse ADT update ruins XML layout files development

6. HTTPS POST problem

7. Running adb logcat and dmesg commands from within my app.