Initial work on mdev and automatic firmware loading