From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: Re: [libre-riscv-dev] daily kan-ban update 08mar2020
Date: Fri, 8 May 2020 23:41:03 +0100
Message-ID: <CAPweEDw9yDEz0kNK7qzGrLS3XCeh1HVDTLwsb=8R_nLdKMTs1A@mail.gmail.com> (raw)
In-Reply-To: <D311CF96-8F97-4D2C-8D36-B85532F0D4A5@gatech.edu>
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
On Fri, May 8, 2020 at 9:27 PM Yehowshua <yimmanuel3@gatech.edu> wrote:
>
> Today I worked on legal things.
> Also put a rough sketch together for the minimum number of interfaces we need to support.
>
> I put USB and ethernet at second priority.
good.
> I talked with Florent from EnjoyDigital, and while LiteX supports USB, it may require some non-trivial modification on our part if we didn’t want to go with (FTDI or Cypress) chips which I think max out at 200MB/s.
>
> He pointed me to some alternatives in both Migen and nMigen:
> - https://github.com/im-tomu/valentyusb <https://github.com/im-tomu/valentyusb>
> - https://github.com/lambdaconcept/lambdaUSB <https://github.com/lambdaconcept/lambdaUSB>
right. this one is ULPI (not USB)
https://github.com/lambdaconcept/lambdaUSB/blob/master/lambdausb/phy/ulpi.py
this one (and the corresponding rx.py) i'm not quite understanding the context
https://github.com/lambdaconcept/lambdaUSB/blob/master/lambdausb/phy/usb/tx.py
> - https://github.com/greatscottgadgets/luna <https://github.com/greatscottgadgets/luna>
>
> I’ll pop them on the Wiki.
use this:
https://libre-soc.org/shakti/m_class/USB2
or this as appropriate, depending on whether they're *actual* USB2
(which is unlikely given that it needs to be analog) or whether they
are UMTI / ULPI.
https://libre-soc.org/shakti/m_class/ULPI/ is the "parallel bus"
version - it does however need cross-referencing to the USB2 page.
i suspect that they're all ULPI... i *hope* they're not ohhh right,
FTDI. that's almost certainly a "serial bus" (like the FT232 only a
bit faster).
basically UMTI is great (but a lot of pins), ULPI is better (needs
DDR), but *actual* USB2 (D+ and D-) requires a complex analog design.
> Litex also support ethernet which would require a $20 PHY, not great for a low cost SBC.
oink. the RTL8192 RGMII PHY is under USD $1. what the hell are they
doing picking a $20 PHY??
there's plenty of RGMII opencores / open cores out there, and the
litex eth looks like it supports a range:
https://github.com/enjoy-digital/liteeth/tree/master/liteeth/phy
GMII, MII, RMII but interestingly not RGMII (reduced gigabit MII).
RGMII is double-data-rate and half the bits (4 per tx, 4 per rx)
ok https://github.com/enjoy-digital/liteeth/blob/master/liteeth/phy/ecp5rgmii.py
> We could also do ethernet over USB - this would render the boot loader slightly more complex if we wished to use ethernet during the boatloader.
no, definitely not. far too complex (booting over ethernet) and
having to initialise the USB controller as well? no. see dan
gisselquist's code and how much work was involved.
the typical ROM size is 8k to 16k. that's *it*.
if you *really* have a need to boot over ethernet or over USB, it
should be done as a 2nd-stage boot chain.
> Again, ethernet is not **essential for a minimum viable ASIC.
nope it's not.
l.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
next prev parent reply index
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-08 10:56 Luke Kenneth Casson Leighton
2020-05-08 10:59 ` Luke Kenneth Casson Leighton
2020-05-08 13:51 ` Yehowshua
2020-05-08 15:16 ` Luke Kenneth Casson Leighton
2020-05-08 17:25 ` Staf Verhaegen
2020-05-08 22:23 ` Luke Kenneth Casson Leighton
2020-05-08 13:28 ` Michael Nolan
2020-05-08 14:03 ` Michael N
2020-05-08 15:25 ` Luke Kenneth Casson Leighton
2020-05-08 20:47 ` Michael Nolan
2020-05-08 22:48 ` Luke Kenneth Casson Leighton
2020-05-08 15:10 ` Luke Kenneth Casson Leighton
2020-05-08 15:21 ` Michael Nolan
2020-05-08 15:27 ` Luke Kenneth Casson Leighton
2020-05-08 20:27 ` Yehowshua
2020-05-08 21:39 ` Jacob Lifshay
2020-05-08 22:34 ` [libre-riscv-dev] daily kan-ban update 08may2020 Jacob Lifshay
2020-05-08 23:09 ` Luke Kenneth Casson Leighton
2020-05-09 0:31 ` Yehowshua
2020-05-09 8:25 ` Luke Kenneth Casson Leighton
2020-05-09 14:33 ` Yehowshua
2020-05-08 22:45 ` [libre-riscv-dev] daily kan-ban update 08mar2020 Luke Kenneth Casson Leighton
2020-05-08 22:41 ` Luke Kenneth Casson Leighton [this message]
2020-05-08 20:38 Alain D D Williams
2020-05-08 20:47 ` Luke Kenneth Casson Leighton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPweEDw9yDEz0kNK7qzGrLS3XCeh1HVDTLwsb=8R_nLdKMTs1A@mail.gmail.com' \
--to=lkcl@lkcl.net \
--cc=libre-riscv-dev@lists.libre-riscv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Libre RISC-V Mailing list Archives (accessible via public-inbox)
Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev
Example config snippet for mirrors
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git