add eeprom and sdcard support