=== added file 'lava_dispatcher/actions/android_install_binaries.py'
@@ -0,0 +1,40 @@
+# Copyright (C) 2012 Linaro Limited
+#
+# Author: Paul Larson <paul.larson@linaro.org>
+#
+# This file is part of LAVA Dispatcher.
+#
+# LAVA Dispatcher is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# LAVA Dispatcher is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses>.
+
+import ConfigParser
+import logging
+from lava_dispatcher.actions import BaseAction
+from lava_dispatcher.client.master import _deploy_tarball_to_board
+
+
+class cmd_android_install_binaries(BaseAction):
+ def run(self):
+ try:
+ driver_tarball = self.client.device_option(
+ "android_binary_drivers")
+ except ConfigParser.NoOptionError:
+ logging.error("android_binary_drivers not defined in any config")
+ return
+
+ with self.client._master_session() as session:
+ session.run(
+ 'mount /dev/disk/by-label/testrootfs /mnt/lava/system')
+ _deploy_tarball_to_board(
+ session, driver_tarball, '/mnt/lava/system', timeout=600)
+ session.run('umount /mnt/lava/system')
=== modified file 'lava_dispatcher/default-config/lava-dispatcher/device-types/panda.conf'
@@ -16,3 +16,5 @@
omapfb.vram=0:24M,1:24M mem=456M@0x80000000 mem=512M@0xA0000000
init=/init androidboot.console=ttyO2'",
boot
+
+android_binary_drivers = http://192.168.1.21/LAVA_HTTP/android-binaries/panda-drivers.tgz