diff options
author | Kevin Hilman <khilman@baylibre.com> | 2017-08-08 15:13:40 -0700 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-08-08 15:13:43 -0700 |
commit | 168b9b335d6cc4851d1f1c5849be0a773beeedb2 (patch) | |
tree | 145597e84ec46324c95b91aba1caf7fdcff596fc /lava-v2-jobs-from-api.py | |
parent | 00cbecd4b1f57f01901ff011d8dd0d6e2f7f3afd (diff) |
lava-v2-jobs-from-api: add arch_blacklist
Some ARM boards may boot both ARM32 and ARM64 kernels, so a given board
may have a DTB build for both ARM32 and ARM64.
However, these platforms but they require very recent u-boot, and some
tender care. For cases where that care has not been given, the board
will only boot one or the other, depending on the u-boot support.
Therefore, we need a way to blacklist by arch so only known working
configurations can be generated.
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'lava-v2-jobs-from-api.py')
-rwxr-xr-x | lava-v2-jobs-from-api.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lava-v2-jobs-from-api.py b/lava-v2-jobs-from-api.py index fde5a81..e487e76 100755 --- a/lava-v2-jobs-from-api.py +++ b/lava-v2-jobs-from-api.py @@ -150,6 +150,9 @@ def main(args): elif device.has_key('defconfig_whitelist') and defconfig not in device['defconfig_whitelist']: print "defconfig %s is not in whitelist for device %s" % (defconfig, device['device_type']) continue + elif device.has_key('arch_blacklist') and arch in device['arch_blacklist']: + print "arch %s is blacklisted for device %s" % (arch, device['device_type']) + continue elif "BIG_ENDIAN" in defconfig and plan != 'boot-be': print "BIG_ENDIAN is not supported on %s" % device_type continue |