| Age | Commit message (Collapse) | Author |
|
no vga rom. you must insert the vga rom manually after building
this.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
don't use it on vgarom or textmode
it's assumed that on vgarom mode, which we have
only ever used once anyway, it'll boot in text mode.
"normal" is allowed, because that's on systems with
only a graphics card, where presumably a gop rom
would be present.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
whoops
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
defconfigs suck
yes, CONFIG_ARCH unknown, says coreboot
i could manually tweak it, or... i can use
the automation in coreboot's build system,
and libreboot's enlightened policy not to
use hacky defconfigs.
this fixes the build.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
accidentally added a bunch of useless crap
i manually edited this diff by hand, because i can
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
thank you Ron Nazarov for adding this board to coreboot.
thank you Nicholas Chin for assisting Ron with this port.
NOTE:
pcie hotplug disabled on pcie x4 and m2 slot. i added this
patch myself because ron neglected to. it's necessary for
stability in linux when using nvme ssds, otherwise devices
will rename. i don't need to actually confirm whether it
also happens on this board, because turn off hotplug doesn't
really affect the user anyway, so there's no harm turning
this off.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
we already do this at runtime from lbmk, but this
actually removes it from grub.
grub already disables werror on gnulib
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
we don't need the actual C utility called
bios_extract. we use the dell inspiron extractor
script from it, which is written in python and
can be executed in-place.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
NOTE; don't need to patch xgcc, because coreboot
passes --disable-werror already, on all versions
of coreboot.
this patch should now make builds more reliable,
reducing the chance that newer linux distros and
toolchains will break lbmk in the future.
(testing needed on archlinux as always)
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
new rev:
81ec9ec0bcf45df11fb7f98339ec9036b546fca0
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Updated to coreboot revision:
8ce4c91c41da3f042979f92095149a85bc93227d
Up to date as of 18 September 2026.
crossgcc tarballs updated (subfiles), and their versions:
* update to acpica 20251212
* update to binutils 2.46.1
* update to gcc 15.2.0
* update to mpc 1.4.1
* update to nasm 3.02
submodules updated (git repos), and their new revisions:
* arm-trusted-firmware b5eaba47efc5e4e3029086d5c25eee0e8dbb0129
* fsp 98426bfd958eb7397c474ff5d440dc9a1d146215
* intel-microcode 927e65c8d5a6e4ec05cc74b1778283ab2284d0c1
* libgfxinit 6e74c703132a8b4af4354a5158f286dc8f2407ab
* libhwbase 61f7287f18b249408a79bf9ab5e72568965cca2c
* vboot 5c360ef458b0a013d8a6d47724bb0fffb5accbcf
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
default/memtest86plus is invalid
memtest86plus/default is correct
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
now the 3040 micro vendor download works
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
for some reason, --whitelist wouldn't work anymore
with my copy of me_cleaner. -w is officially supported.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
this solves all remaining problems. defscan is set
reliably now, and real builds are done. configless
builds are skipped, but mkhelpers are still executed.
lbmk should hopefully be stable now. at the very
least, it won't escape your work directory now.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
right now, the base dir for configs isn't being
initialised properly, leading to traversal of
the user's / directory
whoops indeed. fixed now.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
4.11_branch is now completely gone. kfsn4-dre is using it.
if it doesn't build, i'll just set kfs to release=n. that
board never worked properly anyway and isn't officially
supported by 15h.org either.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
otherwise, the recent fix to coreboot builds breaks
seabios builds.
lbmk should be stable now.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
this implements the previous reverted fix, but
only for coreboot.
it's done tree-wide, but individual projects must
handle it in their mkhelpers, via if_not_skip_build
if_not_skip_build *does* universally control whether
make is executed, but not make-clean.
now we can do:
./mk -b coreboot default
this will effectively do the same thing as -d,
because no config is available there. otherwise,
we try to do -b with a config, where none exists.
if noconfig is set, then we ignore this, because
no config will ever be used.
when noconfig isn't set, it is assumed that we must
always have a config for building.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
this introduced too many bugs. i have a better way.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
aka "Mike's coreboot"
libreboot recently improved its multi-tree design to
allow specifying git repository links per-tree instead
of just per-project. this means i can now use the 15h
fork quite easily, on fam15h boards. this fork uses
AMD's AGESA source code instead of raptor engineering's
code. the modified AGESA code is compatible with a lot
more memory modules, and can support higher amounts of
memory. it's generally more reliable.
the only submodule they changed was the blobs one,
but the only commits they add are things i don't
need. they add commits that violate copyright, e.g.
distributing AST2500 VGA ROM without permission.
thus, i do not use their blobs repo. i use the
upstream coreboot one, which has what we need.
since i don't use the VGA ROM in libreboot, it's
fine. therefore, the submodule config is currently
the same as the old 4.11 tree.
they were missing two of my build fixes. they have
added some of their own as well.
note that there are two boards for kgpe-d16 and d8
here: the raptor one, and the agesa one. we are using
the agesa one.
kfnsn4-dre still uses the old tree.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
otherwise, -d coreboot default dosen't work for
example, which prevents building coreboot utils.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
this is where i put it before. it only needs
to be here.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
i'm going to add the 15h.org fork and name it
fam15h
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
This reverts commit 8c50373d5977d630626b14719977dc51a3ae2bdf.
|
|
this removes stale .config files in coreboot src
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
only do if config=y. this reintroduces a hack that
i accidentally removed in the recent redesign.
grub has been changed to noconfig=y, and the files
for memdisk are now source from config/data/grub
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
otherwise, fetching won't work!
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
don't execute mkhelpers either
skip is fetched. this means that if a given
target says release=n, the corresponding source
won't be downloaded. if no targets specify that
source, then none will be.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
|
|
|
|
|
|
|
|
otherwise, dry builds are conducted, which pollutes
src tarballs.
this was a regression introduced by the recent
multi-tree-only design change. this should hopefully
be the only regression.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
we currently distinguish, by virtue of logic, multi-
and single-tree projects. this introduces a lot of
complexity, so the following patch has removed this
distinction. all single-tree projects are now multi
tree, but with only one tree.
other design changes:
config/git removed. rev/tree now handled with mkhelper
and target configs. this allows per-tree remote handling,
so we could (for example) add the mrchromebox coreboot
fork easily, for specific chromebook models.
config/project is now config/module/project. this
cleans up the main config/ directory.
cfgname variable: .config no longer hardcoded when
doing configs in projects. it is configurable with
this variable. if unset, the previous .cfg is used
noconfig variable: set this in target/mkhelper
configs, and config/module/project/tree/config/ is
unused; instead, make is called without config copying.
a "noconfig" placeholder is used. this enables cleaner
usage of previously single-tree projects in the new
multi-tree-only structure.
cfgvars: variables reinitialised in project config are
cleaned more reliably. in particular, several variables
e.g. autogenargs were not being reset between projects,
although the autogenargs variable is currently unused.
general cleanup has been conducted across the build
system, as part of this redesign. several parts of the
build system more over-engineered as a result of the
previous design, and the new design enabled a severe
reduction in sloccount (75 lines reduced in lbmk).
yes, this change *adds features* but there are fewer
lines of code than before. this is the best kind of
change. way better than the 3-line-diff. yes.
rev= and tree= are set more centrally in configs. the
mkhelper config can be used to set url/url_bkup, but
individual trees can override them.
configs have been cleaned up, with several variables
now much more heavily centralised. config/git/ was
used before to first download the bare repository, and
then the real clone was made with patches. this allows
git repositories to be cached for future re-builds.
with config/git/ gone, the download logic for projects
is more centrally implemented. a separate call to ./mk -f
is no longer performed, and in fact ./mk -f never needs
to be used anymore as a result. ./mk -f now is basically
the same thing as -b, just without any action performed.
this change will allow rapid expansion of the libreboot
project. i want to add hundreds of chromebooks to the
project, using mrchromebox, but the previous design did
not permit this. this change means that i can easily have
unlimited upstreams per project. coreboot will, in some
follow-up changes, have the following upstreams:
coreboot/default: coreboot.org
coreboot/fam15h: 15h.org fork
coreboot/chromebook: mrchromebox fork
this can now be done freely without massive changes to
the build system. under the previous design, i worked on
a now-abandoned patch to do N remotes per project, reading
repo links from a file. this meant that i'd have coreboot.org
first (main and backup), then mrchromebox. this meant that
lbmk would failover through to mrchromebox, wasting time
for the user.
this new design is much cleaner, and will enable the
project to be maintained much more easily.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
if_build / empty mode are a given here, since this
is a premake function which only executes if
the mode string is empty and/or if_build is empty
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|