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

Devicetree only booting exposes ACPI #27

Open
alarixnia opened this issue Jan 22, 2021 · 1 comment
Open

Devicetree only booting exposes ACPI #27

alarixnia opened this issue Jan 22, 2021 · 1 comment

Comments

@alarixnia
Copy link

Just installed RPi3_UEFI_Firmware_v1.32.zip to a SD card and attempted to boot NetBSD. I was told that the ACPI support for the RPI3 doesn't use the standard ARM interrupt controller, so needs to be disabled (the kernel panics when booting in ACPI mode). Problematically, the NetBSD bootloader still detects ACPI when devicetree-only mode is selected through EDK2's device configuration, which leads to it attempting ACPI booting anyway and immediately panicking.

The operating system shouldn't be able to detect the presence of ACPI when EDK2 is set to use only devicetrees, right?

@jlinton
Copy link
Member

jlinton commented Sep 2, 2021

See if its still doing it with recent releases, I think the default was a dual acpi/DT mode, so you may have to switch it to "DT" in the advanced firmware menu.
edit: I think I misunderstood what you were saying here. Because it appears the behavior has changed slightly, I just upgraded my pi3 and it was doing an odd dance with the old firmware where linux would see the ACPI tables but default to DT after displaying the discovered ACPI tables. The current firmware must be in DT mode, or acpi=off must be passed to the kernel because it appears that linux discovers the entire set of ACPI tables rather than aborting early.

If you can retest that would be helpful because I think we may be providing a stubbed ACPI entry, which should be ignored, but maybe doing it that way isn't sufficient on netbsd to have it conclude the ACPI tables are disabled.

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

No branches or pull requests

2 participants