Skip to content
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

feat: default to native-compilation, add options for cross-compilation #21

Merged
merged 1 commit into from Mar 13, 2024

Conversation

ryan4yin
Copy link
Owner

@ryan4yin ryan4yin commented Mar 10, 2024

Note that fully cross compilation supports only U-Boot & sdImage,
If you want to use UEFI, you have to use the qemu-emulated toolchain or build on an aarch64-linux host.

Quick Test:

# cross-compilation on x86_64-linux
nix build github:ryan4yin/nixos-rk3588/fully-cross-compilation#sdImage-opi5plus-cross

@hughjfchen
Copy link

Went through the updated flake.nix and found the sdImage attribute name for OPi5 is sdImage-opi5-corss, maybe should be sdImage-opi5-cross? a typo?

@ryan4yin
Copy link
Owner Author

@hughjfchen Fixed.

@ryan4yin ryan4yin changed the title feat: add fully cross compilation feat: default to native-compilation, add options for cross-compilation Mar 13, 2024
@ryan4yin ryan4yin merged commit 180bab4 into main Mar 13, 2024
@ryan4yin ryan4yin deleted the fully-cross-compilation branch March 13, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants