PureBoot Update Troubleshooting

Thank you so much for reading my post.
As always, I recognize that I am still learning many things about Linux and greatly appreciate any guidance.

Description:
I am having some issues utilizing the PureBoot tool to update my Librem 11.

Log

################################################
##       Purism Librem coreboot Utility         
################################################
#    Device: Librem 11
#    Serial: <serial number>
#  Firmware: PureBoot (coreboot+Heads)
#   Version: Release 28.1 
#  ** Update Available: PureBoot Release 29 **
################################################
#  
#  1) Update firmware using precompiled image
#  2) Build firmware update from source
#  
################################################
  
Enter your choice (1-2) or Q to quit: 2

Which Librem device do you have?

# Broadwell/5th-Gen
1 - Librem 13 v1
2 - Librem 15 v2
# Skylake/6th-Gen
3 - Librem 13 v2/v3
4 - Librem 15 v3
# Kaby Lake/7th-Gen
5 - Librem 13 v4
6 - Librem 15 v4
# Whiskey Lake/8th-Gen
7 - Librem Mini
# Coffee Lake/9th-Gen
8 - Librem L1UM v2
# Comet Lake/10th-Gen
9 - Librem Mini v2
10 - Librem 14
# Jasper Lake/Atom
11 - Librem 11

Detected device: Librem 11

Enter your choice (default 11): 

Set the device serial number:

1 - Extracted from your local system (<serial number>)
2 - Enter serial number manually
3 - Do not set a serial number

Enter your choice (default: 1): 

Adjust the default order in which devices will attempt booting.
Selecting an item will move it to the top of the list.
Press [Enter] to continue when done.

1 - NVMe SSD
2 - 2.5" SATA SSD/HDD
3 - External/USB drives

** Note: regardless of the default order set here, you can always
** select a different boot device by pressing 'ESC' at boot time.

Enter your choice: 

Checking out/updating coreboot repo...




Ready to build coreboot - this will take some time depending on your connection
speed and CPU/RAM, especially if the toolchain needs to be built.

Builds on Librem 11 may take up to 45 minutes if the toolchain must be built.
Make sure a power source is connected.

Press [Enter] to continue 
Please configure your name and email in git:

 git config --global user.name "Your Name Comes Here"
 git config --global user.email your.email@example.com
make: *** [Makefile.inc:751: gitconfig] Error 1
Package libcrypto was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcrypto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libcrypto', required by 'virtual:world', not found
Makefile:28: *** "Ensure that pkg-config is installed.".  Stop.
Package libcrypto was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcrypto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libcrypto', required by 'virtual:world', not found
Makefile:28: *** "Ensure that pkg-config is installed.".  Stop.
Updating git submodules.
Package libcrypto was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcrypto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libcrypto', required by 'virtual:world', not found
util/amdfwtool/Makefile.inc:14: *** "Ensure that pkg-config is installed.".  Stop.

Error building coreboot

bash failed with exit status 1.
usr@tablet:~/updates$ sudo apt install pkg-config 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
pkg-config is already the newest version (1.8.1-1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
usr@tablet:~/updates$

OS: Debian
Device: Librem 11

1 Like

Choose option 1 at the beginning of the script.

Yep, choose:

  1. Action: 1 - Update firmware using precompiled image
  2. Firmware type: 2 - PureBoot (coreboot/Heads)
  3. Device: just press Enter for default - Librem 11

That will download the PureBoot update file for you, a zip file. Place that on a flash drive, and reboot to PureBoot with the flash drive plugged in.

  1. After the PureBoot logo appears and it says it will boot automatically, press a key such as Spacebar to enter the menu
  2. Select Options > Flash/Update the BIOS > Flash the firmware with a new ROM, retain settings > Yes
  3. If you are prompted to select a disk/partition, select it (usually there is no prompt for a single flash drive with one partition)
  4. Select the ZIP file that was downloaded
  5. Select Yes to confirm the ROM
  6. Wait for the flash to complete, then select OK to reboot
  7. Wait 60 seconds for memory training to complete (the screen may still display the output from PureBoot shutting down, this is normal)
1 Like

Added this to the wiki as well: https://source.puri.sm/librem-11/l11-community-wiki/-/wikis/Firmware/Update-PureBoot

2 Likes