Difference between revisions of "Bios Update"

From UpWiki
Jump to: navigation, search
(Created page with "== UEFI bios updates == <big><em><span style="color: red; font-weight: bold;">Warning:</span> the contents of this section apply to pre-production versions of the BIOS only. S...")
 
 
(41 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
== Official UEFI bios ==
 +
 +
The Official BIOS releases for the UP SBCs are avaiable here: UP Community Downloads [https://downloads.up-community.org]
 +
 +
 +
== UEFI BIOS History ==
 +
 +
* [[UP Squared BIOS History]]
 +
 
== UEFI bios updates ==
 
== UEFI bios updates ==
<big><em><span style="color: red; font-weight: bold;">Warning:</span> the contents of this section apply to pre-production versions of the BIOS only. Steps to upgrade the production BIOS will be added before any new BIOS release is made available.</em></big>
 
  
=== Downloading the updates ===
 
Updates are available from the [http://www.up-community.org/downloads Downloads section]. For a list of changes in a UEFI BIOS update, refer to the <tt>History.txt</tt> file inside the update zip.
 
  
=== Upgrading the UEFI BIOS ===
+
{{Warning|Updating the bios is a risky operation. Do it only if you're sure about what you're doing!}}
''Note: for the best compatibility, UEFI BIOS upgrades should generally be performed along with OS upgrades. In the case of [[ubilinux]], please make sure to run <code>sudo apt update && sudo apt full-upgrade</code>.''
+
 
 +
''Note: for the best compatibility, UEFI BIOS upgrades should generally be performed along with OS upgrades.'''
 +
 
 +
So be sure to install an OS on the board and to update it before doing the BIOS flashing procedure below.
 +
 
 +
In the case of [[ubilinux]], after installing you can run:
 +
 
 +
sudo apt update && sudo apt full-upgrade
 +
 
 +
=== Material Needed ===
 +
* a PC/ Mac to create thhe usb disk
 +
* an empty USB drive
  
* Decompress the file onto an USB drive.
+
=== Procedure ===
* Power on the board with only this USB drive attached. During boot, hit '''Delete''' to enter the UEFI BIOS menu.
+
* download the appropriate bios update for your board ([https://downloads.up-community.org/|UP Community Downloads])
* Navigate through the following menus:
+
* Put the empty USB pendrive in your pc.
*: <code>CRB Setup > CRB Save & Exit > Launch EFI Shell from filesystem device</code>
+
* Format it to FAT32.
* After entering the shell, you should see output similar to the following:
+
* Decompress the bios zip file into the formatted drive. At the end of those step you should have an usb drive similar to this:
*: [[File:upefishell.png]]
+
[[File:Bios_usb_up2.png|400px]] [[File:Bios_usb_up.png|510px]]
*: Please take note of which filesystem number (<tt>fs*</tt>) your USB drive is mapped to. In this example, it's <tt>fs2</tt>.
+
* Attach the USB disk to the board and a usb keyboard and power it on.
 +
* During boot, hit '''F7''' on the usb keyboard to enter the UEFI BIOS boot menu.
 +
* Navigate through the following menus and select (check also that your usb drive is shown):
 +
** UP Board:   <code>CRB Setup > CRB Save & Exit > Launch EFI Shell from filesystem device</code>
 +
** UP Squared:  <code>UEFI: Built in EFI Shell</code>
 +
[[File:Bios_efi0.png|600px]]
 +
* Press '''Esc''' to enter the shell. After that you should see output similar to the following:
 +
[[File:Bios_efi1.png|600px]]
 +
* Please take note of which filesystem number (<tt>fs*</tt>) your USB drive is mapped to. In this example, it's <tt>fs1</tt>.
 
* Switch to that filesystem by entering it with a leading colon. In this case:
 
* Switch to that filesystem by entering it with a leading colon. In this case:
*: <tt>Shell> </tt><code>fs2:</code>
+
** <code>fs1:</code>
 
* Navigate to the path where you decompressed the update (the cd and ls commands are available here, as if in an Unix shell).
 
* Navigate to the path where you decompressed the update (the cd and ls commands are available here, as if in an Unix shell).
 +
[[File:Bios_efi3.png|600px]]
 
* Run the following command:
 
* Run the following command:
*: <tt>Shell> </tt><code>go_64</code>
+
<code>GO.nsh</code>
*: This is for the 64-bit UEFI setup that the board was distributed with. If you know you're running 32-bit, or want to switch between them, refer to the detailed steps in <tt>Readme.txt</tt>.
 
* After a short while, flashing should complete successfully. You can now restart your board:
 
*: <tt>Shell> </tt><code>reset</code>
 
  
== Engineering BIOS password ==
+
{{Warning|the bios update procedure will take some time to complete: don't interrupt the procedure until the board reboot itself in the operating system}}
To avoid accidentally bricking the board by changing certain advanced BIOS parameters ("CRB" settings), these have been hidden behind an admin password in official BIOS releases.
 
  
<big><em><span style="color: red; font-weight: bold;">Warning:</span> by changing settings in CRB BIOS menus, users risk bricking the board, and ''will not'' be able to claim the warranty in this case.</em></big>
+
* If the utility does not automatically reboot your device, you can restart your board with:
 +
** <code>reset</code>
 +
 
 +
''Note: if after pressing '''F7''' the BIOS ask for a password, simply press '''Enter''' to go to the next screen.
 +
 
 +
''Note: if on the first BIOS Menu or in the UEFI shell your usb drive is not shown probably the usb is corrupted. Please try it again with a new usb drive.
 +
 
 +
=== Engineering BIOS password ===
 +
To avoid accidentally bricking the board by changing certain advanced BIOS parameters ("CRB" settings), these have been hidden behind an admin password.
 +
 
 +
{{Warning|by changing settings in CRB BIOS menus, users risk bricking the board, and ''will not'' be able to claim the warranty in this case.}}
  
 
{| class="mw-collapsible mw-collapsed wikitable"
 
{| class="mw-collapsible mw-collapsed wikitable"
! If you agree to the above, click Expand to see the password:&nbsp;
+
! If you agree to the above, click Expand to see the password:
 
|-
 
|-
 
| <samp>upassw0rd</samp>
 
| <samp>upassw0rd</samp>
 
|}
 
|}
  
== BIOS chip hardware flashing ==
+
=== BIOS chip hardware flashing for UP board ===
If the board is unusable and the regular update procedure can't be applied, the board may be recoverable by directly flashing the BIOS chip. See [[BIOS chip flashing]].
+
If the board is unusable and the regular update procedure can't be applied, the board may be recoverable by directly flashing the BIOS chip with a SPI EEPROM programmer. See [[BIOS chip flashing]] for instruction.
 +
 
 +
=== BIOS chip hardware flashing for UP Squared ===
 +
If the board is unusable and the regular update procedure can't be applied, the board may be recoverable by directly flashing the BIOS chip with a SPI EEPROM programmer. See [[BIOS chip flashing on UP Squared]] for instruction.
 +
 
 +
[[Category:Bios]]
 +
 
 +
== Open Source UEFI bios ==
 +
 
 +
Intel made available the Open Source UEFI BIOS with support for UP2.
 +
You can find more information and all the necessary instructions from this link: [https://firmware.intel.com/projects/IntelAtomProcessorE3900|Open Source Firmware UP2]
  
[[Category:Firmware]]
+
Coreboot added support for UP Squared, more information can be found from this link: [https://doc.coreboot.org/mainboard/up/squared/index.html|Coreboot on UP Squared]

Latest revision as of 12:34, 5 March 2020

Official UEFI bios

The Official BIOS releases for the UP SBCs are avaiable here: UP Community Downloads [1]


UEFI BIOS History

UEFI bios updates

Warning Warning: Updating the bios is a risky operation. Do it only if you're sure about what you're doing!

Note: for the best compatibility, UEFI BIOS upgrades should generally be performed along with OS upgrades.'

So be sure to install an OS on the board and to update it before doing the BIOS flashing procedure below.

In the case of ubilinux, after installing you can run:

sudo apt update && sudo apt full-upgrade

Material Needed

  • a PC/ Mac to create thhe usb disk
  • an empty USB drive

Procedure

  • download the appropriate bios update for your board (Community Downloads)
  • Put the empty USB pendrive in your pc.
  • Format it to FAT32.
  • Decompress the bios zip file into the formatted drive. At the end of those step you should have an usb drive similar to this:

Bios usb up2.png Bios usb up.png

  • Attach the USB disk to the board and a usb keyboard and power it on.
  • During boot, hit F7 on the usb keyboard to enter the UEFI BIOS boot menu.
  • Navigate through the following menus and select (check also that your usb drive is shown):
    • UP Board: CRB Setup > CRB Save & Exit > Launch EFI Shell from filesystem device
    • UP Squared: UEFI: Built in EFI Shell

Bios efi0.png

  • Press Esc to enter the shell. After that you should see output similar to the following:

Bios efi1.png

  • Please take note of which filesystem number (fs*) your USB drive is mapped to. In this example, it's fs1.
  • Switch to that filesystem by entering it with a leading colon. In this case:
    • fs1:
  • Navigate to the path where you decompressed the update (the cd and ls commands are available here, as if in an Unix shell).

Bios efi3.png

  • Run the following command:

GO.nsh

Warning Warning: the bios update procedure will take some time to complete: don't interrupt the procedure until the board reboot itself in the operating system
  • If the utility does not automatically reboot your device, you can restart your board with:
    • reset

Note: if after pressing F7 the BIOS ask for a password, simply press Enter to go to the next screen.

Note: if on the first BIOS Menu or in the UEFI shell your usb drive is not shown probably the usb is corrupted. Please try it again with a new usb drive.

Engineering BIOS password

To avoid accidentally bricking the board by changing certain advanced BIOS parameters ("CRB" settings), these have been hidden behind an admin password.

Warning Warning: by changing settings in CRB BIOS menus, users risk bricking the board, and will not be able to claim the warranty in this case.
If you agree to the above, click Expand to see the password:
upassw0rd

BIOS chip hardware flashing for UP board

If the board is unusable and the regular update procedure can't be applied, the board may be recoverable by directly flashing the BIOS chip with a SPI EEPROM programmer. See BIOS chip flashing for instruction.

BIOS chip hardware flashing for UP Squared

If the board is unusable and the regular update procedure can't be applied, the board may be recoverable by directly flashing the BIOS chip with a SPI EEPROM programmer. See BIOS chip flashing on UP Squared for instruction.

Open Source UEFI bios

Intel made available the Open Source UEFI BIOS with support for UP2. You can find more information and all the necessary instructions from this link: Source Firmware UP2

Coreboot added support for UP Squared, more information can be found from this link: on UP Squared