-
Notifications
You must be signed in to change notification settings - Fork 6
Support building across architectures #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dhendrix
wants to merge
16
commits into
linuxboot:main
Choose a base branch
from
dhendrix:crossbuild
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
2dcb53c
Makefile.inc: Replace hardcoded architecture in initramfs name
dhendrix 62bacea
Makefile.inc: Build coreboot toolchain according to ARCH
dhendrix 65bd945
Makefile.inc: Make VPD support optional
dhendrix 70bf6f9
qemu: Patch coreboot buildgcc to build -linux toolchains
dhendrix f03d6f8
Use Linux arch in kernel config name
dhendrix 9cb801c
Makefile.inc: Add LINUX_IMAGE_RELATIVE_PATH variable
dhendrix f06344c
qemu: Add ARCH detection in Makefile
dhendrix abc61a4
Makefile.inc: Make Go variables cross-compiler friendly
dhendrix cba5ee4
Enable building a toolchain for Linux
dhendrix 23a775b
qemu: Use $(PLATFORM) to determine $(OUT) name
dhendrix 085a7d1
qemu: Split out common portions of `make run` rule
dhendrix f0f8dd0
qemu-amd64: update coreboot hash to 4.15
dhendrix f9fe1af
qemu: Split kernel-x86_64.config
dhendrix e4b1a7b
[notformerge] Make coreboot's buildgcc use a gzip'd gcc tarball
dhendrix a698747
WIP: qemu: Add aarch64 targets and config files
dhendrix 2f60370
WIP: qemu: Add ppc64le targets and config files
dhendrix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| { | ||
| "initramfs": { | ||
| "untar": [ | ||
| { | ||
| "label": "go", | ||
| "url": "https://golang.org/dl/go1.17.2.linux-arm64.tar.gz", | ||
| "hash": "sha256:a5a43c9cdabdb9f371d56951b14290eba8ce2f9b0db48fb5fc657943984fd4fc" | ||
| } | ||
| ], | ||
| "goget": [ | ||
| { | ||
| "label": "uroot", | ||
| "pkg": "https://github.com/u-root/u-root", | ||
| "branch": "master", | ||
| "hash": "ba3c4503673291183f54568dc0c0d0d7411302cd" | ||
| } | ||
| ] | ||
| }, | ||
| "kernel": { | ||
| "untar": [ | ||
| { | ||
| "label": "kernel", | ||
| "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/snapshot/linux-5.14.14.tar.gz", | ||
| "hash": "sha256:7649f5496c34eae104fc391988d5dc4993082cf6195984303433bafa358fd7da", | ||
| "subdir": "linux-5.14.0" | ||
| } | ||
| ] | ||
| }, | ||
| "coreboot": { | ||
| "git": [ | ||
| { | ||
| "label": "coreboot", | ||
| "url": "https://review.coreboot.org/coreboot", | ||
| "branch": "master", | ||
| "hash": "37a977dde945de15464925d4501d4b85e01c3a16" | ||
| }, | ||
| { | ||
| "label": "vboot", | ||
| "url": "https://review.coreboot.org/vboot", | ||
| "dest": "3rdparty/vboot", | ||
| "branch": "master", | ||
| "hash": "48195e5878006ac2cf74cb7f02953ab06c68202d" | ||
| } | ||
| ], | ||
| "files": { | ||
| "label": "crossgcc_tarballs", | ||
| "dest": "util/crossgcc/tarballs", | ||
| "filelist": [ | ||
| { | ||
| "url": "https://ftpmirror.gnu.org/gmp/gmp-6.2.1.tar.xz", | ||
| "hash": "sha256:fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2" | ||
| }, | ||
| { | ||
| "url": "https://ftpmirror.gnu.org/mpfr/mpfr-4.1.0.tar.xz", | ||
| "hash": "sha256:0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f" | ||
| }, | ||
| { | ||
| "url": "https://ftpmirror.gnu.org/mpc/mpc-1.2.1.tar.gz", | ||
| "hash": "sha256:17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459" | ||
| }, | ||
| { | ||
| "url": "https://ftpmirror.gnu.org/binutils/binutils-2.37.tar.xz", | ||
| "hash": "sha256:820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c" | ||
| }, | ||
| { | ||
| "url": "https://ftpmirror.gnu.org/gcc/gcc-11.2.0/gcc-11.2.0.tar.xz", | ||
| "hash": "sha256:d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b" | ||
| }, | ||
| { | ||
| "url": "https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.bz2", | ||
| "hash": "sha256:3c4b8339e5ab54b1bcb2316101f8985a5da50a3f9e504d43fa6f35668bee2fd0" | ||
| }, | ||
| { | ||
| "url": "https://acpica.org/sites/acpica/files/acpica-unix2-20210331.tar.gz", | ||
| "hash": "sha256:3dab326c262d4f3eaf380bbbbd7aa8c2eb5f2697f7821659222cf898d8be28c1" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.