Kyle Rankin
89b008a042
Use explicit path for flash.sh
2018-05-11 12:32:04 -07:00
Kyle Rankin
45ae20fc12
Add generic flash script
...
Based on the conversation for PR #406 , we decided to go with a more
generic script for general-purpose flashing instead of having individual
(and therefore very similar) flash scripts for each board type. This
script currently handles flashrom on Librem and X230 board types and
introduces a new CONFIG_BOARD option that sets specific flashrom
arguments based on the board.
It also adds support to gui-init to call this flash script.
2018-05-11 12:27:50 -07:00
Trammell hudson
9c95b4ed58
Merge branch 'usb-scan-gui' of https://github.com/kylerankin/heads
2018-05-07 11:24:56 -04:00
Trammell hudson
2ab90623f9
Merge branch 'word_wrap_whiptail' of https://github.com/kylerankin/heads
2018-05-07 11:23:58 -04:00
Trammell hudson
11cb44432c
Merge branch 'flashrom' of https://github.com/flammit/heads
2018-05-07 11:22:47 -04:00
Francis Lam
bb0e13c24f
Add back flashrom support for KGPE-D16
...
Also fix up flashrom-x230.sh command only read bios area
2018-05-05 18:59:43 -07:00
Trammell hudson
492b94afb5
move git hash into /etc/config instead of Linux kernel version and track clean/dirty status ( #398 )
2018-05-04 14:36:56 -04:00
Trammell hudson
958c26e0f5
include flashrom in the x230-flash config
2018-05-04 14:09:20 -04:00
Trammell hudson
8bea99f793
add xz and bz2 ( #399 )
2018-05-04 14:02:31 -04:00
Trammell hudson
7f8cec0992
fix clean checkout missing tagets, silence a spurious print ( #394 )
2018-05-04 12:31:21 -04:00
Trammell hudson
0b644b1e19
ensure that Linux kernel is updated after a build and that busybox is not spuriously rebuilt ( #397 )
2018-05-03 18:03:24 -04:00
Trammell hudson
3d6eeb6a95
force re-configuration when linux or coreboot config files change ( #397 )
2018-05-03 16:47:09 -04:00
Trammell hudson
2b79f006d9
Merge branch 'parallel-build' of ssh://github.com/osresearch/heads
2018-05-03 16:18:49 -04:00
Kyle Rankin
4fdbe88560
Allow lines to be wrapped closer to the edge
2018-05-03 10:45:45 -07:00
Kyle Rankin
f70fabd187
Add a whiptail GUI to usb-scan
2018-05-02 14:29:27 -07:00
Trammell hudson
17bcc68f5d
fix symlink install of busybox so that it happens even on parallel builds ( #394 )
2018-05-02 16:13:23 -04:00
Trammell hudson
3dc4672bc6
fix path to edk2/OvmfPkg for qemu-linuxboot board ( #394 )
2018-05-02 15:46:30 -04:00
Trammell hudson
a1eae9111f
allow a system make that matches the same major number ( #353 )
2018-05-02 15:41:11 -04:00
Trammell hudson
e5740c6bfe
ensure that both coreboot.rom and linuxboot.rom are built in a parallel build ( #394 )
2018-05-02 14:53:54 -04:00
Trammell hudson
022ca815e4
fix external cross compiler parallel build and patch directories
2018-05-02 14:30:58 -04:00
Trammell hudson
589e67db8e
Fix linux header install path
2018-05-02 14:30:27 -04:00
Trammell hudson
a772b27e5d
parallel make fixes and hacks, which seem to work and reduce excessive remaking (issue #394 )
2018-05-02 11:38:39 -04:00
Kyle Rankin
745d843f0d
Extend whiptail window to 90 columns wide
...
Wrapping text to 80 characters works but due to font size and padding
the maximum 80 character lines start to get truncated. Extending the
window to 90 characters will resolve this.
2018-05-01 15:20:35 -07:00
Kyle Rankin
480b01c278
Wrap an additional line that was missed in the first pass
2018-05-01 15:10:14 -07:00
Kyle Rankin
f26a14c20d
Wrap whiptail text that's over 80 characters
...
While the whiptail program wraps text appropriately based on column
size, the fbwhiptail program doesn't, leading to text that scrolls off
the window where it can no longer be read. This change wraps the longer
text output so it all fits.
2018-05-01 14:23:56 -07:00
Trammell hudson
8108e419fe
remove unused flashrom 0.9.9 patch and use new --ifd feature in its place (pr #370 )
2018-04-30 17:16:06 -04:00
Trammell hudson
ca5a7e0809
Merge branch 'flashrom' of https://github.com/kakaroto/heads
2018-04-30 17:08:51 -04:00
Trammell hudson
03a0e39bce
Merge branch 'skip_sig_checks' of https://github.com/kylerankin/heads
2018-04-30 16:39:20 -04:00
Trammell hudson
1a04226eea
Merge branch 'librem15v3' of https://github.com/kakaroto/heads
2018-04-30 16:36:21 -04:00
Trammell hudson
cd2325781c
Merge branch 'colorized_warning_error' of https://github.com/kylerankin/heads
2018-04-30 16:31:45 -04:00
Trammell hudson
05a36ce3d9
Merge branch 'skip_confirmation_on_force' of https://github.com/kylerankin/heads
2018-04-30 16:31:05 -04:00
Trammell hudson
7372595a20
Merge branch 'red_background_on_insecure_boot' of https://github.com/kylerankin/heads
2018-04-30 16:30:29 -04:00
Youness Alaoui
eedf5a31a1
librem15v3: Add board and coreboot config files for Librem 15 v3
2018-04-30 16:22:22 -04:00
Trammell hudson
463f91c601
Merge branch 'cbfs-init' of https://github.com/flammit/heads
2018-04-30 16:02:16 -04:00
Trammell hudson
cbbcbcdf1b
Merge branch 'fix_u-root_build' of https://github.com/vejmarie/heads
2018-04-30 15:51:37 -04:00
vejmarie
6104c5bdd4
Fix uinit setup
2018-04-30 16:14:18 +02:00
vejmarie
4c8e97eda1
Enhance parallel build
2018-04-30 14:48:24 +02:00
Francis Lam
c0f3a4bb79
Read and measure an EFI file into initrd during init
2018-04-29 19:58:44 -07:00
vejmarie
a90858c0e5
Fix u-root parallel build
2018-04-29 20:56:33 +02:00
Kyle Rankin
22a8d6f603
Colorize warning and error messages in fbwhiptail
...
Since fbwhiptail allows us to customize the background colors, we should
colorize warnings and error messages to provide a user with an
additional subtle cue that there might be a problem. I have added two
additional configuration options:
CONFIG_WARNING_BG_COLOR
CONFIG_ERROR_BG_COLOR
and in the librem13v2.config file you can see an example for how to set
them to be yellow and red gradients, respectively. I've also updated the
main two scripts that use whiptail to include those background colors.
If you decide to use regular whiptail, just don't set these config
options and it should behave as expected.
2018-04-25 13:21:56 -07:00
Francis Lam
789c2db70d
Add flashtool to all coreboot-based boards
2018-04-21 18:29:52 -07:00
Francis Lam
1cbae3cc12
Preserve custom CBFS files on flashrom updates
2018-04-21 17:21:37 -07:00
Francis Lam
48ca75a482
Add "heads/" prefix to all Heads-related cbfs files
...
Needed to identify which files should be preserved between upgrades
such as "heads/initrd/*" or "heads/counter"
2018-04-20 15:11:12 -07:00
Kyle Rankin
a308bc97e4
Skip boot choice confirmation in "force" mode
...
When a user gets confirmation of their boot menu choice, that's largely
to give them the option of making their boot choice the default. In the
case of "force mode" there's no reason for the user to be presented with
that dialog so this change skips right ahead to the boot once they have
2018-04-20 14:11:49 -07:00
Francis Lam
8644a36488
Drop unnecessary flashtools.patch
...
Also added convenience call to import keys and removed credentials
2018-04-20 10:46:08 -07:00
Francis Lam
8b1d194b5a
Update flashtools patch with latest
2018-04-20 09:29:57 -07:00
Francis Lam
e0c1ab2d79
Update cbfs-init script for new cbfs tool option
2018-04-20 09:29:57 -07:00
Francis Lam
d0294b1142
Add all supported network modules to network-init-recovery
...
also fix verbiage in comments
2018-04-20 09:29:57 -07:00
Francis Lam
37feebdc76
Read and measure CBFS files into initrd during init
2018-04-20 09:29:57 -07:00
Trammell hudson
acf16c7304
slang: disable parallel make during the install target (issue #385 )
2018-04-19 20:41:49 -04:00