For card LEG-583 I needed some simple ACPI tests to check that we have booted with ACPI support and have probably not corrupted the tables.
I think the attached script should do it if anyone has any comments. Next I need to see how to get this into a LAVA test.
Tests:-
1) Check presence of /sys/firmware/acpi 2) Check presence of /sys/firmware/acpi/tables/DSDT 3) If iasl is installed test decompile of /sys/firmware/acpi/tables/DSDT
I think this is simple enough to be a boot test but enough confidence that the bootloader correctly passed us some tables?
iasl should thanks to Naresh be part of released OE images soon.
Thanks
Graeme