[MinnowBoard] Board file

Darren Hart dvhart at linux.intel.com
Tue May 10 15:03:23 UTC 2016



On 5/10/16 5:39 AM, Tony Makkiel wrote:
> Hi,
>     Where can I find minnowboard board files? According to
> http://events.linuxfoundation.org/sites/events/files/slides/x86-platform.pdf
> they should be at
> drivers/platform/x85/minnowboard* .

Well.... that wasn't quite the point of that presentation :-) If you
haven't watched the video that goes with it, I'd recommend doing that.

Ultimately, the Minnowboard v1 patches were not accepted to the mainline
Linux kernel because they were board files, and the proper solution is
to provide the platform information via the firmware. We have been
working on the ACPI specification to enable this feature (see ACPI _DSD
which was added for this purpose), and are still working on a standard
mechanism to provide user-created ACPI DSDT overlays. That work is not
yet complete.

There are some workarounds in place, perhaps John H. can comment on the
current state of those.

> 
>     I am on kernel 4.5 and cant see any similar files. I am writing an
> i2c driver using minnowboard as host. But not sure where to register the
> device so that the device driver gets probed. I would prefer ACPI. But I
> think I would need to modify the firmware to do that (Do I? If I have to
> access to firmware might be a problem).
>     At present, I am using i2c_new_device within the driver module_init.
> But am not sure what the proper way to do it is?

I suggest having a look at the example i2c driver in the minnowboard
extras repository.

https://github.com/MinnowBoard/minnow-max-extras/tree/master/modules/i2c

This is for the MinnowBoard MAX and Turbot boards, not the MinnowBoard
v1, but conceptually it applies equally.

-- 
Darren Hart
Intel Open Source Technology Center


More information about the elinux-MinnowBoard mailing list