blog.minskio.co.uk

Content and theme behind minskio.co.uk
Log | Files | Refs

upgrading-and-downgrading-skulls.md (2829B)


      1 ---
      2 title: "Upgrading (and Downgrading) Skulls on a Thinkpad laptop"
      3 date: 2020-11-16T22:59:00
      4 lastmod: 2022-06-13T12:14:00
      5 tags: ["Guides", "Hardware", "Linux", "Software"]
      6 ---
      7 
      8 After posting [my previous guide](/flashing-skulls-to-a-thinkpad-x230t/) regarding [Skulls](https://github.com/merge/skulls) I had been running version 0.1.8 on my laptop without issue. Never wanting to leave something good alone though, I decided to endeavor to upgrade the BIOS image to the latest version, because why the hell not.
      9 
     10 The first thing you'll want is to install the two dependencies the script requires.
     11 ```
     12 sudo pacman -S dmidecode flashrom
     13 ```
     14 
     15 Now grab the [latest release](https://github.com/merge/skulls/releases) from the projects Github repository and extract the archive using `tar -xf skulls-x230t-0.0.2.tar.xz`.
     16 
     17 Now, reboot your computer and interrupt grub using your arrow keys before pressing `e` to edit your boot options.
     18 
     19 You want to replace the `quiet` parameter on the `linux` line with `iomem=relaxed` then press F10 to boot with these new options.
     20 
     21 Once booted, navigate back to your extracted skulls directory and run the shell script that will internally flash Skulls:
     22 ```
     23 sudo x230t_skulls.sh
     24 ```
     25 
     26 **Note:** One step I had to do (as I was upgrading from an older *generic* x230 version to a *specific* x230t version) was to skip a compatibility check by altering the `-p internal` parameter to `-p internal:boardmismatch=force`.
     27 
     28 Once completed, you'll now be prompted to shut the computer down. Reboot it and you'll be greeted by the new skulls version. Congratulations!
     29 
     30 ### GRUB
     31 During the upgrade, I decided to use the `free` BIOS ROM image, which has the fortunate quirk of booting at native resolution immediately, which makes GRUB's 640x480 resolution look a bit unusual during switches.
     32 This can easily be amended by editing `/etc/default/grub` and adding the line `GRUB_GFXMODE=1366x768x32`, before running `sudo grub-mkconfig -o /boot/grub/grub.cfg` to apply these changes.
     33 
     34 ### Downgrading
     35 Unfortunately, not was all well with my upgrade. Even thought the process completed without issue I noticed strange issues with the computer and firefox crashing intermittently. I tried flashing the non-free image which gave me the exact same response.
     36 
     37 So with only a few moments hesitation I decided to revert to version 0.1.8 again. The process is mostly the exact same as installation (albeit with a different release), however I did get a strange error while installing relating to `Reading old flash chip contents`. As [mentioned (and fixed) in this issue report](https://github.com/merge/skulls/issues/142#issuecomment-593694005), it can be fixed by simply replacing flashroms' `-p internal` parameter with with `-p internal:boardmismatch=force --force --noverify-all`.
     38 
     39 
     40 * **Edit 2022-06-13:** Typo fix