*** tpb has joined #litex | 00:00 | |
*** CarlFK has quit IRC | 00:32 | |
*** lf has quit IRC | 01:00 | |
*** lf has joined #litex | 01:01 | |
*** Degi has quit IRC | 02:33 | |
*** Degi has joined #litex | 02:34 | |
*** kgugala_ has joined #litex | 05:49 | |
*** kgugala has quit IRC | 05:53 | |
*** kgugala has joined #litex | 07:13 | |
*** kgugala_ has quit IRC | 07:17 | |
_florent_ | somlo: here is how i was testing with the SDCard on PMOD: https://github.com/enjoy-digital/litesdcard/blob/master/bench/trellisboard.py#L40-L51 | 09:44 |
---|---|---|
*** midnight has quit IRC | 10:11 | |
*** midnight has joined #litex | 10:14 | |
*** kgugala_ has joined #litex | 11:59 | |
*** kgugala has quit IRC | 11:59 | |
kbeckmann | thinking if i should try to make a litex configuration for the chameleon96 devkit that features a Cyclone V, but wondering if it makes sense at all. it has 2x ARM A9 cores. has anyone done a litex config for an FPGA like this? | 15:18 |
daveshah | Yes, there is LiteX support for the Zynq | 15:20 |
kbeckmann | oh, neat! | 15:20 |
kbeckmann | i will take a look at that then. | 15:20 |
daveshah | https://github.com/enjoy-digital/litex/blob/master/litex/soc/cores/cpu/zynq7000/core.py | 15:21 |
kbeckmann | thanks, this is great. looks like i should be able to reuse quite a lot of this. | 15:22 |
_florent_ | kbeckmann: you could also find here an initial discussion about adding HPS support to LiteX: https://github.com/enjoy-digital/litex/issues/466 | 15:24 |
kbeckmann | oh | 15:24 |
_florent_ | it could be interesting to read it, but it's a bit outdated | 15:25 |
_florent_ | looking at the Zynq7000 support as suggested by daveshah will probably be more insteresting | 15:26 |
kbeckmann | do you know what happened with this work? was is abandoned or still WIP? | 15:26 |
kbeckmann | yeah it looks like a quite nice starting point at least | 15:27 |
_florent_ | https://github.com/litex-hub/litex-boards/blob/master/litex_boards/targets/zybo_z7.py will also be interesting to see how zynq7000 is integrated | 15:27 |
kbeckmann | thanks, great resources. | 15:27 |
somlo | _florent_, daveshah: with the external pmod microSD reader, behavior is more-or-less the same as with the built-in reader: spi-mode works, litesdcard crashes out of the terminal upon insertion of a microSD card into the reader | 15:27 |
daveshah | Can you put the svf file somewhere and I will try? | 15:28 |
_florent_ | kbeckmann: i'm not sure ilesser went further and i personnaly don't have CycloneV SoC, but i would be happy to help if you have troubles | 15:29 |
somlo | daveshah: http://mirror.ini.cmu.edu/trellisboard.svf.xz | 15:29 |
somlo | it's built for the pmod sdcard reader | 15:30 |
daveshah | oh, I don't have one of those | 15:30 |
daveshah | I will need an internal SD bitstream | 15:30 |
somlo | I'll build one and link you (should be anywhere between 30-60 minutes) -- thanks for offering to look into it! | 15:32 |
daveshah | I should do a m.2 to SATA adapter for the trellisboard for litesata one day | 16:00 |
kbeckmann | is the m.2 pinout of the trellisboard following any kind of standard btw? | 16:03 |
daveshah | E key | 16:04 |
kbeckmann | alright, nice | 16:04 |
daveshah | I've never actually tested it though... | 16:04 |
*** acathla has quit IRC | 16:21 | |
*** acathla has joined #litex | 16:21 | |
somlo | daveshah: http://mirror.ini.cmu.edu/trellisboard_sdcard.tgz | 17:07 |
_florent_ | daveshah: a m.2 to SATA adapter would be nice! I'm also planning to experiment with LiteSATA on ECP5 | 17:11 |
somlo | on closer observation, it only crashes if the ethernet cable happens to also be plugged in at the time the microsd card is inserted | 17:11 |
_florent_ | daveshah: most of the code should already be there, we could reuse the SerDes code from LiteICLink | 17:12 |
somlo | oh, and it also crashes when inserting the ethernet cable while an sdcard is already in, and working fine up to that point | 17:12 |
somlo | daveshah: so I can see how it might be an electrical load thing (either works fine, but things go south when the second one is plugged in) | 17:13 |
daveshah | not seeing a failure here (but I haven't actually tested a boot) | 17:13 |
_florent_ | daveshah: only the OOB code will be missing (since we as using the internal features of the Xilinx transceiver), but it should not be too complicated | 17:13 |
daveshah | yeah definitely sounds like a power issue | 17:13 |
somlo | also interestingly, it works fine when both ethernet and sdcard are already in when the board is programmed | 17:13 |
daveshah | ECP5 SERDES have OOB support too so should be fine | 17:13 |
somlo | as long as I don't futz around unplugging and plugging things back in | 17:13 |
somlo | daveshah: so I guess no simultaneous LiteETH and LiteSDCard on the trellisboard for me, at least not with the current usb cable and/or usb power settings | 17:17 |
somlo | daveshah: would a power supply from an 5g-versa board work with the trellisboard? | 17:18 |
somlo | I could test if applying external power helps with stability | 17:18 |
daveshah | I've never tried external power but it should do | 17:19 |
daveshah | You'll need to swap over the power jumper too | 17:19 |
somlo | like to EXT instead of USB? | 17:20 |
somlo | doesn't seem to light up when I plug in the versa power supply (with the power jumper on EXT or completeley removed) | 17:22 |
somlo | (still works with usb power as before, so at least I didn't fry it :) | 17:23 |
somlo | daveshah: super dumb question, but those two sockets (the one that says "pcie pwr" and the similar-looking one right next to the 12V external power plug -- those look like they could be sockets for a fuse. And obviously there aren't any fuses in them (if that's what they're even for), which might explain why external power doesn't work for me | 17:27 |
somlo | or I could be completely clueless as to what those things are... :) | 17:27 |
daveshah | Yes they are for fuses | 17:28 |
daveshah | I can't remember the model number of fuse know though | 17:28 |
daveshah | Easiest option is probably just to find a thicker or shorter USB cable tbh | 17:28 |
daveshah | A fuse borrowed from the Versa should also work if it physically fits | 17:29 |
somlo | ok, I feel a bit better now :) If you ever remember the fuse model number, please share! I guess whether I wait for amazon to deliver a fuse, a new usb cable, or both, it's the same delay, and I won't be able to do anything right away regardless :) | 17:29 |
somlo | if I'm lucky and didn't leave the versa at the office, which requires lots of voodoo to get into these days... | 17:30 |
daveshah | I believe the fuse is Schurter OMF 125 series | 17:40 |
daveshah | e.g. https://uk.farnell.com/schurter/3404-0009-11/chip-fuse-smd-fast-acting-1a/dp/1651773 | 17:41 |
daveshah | Any other rating in the 1A-3A sort of range would be fine | 17:43 |
*** CarlFK has joined #litex | 18:21 | |
*** FFY00 has quit IRC | 18:42 | |
*** FFY00 has joined #litex | 18:43 | |
somlo | daveshah: I got someone to photograph the fuse on a versa (it's at the office, unfortunately): https://imgur.com/a/RCzT13E | 20:50 |
tpb | Title: Imgur: The magic of the Internet (at imgur.com) | 20:50 |
somlo | but I'm going to just order the thing you linked rather than mess about :) | 20:51 |
daveshah | Hmm, not sure if it will fit. But I did briefly test 12V on my board (one from your batch) with a shorted out fuse and it didn't blow up | 20:51 |
daveshah | So at least we know the 12V input is safe now | 20:52 |
somlo | I'm curious if my bitstream will survive ethernet + sdcard insertion after being programmed, with a proper power supply :) | 20:53 |
somlo | so I'll order a couple of those fuses right now, and report back when I get to try one out | 20:54 |
*** Claude has quit IRC | 21:15 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!