Coreboot: Difference between revisions

imported>Milahu
+ CPUS=$(nproc)
imported>Milahu
+ qemu: test the new image
Line 9: Line 9:
du -sh . # 700 MByte
du -sh . # 700 MByte


nix-shell -p ncurses bison flex clang gnat10 gnatboot zlib acpica-tools pkgconfig
nix-shell -p ncurses bison flex clang gnat10 gnatboot zlib acpica-tools pkgconfig qemu
NIX_LDFLAGS="$NIX_LDFLAGS -lncurses" make menuconfig
NIX_LDFLAGS="$NIX_LDFLAGS -lncurses" make menuconfig
make crossgcc CPUS=$(nproc)
make crossgcc CPUS=$(nproc)
make
make
qemu-system-x86_64 -bios build/coreboot.rom -serial stdio
</syntaxHighlight>
</syntaxHighlight>


Line 36: Line 38:


* https://www.coreboot.org/Build_HOWTO
* https://www.coreboot.org/Build_HOWTO
* https://www.coreboot.org/Lesson1
* flashing the new bios image
** https://doc.coreboot.org/flash_tutorial/
** https://libreboot.org/docs/install/spi.html