Our dear oswaldkelso has reported that the T520 (and possibly other models) have a BIOS hardware whitelist. Flashing an official BIOS on a system where a hardware whitelist has been removed, may reintroduce it and disable previously working hardware.
viewtopic.php?p=677247#p677247
Steps:
1. Download the file
2. Make a USB-stick
3. Flash the BIOS
Why update the BIOS?
* New versions will usually fix bugs and sometimes add new features.
Why NOT update the BIOS?
* If it works, you may want to leave it alone because of a certain risk. Check the change log to see if it's actually an update you need.
I have tested this procedure successfully on the two computers in my signature, both running Bullseye. Newer ThinkPads have an easier procedure, like seen here: https://www.youtube.com/watch?v=KvC8bNJTvDU
Step 1: Download the BIOS update
The files are available from https://pcsupport.lenovo.com/us/en/
I found the correct file for my X240 here: https://pcsupport.lenovo.com/lt/lt/prod ... s/ds035950
Then download the iso, for instance
Code: Select all
$ wget https://download.lenovo.com/pccbbs/mobiles/giuj36us.iso
MD5: a912761215af245e8e323b32701c69cb
Code: Select all
$ md5sum giuj36us.iso
a912761215af245e8e323b32701c69cb
Step 2: Flashing the USB stick
We'll use genisoimage and dd to make the USB-stick.
Install genisoimage if you haven't got it already
Code: Select all
# apt install genisoimage
Code: Select all
$ geteltorito -o bios-update.img giuj36us.iso
Insert the USB stick and type (as root)
Code: Select all
# blkid
Look for something that is typical for a USB stick, for instance vfat /dev/sdb1: SEC_TYPE="msdos" UUID="5866-7CBB" BLOCK_SIZE="512" TYPE="vfat"
You can also type
Code: Select all
$ dmesg | more
We can here see that /dev/sdb without a doubt is our device.[ 3448.601528] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 3448.601983] scsi host3: usb-storage 1-2:1.0
[ 3448.602074] usbcore: registered new interface driver usb-storage
[ 3448.604737] usbcore: registered new interface driver uas
[ 3449.612784] scsi 3:0:0:0: Direct-Access VendorCo ProductCode 2.00 PQ: 0 ANSI: 4
[ 3449.613295] sd 3:0:0:0: Attached scsi generic sg1 type 0
[ 3449.613519] sd 3:0:0:0: [sdb] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
[ 3449.613686] sd 3:0:0:0: [sdb] Write Protect is off
[ 3449.613692] sd 3:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 3449.613838] sd 3:0:0:0: [sdb] No Caching mode page found
[ 3449.613847] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 3449.640185] sdb: sdb1
[ 3449.641508] sd 3:0:0:0: [sdb] Attached SCSI removable disk
Typing the wrong device will overwrite ALL data on that device WITHOUT WARNING. Be very careful.
Finish the USB stick, for instance (replace /dev/sdb):
Code: Select all
# dd if=bios-update.img of=/dev/sdb bs=64K
Step 3: Flashing the BIOS
In order to flash your BIOS, you need to have AC power plugged in.
Press the F12 key when the computer is rebooting and select the USB stick as primary boot device.
If you can't make it boot, enter the BIOS with the F1 key. Navigate with your arrow keys to "Startup" and make sure that both UEFI and Legacy Boot are enabled with "Legacy first". You can also manually set the boot device priority there. Then save and exit with F10.
Then just follow the instructions on your screen.
Changes:
14.10.22: Added -o parameter to geteltorito-command.
16.10.22: Added info about hardware whitelist.