Translations:Wiren Board 5: Восстановление прошивки/4/en: различия между версиями
(Новая страница: «#Download the file ''wb5_usbfw.sb'' on your computer [https://github.com/contactless/wirenboard/tree/master/contrib/u-boot here]. #Assemble the program Сбо…») |
|||
(не показано 11 промежуточных версий этого же участника) | |||
Строка 12: | Строка 12: | ||
#*(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/ | #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 | |||
#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: | ||
Строка 29: | Строка 27: | ||
#: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 | #*''/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, |
Текущая версия на 14:44, 11 июня 2019
- Download the file wb5_usbfw.sb on your computer here.
- Assemble the program mxsldr on the computer.
- Download the firmware image to your computer from here (image extension is .img.zip. When downloading, select the option for your version of the board of your Wiren Board controller).
- Extract the .img file from the zip archive.
- Turn off the controller.
- Determine the type of processor module (normal or industrial). To do this, look at the marking of the memory chip on the processor module board:
- Regular version: SanDisk
- Industrial version: 6VA18JW983
- Connect the Micro USB connector of the controller (usually signed as FW) to the USB port of the computer.'0 It is also highly recommended to connect the controller and #Debug USB software to track the firmware process. For the industrial version, a Debug USB connection is strongly required during the firmware process.
- Go to the folder with the compiled mxsldr.
- Then:
- (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.
- Without removing the jumper/hanging the button, connect the power to the controller, wait a few seconds and run Where /X/XX/wb5_usbfw.sb is the path to the downloaded file.
$ sudo ./mxsldr /X/XX/wb5_usbfw.sb
- 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:
- (for the version of WB5.3) remove FW jumper;
- (for the version of WB5.6+), release the button to FW.
- Find out how your system has defined a new drive (such as /dev/sdb). This can be seen in the output
dmesg | tail
- .
- Note:
- If you have an industrial version of the processor module and the output of the command does not match the one shown in the screenshot (there is no device of the "sd*" type), then you need to open the Debug console of the controller and enter the following:
/sbin/modprobe g_mass_storage file=/dev/mmcblk0 iManufacturer="Wiren Board" iProduct="Wiren Board"
- then re-enter the following in the PC terminal
dmesg | tail
- 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.
- To write firmware to the controller, replace the following in the command below
- /X/XX/XXXXX_emmc_wb5.img - replace with the path to the pre-extracted firmware file,
- /dev/sdX - replace with the name of the partition under which the drive is defined in the system,
- and run the command
$ 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.