Difference between revisions of "RockpiX/bios/update"
(→Windows) |
RadxaYuntian (Talk | contribs) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 11: | Line 11: | ||
=Requirements= | =Requirements= | ||
* A USB disk | * A USB disk | ||
− | * | + | * Working ROCK Pi X |
− | + | ||
=Prepare= | =Prepare= | ||
Before using the update tool to update, we need to complete the following tasks: | Before using the update tool to update, we need to complete the following tasks: | ||
− | |||
− | |||
− | [[File:Bios_update_in_win10_2.PNG | 600px]] | + | * Download the BIOS Flash Tool. [https://dl.radxa.com/rockpix/tools/BIOS_FLASH_TOOL.zip BIOS_FLASH_TOOL.zip]. |
+ | * Unzip the downloaded Bios Flash Tool to the root directory of the USB drive('''fat32'''). Note: the BIOS Flash Tool already contains a current version of BIOS binary. | ||
+ | * Download the latest BIOS Image from [[rockpiX/downloads | Download]] section. | ||
+ | * Unzip the downloaded BIOS image('''.bin''' file), and copy it to the '''BIOS_FLASH_TOOL''' directory of the USB drive('''fat32'''). | ||
+ | |||
+ | [[File:Bios_update_in_win10_2.PNG | 600px]] | ||
+ | |||
+ | * Edit the script file, '''FLASHWin64.BAT''' for Windows, '''FLASHEFIX64.NSH''' for UEFI Shell, change ''ROCKPI_V12_X64_20200726.bin'' to the BIOS image you downloaded. | ||
+ | |||
+ | |||
+ | : '''FLASHWin64.BAT: ''' | ||
+ | |||
+ | @echo off | ||
+ | if "%~d0"=="" goto DIR_CHANGED | ||
+ | %~d0 | ||
+ | cd %~dp0 | ||
+ | :DIR_CHANGED | ||
+ | AFUWINx64.EXE ROCKPI_V12_X64_20200726.bin /P /B /N /R /shutdown | ||
+ | |||
+ | : '''FLASHEFIX64.NSH: ''' | ||
+ | |||
+ | AFUEFIx64.EFI ROCKPI_V12_X64_20200726.bin /P /B /N /R /shutdown | ||
The following will separately explain how to update the BIOS using the update tool in Windows and UEFI shell. | The following will separately explain how to update the BIOS using the update tool in Windows and UEFI shell. | ||
− | ==Windows== | + | ==Option1: Windows== |
1. Power on ROCK Pi X | 1. Power on ROCK Pi X | ||
− | 2. After entering the system, plug in the U disk, right click to run the update tool with administrator privileges. PATH: '''BIOS_FLASH_TOOL | + | 2. After entering the system, plug in the U disk, right click to run the update tool with administrator privileges. PATH: '''BIOS_FLASH_TOOL\FLASHWin64.BAT''' |
[[File:Bios_update_in_win10_1.PNG | 600px]] | [[File:Bios_update_in_win10_1.PNG | 600px]] | ||
Line 34: | Line 52: | ||
ROCK Pi X will restart automatically after the update is complete. update complete <br/> | ROCK Pi X will restart automatically after the update is complete. update complete <br/> | ||
− | ==UEFI shell== | + | ==Option 2: UEFI shell== |
1. Plugs in the keyboard to ROCK Pi X and power on, keep pressing the del button on the keyboard until it enters the BIOS. | 1. Plugs in the keyboard to ROCK Pi X and power on, keep pressing the del button on the keyboard until it enters the BIOS. | ||
Line 46: | Line 64: | ||
[[File:Uefi_shelll_interface.png | 600px]] | [[File:Uefi_shelll_interface.png | 600px]] | ||
− | 4. When you first enter the UEFI shell interface, it will output the drive letter of the storage device on ROCK Pi X to the uefi shell interface, enter the corresponding drive letter, and you will be able to access | + | 4. When you first enter the UEFI shell interface, it will output the drive letter of the storage device on ROCK Pi X to the uefi shell interface, enter the corresponding drive letter, and you will be able to access the storage device. Now you can try to enter disk alias + colon'''":"''' to change path to disk, such as this "'''fs0:'''" |
− | Note | + | ''Note:'' whenever the command line reaches the bottom, you need to enter '''"cls"''' to clear the screen, otherwise it will be difficult to see the commands you enter in the messy interface. |
Shell> cls | Shell> cls | ||
Line 58: | Line 76: | ||
# The drive letter of my U disk is fs3 | # The drive letter of my U disk is fs3 | ||
− | fs3:\> cd BIOS_FLASH_TOOL | + | fs3:\> cd BIOS_FLASH_TOOL |
− | fs3:\BIOS_FLASH_TOOL | + | fs3:\BIOS_FLASH_TOOL> FLASHEFIX64.NSH |
[[File:Bios_update_interface.png | 600px]] | [[File:Bios_update_interface.png | 600px]] | ||
Line 68: | Line 86: | ||
1. Power on ROCK Pi X, keep pressing the del button on the keyboard until it enters the BIOS. | 1. Power on ROCK Pi X, keep pressing the del button on the keyboard until it enters the BIOS. | ||
+ | |||
2. After entering the BIOS, use the left and right arrow keys to switch to the '''"Main"''' interface. | 2. After entering the BIOS, use the left and right arrow keys to switch to the '''"Main"''' interface. | ||
[[File:Bios_main_interface.png | 600px]] | [[File:Bios_main_interface.png | 600px]] | ||
− | Check the version of '''"Build Data and Time"'''. | + | Check the version of '''"Build Data and Time"'''. |
Latest revision as of 07:11, 22 January 2022
ROCK Pi X > BIOS > Update BIOS
Contents
This page describe how to update the BIOS on ROCK Pi X. First of all, a working BIOS must be flashed to ROCK Pi X's SPI Flash to perform the update. The BIOS update can be done under Windows OS or UEFI shell.
Requirements
- A USB disk
- Working ROCK Pi X
Prepare
Before using the update tool to update, we need to complete the following tasks:
- Download the BIOS Flash Tool. BIOS_FLASH_TOOL.zip.
- Unzip the downloaded Bios Flash Tool to the root directory of the USB drive(fat32). Note: the BIOS Flash Tool already contains a current version of BIOS binary.
- Download the latest BIOS Image from Download section.
- Unzip the downloaded BIOS image(.bin file), and copy it to the BIOS_FLASH_TOOL directory of the USB drive(fat32).
- Edit the script file, FLASHWin64.BAT for Windows, FLASHEFIX64.NSH for UEFI Shell, change ROCKPI_V12_X64_20200726.bin to the BIOS image you downloaded.
- FLASHWin64.BAT:
@echo off if "%~d0"=="" goto DIR_CHANGED %~d0 cd %~dp0 :DIR_CHANGED AFUWINx64.EXE ROCKPI_V12_X64_20200726.bin /P /B /N /R /shutdown
- FLASHEFIX64.NSH:
AFUEFIx64.EFI ROCKPI_V12_X64_20200726.bin /P /B /N /R /shutdown
The following will separately explain how to update the BIOS using the update tool in Windows and UEFI shell.
Option1: Windows
1. Power on ROCK Pi X
2. After entering the system, plug in the U disk, right click to run the update tool with administrator privileges. PATH: BIOS_FLASH_TOOL\FLASHWin64.BAT
ROCK Pi X will restart automatically after the update is complete. update complete
Option 2: UEFI shell
1. Plugs in the keyboard to ROCK Pi X and power on, keep pressing the del button on the keyboard until it enters the BIOS.
2. After entering the BIOS, use the left and right arrow keys to switch to the "Save & Exit" interface, and then use the up and down arrow keys to select UEFI SHELL and hit enter to enter.
3. The interface after entering UEFI SHELL is as follows:
4. When you first enter the UEFI shell interface, it will output the drive letter of the storage device on ROCK Pi X to the uefi shell interface, enter the corresponding drive letter, and you will be able to access the storage device. Now you can try to enter disk alias + colon":" to change path to disk, such as this "fs0:"
Note: whenever the command line reaches the bottom, you need to enter "cls" to clear the screen, otherwise it will be difficult to see the commands you enter in the messy interface.
Shell> cls Shell> fs0: fs0:\> fs0:\> ls
5. After entering the drive letter where the update tool is located, follow below to run the update tool
# The drive letter of my U disk is fs3 fs3:\> cd BIOS_FLASH_TOOL fs3:\BIOS_FLASH_TOOL> FLASHEFIX64.NSH
The device will shutdown after the flashing completes.
Verify BIOS version
1. Power on ROCK Pi X, keep pressing the del button on the keyboard until it enters the BIOS.
2. After entering the BIOS, use the left and right arrow keys to switch to the "Main" interface.
Check the version of "Build Data and Time".