eeprom: add methods for checking validity and setting defaults (breaks bootloader again)