Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "RockpiX/bios/update"

< RockpiX‎ | bios
(Requirements)
 
(8 intermediate revisions by 3 users not shown)
Line 16: Line 16:
  
 
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:
* Unzip the downloaded Bios Flash Tool to the root directory of the USB drive.
 
* Unzip the downloaded Bios Image, find the '''.bin''' file in the unzipped folder, and copy it to the '''BIOS_FLASH_TOOL\BIOS_TOOL\''' directory of the Bios update tool.
 
  
[[File:Bios_update_in_win10_2.PNG | 600px]] <br/>
+
* 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\BIOS_TOOL\FLASHWin64.BAT'''  
+
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 33: 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 45: 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 the contents of the storage device. Now you can try to enter disk symbol + colon'''":"''' to access disk, like this "'''fs0:'''"  
+
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 that 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.
+
''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 57: 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\BIOS_TOOL
+
     fs3:\> cd BIOS_FLASH_TOOL
     fs3:\BIOS_FLASH_TOOL\BIOS_TOOL> FLASHEFIX64.NSH
+
     fs3:\BIOS_FLASH_TOOL> FLASHEFIX64.NSH
  
 
[[File:Bios_update_interface.png | 600px]]
 
[[File:Bios_update_interface.png | 600px]]
Line 67: 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"'''. <br/>
+
Check the version of '''"Build Data and Time"'''.

Latest revision as of 07:11, 22 January 2022

    ROCK Pi X >  BIOS >  Update BIOS


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).

Bios update in win10 2.PNG

  • 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

Bios update in win10 1.PNG

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.

Bios enter shell.png

3. The interface after entering UEFI SHELL is as follows:

Uefi shelll interface.png

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

Bios update interface.png

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.

Bios main interface.png

Check the version of "Build Data and Time".