Commit Graph

588 Commits

Author SHA1 Message Date
ab460645a3 allow $(packages) to be set in Make enviroment (#338) 2018-03-08 01:16:28 -05:00
6443442912 restore /etc/motd 2018-03-08 01:14:41 -05:00
091ae92b6f Merge branch 'KGPE-D16_port_NoTPM' of https://github.com/tlaurion/heads 2018-03-08 01:13:16 -05:00
b2868cf3cf Merge branch 'export-quote-walkaround' of https://github.com/persmule/heads 2018-03-08 01:07:58 -05:00
b94c88cb59 Merge branch 'master' of https://github.com/burk3/heads 2018-03-08 01:00:31 -05:00
31dd1f4b62 kexec-boot patch so that xen can be booted from bootdir and referred xen.gz and not internal flash xen.gz 2018-03-08 00:58:50 -05:00
b79d518f8d x220 board and coreboot config fixes
x220 board config references correct x230 linux config path.
x220 coreboot config references proper bzImage and initrd path.
2018-03-06 00:21:19 -08:00
d9808f6659 build the superiotool, which requires a hack on the pciutils lib/types.h file 2018-03-02 09:37:31 -05:00
4e758b8bfb Walkaround envvars passed through make(1) when generating etc/config
"export" statements included or declared in a Makefile proves literally
(with no escape) passed to the shell, which may result in shell envvars
containing literal double quote if SHELL is set as bash, and they further
becomes statements containing `\"` when printed with command export.

This behavior could be observed by the makefile inlined at the end.

This commit adds a regexp to sed to remove those `\"`.

export QUOTE="QUOTE"
SHELL := /bin/bash
.SHELLFLAGS := -o pipefail -c
export-quote:
        export|grep QUOTE
2018-03-01 15:36:54 +08:00
77d2fc9eb4 reverted remote configuration from board config, which will be pushed by flammit 2018-03-01 02:08:24 -05:00
1c1a1a215d reverting changes that were not merged from other branches 2018-03-01 01:53:37 -05:00
9eadb07280 Merging to osresearch master 2018-03-01 01:37:36 -05:00
0f299fe4be IKVM4 and alike SMB support into coreboot from here: https://review.coreboot.org/#/c/coreboot/+/19820/. Flashing scripts and flashrom patches. 2018-03-01 00:49:53 -05:00
23ae788c6f Board, linux and coreboot configs 2018-03-01 00:40:46 -05:00
149635ef95 Merge branch 'kylerankin-add_gui_init' 2018-02-28 15:06:41 -05:00
f9a12a270a Merge branch 'add_gui_init' of https://github.com/kylerankin/heads into kylerankin-add_gui_init 2018-02-28 15:06:06 -05:00
4f5432bb46 generate /etc/config from exported configuration variables 2018-02-28 14:57:46 -05:00
ef4576e881 Enable NVMe option for winterfell 2018-02-28 14:06:53 -05:00
a84ea7b9de Merge branch 'tpm-optional' of https://github.com/persmule/heads 2018-02-28 13:33:01 -05:00
4566801420 switch to an 8 MB flash part for qemu writable flash support 2018-02-28 12:06:42 -05:00
a4f121b838 make uroot optional 2018-02-28 11:12:02 -05:00
495e88f175 correct flashtools repo url 2018-02-28 10:53:18 -05:00
f618f09a69 Generate a fake EBDA with kexec, removing the need for a custom xen (#227)
This modifies the segment at 0x0 so that it contains enough of a fake
Extended BIOS Data Area at addresses 0x40e and 0x413 that Xen can
correctly locate its trampoline code.

Since custom Xen is no longer required, we can remove the module,
the patches and all of the references to it in the board definition
files.
2018-02-28 10:48:35 -05:00
2facd55e44 flashtool can write to the winterfell ROM 2018-02-28 02:46:14 -05:00
7283a5397a Merge branch 'add_whiptail' of https://github.com/kylerankin/heads 2018-02-26 16:33:34 -05:00
ff9925a6d4 remove ancient default CONFIG variable 2018-02-26 16:32:42 -05:00
1b8ac07a58 Fix bad slang modules file
The modules file had a few errors that prevented slang from being built.
First the src/elfobjs file needed to be created before make started.
Second it needed to be configured without external png, pcre and onig
libraries it doesn't need for this application.
2018-02-26 13:28:11 -08:00
e4106c6969 Merge branch 'clean_up_init' of https://github.com/kylerankin/heads 2018-02-26 13:15:34 -05:00
d145af2878 Merge branch 'add_measured_boot_to_librem13v2_coreboot' of https://github.com/kylerankin/heads 2018-02-26 13:14:28 -05:00
9f19cd9dc3 Merge branch 'smm-walkaround' of https://github.com/persmule/heads 2018-02-26 13:13:42 -05:00
082a4e28ee Merge branch 'companion-controller' of https://github.com/persmule/heads 2018-02-26 11:43:14 -05:00
657693f791 Merge branch 'fix_cpio_in_Makefile' of https://github.com/kylerankin/heads 2018-02-26 11:42:13 -05:00
e88700d0d9 add inteltool build instructions (not included by default) 2018-02-26 11:42:07 -05:00
79d121d072 Merge branch 'master' of ssh://github.com/osresearch/heads 2018-02-26 11:40:38 -05:00
b4bb4edb73 fix dependency for bzImage, allowing make -jN to work (#306) 2018-02-26 11:40:04 -05:00
8ced05de15 musl-cross has the correct URLs now (#324) 2018-02-26 11:39:27 -05:00
e9312e19bf Cleanup of init to support server and desktop
Guarded linuxboot specific init entries
Removed Makefile entries into separate file (conflicts with srcing /etc/config)
Added CONFIG_BOOT_LOCAL/_REMOTE to control interface setup
Fixed CONFIG_TPM usage
2018-02-25 11:51:19 -08:00
b5072390ee Make TPM dependency optional and controlled by flag CONFIG_TPM
if "CONFIG_TPM=y" is not present in the config file, functionalities
needing TPM could be disabled, while leaving other functionalities intact.

This will make Heads a more general-usage bootloader payload atop coreboot.
2018-02-24 14:46:33 -08:00
ffa857d087 update mpc url for musl-cross patch 2018-02-24 14:45:55 -08:00
3211ce71a7 Merge pull request #1 from persmule/clean_up_init
fix the broken if syntax
2018-02-24 07:16:49 -08:00
dadfbeb3b3 Changed to coreboot patch not to call prog_segment_loaded in smm. 2018-02-24 15:27:21 +08:00
43ba7a777d fix the broken if syntax 2018-02-24 14:49:10 +08:00
5f03be56e5 Add CONFIG_MEASURED_BOOT=y to librem13v2 coreboot config 2018-02-23 15:03:18 -08:00
fbbfc8e22f Replace remaining text-only options in main workflow w/ gui menus
In particular I added a GUI menu to instruct the user if there is no
TOTP code registered (as is the case upon first flash) and also added
better handling of the case the user selects 'default boot' when there
is no default boot set yet. Apart from that where there were text-only
menus left in gui-init I've replaced them with GUI menus.
2018-02-23 12:13:21 -08:00
6ab78ae236 Add gui option to kexec-select-boot, use in gui-init menu option
When selecting the boot menu option (m) in the gui-init you call out to
kexec-select-boot. To better maintain the graphical menu experience,
I've added a -g option to kexec-select-boot that, when set, will use a
graphical whiptail menu for the most common menu selection modes.
2018-02-22 13:18:16 -08:00
57405b0d28 Add menu for TOTP updates, provide sample board config to use gui-init 2018-02-21 15:58:54 -08:00
140064bbf8 Add graphical init menu that uses whiptail
This is a modified version of the generic-init script that uses whiptail
to generate a graphical menu. I changed two of the options so that the
user can refresh the menu to get an updated TOTP code if needed.
2018-02-20 15:35:37 -08:00
34296b54a6 Fix bad copy/paste variable reference from TPMTOTP 2018-02-19 17:20:10 -08:00
bb465ad513 Align tabs with previous lines 2018-02-19 16:44:24 -08:00
88c732833a Add whiptail binary, new libraries, and slang dependency
The whiptail binary will allow us to create GUI menus from bash scripts.
It is included in the newt library, which depends on slang. To enable,
the board configuration file should add CONFIG_SLANG=y and CONFIG_NEWT=y
2018-02-19 16:39:42 -08:00