Quite decent firmware detection and upgrade