UP Squared Pro 7000 Edge Board

The UP 7000 ADLN50 board (UP Squared Pro 7000 Edge) is an x86 maker board based on Intel platform Alder Lake-N. The UP boards are used in IoT, industrial automation, digital signage areas, etc.

Prerequisites

SBL supports UP Squared Pro 7000 Edge maker board. To start developing SBL, the following equipment, software and environments are required:

Board Setup

|UPX7000| Board Setup

Before You Start

Warning

As you plan to reprogram the SPI flash, it’s a good idea to backup the pre-installed BIOS image first.

Boot the board and enter BIOS setup menu to get familiar with the board features and settings.

Early boot serial debug console can be reached via UART1 located on CN14 header on the UP Squared Pro 7000 Edge board. Make sure you can observe serial output message running the factory BIOS first.

Note

To make your own UART debug adapter by direct wiring, refer to CN14 Header Pinout for UART1:

Pin

Signal

8

GND

9

UART_RX

10

UART_TX

Building

UP Squared Pro 7000 Edge board is based on Intel ADL-N. To build:

python BuildLoader.py build adln50

The output images are generated under Outputs directory.

Stitching

Stitch SBL images with factory BIOS image using the stitch tool:

python Platform/AlderlakeBoardPkg/Script/StitchLoader.py -i <BIOS_IMAGE_NAME> -s Outputs/adln50/SlimBootloader.bin -o <SBL_IFWI_IMAGE_NAME> -p 0xAA000106

<BIOS_IMAGE>     : Input file. Factory BIOS extracted from UP Squared Pro 7000 Edge board.
<SBL_IFWI_IMAGE> : Output file. New IFWI image with SBL in BIOS region.
-p <value>       : 4-byte platform data for platform ID (e.g. 04) and debug UART port index (e.g. 01).

Note

StitchLoader.py script works only if Boot Guard in the base image is not enabled, and the silicon is not fused with Boot Guard enabled. If Boot Guard is enabled, please use StitchIfwi.py script instead.

See Stitch Tool on how to stitch the IFWI image with SBL.

Slimbootloader binary for capsule

Creating Slimbootloader binary for capsule image requires the following steps:

Build SBL for UP Squared Pro 7000 Edge:

python BuildLoader.py build adln50

Run stitching process as described above to create a SBL IFWI binary sbl_up7000adln50_ifwi.bin:

python Platform/AlderlakeBoardPkg/Script/StitchLoader.py -i <BIOS_IMAGE_NAME> -s Outputs/adln50/SlimBootloader.bin -o sbl_up7000adln50_ifwi.bin -p 0xAA000106

Extract bios.bin from SBL IFWI image:

python BootloaderCorePkg/Tools/IfwiUtility.py extract -i sbl_up7000adln50_ifwi.bin -p IFWI/BIOS -o bios.bin

Generate capsule update image FwuImage.bin:

python BootloaderCorePkg/Tools/GenCapsuleFirmware.py -p BIOS bios.bin -k KEY_ID_FIRMWAREUPDATE_RSA3072 -o FwuImage.bin

For more details on generating capsule image, please refer Generating capsule.

Triggering Firmware Update

Please refer to Firmware Update on how to trigger firmware update flow. Below is an example:

To trigger firmware update in SBL shell:

  1. Copy FwuImage.bin into root directory on FAT partition of a USB key

  2. Boot and press any key to enter SBL shell

  3. Type command fwupdate from shell

    Observe SBL resets the platform and performs update flow. It resets multiple times to complete the update process.

Flashing

Flash the IFWI image to UP Squared Pro 7000 Edge board using a SPI programmer. Header CN18 on the board should be used, see instructions for additional details.

Good Luck!