README.md 891 B

t440p

My T440p Coreboot rom

Based on https://blog.0xcb.dev/lenovo-t440p-coreboot/

Read it for further instructions.

for 1st time install

Read 2 times bottom chip
$ sudo flashrom -p ch341a_spi -r 1_8mb.rom
$ sudo flashrom -p ch341a_spi -r 2_8mb.rom

and compare them

$ diff 1_8mb.rom 2_8mb.rom
Read 2 times top chip
$ sudo flashrom -p ch341a_spi -r 1_4mb.rom
$ sudo flashrom -p ch341a_spi -r 2_4mb.rom

and compare them

$ diff 1_4mb.rom 2_4mb.rom
Flash the chips
$ sudo flashrom -p ch341a_spi -w bottom.rom
$ sudo flashrom -p ch341a_spi -w top.rom

Already with Coreboot

Enable linux mode "iomem=relaxed" in your grub, when booting or editing /etc/default/grub.

Then flash internally

$ sudo flashrom -p internal -w coreboot.rom