Use runtime info to determine ARM version for upgrade (fixes #1051)