dani-77 7243e98ab9 t440p 1 月之前
..
License 7243e98ab9 t440p 1 月之前
README.md 7243e98ab9 t440p 1 月之前
bootorder.txt 7243e98ab9 t440p 1 月之前
bottom.rom 7243e98ab9 t440p 1 月之前
coreboot.rom 7243e98ab9 t440p 1 月之前
top.rom 7243e98ab9 t440p 1 月之前

README.md

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