So I've been eying this machine for a while:
http://www.kingjim.co.jp/sp/portabook/xmc10/
Original price was a rediculous JPY 96,000 but it's dropped to a reasonable
JPY 20,000 (about USD 200) so I picked one up.
bsd.rd boots, but GENERIC / GENERIC.MP fail to parse the ACPI AML; it
needs the following diff to boot.
Perhaps someone more familiar with ACPI than I can pick this up and
actually do something useful with the ACPI_OPREG_GSB instead of just
skipping it.
Index: dev/acpi//dsdt.c
===================================================================
RCS file: /cvs/src/sys/dev/acpi/dsdt.c,v
retrieving revision 1.227
diff -u -p -u -r1.227 dsdt.c
--- dev/acpi//dsdt.c 25 Oct 2016 06:48:58 -0000 1.227
+++ dev/acpi//dsdt.c 27 Nov 2016 06:11:58 -0000
@@ -2031,6 +2031,9 @@ aml_convert(struct aml_value *a, int cty
c = aml_allocvalue(AML_OBJTYPE_BUFFER, a->length,
a->v_string);
break;
+ case AML_OBJTYPE_UNINITIALIZED:
+ c = aml_allocvalue(AML_OBJTYPE_BUFFER, 0, NULL);
+ break;
}
break;
case AML_OBJTYPE_INTEGER:
@@ -2064,6 +2067,9 @@ aml_convert(struct aml_value *a, int cty
c = aml_allocvalue(AML_OBJTYPE_STRING, a->length,
a->v_buffer);
break;
+ case AML_OBJTYPE_UNINITIALIZED:
+ c = aml_allocvalue(AML_OBJTYPE_STRING, 0, NULL);
+ break;
case AML_OBJTYPE_STRING:
aml_addref(a, "XConvert");
return a;
@@ -2462,6 +2468,8 @@ aml_rwfield(struct aml_value *fld, int b
val, mode, fld->v_field.flags);
} else if (fld->v_field.type == AMLOP_FIELD) {
switch (ref1->v_opregion.iospace) {
+ case ACPI_OPREG_GSB:
+ break;
case ACPI_OPREG_GPIO:
aml_rwgpio(ref2, bpos, blen, val, mode,
fld->v_field.flags);