A solution about what I did. There are two ways to load rild library: static and dynamic.
rild -l library*********.so -- -d devicepath is for dynamic load. Edit init.rc. service ril-daemon /system/bin/ rild #static service ril-daemon /system/bin/rild -l library*********.so -- -d devicepath #dynamic Refer to /system/core/init/readme.txt to know how to start a service. I also trace rild.c how rild start work. It's easy to know how they work together after trace these two files. Now, I can start another work, thanks. But it seems to be only one way to test rild: command from application layer. Best regards bluebolt On 4月10日, 上午10時02分, "Ken, Chen" <bluebol...@gmail.com> wrote: > I want to test reference-ril.c function on my test board. > One way is command from application layer. > Is there any way more direct on console mode? > > Thanks for your answer. > I totally misunderstood it. > > Best regards, > bluebolt > > On Apr 9, 5:53 am, Mike Chan <m...@android.com> wrote: > > > Rild is a daemon, not a command, and is launched by init, look at > > ./system/core/rootdir/init.rc or /init.rc on a device. > > > What exactly are you trying to test with rild? > > > On Thu, Apr 2, 2009 at 3:38 AM, bluebol...@gmail.com > > > <bluebol...@gmail.com> wrote: > > > > All supported shell commands list in /system/bin/ > > > I want to test rild function and it seems command "rild" can test it. > > > But I don't know how to use the command. > > > > Any reference about how to use those commands? > > > > By the way, is it right to post here? > > > > Best regards, > > > bluebolt > > > -- > > MIke Chan --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel -~----------~----~----~----~------~----~------~--~---