<_florent_>
somlo: Good for the Fedora progress. Charles got his 64-bit NaxRiscv booting Debian, this could probably be a nice alternative to Rocket for your project (but it's optimized for 7-series for now, tests on ECP5 will have to be done)
<_florent_>
minute: The RGMII PHY only works with a 1Gbps Switch/Port in front, so I would recommend making sure speed is negotiated at 1Gbps.
_franck_ has joined #litex
Brinx has quit [Remote host closed the connection]
FabM has quit [Ping timeout: 260 seconds]
Brinx has joined #litex
Brinx has quit [Ping timeout: 264 seconds]
FabM has joined #litex
FabM has joined #litex
FabM has quit [Changing host]
oter has quit [Remote host closed the connection]
oter has joined #litex
nickoe has quit [Quit: Client closed]
nickoe has joined #litex
_franck_ has quit [Ping timeout: 265 seconds]
<minute>
_florent_: thanks for confirming. for some reason, i get only a 100mbit link at the moment. there's no way to make the phy work with 100 mbit, yes?
nickoe has quit [Quit: Client closed]
nickoe has joined #litex
Brinx has joined #litex
Brinx has quit [Remote host closed the connection]
Brinx has joined #litex
<minute>
_florent_: ok i swapped out the PHY chip and it works now with 1gbe
_franck_ has joined #litex
<minute>
in linux i get > [ 293.997306] liteeth f0003000.mac eth0: LITEETH_READER_READY not ready
<minute>
ah, dts issue
<minute>
_florent_: are there any examples of OHCI host code i can copy? i now have a new revision of the kintex-7 module where i have USB DP/DN on fpga pads, plus a 1.5k pull resistor output (copied from valentyusb)
<minute>
ah, i see there is USBOHCI
nickoe has quit [Quit: Client closed]
nickoe has joined #litex
Brinx has quit [Remote host closed the connection]
<somlo>
gatecat: just for grins, I did a little experiment trying to build a fpu-capable litex+rocket for the ecpix5:
<tpb>
Title: Imgur: The magic of the Internet (at imgur.com)
<somlo>
tldr -- `yosys-abc9` by itself (without `yosys-nowidelut`) results in the highest (40-ish MHz) fmax, when asking for 50
<somlo>
I did 9 runs for each combination, so not a huge sample size, but still :)
<minute>
hmm hmm i have the ohci controller from spinalhdl building in litex, but the dts generator is looking for if "usb_ohci_ctrl" in d["memories"]:
<minute>
usb_ohci.py doesn't mention anything about CSRs...
<minute>
it has a wishbone dma interface, i guess i have to map that into memory somehow
<somlo>
gatecat: in case you can think of any additional "knobs" (on either yosys or nextpnr) I could be turning for extra optimizations; if not, take it as just a bunch of data points :)
<somlo>
_florent_: does Charles have a write-up (maybe similar to linux-on-litex-rocket) with his litex build command line, dts, and whatever else he did to boot the OS?
<somlo>
I could try to replicate that on one of my xilinx boards, then see how well it translates to ecpix5 and/or trellisboard with yosys/trellis/nextpnr
<somlo>
honestly I'm not really stuck on rocket, if I can get a Free rv64gc design to boot fedora, I can declare victory, retire, become a consultant, whatever :)
<gatecat>
it's the best remaining knob I can think of
minute has quit [Ping timeout: 252 seconds]
minute has joined #litex
FabM has quit [Ping timeout: 268 seconds]
nickoe has quit [Quit: Client closed]
nickoe has joined #litex
<minute>
_florent_: thank you, ohci works now! i have some new weirdness with the framebuffer, somehow there's address confusion. i will dig into it tomorrow. i've moved the framebuffer base to 0x4fc00000 (in soc.py). but i've noticed that writing to memory at 0x4fc00000 doesn't have any effect on the random pixels. but when i set the base address to 0x0fc00000 via videophy register poke, i can see those