Commit Graph

116 Commits

Author SHA1 Message Date
Julien Viard de Galbert
fb21e254c8 Use utk nvram-compact and invalidate
So building with UTK also cleanup the NVRAM on winterfell

Signed-off-by: Julien Viard de Galbert <julien.viard-de-galbert@itrenew.com>
2020-02-07 15:44:53 +01:00
Julien Viard de Galbert
4e32a2c2c8 Move udk dxe list to the board (winterfell only)
Signed-off-by: Julien Viard de Galbert <julien.viard-de-galbert@itrenew.com>
2020-02-07 15:44:53 +01:00
Julien Viard de Galbert
f5dfd39ac7 Allow to use utk.
Based on branch 'ganshun/use-utk' with the following changes

Makefile:
 - Added missing ./dxe/linuxboot.ffs while resolving conflict.
 - Copying utk from $GOPATH
 - Make utk optional

Signed-off-by: Julien Viard de Galbert <julien.viard-de-galbert@itrenew.com>
2020-02-07 15:44:39 +01:00
Trammell Hudson
bcfb36dccf
rule to build the LinuxBoot DXE module 2018-08-09 07:40:25 -04:00
Chris K
56baa19e20
Merge pull request #22 from osresearch/fix/parallel-extract-firmware
Fix/parallel extract firmware
2018-05-01 16:22:29 -07:00
Trammell hudson
d58ee956de
fix extract-firmware during a parallel make (issue #14) 2018-04-30 15:27:43 -04:00
Trammell hudson
8b07817be0
filter out the extract.intermediate argument (issue #14) 2018-04-30 15:26:58 -04:00
Trammell hudson
e9f8d0c85f
disable repack since it breaks most platforms 2018-04-10 15:15:53 -04:00
Trammell hudson
a1fd2f72da
repack LZMA compressed files so that they are uncompressed 2018-04-10 15:14:04 -04:00
Trammell hudson
60cff7d961
ensure that all of the extracted files depend on the extract target (issue #9) 2018-03-16 10:43:29 -04:00
Trammell hudson
060af5df98
unsilence the move so that we see it happen in the log 2018-03-16 10:37:31 -04:00
Trammell hudson
1d55804d4c
use the vendor ROM file to determine the proper size of the image 2018-01-30 10:51:21 -05:00
Trammell hudson
6526e1ee80
separate UEFI makefile for the GUIDs and targets 2018-01-27 15:59:56 -05:00
Trammell hudson
c5e1805cea
qemu and s2600wf roms build the right size now 2018-01-26 22:05:46 -05:00
Trammell hudson
315bb0ac95
reconstruct qemu ROMs 2018-01-26 17:08:20 -05:00
Trammell hudson
eb0e90d671
config target to write current paremeters into .config file 2018-01-26 11:08:04 -05:00
Trammell hudson
04dc257adb
Removed all the of the Heads vestiges, streamlined firmware build.
Merged Makefile.nerf and Makfile
Renamed the blobs/ directory to boards/
Removed all modules and patches
Removed Heads' initrd/
2018-01-25 18:23:51 -05:00
Trammell hudson
91eb18a115
Use the git hash as an identifier and quiet down the dd command 2018-01-24 15:45:36 -05:00
Trammell hudson
32887e9786
move dev.cpio into blobs 2018-01-21 10:07:33 -05:00
Trammell hudson
d9bbda3cc6
remove dep on musl-cross, select external cross compiler 2018-01-21 07:25:32 -05:00
Trammell hudson
07f7653999
move tools into bin/ directory 2018-01-19 14:17:26 -05:00
Trammell hudson
517d242da5
allow .vol targets to be passed through 2017-12-04 15:29:00 -05:00
Trammell hudson
c954ec1947
Fix default target for NERF and edk2 dependency (issue #284) 2017-11-20 17:28:35 -05:00
Trammell hudson
12cea9a8e9
make coreboot an optional dependency (issue #265) 2017-09-22 16:17:05 -04:00
Trammell hudson
03d21da268
generate 512-byte padded xz files 2017-09-22 15:09:57 -04:00
Trammell hudson
796ea2870a
build appears to produce a NERFed r630 firmware image 2017-09-20 18:24:54 -04:00
Trammell hudson
8194f2f477
allow extra options to git via the repo variable 2017-09-20 14:25:19 -04:00
Trammell Hudson
fcc99eca93
include version number in verify target (issue #228) 2017-07-18 14:03:43 -04:00
Francis Lam
7f6f365afe
Reverted submodule name back to xen 2017-06-26 13:07:48 -04:00
Francis Lam
c2ec62bfcd
Changed xen submodule to track Qubes Xen
Closes #159
2017-06-23 23:01:20 -04:00
Trammell Hudson
a71f84c08f
cbmem was not being built 2017-04-12 11:54:11 -04:00
Trammell Hudson
fa8c3abe98
put board configuration file into /etc/config 2017-04-12 06:52:35 -04:00
Trammell Hudson
4e88d5d59c
typo in gnupg, remove the install directory on a real.clean 2017-04-09 01:38:22 -04:00
Trammell Hudson
a2b0ef878e
add real.clean target and fix DAG for parallel top-level makes (issue #175) 2017-04-08 17:46:54 -04:00
Trammell Hudson
8c3b5877a3
add bootstrap target to build cross compilers (issue #162) 2017-04-08 15:19:26 -04:00
Trammell Hudson
07eb5e9717
Define $(CROSS_TOOLS) to ensure reproducible builds (issue #173)
Each of the submodule configuration files defined a subset of the
cross compiler tools that it used and many were picking up the
system `ar`, `nm`, `strip, `ld`, etc.  They all now use a `Makefile`
macro that defines the path to the proper cross compiler tools.

For ones that need the tools, but not the musl-libc gcc,
there is $(CROSS_TOOLS_NOCC) that is all of them without gcc.
This is for musl-libc itself, as well as xen and the Linux kernel.
2017-04-08 13:23:34 -04:00
Trammell Hudson
75117c0e5b
reconfigure submodules if their config files ever change (issue #172) 2017-04-07 10:34:57 -04:00
Trammell Hudson
5a0f3dc10b
use -9 instead of --extreme for reproducibility (issue #171) 2017-04-07 10:05:30 -04:00
Trammell Hudson
300b17fa25
add dropbear ssh to qubes and moc configurations (issue #169) 2017-04-07 09:53:02 -04:00
Trammell Hudson
727e2fbc56
report sha256 of stages as they are built 2017-04-06 16:06:52 -04:00
Trammell Hudson
192e122719
scale the max load by the number of CPUs (issue #131) 2017-04-06 10:50:43 -04:00
Trammell Hudson
0019d8031c
make %.rom generic 2017-04-05 14:12:44 -04:00
Trammell Hudson
85a77cf5de
build xen for installation into x230-qubes ROM (issue #84) 2017-04-03 17:09:22 -04:00
Trammell Hudson
d335f24292
split x230 config into 4MB bootstrap image and 7MB runtime image (issue #156) 2017-04-03 14:53:29 -04:00
Trammell Hudson
93a0d7eee2
support clean targets 2017-03-31 18:13:50 -04:00
Trammell Hudson
27e35f6ef7
cleanup initrd tmpfile and reduce recursive make calls 2017-03-31 13:28:20 -04:00
Trammell Hudson
9322dbef2d
use default qemu config, parameterize bin_modules 2017-03-31 12:06:59 -04:00
Trammell Hudson
c40748aa25
Build time configuration for startup scripts and modules.
This addresses multiple issues:

* Issue #63: initrd is build fresh each time, so tracked files do not matter.
* Issue #144: build time configuration
* Issue #123: allows us to customize the startup experience
* Issue #122: manual start-xen will go away
* Issue #25: tpmtotp PCRs are updated after reading the secret
* Issue #16: insmod now meaures modules
2017-03-31 11:18:46 -04:00
Trammell Hudson
d8ab8ecfe8
Rebuild sub-modules on each build (issue #143).
The .INTERMEDIATE target seemed to causing the problem with
make thinking it didn't have to descend into the sub-module
directories.  Removing it allows it to work correctly.
2017-03-30 18:39:18 -04:00
Trammell Hudson
8343130e9a
Merge branch 'moc' - kernel modules, flashrom and other enhancements. 2017-03-30 17:32:47 -04:00