Discussion:
alarm ? is this mandatory for bring up, help...
Porting beginner
2008-10-17 08:46:49 UTC
Permalink
HI,

I have tried all version from m3, m5 both kernel and fs.
I am able to see binder and logger entries in /proc/misc
after booting android enable kernel but nothing regarding alarm.

Not even in /proc/devices. As per code, alarm.o is added in
driver/android/Makefile
and its depends on CONFIG_POWER which i have in kernel config.

CONFIG_POWER
CONFIG_POWER_STAT
CONFIG_LOW_MEMORY..
CONFIG_IPC_BINDER
CONFIG_LOGGER.


Why there is no misc device getting created ?
I checked alarm.c code also, the call for misc_register is from
rtc_interface_add_device
function which is not part of __init , is this the issue ?


Other than alarm, all other things r fine.. I can see 'runtime' to getting
up to android_power.. but after that
getting stuck , when I see dev/log/main.. its waiting for alarm...

If it suppose to change alarm.c to get alarm as misc device, how emulator is
working
and none who have successfully ported android wrote anything abt alarm.
I think I am missing something at my end only.. please let me know..
Loading...