* Autodetect device hw revision and setup the subversion string on the fly.
adds support for setting and clearing the rd flags (no-retu-watchdog, serial-console and the like). The interface to it is a bit cryptic (construct your own hex number) but it works like like 'chmod'.