Home | History | Annotate | Download | only in utils

Lines Matching refs:Platform

30 from devlib import Platform, TargetError
71 - a target configuration (target_conf) defining which HW platform we
202 # The platform descriptor to be saved into the results folder
203 self.platform = {}
332 # Populate cluster for a big.LITTLE platform
353 # Initialize the platform descriptor
394 platform_type = self.conf['platform']
396 raise ValueError('Config error: missing [platform] parameter')
403 'platform-tools', 'adb')
405 'platform-tools', 'fastboot')
409 self._log.info('Android SDK not found as ANDROID_HOME not defined, using PATH for platform tools')
433 platform = None
440 platform = devlib.platform.arm.TC2()
445 platform = devlib.platform.arm.Juno()
451 platform = Platform(model='MT8173')
458 platform = Platform(model='hikey')
464 platform = Platform(model='pixel')
467 # Initilize from platform descriptor (if available)
471 platform = Platform(
498 # Devlib target setup (based on target.config::platform)
531 platform = platform,
538 platform = platform,
545 platform = platform,
549 raise ValueError('Config error: not supported [platform] type {}'\
666 self.platform = {
676 self.platform['cpus_count'] = \
677 len(self.platform['clusters']['little']) + \
678 len(self.platform['clusters']['big'])
681 self.platform = {
686 if node_id not in self.platform['clusters']:
687 self.platform['clusters'][node_id] = []
688 self.platform['clusters'][node_id].append(cpu_id)
692 for cluster_id in self.platform['clusters']:
693 core_id = self.platform['clusters'][cluster_id][0]
694 self.platform['freqs'][cluster_id] = \
701 self.platform['cpus_count'] = len(self.target.core_clusters)
749 self.platform['nrg_model'] = self.conf['nrg_model']
752 self.platform['nrg_model'] = self._load_em(self.conf['board'])
755 self.platform['topology'] = self.topology.get_level("cluster")
759 self.platform['kernel'] = {t: getattr(kver, t, None)
766 self.platform['abi'] = self.target.abi
767 self.platform['os'] = self.target.os
769 self._log.debug('Platform descriptor initialized\n%s', self.platform)
772 def platform_dump(self, dest_dir, dest_file='platform.json'):
774 self._log.debug('Dump platform descriptor in [%s]', plt_file)
776 json.dump(self.platform, ofile, sort_keys=True, indent=4)
777 return (self.platform, plt_file)