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

Add EL2 booting using slbounce #52

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add EL2 booting using slbounce #52

wants to merge 1 commit into from

Conversation

kuruczgy
Copy link
Owner

@kuruczgy kuruczgy commented Nov 27, 2024

TODOs:

  • Automatically copy slbounce.efi to /EFI/systemd/drivers/slbounceaa64.efi
  • Add the el2 specialization to this repo
  • Hide the above two behind a config option

@kuruczgy
Copy link
Owner Author

I expect this to take a couple weeks before I flesh everything out, but I am already putting the PR here if someone wants to play around with it. My current setup with this:

  1. First, an EL2 specialization, with the devicetree overlay and extra kernel param needed:
specialisation.el2.configuration = {
  hardware.deviceTree.overlays = [{
    name = "x1e-el2";
    dtboFile = "${pkgs.slbounce}/dtbo/x1e-el2.dtbo";
  }];

  boot.kernelParams = [ "id_aa64mmfr0.ecv=1" ];
};
  1. Manually copy slbounce.efi to /EFI/systemd/drivers/slbounceaa64.efi on the ESP.
  2. Copy tcblaunch.exe (from C:\Windows\System32\tcblaunch.exe) to the root of the ESP.

@kuruczgy kuruczgy force-pushed the pr/slbounce branch 4 times, most recently from 68cdd7f to 4ae1aa1 Compare December 18, 2024 15:20
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.

1 participant