Debian Tools flashprog:
root@core:~# apt install git build-essential
apt install pkg-config pciutils libpci-dev libusb-1.0-0-dev libjaylink-dev libgpiod-dev libftdi1-dev
root@core:~# git clone https://review.sourcearcade.org/flashprog.git
root@core:~# cd flashprog
root@core:~/flashprog# make
root@core:~/flashprog# ./flashprog -p internal -r ~/original.img
Just clone Coreboot:
root@core:~# git clone https://review.coreboot.org/coreboot.git
make cbmem:
root@core:~/coreboot/util/cbmem/# make
root@core:~/coreboot/util/cbmem/# ./cbmem -c
make cbfstool:
root@core:~/coreboot/util/cbfstool/# make
root@core:~/coreboot/util/cbfstool/# ./cbfstool ~/original.img extract -f ~/bootorder -n bootorder
SATA im Optiplex 3050 ist: /pci@i0cf8/*@17/drive@0/disk@0
root@core:~# cat bootorder
/pci@i0cf8/*@17/drive@0/disk@0
/rom@img/grub2
Wieder ins Image einbauen:
# alte löschen
root@core:~/coreboot/util/cbfstool/# ./cbfstool ~/original.rom remove -n bootorder
root@core:~/coreboot/util/cbfstool/# ./cbfstool ~/original.rom add -f ~/bootorder -n bootorder -t raw
Sehen Sie, war doch ganz einfach ;)