Bug 196398 - [patch] Add new board - Gumstix Duovero
Summary: [patch] Add new board - Gumstix Duovero
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Some People
Assignee: freebsd-arm (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-31 11:55 UTC by Scott Ellis
Modified: 2015-07-07 13:36 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Ellis 2014-12-31 11:55:39 UTC
I'd like to get the Duovero board accepted into the FreeBSD tree.

The Duovero is another OMAP4 board. There is more commonality that can be factored out. This is just a start.

The first 3 patches remove the need for USB Host initializtion in pandaboard/pandboard.c and attempt to make it more generic so that at least the Duovero can use it as well.

Most of the work the pandaboard.c code does is already handled in other places.

1) Muxing the gpio and clock pins (u-boot, tested with v2014.10)
2) Configuring the pins to use (FDT, pandaboard.dts)
3) Ability to use reset pins from FDT (sys/arm/ti/usb/omap_ehci.c)

The two things that aren't handled are

1) A second reset pin for the ethernet hub
2) Enabling the AUX3 clock part of the SCRM module to feed the USB phy

The Duovero does not need the second 'reset' pin since it doesn't have the ethernet hub, but it does need the AUX3 clock to enable the USB PHY. I'm using it now with USB wifi dongles.

The following patches were tested against r276468

0001 Adds AUX clock support to the OMAP4 PRCM code

https://github.com/scottellis/duovero-freebsd/blob/master/patches/0001-omap4-add-aux-clks-to-prcm.patch

0002 Allows either 1 or 2 gpio reset pins for TI ehci reset. 1 reset pin is still okay. That's all the Duovero uses.

https://github.com/scottellis/duovero-freebsd/blob/master/patches/0002-ti-ehci-add-support-for-2-gpio-reset-pins.patch

0003 Uses the new AUX clock/reset pins for the PandaBoard. Removes need for pandaboard.c, though this patch does not remove it.

https://github.com/scottellis/duovero-freebsd/blob/master/patches/0003-pandaboard-usb-let-ehci-driver-initialize-usb-phy.patch

0004 Adds Duovero support.

https://github.com/scottellis/duovero-freebsd/blob/master/patches/0004-add-duovero-support.patch
Comment 1 Rui Paulo freebsd_committer freebsd_triage 2014-12-31 21:03:23 UTC
I've briefly reviewed this and it looks good. Thanks!
Comment 2 Glen Barber freebsd_committer freebsd_triage 2015-07-07 13:36:25 UTC
Sorry this remained open so long.

There is now support for the Gumstix board, and images are being produced with the weekly snapshot builds for both 11-CURRENT and 10-STABLE (and we will have images available for 10.2-RELEASE).

Thank you for your submission.