Hi Leo Wu,

The "android_install_binaries" dispatcher command will download, unpack, and deploy proprietary shared objects to the Android file system.

You can get these binaries from here: https://developers.google.com/android/nexus/drivers - Choose the correct binaries based on your Android build target.

You will then have to create the following directory structure and tgz it:

./bin:
pvrsrvinit

./vendor:
lib

./vendor/lib:
egl  hw  libglslcompiler.so  libIMGegl.so  libpvr2d.so  libpvrANDROID_WSEGL.so  libPVRScopeServices.so  libsrv_init.so  libsrv_um.so  libusc.so

./vendor/lib/egl:
libEGL_POWERVR_SGX540_120.so  libGLESv1_CM_POWERVR_SGX540_120.so  libGLESv2_POWERVR_SGX540_120.so

./vendor/lib/hw:
gralloc.omap4.so

At this point you have created your own panda-driver.tgz

Now you will need to host it on a web server/file system that your LAVA server can access.

For instance, my LAVA server has the following defined:

android_binary_drivers = http://192.168.1.2/panda-drivers.tgz <-- You have to host this URL

Hopefully this clears up any confusion you may have. Thanks.


On 26 March 2013 02:15, Leo Wu <leo.wu@linaro.org> wrote:
hi:
 Does anyone knows how to use "android_install_binaries" command in json file? Please give me some suggestion.
I am trying to perfome lava android test on pandaboard. Currently, i face a problem while json file execute "android_install_binaries".
The log shows it tries to connect to http://192.168.1.21/LAVA_HTTP/android-binaries/panda-drivers.tgz.
 
log: http://192.168.1.21/LAVA_HTTP/android-binaries/panda-drivers.tgz Connecting to 192.168.1.21:80... failed:Connection timed out.
RuntimeError: Extracting http://192.168.1.21/LAVA_HTTP/android-binaries/panda-drivers.tgz on target failed
 
LAVA SERVER IP: 222.222.222.4
Board: pandaboard
Master Image: Linaro PreBuild Image
Test Image: LEB android
 
 
1. My LAVA SERVER ip is 222.222.222.4. i confused that why it tries to connect to 192.168.1.21?
2. what is panda-drivers.tgz? is it exist in lava server already or i need to download panda-drivers.tgz from somewhere by manual and stored it in local at first? 
3. how to configure it?
 
Thank you
Leo

_______________________________________________
linaro-validation mailing list
linaro-validation@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-validation




--
Tyler Baker
Technical Architect, Automation & CI
Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog