Same here: 15 v3 updated to 4.8.1. All good. Thank you, @kakaroto and Purism.
Hey kakaroto and all,
The link provided works however after clicking download, I get a ‘termporary error, retrying’ message.
https://mega.nz/#!TZUGyKBI!5rITrOXUUBXaThpWfwxc_Hks-UI64eKi7O_336Vn4og
Not sure if I’m clicking wrong… once downloaded everything should run smoothly as no other errors in the script. Thanks for the work here, kakaroto.
EDIT: My fault; I was running a few addons in purebrowser that were really screwing with purebrowser performance. there is no issue with the mega link. lol fake news
Looks like I’m having trouble with get_and_patch_me_11 () at line 226 on a 13v2. (“Couldn’t automatically determine the direct link URL to download ME from.”) It suggests downloading the files from the mega.nz repository manually. Having done that, the path is:
~/building-coreboot/coreboot/me_11_repository.rar/Intel CSME 11.0 Firmware Repository Pack r51/11.0.18.1002_CON_LP_C0_NPDM_PRD_RGN.bin
Yet the line 226 error still triggers. Any ideas as to what I’m missing?
As background, I’m using the script at: https://source.puri.sm/coreboot/coreboot-files/raw/master/build_coreboot.sh, although I’ve also tried https://source.puri.sm/coreboot/coreboot-files.git as well as downloading direct from a link mladen sent via email. Same error regardless of the source.
@worker: You’re saying “the path is” and you give me a path to an me bin file, maybe that’s the misundestanding, the script expects the rar file to be me_11_repository.rar not for the rar file to be extracted in a directory named me_11_repository.rar
the file needs to be renamed to ‘me_11_repository.rar’ and left in the ‘coreboot’ folder.
I mistakenly threw the downloaded rar file into coreboot without renaming it and I ended up with an error at 226 as well.
This link appears to be dead. Mega reports that “the link is invalid, the file has been deleted, or removed for violation”.
@okennedy Believe that the ME 11.0 repository pack is now on release 52 (as of 8/8). It’s available at:
https://mega.nz/#!DNdDVQ7I!hronBMVN8m82JciiT6UQwtwh-LVlHXIo-NzTB0324rk
The forum that @kakaroto was using for the ME repository packs should be here, which should allow you to verify the release number.
That said, I’m not sure whether the build script needs an update to support r52.
Hi all, please bear with me, I scrolled through most of the comments but I don’t think anyone is quite as behind as I am (in several senses, unfortunately)!
I have the 13 inch, i7 version 3.26.2, which I received last January. I had ordered the coreboot script and what not on a stick but because the team was out of sticks I was refunded and invited to this very forum post. Thank you for your hard work on it.
My problem seems to precede building any kind of coreboot from source, which I have dabbled with a bit but which goes no where not least because of what was outlined in the original post (pasted below). Additionally, I am stuck dealing with what seems to be a proper terminal issue, which seems the logical starting point for me. I’m using the Tilix application as my terminal and when I paste the following command there (which I put in bold so as to show you that such is all I paste) and follow the conjoined instructions
You should first install some of the dependencies needed to build coreboot, with this command:
apt install git build-essential bison flex m4 zlib1g-dev gnat libpci-dev libusb-dev libusb-1.0-0-dev dmidecode bsdiff
the error returned in said application is E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
If I type yes, the letter y is repeated ad infinitum. If I do not say yes but no, then nothing happens.
If that is the error you are seeing, you should instead run
sudo apt install git build-essential bison flex m4 zlib1g-dev gnat libpci-dev libusb-dev libusb-1.0-0-dev dmidecode bsdiff
that is, add sudo
to the front. Without sudo
, you are not actually running as root. Alternatively you can use su
to first login as root, and then run all the comands without sudo
Thank you very much, Taylor-williamc, that is very nice of you and I am happy it is so simple. Fingers crossed, trying it now.
Ok so it did work, but there was one setback:
After this operation, 375 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 https://repo.puri.sm/pureos green/main amd64 libsigsegv2 amd64 2.11-1
_ 404 Not Found_
Get:2 https://repo.puri.sm/pureos green/main amd64 m4 amd64 1.4.18-1 [202 kB]
Err:3 https://repo.puri.sm/pureos green/main amd64 flex amd64 2.6.1-1.3
_ 404 Not Found_
Err:4 https://repo.puri.sm/pureos green/main amd64 ada-reference-manual-2012 all 1:2012.3-1
_ 404 Not Found_
Get:5 https://repo.puri.sm/pureos green/main amd64 libbison-dev amd64 2:3.0.4.dfsg-1+b1 [433 kB]
Get:6 https://repo.puri.sm/pureos green/main amd64 bison amd64 2:3.0.4.dfsg-1+b1 [786 kB]
Err:7 https://repo.puri.sm/pureos green/main amd64 bsdiff amd64 4.3-20
_ 404 Not Found_
Err:8 https://repo.puri.sm/pureos green/main amd64 libstdc+±7-dev amd64 7.2.0-14
_ 404 Not Found_
Err:9 https://repo.puri.sm/pureos green/main amd64 g+±7 amd64 7.2.0-14
_ 404 Not Found_
Err:10 https://repo.puri.sm/pureos green/main amd64 g++ amd64 4:7.2.0-1d1
_ 404 Not Found_
Err:11 https://repo.puri.sm/pureos green/main amd64 libdpkg-perl all 1.19.0.4
_ 404 Not Found_
Err:12 https://repo.puri.sm/pureos green/main amd64 patch amd64 2.7.5-1+b2
_ 404 Not Found_
Err:13 https://repo.puri.sm/pureos green/main amd64 dpkg-dev all 1.19.0.4
_ 404 Not Found_
Err:14 https://repo.puri.sm/pureos green/main amd64 build-essential amd64 12.4
_ 404 Not Found_
Err:15 https://repo.puri.sm/pureos green/main amd64 cpp-6 amd64 6.4.0-11
_ 404 Not Found_
Err:16 https://repo.puri.sm/pureos green/main amd64 libfakeroot amd64 1.22-2
_ 404 Not Found_
Err:17 https://repo.puri.sm/pureos green/main amd64 fakeroot amd64 1.22-2
_ 404 Not Found_
Err:18 https://repo.puri.sm/pureos green/main amd64 libasan3 amd64 6.4.0-11
_ 404 Not Found_
Err:19 https://repo.puri.sm/pureos green/main amd64 libgcc-6-dev amd64 6.4.0-11
_ 404 Not Found_
Err:20 https://repo.puri.sm/pureos green/main amd64 gcc-6 amd64 6.4.0-11
_ 404 Not Found_
Err:21 https://repo.puri.sm/pureos green/main amd64 gdb-minimal amd64 7.12-6+b1
_ 404 Not Found_
Err:22 https://repo.puri.sm/pureos green/main amd64 liberror-perl all 0.17025-1
_ 404 Not Found_
Err:23 https://repo.puri.sm/pureos green/main amd64 git-man all 1:2.15.1-3
_ 404 Not Found_
Err:24 https://repo.puri.sm/pureos green/main amd64 git amd64 1:2.15.1-3
_ 404 Not Found_
Err:25 https://repo.puri.sm/pureos green/main amd64 libgnat-6 amd64 6.4.0-11
_ 404 Not Found_
Err:26 https://repo.puri.sm/pureos green/main amd64 libgnatvsn6 amd64 6.4.0-11
_ 404 Not Found_
Err:27 https://repo.puri.sm/pureos green/main amd64 libgnatprj6 amd64 6.4.0-11
_ 404 Not Found_
Err:28 https://repo.puri.sm/pureos green/main amd64 gnat-6 amd64 6.4.0-11
_ 404 Not Found_
Err:29 https://repo.puri.sm/pureos green/main amd64 gnat all 6.1
_ 404 Not Found_
Get:30 https://repo.puri.sm/pureos green/main amd64 libjs-prototype all 1.7.1-3 [44.3 kB]
Get:31 https://repo.puri.sm/pureos green/main amd64 libjs-scriptaculous all 1.9.0-2 [129 kB]
Err:32 https://repo.puri.sm/pureos green/main amd64 gnat-gps-common all 6.1.1-1
_ 404 Not Found_
Err:33 https://repo.puri.sm/pureos green/main amd64 libgnatcoll1.7 amd64 1.7gpl2015-2+b3
_ 404 Not Found_
Err:34 https://repo.puri.sm/pureos green/main amd64 libgnatcoll-python1.7 amd64 1.7gpl2015-2+b3
_ 404 Not Found_
Err:35 https://repo.puri.sm/pureos green/main amd64 libgtkada3.8.3 amd64 3.8.3-1+b3
_ 404 Not Found_
Err:36 https://repo.puri.sm/pureos green/main amd64 libgnatcoll-gtk1.7 amd64 1.7gpl2015-2+b3
_ 404 Not Found_
Err:37 https://repo.puri.sm/pureos green/main amd64 libgnatcoll-iconv1.7 amd64 1.7gpl2015-2+b3
_ 404 Not Found_
Err:38 https://repo.puri.sm/pureos green/main amd64 libgnatcoll-sqlite1.7 amd64 1.7gpl2015-2+b3
_ 404 Not Found_
Err:39 https://repo.puri.sm/pureos green/main amd64 libxmlada-unicode4.5.2015 amd64 4.5.2015-8+b2
_ 404 Not Found_
Err:40 https://repo.puri.sm/pureos green/main amd64 libxmlada-input-sources4.5.2015 amd64 4.5.2015-8+b2
_ 404 Not Found_
Err:41 https://repo.puri.sm/pureos green/main amd64 libxmlada-sax4.5.2015 amd64 4.5.2015-8+b2
_ 404 Not Found_
Err:42 https://repo.puri.sm/pureos green/main amd64 libxmlada-dom4.5.2015 amd64 4.5.2015-8+b2
_ 404 Not Found_
Err:43 https://repo.puri.sm/pureos green/main amd64 libtemplates-parser11.10.1 amd64 11.10-4
_ 404 Not Found_
Err:44 https://repo.puri.sm/pureos green/main amd64 libxmlada-schema4.5.2015 amd64 4.5.2015-8+b2
_ 404 Not Found_
Err:45 https://repo.puri.sm/pureos green/main amd64 gprbuild amd64 2015-6
_ 404 Not Found_
Err:46 https://repo.puri.sm/pureos green/main amd64 libgnatcoll-readline1.7 amd64 1.7gpl2015-2+b3
_ 404 Not Found_
Err:47 https://repo.puri.sm/pureos green/main amd64 libgnatcoll-sqlite-bin amd64 1.7gpl2015-2+b3
_ 404 Not Found_
Err:48 https://repo.puri.sm/pureos green/main amd64 gnat-gps amd64 6.1.1-1
_ 404 Not Found_
Get:49 https://repo.puri.sm/pureos green/main amd64 libjs-underscore all 1.8.3~dfsg-1 [63.8 kB]
Err:50 https://repo.puri.sm/pureos green/main amd64 libjs-sphinxdoc all 1.6.5-2
_ 404 Not Found_
Err:51 https://repo.puri.sm/pureos green/main amd64 gnat-gps-doc all 6.1.1-1
_ 404 Not Found_
Get:52 https://repo.puri.sm/pureos green/main amd64 libalgorithm-diff-perl all 1.19.03-1 [48.7 kB]
Err:53 https://repo.puri.sm/pureos green/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4+b4
_ 404 Not Found_
Get:54 https://repo.puri.sm/pureos green/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB]
Get:55 https://repo.puri.sm/pureos green/main amd64 libfile-fcntllock-perl amd64 0.22-3+b4 [35.4 kB]
Err:56 https://repo.puri.sm/pureos green/main amd64 libfl-dev amd64 2.6.1-1.3
_ 404 Not Found_
Err:57 https://repo.puri.sm/pureos green/main amd64 zlib1g-dev amd64 1:1.2.8.dfsg-5
_ 404 Not Found_
Err:58 https://repo.puri.sm/pureos green/main amd64 libudev-dev amd64 236-1
_ 404 Not Found_
Get:59 https://repo.puri.sm/pureos green/main amd64 libpci-dev amd64 1:3.5.2-1 [76.9 kB]
Err:60 https://repo.puri.sm/pureos green/main amd64 libusb-1.0-0-dev amd64 2:1.0.21-2
_ 404 Not Found_
Err:61 https://repo.puri.sm/pureos green/main amd64 libusb-1.0-doc all 2:1.0.21-2
_ 404 Not Found_
Err:62 https://repo.puri.sm/pureos green/main amd64 libusb-dev amd64 2:0.1.12-31
_ 404 Not Found_
Err:63 https://repo.puri.sm/pureos green/main amd64 python-parso all 0.1.1-1
_ 404 Not Found_
Err:64 https://repo.puri.sm/pureos green/main amd64 python-jedi all 0.11.1-1
_ 404 Not Found_
Err:65 https://repo.puri.sm/pureos green/main amd64 python-pkg-resources all 38.2.4-1
_ 404 Not Found_
Get:66 https://repo.puri.sm/pureos green/main amd64 python-pep8 all 1.7.1-1 [39.0 kB]
Err:67 https://repo.puri.sm/pureos green/main amd64 libgnatcoll-doc all 1.7gpl2015-2
_ 404 Not Found_
Fetched 1,870 kB in 2s (924 kB/s)
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libs/libsigsegv/libsigsegv2_2.11-1_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/f/flex/flex_2.6.1-1.3_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/a/ada-reference-manual/ada-reference-manual-2012_2012.3-1_all.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/b/bsdiff/bsdiff_4.3-20_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gcc-7/libstdc++-7-dev_7.2.0-14_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gcc-7/g++-7_7.2.0-14_amd64.deb 404 Not Found
_E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gcc-defaults/g++7.2.0-1d1_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/d/dpkg/libdpkg-perl_1.19.0.4_all.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/p/patch/patch_2.7.5-1+b2_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/d/dpkg/dpkg-dev_1.19.0.4_all.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/b/build-essential/build-essential_12.4_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gcc-6/cpp-6_6.4.0-11_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/f/fakeroot/libfakeroot_1.22-2_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/f/fakeroot/fakeroot_1.22-2_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gcc-6/libasan3_6.4.0-11_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gcc-6/libgcc-6-dev_6.4.0-11_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gcc-6/gcc-6_6.4.0-11_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gdb/gdb-minimal_7.12-6+b1_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libe/liberror-perl/liberror-perl_0.17025-1_all.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/git/git-man_2.15.1-3_all.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/git/git_2.15.1-3_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gcc-6/libgnat-6_6.4.0-11_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gcc-6/libgnatvsn6_6.4.0-11_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gcc-6/libgnatprj6_6.4.0-11_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gcc-6/gnat-6_6.4.0-11_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gnat/gnat_6.1_all.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gnat-gps/gnat-gps-common_6.1.1-1_all.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libg/libgnatcoll/libgnatcoll1.7_1.7gpl2015-2+b3_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libg/libgnatcoll/libgnatcoll-python1.7_1.7gpl2015-2+b3_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libg/libgtkada/libgtkada3.8.3_3.8.3-1+b3_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libg/libgnatcoll/libgnatcoll-gtk1.7_1.7gpl2015-2+b3_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libg/libgnatcoll/libgnatcoll-iconv1.7_1.7gpl2015-2+b3_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libg/libgnatcoll/libgnatcoll-sqlite1.7_1.7gpl2015-2+b3_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libx/libxmlada/libxmlada-unicode4.5.2015_4.5.2015-8+b2_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libx/libxmlada/libxmlada-input-sources4.5.2015_4.5.2015-8+b2_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libx/libxmlada/libxmlada-sax4.5.2015_4.5.2015-8+b2_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libx/libxmlada/libxmlada-dom4.5.2015_4.5.2015-8+b2_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libt/libtemplates-parser/libtemplates-parser11.10.1_11.10-4_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libx/libxmlada/libxmlada-schema4.5.2015_4.5.2015-8+b2_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gprbuild/gprbuild_2015-6_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libg/libgnatcoll/libgnatcoll-readline1.7_1.7gpl2015-2+b3_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libg/libgnatcoll/libgnatcoll-sqlite-bin_1.7gpl2015-2+b3_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gnat-gps/gnat-gps_6.1.1-1_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/s/sphinx/libjs-sphinxdoc_1.6.5-2_all.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gnat-gps/gnat-gps-doc_6.1.1-1_all.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/liba/libalgorithm-diff-xs-perl/libalgorithm-diff-xs-perl_0.04-4+b4_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/f/flex/libfl-dev_2.6.1-1.3_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/z/zlib/zlib1g-dev_1.2.8.dfsg-5_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/s/systemd/libudev-dev_236-1_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libu/libusb-1.0/libusb-1.0-0-dev_1.0.21-2_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libu/libusb-1.0/libusb-1.0-doc_1.0.21-2_all.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libu/libusb/libusb-dev_0.1.12-31_amd64.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/p/parso/python-parso_0.1.1-1_all.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/p/python-jedi/python-jedi_0.11.1-1_all.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/p/python-setuptools/python-pkg-resources_38.2.4-1_all.deb 404 Not Found
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/libg/libgnatcoll/libgnatcoll-doc_1.7gpl2015-2_all.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
priv@de^:~$ y
Could not find the database of available applications, run update-command-not-found as root to fix this
When I follow the instructions by typing in sudo update-command-not-found etc, nothing happens. I also tried to log in with su by typing in su login but then it asks me for my password and for some reason doesn’t work.
Try sudo apt update
first, then rerun the sudo apt install
command you tried before
Thank you! It worked!
At the end it shows about ten “possible missing firmware” warnings. I’ll paste them here in case I lose the terminal window after leaving.
WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.
W: Possible missing firmware /lib/firmware/i915/bxt_dmc_ver1_07.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_dmc_ver1_26.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_guc_ver6_1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_huc_ver02_00_1810.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_07_1398.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_huc_ver01_07_1398.bin for module i915
Processing triggers for libc-bin (2.27-5) …
I’m going to try to built the coreboot script now. Thank you very kindly for your help. As you can see I never used Dos or any other terminal really. I’d like to learn how but I don’t know where to start. Could I ask you for any recommendations on where to start in learning some essential coding language or script so that the terminal doesn’t seem so impenetrable?
Maybe different terminals are like phonetic alphabets where different “regions” have different alphabets and so unless you learn each phonetic alphabet, it does little good to try to figure how to pronounce something from some new language? Sign language would be another good analogy maybe. Maybe terminals might not be the word I’m looking for but I imagine the commands and what not change depending on whether one is using a Mac or PC or Linux, etc?
Ok, I attempted to build the coreboot script by dragging it into the terminal and it seems to have worked, however in the end it exited with the following ten or so syntax errors:
Enter your choice (default: 1): ine" = “2” ]; then
cp coreboot-files/configs/config.librem15v2 .config
cp coreboot-files/bootorder-l15v2.txt bootorder.tprivate@debian:~/coreboot$ REBOOT_FILENAME=“coreboot-l13v1.rom”
private@debian:~/coreboot$ COREBOOT_BIOS_SHA="$L13V1_COREBOOT_BIOS_SHA"
private@debian:~/coreboot$ COREBOOT_TAG="$L13V1_COREBOOT_VERSION"
private@debian:~/coreboot$ SKL=0
private@debian:~/coreboot$ BDL_VGA_PCI_ID=“8086,1616”
private@debian:~/coreboot$ elif [ “$machine” = “2” ]; then
bash: syntax error near unexpected token elif' private@debian:~/coreboot$ MACHINE_NAME="Librem 15 v2" private@debian:~/coreboot$ BLOB_DIR="3rdparty/blobs/mainboard/purism/librem_bdw" private@debian:~/coreboot$ COREBOOT_FILENAME="coreboot-l15v2.rom" private@debian:~/coreboot$ COREBOOT_BIOS_SHA="$L15V2_COREBOOT_BIOS_SHA" private@debian:~/coreboot$ COREBOOT_TAG="$L15V2_COREBOOT_VERSION" private@debian:~/coreboot$ SKL=0 private@debian:~/coreboot$ BDL_VGA_PCI_ID="8086,162b" private@debian:~/coreboot$ elif [ "$machine" = "3" ]; then bash: syntax error near unexpected token
elif’
private@debian:~/coreboot$ MACHINE_NAME=“Librem 13 v2”
private@debian:~/coreboot$ BLOB_DIR=“3rdparty/blobs/mainboard/purism/librem_skl”
private@debian:~/coreboot$ COREBOOT_FILENAME=“coreboot-l13v2.rom”
private@debian:~/coreboot$ COREBOOT_BIOS_SHA="$L13V2_COREBOOT_BIOS_SHA"
private@debian:~/coreboot$ COREBOOT_TAG="$L13V2_COREBOOT_VERSION"
private@debian:~/coreboot$ SKL=1
private@debian:~/coreboot$ elif [ “$machine” = “4” ]; then
bash: syntax error near unexpected token elif' private@debian:~/coreboot$ MACHINE_NAME="Librem 15 v3" private@debian:~/coreboot$ BLOB_DIR="3rdparty/blobs/mainboard/purism/librem_skl" private@debian:~/coreboot$ COREBOOT_FILENAME="coreboot-l15v3.rom" private@debian:~/coreboot$ COREBOOT_BIOS_SHA="$L15V3_COREBOOT_BIOS_SHA" private@debian:~/coreboot$ COREBOOT_TAG="$L15V3_COREBOOT_VERSION" private@debian:~/coreboot$ SKL=1 private@debian:~/coreboot$ elif [ "$machine" = "5" ]; then bash: syntax error near unexpected token
elif’
private@debian:~/coreboot$ MACHINE_NAME=“Librem 13 v3”
private@debian:~/coreboot$ BLOB_DIR=“3rdparty/blobs/mainboard/purism/librem_skl”
private@debian:~/coreboot$ COREBOOT_FILENAME=“coreboot-l13v3.rom”
private@debian:~/coreboot$ COREBOOT_BIOS_SHA="$L13V3_COREBOOT_BIOS_SHA"
private@debian:~/coreboot$ COREBOOT_TAG="$L13V3_COREBOOT_VERSION"
private@debian:~/coreboot$ SKL=1
private@debian:~/coreboot$ else
bash: syntax error near unexpected token `else’
private@debian:~/coreboot$ echo “Unexpected error. Unknown choice”
Unexpected error. Unknown choice
private@debian:~/coreboot$ exit 1
logout
private@debian:~$ ^C
private@debian:~$
I think the firmware messages are expected. As for your second post with syntax errors, I’m don’t know if that’s expected or not. I would guess those mean it didn’t work, but I haven’t actually tried running the coreboot script before.
As for getting more familiar with the terminal, you could give this a quick read:
Great, thank you again for your help, Taylor. Hopefully someone else will see my request for verification and lend a hand. I’ll look into your reference, that’s nice of you. All the best!
Hi, Kakaroto, sorry to bother you but could I please trouble you to have a look at my brief conversation with Taylor, I’m fairly certain you’ll be able to help me with this. I really have no idea whatsoever whether either worked, although I assume the first one did. Thank you in advance!
Hi @OntheMain, I’ve followed the thread (Thanks @taylor-williamc for the help you provided), and I’m not sure how or why you see those errors, but that’s definitely not how it’s supposed to go. I think the error here is that you drag and dropped the file into the terminal, which I think makes it basically “paste” all of its content into the terminal, which is definitely not what you want to do.
What you need to do is to run the script. Basically from the terminal, you would :
sudo /path/to/build_coreboot.sh
So, if you have the file on your desktop for example, you would do :
sudo ~/Desktop/build_coreboot.sh
Alternatively, you can use the following command to both download and run the script in a single step :
wget -O - https://source.puri.sm/coreboot/coreboot-files/raw/master/build_coreboot.sh | bash
However, as I’ve seen from your recent comments, you do not seem to be an advanced Linux user, and doing this, while relatively safe, is not really meant for new linux users to attempt, so I would suggest you simply don’t update coreboot (unless you are having issues with your system due to a known bug in a previous version of coreboot and you need to update to make it work properly for you, such as the overheating issue we had a few months back, or you need VT-d support and your coreboot version didn’t have it).