Fix bugs and allow user to select ram size in case of unkown revision