Coreboot: Difference between revisions
Phanirithvij (talk | contribs) m fix tutorial link |
Coreboot comes with a nix-shell expression. |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
== Building in nix-shell == | == Building in nix-shell == | ||
Coreboot as of 24.02 comes with a Nix shell expression for x86 at <code>util/nixshell//devshell-i386.nix</code>. | |||
</ | |||
<syntaxHighlight lang=bash> | <syntaxHighlight lang=bash> | ||
Line 50: | Line 17: | ||
git submodule update --init --checkout --depth 1 | git submodule update --init --checkout --depth 1 | ||
du -sh . # ~700 MByte | du -sh . # ~700 MByte | ||
nix-shell --pure util/nixshell/devshell-i386.nix | |||
# configure | # configure | ||
# set mainboard model, chip size, ... | # set mainboard model, chip size, ... | ||
make menuconfig MENUCONFIG_COLOR=blackbg # blackbg = dark mode | make menuconfig MENUCONFIG_COLOR=blackbg # blackbg = dark mode | ||
# build firmware | # build firmware |