firmware: refactor loading status