Re: [android-building] About the SGX version of AOSP kernel source for panda and binaries

1,624 views
Skip to first unread message

Jean-Baptiste Queru

unread,
Aug 31, 2012, 10:24:53 AM8/31/12
to android-...@googlegroups.com
That's correct, the graphics libraries match the prebuilt kernel
binary, which was built from an older source tree.

You need to use kernel commit 52f4764:

$ repo forall device/ti/panda -c git log --max-count=1 kernel
commit 76605d821bcc0db9cd897d40fff45b5a7fce2c32
Author: Jean-Baptiste Queru <j...@google.com>
Date: Sun Apr 29 09:55:20 2012 -0700

Prebuilt PandaBoard kernel.

52f4764 Revert "gpu: pvr: Revert to 1.8@550175"

Change-Id: I5f4559d3997d7d57ca93317b41e2b06e512d46bc


On Fri, Aug 31, 2012 at 12:34 AM, YongQin Liu <yongq...@linaro.org> wrote:
> Hi, All
>
> I just did a try to build the AOSP for panda locally,
> and found the version of the latest SGX driver binaries google provides
> mismatches with the version in latest kernel/omap(android-omap-panda-3.0).
> (not the prebuilt kernel in device/ti/panda dirrectory)
>
> Below is the detail information for each:
> version in kernel:
> shell@android:/ $ cat /proc/pvr/version
> Version CustomerGoogle_Android_ogles1_ogles2_GPL sgxddk 18 1.8@905891
> (release) omap4430_android
> System Version String: None
> shell@android:/ $
>
> can also be checked via the file kernel/drivers/gpu/pvr/pvrversion.h
>
> The version of the SX binaries google provides:
> 14:10:01 liuyq:android$ strings
> vendor/imgtec/panda/proprietary/libGLESv2_POWERVR_SGX540_120.so |grep
> build
> OpenGL ES 2.0 build 1.8@785978
> OpenGL ES GLSL ES 1.00 build 1.8@785978
> 14:10:26 liuyq:android$
>
> And this mismatch will cause the the following error:
> PVR_K:(Error): BridgedDispatchKM: Driver initialisation not
> completed yet. [4807, drivers/gpu/pvr/bridged_pvr_bridge.c]
>
> which will make the monitor not work.
>
> Just for your information.
>
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en



--
Jean-Baptiste M. "JBQ" Queru
Technical Lead, Android Open Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Jean-Baptiste Queru

unread,
Mar 7, 2013, 10:24:54 AM3/7/13
to android-...@googlegroups.com
git checkout cb5fc502c60be9305c5a007be335e860d9e7c0cb

JBQ

On Thu, Mar 7, 2013 at 1:08 AM, Shivanand Naik <cen...@gmail.com> wrote:
> I am facing similar issue.
> I have checked out from a local mirror of AOSP and out put of
> $repo forall device/ti/panda -c git log --max-count=1 kernel is
> commit 224d695ed9e09c32479b63412eb345e78c2b4349
> Author: Jean-Baptiste Queru <***@google.com>
> Date: Mon Dec 3 18:57:54 2012 -0800
>
> New PandaBoard kernel
>
> Built from kernel cb5fc502c60be9305c5a007be335e860d9e7c0cb
>
> cb5fc50 Revert "I2C: OMAP: correct SYSC register offset for OMAP4"
> 623520a ARM:Panda: Add TI ST HCI flag
> 582ab23 Bluetooth: Add tty HCI driver
>
> Change-Id: Ib3d6b2c809f0f88586455c4056f92511a845c70b
>
> How do I checkout the correct revision to fix SGX version mismatch.
>
> Thanks
> Shivanand
>
>
> On Monday, September 3, 2012 1:16:47 PM UTC+5:30, YongQin Liu wrote:
>>
>> Hi, Jean-Baptiste Queru
>>
>> Thanks for your information.
>>
>> after changed the kernel to commit
>> 52f476403350050beb0dff135a55c06c9e7a82a9.
>> I can compiled the kernel, and booted the android with the latest binaries
>> google provided.
>>
>> Thanks,
>> Yongqin Liu
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-buildi...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

YongQin Liu

unread,
Mar 7, 2013, 9:47:10 AM3/7/13
to android-...@googlegroups.com
Hi,Shivanand

And for checking the specified commit, I think you can do like this:

cd kernel
git checkout cb5fc502c60be9305c5a007be335e860d9e7c0cb

Thanks,
Yongqin Liu
On 7 March 2013 17:08, Shivanand Naik <cen...@gmail.com> wrote:
I am facing similar issue.
I have checked out from a local mirror of AOSP and out put of 
$repo forall device/ti/panda -c git log --max-count=1 kernel  is
commit 224d695ed9e09c32479b63412eb345e78c2b4349
Author: Jean-Baptiste Queru <***@google.com>
Date:   Mon Dec 3 18:57:54 2012 -0800

    New PandaBoard kernel

    Built from kernel cb5fc502c60be9305c5a007be335e860d9e7c0cb

    cb5fc50 Revert "I2C: OMAP: correct SYSC register offset for OMAP4"
    623520a ARM:Panda: Add TI ST HCI flag
    582ab23 Bluetooth: Add tty HCI driver

    Change-Id: Ib3d6b2c809f0f88586455c4056f92511a845c70b

