restore bootloading to device in linux