Fed up with Pureboot

I am tired of fighting Pureboot on my Librem 15v3. Is there a way to flash coreboot? If so, please guide me to directions.

Hi Bronc,
There is an easy script that you can use to flash Coreboot or Pureboot on your laptop. Check out https://forums.puri.sm/t/librem-coreboot-utility-script-usage-discussion-and-help/5487

  • Download coreboot for your device using the Purism coreboot utility script
  • copy file to USB stick
  • reboot, select option to flash/update ROM from Pureboot Options Menu
  • Select USB stick / select file from USB

Thanks. This is exactly what I was looking for.

The coreboot utility script failed. Here’s the log.

flashrom v1.2 on Linux 4.19.0-18-amd64 (x86_64)
flashrom was built with libpci 3.6.4, GCC 9.3.0, little endian
Command line (7 args): /usr/sbin/flashrom -p internal:ich_spi_mode=hwseq -w ./firmware/coreboot-librem_15v3-4.14-Purism-1.rom -V -o ./flashrom-20211030-110940.log
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Initializing internal programmer
/sys/class/mtd/mtd0 does not exist
Found candidate at: 00000500-00000528
Found coreboot table at 0x00000500.
Error accessing high tables, 0x100000 bytes at 0x000000007aace000
/dev/mem mmap failed: Operation not permitted
Failed getting access to coreboot high tables.
Using Internal DMI decoder.
Error accessing DMI Table, 0x1000 bytes at 0x000000007aa98000
/dev/mem mmap failed: Operation not permitted

because

  1. you didn’t follow the steps I outlined
  2. Pureboot by default prevents you from flashing outside of from the Pureboot Menu option specifically for this purpose

I’m not sure I understand. I did not get to the step for the Pureboot menu.

Here’s the commands I entered.
mkdir ~/updates
cd ~/updates
wget https://source.puri.sm/coreboot/utility/raw/master/coreboot_util.sh -O coreboot_util.sh
sudo bash coreboot_util.sh
Enter your choice (1-4) or Q to quit: 1
Enter your choice (default 4): 4
Enter your choice: 1
Enter your choice (default: 1): 1
no change to boot order
Are you sure you want to continue (y/N) ? y

Then this error
Checking for usable version of flashrom
Found built-in flashrom version v1.2

coreboot flashing in progress. Do NOT interrupt this process.

Initializing internal Flash Programmer

Error flashing coreboot – see timestampped flashrom log in current directory for more info

From pureboot to coreboot you need to flash from inside pureboot as described. The other way around is possible with the script, from coreboot to pureboot.

download the fw from the web,

Thanks. I’m now using coreboot!