How do I checkout the correct revision to fix SGX version mismatch.

Thanks
Shivanand


On Monday, September 3, 2012 1:16:47 PM UTC+5:30, YongQin Liu wrote:
Hi, Jean-Baptiste Queru 

Thanks for your information.

after changed the kernel to commit 52f476403350050beb0dff135a55c06c9e7a82a9.
I can compiled the kernel, and booted the android with the latest binaries google provided.

Thanks,
Yongqin Liu

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
 
---
You received this message because you are subscribed to a topic in the Google Groups "Android Building" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-building/feACaqANrAs/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to android-buildi...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Thanks,
Yongqin Liu
---------------------------------------------------------------
#mailing list
linaro-...@lists.linaro.org

Pradeep Kumar

unread,
Jul 2, 2013, 2:44:17 AM7/2/13
to android-...@googlegroups.com
Hi Dhyan,

Using the binary that you described, what is the kernel commit you used to get it working? I highly appreciate your help.

BR
Pradeep

On Thursday, 16 May 2013 05:18:34 UTC-4, Dhyan wrote:
Hi Shivanand,

You can try ics-plus-aosp,its working fine for me ..Please follw the steps

#mkdir ics-plus-aosp
#cd ics-plus-aosp
#repo init -u https://android.googlesource.com/platform/manifest
#repo init -u https://android.googlesource.com/platform/manifest -b ics-plus-aosp
# repo sync
# wget -p -nd https://dl.google.com/dl/android/aosp/imgtec-panda-20120430-67545da7.tgz
# tar -xzvf imgtec-panda-20120430-67545da7.tgz
# ./extract-imgtec-panda.sh
# source build/envsetup.sh
#lunch full_panda-userdebug
# make

With no SD card inserted, plug USB first, then the power cord,#   and load fastboot over USB:
# device/ti/panda/usbboot device/ti/panda/bootloader.bin
# source build/envsetup.sh
#lunch full_panda-userdebug
# make fastboot
# fastboot oem format
# fastboot erase cache
# fastboot flash userdata
# fastboot flashall

Regards
Dhyan
On Friday, March 8, 2013 6:41:28 PM UTC+5:30, Shivanand Naik wrote:
Hi,
I am unable to resolve this issue.

I am having pandaboard rev A2 (quite old H/W) and I am trying to bring up JB (from ASOP master) onto this board.
I have checked out kernel from AOSP kernel/omap.git with branch android-omap-panda-3.0 and the version is 
$git log --max-count=1
>> commit cb5fc502c60be9305c5a007be335e860d9e7c0cb
>> Author: Jean-Baptiste Queru <j...@google.com>
>> Date:   Mon Dec 3 18:50:49 2012 -0800

>> Revert "I2C: OMAP: correct SYSC register offset for OMAP4"

>> This reverts commit 6c8e76e158a9bc849ec946ab030595e06ad89210.


I have checked out AOSP master for platform and the relevant version of device/ti/panda is 
 
/home/myhome/work/PandaBoard_AOSP/platform/device/ti/panda
commit bbccd6df92ec047fca8c4ff750e409cbbe4f4542
Author: Jean-Baptiste Queru <j...@google.com>
Date:   Fri Feb 15 21:06:11 2013 -0800
Re-format for uniformity with other licenses

Change-Id: Ib9264405d093a055c6f094fe1c9a6031596c9079

I am attaching versions of all other projects in platform. 

Apart from this, I have downloaded proprietary pandaboard binaries from 

this is the exact file.

And I am still getting this error
[14152.985870] PVR_K:(Error): BridgedDispatchKM: Driver initialisation not completed yet. [4807, drivers/gpu/pvr/bridged_pvr_]
[14153.002075] PVR_K:(Error): BridgedDispatchKM: Driver initialisation not completed yet. [4807, drivers/gpu/pvr not completed yet. [4807, drivers/gpu/pvr/bridged_]



The SGX binary versions are as follows:
1. On the panda board
shell@panda:/ $ cat /proc/pvr/version
gles1_ogles2_GPL sgxddk 18 1.8@905891 (release) omap4430_android
System Version String: None

2. Inside the binary
$strings vendor/imgtec/panda/proprietary/libGLESv2_POWERVR_SGX540_120.so  | grep build
OpenGL ES 2.0 build 1.8@279068
OpenGL ES GLSL ES 1.00 build 1.8@279068


Any tips on what to do next? Am I taking wrong binaries?

Thanks
Shivanand
Reply all
Reply to author
Forward
0 new messages