Перейти к содержанию

Навигация

Wiren Board 5: Восстановление прошивки/en: различия между версиями

Нет описания правки
(Новая страница: «#Download the file ''wb5_usbfw.sb'' on your computer [https://github.com/contactless/wirenboard/tree/master/contrib/u-boot here]. #Assemble the program Сбо…»)
 
(не показано 13 промежуточных версий этого же участника)
Строка 2: Строка 2:
In Wiren Board 5, the firmware is stored in the EMMC chip soldered on the board. In case of problems with loading the controller  a full flashing may be required, which can be done via Micro USB, booting the controller in USB Mass-Storage Gadget mode using the [[Сборка образа для загрузки в режиме USB Mass-Storage/en#.D0.A1.D0.B1.D0.BE.D1.80.D0.BA.D0.B0_mxsldr|mxsldr]] utility.
In Wiren Board 5, the firmware is stored in the EMMC chip soldered on the board. In case of problems with loading the controller  a full flashing may be required, which can be done via Micro USB, booting the controller in USB Mass-Storage Gadget mode using the [[Сборка образа для загрузки в режиме USB Mass-Storage/en#.D0.A1.D0.B1.D0.BE.D1.80.D0.BA.D0.B0_mxsldr|mxsldr]] utility.


'''Note: this section describes how to completely overwrite the contents of the  Wiren Board Controller internal drive. All user data will be permanently lost. To avoid data loss, see the appropriate [[Пропажа_файлов_при_обновлении_прошивки/en|''storage'']].'''
'''Note: this section describes how to completely overwrite the contents of the  Wiren Board Controller internal drive. All user data will be permanently lost. To avoid data loss, see the appropriate [[Потеря_файлов_при_обновлении_ПО/en|''section'']].'''




Строка 20: Строка 20:
#*(for WB5 version.3) close the FW jumper next to the Micro USB connector;
#*(for WB5 version.3) close the FW jumper next to the Micro USB connector;
#*(for the version of WB5.6+) hold down the small button next to the microUSB connector.
#*(for the version of WB5.6+) hold down the small button next to the microUSB connector.
#Without removing the jumper/releasing the button, connect the power to the controller, wait a few seconds and start on the computer
#Without removing the jumper/hanging the button, connect the power to the controller, wait a few seconds and run <syntaxhighlight lang="bash">$ sudo ./mxsldr /X/XX/wb5_usbfw.sb</syntaxhighlight> Where /X/XX/wb5_usbfw.sb is the path to the downloaded file.
$ sudo ./mxsldr /X/XX/wb5_usbfw.sb
#Where /X/XX/wb5_usbfw.sb is the path to the downloaded file.
#If the image is successfully loaded after a few seconds, the green led will flash and the controller memory will be detected as a drive on the computer.
#If the image is successfully loaded after a few seconds, the green led will flash and the controller memory will be detected as a drive on the computer.
#Then:
#Then:
Строка 37: Строка 35:
#:to find out how the drive is defined in the system.
#:to find out how the drive is defined in the system.
#:'''Attention! If you make a mistake with the definition of the drive name, and in the next paragraph substitute the name corresponding to your other drive, its contents will be lost.'''
#:'''Attention! If you make a mistake with the definition of the drive name, and in the next paragraph substitute the name corresponding to your other drive, its contents will be lost.'''
#To write firmware to the controller, replace in the command below
#To write firmware to the controller, replace the following in the command below
/X/XX/XXXXX_emmc_wb5.img the path to the pre-extracted firmware file,
#*''/X/XX/XXXXX_emmc_wb5.img'' - replace with the path to the pre-extracted firmware file,
/dev/sdX on the name of the partition under which the drive is defined in the system,
#*''/dev/sdX'' - replace with the name of the partition under which the drive is defined in the system,
and run the command
#:and run the command <syntaxhighlight lang="bash">$ sudo dd if=/X/XX/XXXXX_emmc_wb5.img of=/dev/sdX bs=1M conv=fdatasync && sync</syntaxhighlight>
$ sudo dd if=/X/XX/XXXXX_emmc_wb5.img of=/dev/sdX bs=1M conv=fdatasync && sync
#After recording is complete, disconnect the controller from the USB, turn off the controller, and then turn it back on.
After recording is complete, disconnect the controller from the USB, disconnect power from the controller, and then turn it back on.
12 063

правки