| 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>
|
|
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>
|
|
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>
|
|
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>
|
|
i'm going to add the 15h.org fork and name it
fam15h
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>
|
|
|
|
|
|
|
|
|
|
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>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
the user never runs these. it's not needed. the design
of lbmk already cleans everything, or caches everything,
between builds. everything cached out of tree.
it's not expected to ever need to clean manually, so just
remove the option. knobs are for nobs.
releases don't need it either, because we tar everything
before building, thus eliminating all build artifacts.
we do this on a fresh copy of lbmk on ./mk release
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
libreboot's policy is to thoroughly clean sources per
build, because we cache builds out of tree and avoid
re-builds if they exist; these and the sources are
deleted if metadata in config/ changes per project,
tree and/or target.
the problem is that this change only affects lbmk.git
it doesn't affect release archives, where project sources
do not have git-init applied to them. this will be
addressed.
can't use it on coreboot, because it will delete xgcc
tarballs in a way currently not handled, and handling
it will mean adding a project-specific hack.
the xgcc tarballs could be built out-of-tree, and this
will have to be done, otherwise coreboot will have to be
made gitclean="y" for now.
everything else is fair game.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
yes, make it generalised. use a new variable in
mkhelper.cfg, gitclean and gitcleanargs
not enabled by default, but u-boot enables it. i'm
considering whether to use this by default, as it
is the general policy of lbmk to clean everything
just after a build, as builds are cached out of
tree. this way, we can do re-builds safely for each
project. there are probably a lot of subtle bugs that
might be fixed if we used this
the problem is that this is currently only used on
lbmk.git, but not on libreboot release archives which
lack .git directories; the main one is initialised in
lbmk, but not in upstream sources. we could just initialise
those.
in fact, that is probably what i'm going to do.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
mk is so tiny now, and will likely never get
bigger. tree.sh is effectively the main script
now, so let's treat it as such.
i'll start splitting tree.sh instead. e.g.
move gcc setup to its own file.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
it currently boot loops like on some kabylake machines
really buggy codebase. i should just rip off the band-aid
and add edk2 already.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
see patch. just some gcc chicanery. nothing to see here.
move along now. yes.
Signed-off-by: Leah Rowe <leah@libreboot.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lentrey/lbmk:master into master
Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/443
|