Bios Update

From UpWiki
(Redirected from Firmware)
Jump to: navigation, search

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 (UP Board / UP Squared)
  • 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:
    • UP Board: go_64.nsh
    • UP Squared: 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.