aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * libs/git: Avoid some redundancies in git_patch()Andrew Robbins2019-03-181-19/+29
| | | | | | | | | | | | | | | | | | The subshell, changing directory, and checking out was unecessary considering all of these are done within the functions called by git_patch() git_am() was added in order to mirror the same wrapper style as used by git_apply() and git_commit()
| * libs/git: Move patching method logic to git_patch()Andrew Robbins2019-03-181-8/+13
| | | | | | | | | | | | | | | | | | | | | | This simplifies git_project_patch_recursive() and provides a unified method for patching, regardless of the patch format (mailbox or diff). Logic is included for dealing with patching failures due to git_apply_check() not being enough to catch certain edge cases, such as 'git apply --check' returning 0 but a subsequent 'git apply' failing.
| * libs/git: Add git_apply() and git_apply_check()Andrew Robbins2019-03-181-1/+33
| | | | | | | | | | | | | | | | | | | | Since changes from an applied diff need to be added to the index and committed (vs. mailbox files with the git_patch function) new functions were necessary to account for this difference. This also fixes a bug where diffs were applied but not committed, at minimum dirtying the work tree and potentially causing problems for any later patches.
| * Rename and refactor diff_patch_file()Andrew Robbins2019-03-183-17/+6
|/ | | | | | The previous function, diff_patch_file, was more error-prone and fragile and did not take into consideration patching of more than one file at a time(!).
* Merge branch 'libs-git' of and_who/libreboot into masterSwift Geek2019-03-141-37/+23
|\
| * libs/git: Apply patches before removing blobsAndrew Robbins2019-03-131-1/+1
| | | | | | | | | | | | | | | | | | Patching before removing blobs is cleaner since patches are applied against a freshly created and checked out branch at the specified revision. Applying patches first also seems to reduce the likelihood of failed patching attempts due to a nebulous error about files not matching the git index (but doesn't eliminate it). More debugging required.
| * libs/git: Actually patch recursivelyAndrew Robbins2019-03-131-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the only way patching would work is if for every target there existed a corresponding directory under $project/$PATCHES, e.g: "./libreboot update coreboot x200 8MiB corebootfb grub" would require the "grub" directory and its parents: "projects/coreboot/patches/x200/8MiB/corebootfb/grub" Now you only need target-specific patch directories if you need them; I believe this was the intended behavior. Superfluous quotes were removed for readability.
| * libs/git: Create branch name based on argument listAndrew Robbins2019-03-121-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a bug where only $project was used as the branch name due to some faulty logic which checked for the existence of a revision file before setting the variables "prepare_branch" and "prepare_path". The bug in this case was that prepare_branch would be set to the value of $branch in only the first iteration of the for loop since in almost all cases there is only one revision file that exists for a given project, regardless of the arguments provided. Explained another way, in order for the proper branch name to be used a revision file would have had to exist in every target directory. This was an issue because only one branch was ever operated on (named $project), meaning if actions were performed on many targets then only the last to run would be represented in the project's repository--making tracking down some bugs a bit harder. With this fixed we now create a branch for every possible project or tool configuration and leaves us with a log for each.
| * libs/git: Prefix branch names with "libreboot-"Andrew Robbins2019-03-121-7/+8
| | | | | | | | | | | | | | This is a slight mitigation against branch name collisions. More robust handling should be added in the future but this is simple enough and provides some clear indication which branches have been created by the build system.
| * libs/git: Clean up after patch fails to applyAndrew Robbins2019-03-111-1/+2
|/ | | | | A patch failing to apply shouldn't leave the repository in such a state where manual intervention is necessary to reset it.
* Merge branch 'qemu' of and_who/libreboot into masterSwift Geek2019-03-0944-109/+218
|\
| * Create 8MiB target for qemu_i440fx_piix4Andrew Robbins2019-03-0911-0/+21
| | | | | | | | | | | | | | | | | | The 16MiB ROM is non-functional at the moment so an 8MiB target has been added in order to avoid losing QEMU support while the bug is identified and fixed. Files were copied from the 16MiB directory with the exception of the config file located at 8MiB/config which is new.
| * Add GRUB/SeaBIOS targets to qemu_i440fx_piix4Andrew Robbins2019-03-096-0/+8
| |
| * Create corebootfb/textmode targets for qemu_i440fx_piix4Andrew Robbins2019-03-093-0/+8
| | | | | | | | | | | | | | | | The config for text mode doesn't actually have to be there (since text mode is the default in the base config) but, as in other cases, this configuration snippet is included for the sake of documenting what part of the base config is related to the target ("textmode" in this case).
| * Create 16MiB flash size target for qemu_i440fx_piix4Andrew Robbins2019-03-092-0/+6
| | | | | | | | | | 16MiB is the largest flash size for most of our supported boards so any emulated boards should stick with that upper limit.
| * Create 8MiB target for qemu_q35_ich9Andrew Robbins2019-03-0911-0/+21
| | | | | | | | | | | | | | | | | | The 16MiB ROM is non-functional at the moment so an 8MiB target has been added in order to avoid losing QEMU support while the bug is identified and fixed. Files were copied from the 16MiB directory with the exception of the config file located at 8MiB/config which is new.
| * Add GRUB/SeaBIOS targets to qemu_q35_ich9Andrew Robbins2019-03-086-0/+8
| |
| * Create corebootfb/textmode targets for qemu_q35_ich9Andrew Robbins2019-03-083-0/+8
| | | | | | | | | | | | | | | | The config for text mode doesn't actually have to be there (since text mode is the default in the base config) but, as in other cases, this configuration snippet is included for the sake of documenting what part of the base config is related to the target ("textmode" in this case).
| * Create 16MiB flash size target for qemu_q35_ich9Andrew Robbins2019-03-082-0/+6
| | | | | | | | | | 16MiB is the largest flash size for most of our supported boards so any emulated boards should stick with that upper limit.
| * Update coreboot config for qemu_q35_ich9Andrew Robbins2019-03-081-57/+70
| | | | | | | | | | | | | | | | | | | | Updated with the "oldconfig" make target. New configurations: * USE_OPTION_TABLE=y * STATIC_OPTION_TABLE=y * COMPRESS_SECONDARY_PAYLOAD=y
| * Update coreboot config for qemu_i440fx_piix4Andrew Robbins2019-03-081-52/+62
|/ | | | | | | | Updated with the "oldconfig" make target. New configurations: * COMPRESS_SECONDARY_PAYLOAD=y
* Merge branch 'unit-prefix-3' of and_who/libreboot into masterSwift Geek2019-03-07115-12/+12
|\
| * Veyron Mickey: use proper binary prefix for flash sizeAndrew Robbins2019-03-056-1/+1
| |
| * Veyron Minnie: use proper binary prefix for flash sizeAndrew Robbins2019-03-0511-2/+2
| |
| * Veyron Speedy: use proper binary prefix for flash sizeAndrew Robbins2019-03-0511-2/+2
| |
| * X200: use proper binary prefix for flash sizeAndrew Robbins2019-03-0543-3/+3
| |
| * X60: use proper binary prefix for flash sizeAndrew Robbins2019-03-0529-2/+2
| |
| * Z61t: use proper binary prefix for flash sizeAndrew Robbins2019-03-0515-2/+2
| |
* | Merge branch 'unit-prefix-2' of and_who/libreboot into masterSwift Geek2019-03-07134-13/+13
|\ \
| * | Macbook2,1: use proper binary prefix for flash sizeAndrew Robbins2019-03-0529-2/+2
| | |
| * | Nyan Big: use proper binary prefix for flash sizeAndrew Robbins2019-03-0511-2/+2
| | |
| * | Nyan Blaze: use proper binary prefix for flash sizeAndrew Robbins2019-03-0511-2/+2
| | |
| * | T400: use proper binary prefix for flash sizeAndrew Robbins2019-03-0543-3/+3
| | |
| * | T60: use proper binary prefix for flash sizeAndrew Robbins2019-03-0529-2/+2
| | |
| * | Veyron Jerry: use proper binary prefix for flash sizeAndrew Robbins2019-03-0511-2/+2
| |/
* | Merge branch 'unit-prefix-1' of and_who/libreboot into masterSwift Geek2019-03-07123-13/+13
|\ \ | |/ |/|
| * D945GCLF: use proper binary prefix for flash sizeAndrew Robbins2019-03-0520-3/+3
| |
| * D510MO: use proper binary prefix for flash sizeAndrew Robbins2019-03-0515-2/+2
| |
| * GA-G41M-ES2L: use proper binary prefix for flash sizeAndrew Robbins2019-03-0529-2/+2
| |
| * KCMA-D8: use proper binary prefix for flash sizeAndrew Robbins2019-03-0515-2/+2
| |
| * KFSN4-DRE: use proper binary prefix for flash sizeAndrew Robbins2019-03-0529-2/+2
| |
| * KGPE-D16: use proper binary prefix for flash sizeAndrew Robbins2019-03-0515-2/+2
|/
* Merge branch 'parafix' of swiftgeek/libreboot into masterAndrew Robbins2019-02-221-14/+6
|\
| * encrypted_parabola: Clean up home,boot mentionSebastian 'Swift Geek' Grzywna2019-02-221-14/+6
| | | | | | | | Those actions are only required when using separate home/boot volumes.
* | Merge branch 'formatting' of and_who/libreboot into masterSwift Geek2019-02-224-7/+7
|\ \
| * | Don't work around formatting issues in dependencies toolAndrew Robbins2019-02-222-5/+5
| | | | | | | | | | | | Output is fixed with a5babe37f42cc162812f8ed3310a1e0c45eabb67
| * | Center tool/project output between header/footerAndrew Robbins2019-02-222-2/+2
| | | | | | | | | | | | Makes it easier to read when multiple terse actions are performed.
* | | Merge branch 'libreboot-images' of and_who/libreboot into masterSwift Geek2019-02-221-0/+9
|\ \ \ | |/ / |/| |
| * | Create projects-download file for libreboot-imagesAndrew Robbins2019-02-221-0/+9
| | | | | | | | | | | | | | | | | | Avoid redundant actions if certain projects which are part of another (e.g. crossgcc in the coreboot repository) are left out of the download process.
* | | Merge branch 'headers-footers' of and_who/libreboot into masterSwift Geek2019-02-222-4/+7
|\ \ \