An electronic device, comprising: - a first non-volatile memory that includes an area to store firmware, the firmware including a first kernel; - a second non-volatile memory that includes an area to store an update program, the update program including a second kernel; and - a control circuit that is adapted to read one of the firmware and the update program during a boot process, to boot the one of the first and the second kernels, and to ensure writing data to the first non-volatile memory by the booted one of the first and the second kernels, wherein, when the first kernel is booted, the control circuit is configured to function as a root file system mounting unit and an application mounting unit, wherein, when the second kernel is booted, the control circuit is configured to operate as an initial file system mounting unit for the first non-volatile memory, a file system mounting unit of the first non-volatile memory, and an update processing unit, wherein, when the firmware cannot be read, the control circuit is adapted to read the update program and to perform the boot process to boot the second kernel, and to write updating data of the firmware to the first non-volatile memory, wherein the updating data is written on the first non-volatile memory by the booted second kernel, the electronic device further comprising: - an external interface that is adapted to connect an external storage medium, the external storage medium storing the updating data, wherein the control circuit is adapted to acquire the updating data from the external storage medium and to write the updating data to the first non-volatile memory, the external storage medium being connected to the external interface, or the electronic device further comprising: - a network interface that is adapted to connect to an external server via a network, the external server storing the updating data, wherein the control circuit is adapted to acquire the Updating data from the external server and to write the updating data to the first non-volatile memory, the external server being connected to the network interface, wherein the update program includes initial file system data of the first non-volatile memory, and wherein the control circuit is adapted to: - mount an initial file system of the first non-volatile memory by the initial file system data of the update program, the update program being read by the booted second kernel; - access to the first non-volatile memory by the initial file system so as to recognize a file system of the first non-volatile memory; and - mount the recognized file system of the first non-volatile memory so as to ensure writing the data to the first non-volatile memory. - a first non-volatile memory that includes an area to store firmware, the firmware including a first kernel; - a second non-volatile memory that includes an area to store an update program, the update program including a second kernel; and - a control circuit that is adapted to read one of the firmware and the update program during a boot process, to boot the one of the first and the second kernels, and to ensure writing data to the first non-volatile memory by the booted one of the first and the second kernels, - an external interface that is adapted to connect an external storage medium, the external storage medium storing the updating data, - a network interface that is adapted to connect to an external server via a network, the external server storing the updating data, - mount an initial file system of the first non-volatile memory by the initial file system data of the update program, the update program being read by the booted second kernel; - access to the first non-volatile memory by the initial file system so as to recognize a file system of the first non-volatile memory; and - mount the recognized file system of the first non-volatile memory so as to ensure writing the data to the first non-volatile memory.