Make linux version able to flash new firmware