📱 Erkannter Endgerättyp ⛱️ Tag und Nacht. Verbraucht keinen oder einen 🍪. 🖼️ Hintergrund ändern. Verbraucht keinen oder einen 🍪.
🧬 0 Ihre DNS in den Krei.se-DNS-Servern, führt zum Bio-Labor 🍪 0 Anzahl Ihrer gespeicherten Kekse, führt zur Keksdose       

🐇 Coreboot Noob

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

Boot-Order ändern:

Just clone Coreboot:

root@core:~# git clone https://review.coreboot.org/coreboot.git

Seabios-logs lesen:

make cbmem:

root@core:~/coreboot/util/cbmem/# make

root@core:~/coreboot/util/cbmem/# ./cbmem -c

CBFS extrahieren und bootorder schreiben

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 ;)