Enable Logs

16 views
Skip to first unread message

john

unread,
Apr 14, 2009, 10:10:21 AM4/14/09
to android-porting, yen...@pv.com
Hi,

Can anyone tell me how to enable the open core logs. I read this
follwoing forum

http://groups.google.com/group/android-porting/browse_thread/thread/220c460efd957029/de6d040eb79eff21?lnk=gst&q=enable+opencore+logging#de6d040eb79eff21

But there Freepin mentioned the external/opencore/oscl/pvlogger/src/
pvlogger.h, but this file is not available in the android source
code.

So is am missing any steps in building the source code? or I am trying
it with some diffrent version???

Is there any spefic options is there???

Can any one helpme in this...??



thanks
john

Freepine

unread,
Apr 14, 2009, 9:32:07 PM4/14/09
to android...@googlegroups.com
If you work on opencore 2.0 or later, you can simply rebuild the platform with ENABLE_PV_LOGGING=1.

1. cd <android_root>
2. touch external/opencore/oscl/oscl/osclbase/src/pvlogger.h
3. make ENABLE_PV_LOGGING=1

Then after replacing the new system image in device or emulator, use adb shell to telnet it
# echo 8 >/sdcard/pvlogger.txt

john

unread,
Apr 15, 2009, 2:52:14 AM4/15/09
to android-porting
Hi Freepin,

Can you tell me what this command will do exactly...

# echo 8 >/sdcard/pvlogger.txt



On Apr 15, 6:32 am, Freepine <freep...@gmail.com> wrote:
> If you work on opencore 2.0 or later, you can simply rebuild the platform
> with ENABLE_PV_LOGGING=1.
> 1. cd <android_root>
> 2. touch external/opencore/oscl/oscl/osclbase/src/pvlogger.h
> 3. make ENABLE_PV_LOGGING=1
>
> Then after replacing the new system image in device or emulator, use adb
> shell to telnet it
> # echo 8 >/sdcard/pvlogger.txt
>
>
>
> On Tue, Apr 14, 2009 at 10:10 PM, john <jon...@gmail.com> wrote:
>
> > Hi,
>
> > Can anyone tell me how to enable the open core logs. I read this
> > follwoing forum
>
> >http://groups.google.com/group/android-porting/browse_thread/thread/2...
>
> > But there Freepin mentioned the external/opencore/oscl/pvlogger/src/
> > pvlogger.h, but this file is not available in the android source
> > code.
>
> > So is am missing any steps in building the source code? or I am trying
> > it with some diffrent version???
>
> > Is there any spefic options is there???
>
> > Can any one helpme in this...??
>
> > thanks
> > john- Hide quoted text -
>
> - Show quoted text -

rk

unread,
Apr 15, 2009, 3:05:32 AM4/15/09
to android-porting
I think this will input the 8 to the pvlogger.txt file..

thanks
raj
> > - Show quoted text -- Hide quoted text -

john

unread,
Apr 15, 2009, 3:07:47 AM4/15/09
to android-porting, free...@gmail.com
Hi Freepin,

But what is the need of the value 8 inside the pvlogger.txt file

- john
Reply all
Reply to author
Forward
0 new messages