Building ACPI for PPC architecture
We are trying to build ACPI for PPC e300 core . The problem is we donot have a BIOS running to supply the System Descriptor Tables to ACPI during boot. So ACPI gets disabled during boot. Are the system desc tables must for the ACPI to run? Or is there a method where we can avoid these tables and make ACPI work directly. Without BIOS how do we make ACPI up and running?
Have you checked out the new-look www.indiatimes.com yet?Have you checked out the new-look www.indiatimes.com yet?
You should try to build ACPI CA interpreter in user-space for your architecture first. Get it here: http://www.intel.com/technology/iapc/acpi/downloads.htm
There is a big chance that you will find too many endian issues.
Regards,
Alex.
Quoted 24 lines · rajeshprabhu72721 wrote:
We are trying to build ACPI for PPC e300 core . The problem is we donot have a BIOS running to supply the System Descriptor Tables to ACPI during boot. So ACPI gets disabled during boot. Are the system desc tables must for the ACPI to run? Or is there a method where we can avoid these tables and make ACPI work directly. Without BIOS how do we make ACPI up and running?
Have you checked out the new-look www.indiatimes.com yet?Have you checked out the new-look www.indiatimes.com yet?
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Alexey Starikovskiy
You should try to build ACPI CA interpreter in user-space for your architecture first. Get it here: http://www.intel.com/technology/iapc/acpi/downloads.htm
There is a big chance that you will find too many endian issues.
That is certainly an issue. I think HP-UX used to run the CA in big-endian mode, so they probably sorted out some of the issues. But I think it was an ongoing headache, so they finally gave up and wrote wrappers to run the CA in little-endian mode while the rest of the OS runs in big-endian mode.
Bjorn
Quoted 1 line · rajeshprabhu72721 writes:
We are trying to build ACPI for PPC e300 core . The problem is we
Why? What problem do you think that will solve?
Quoted 5 lines
donot have a BIOS running to supply the System Descriptor Tables to ACPI during boot. So ACPI gets disabled during boot. Are the system desc tables must for the ACPI to run? Or is there a method where we can avoid these tables and make ACPI work directly. Without BIOS how do we make ACPI up and running?
ACPI is a bad idea (see Linus Torvalds' rants about ACPI in the linux-kernel mailing list archives for the reasons). Fortunately no PowerPC platform has tried to implement it. If nothing else, the endianness difference would make it impracticable.
Paul.