Add some diagnostic stuff for ar7