xobs / wishbone-utils

Utilities for working with a Wishbone bridge
9 stars 5 forks source link

Allow build of etherbone/litex-devmem2 on FreeBSD #8

Closed kevans91 closed 4 years ago

kevans91 commented 4 years ago

Work is in progress to decide how to handle the libusb layer, because I guess we just normally shim the standard libusb interface to ours and libusb proper has never been ported to FreeBSD.

kevans91 commented 4 years ago

CC @adventureloop

kevans91 commented 4 years ago

(Last comment, sorry)

Here's a branch where I've hacked the libusb-sys build to just build our native libusb. I'm assuming this repository isn't the correct place to make that change:

$ ./wishbone-tool --version
Wishbone Tool 0.4.8

$ sudo ./wishbone-tool --list
devices:
    [0000:0000] - EHCI root HUB - Intel
    [0000:0000] - EHCI root HUB - Intel
    [8087:0024] - (no strings found)
    [8087:0024] - (no strings found)
    [147e:2016] - Biometric Coprocessor - UPEK
    [0a5c:217f] - Broadcom Bluetooth Device - Broadcom Corp
    [04f2:b217] - Integrated Camera - Chicony Electronics Co., Ltd.
    [17ef:100a] - (no strings found)

I don't have a usable device on-hand to test functionality beyond that, though the output there seems sane.

mithro commented 4 years ago

@kevans91 - If you don't have a Fomu, send me an email to me@mith.ro with a postal address and phone number and I'll try and get you one.

kevans91 commented 4 years ago

@mithro Thanks for the offer! I pre-ordered "For Me, For You, Fomu" from Crowd Supply on 2020/01/01, so no worries there- it looks like the expectation is that it would ship soon-ish. =-)