*** tpb has joined #tomu | 00:00 | |
*** NoGodDamnIdea has quit IRC | 01:18 | |
*** Jay_jayjay has quit IRC | 02:03 | |
*** esden has quit IRC | 07:45 | |
*** tannewt has quit IRC | 07:45 | |
*** eddyb[legacy] has quit IRC | 07:46 | |
*** ovf has quit IRC | 07:46 | |
*** eddyb[legacy] has joined #tomu | 07:47 | |
*** tannewt has joined #tomu | 07:47 | |
*** esden has joined #tomu | 07:47 | |
*** ovf has joined #tomu | 07:49 | |
*** feuerrot has quit IRC | 10:58 | |
*** NoGodDamnIdea has joined #tomu | 11:50 | |
*** feuerrot has joined #tomu | 13:05 | |
*** Jay_jayjay has joined #tomu | 15:15 | |
*** Jay_jayjay has quit IRC | 15:42 | |
*** Jay_jayjay has joined #tomu | 15:50 | |
im-tomu | [tcal-x] @umarcor , I've had some success with USB serial two ways: tinyusb (not tinyfpga) examples (loopback with to-upper or to-lower case transformation), and the litex fomu target https://github.com/litex-hub/litex-boards/blob/master/litex_boards/targets/fomu.py (works with SERV or minimal VexRiscv: https://twitter.com/enjoy_digital/status/1313788215409684481 ) . | 16:43 |
---|---|---|
im-tomu | [umarcor] @tcal-x thanks for the refs! Which version of "litex_boards" did you use? The dependabot PRs which update that submodule in fomu-workshop are failing since some weeks/months ago. | 16:45 |
im-tomu | [tcal-x] However, I haven't been able to get LiteX serialboot to work on Fomu. LiteX-on-Fomu sends the request "sL5DdSMmkekro\n", lxterm gets it and acks with "z6IHG7cYDID6o\n", but Litex-on-fomu doesn't recognize the ack, and then times out. | 16:45 |
im-tomu | [tcal-x] @umarcor , I had to do a fresh full litex install starting with `litex_setup.py`. So it is all pretty recent. | 16:46 |
im-tomu | [tcal-x] The litex-boards fomu.py clones valentyusb hosted at litex-hub. | 16:48 |
im-tomu | [tcal-x] @umarcor but yeah, that would be great if we could get fomu-workshop up-to-date so this would be available. Users could then get the LITEX> prompt connecting to their Fomu. | 16:50 |
im-tomu | [umarcor] @tcal-x the issue seems to be rather "stupid". That is, it's not a timing/resource issue, but likely some interface/API changed: https://github.com/im-tomu/fomu-workshop/pull/410/checks?check_run_id=1616270863#step:10:5267 | 16:52 |
im-tomu | [umarcor] Unfortunately, I know nothing about LiteX. | 16:52 |
im-tomu | [umarcor] Do you know who contributed LiteX/migen examples to the workshop? | 16:54 |
im-tomu | [tcal-x] The Fomu workshop does talk about TinyUSB examples, but talks more about the mass storage aspect than the serial connection. It actually is doing both in the `cdc_msc` example -- the serial connection is just a loopback though. And there's no printf stack on top of the character interface. | 16:54 |
scientes | my build goes in a loop | 16:55 |
scientes | ./fomu.py --build | 16:55 |
scientes | 4.33 loops indefinately | 16:57 |
im-tomu | [umarcor] Shawn, are you talking about https://github.com/im-tomu/fomu-workshop/blob/master/migen/fomu.py ? | 16:57 |
scientes | ~/litex/litex-boards/litex_boards/targets/fomu.py | 16:58 |
scientes | so no | 16:58 |
im-tomu | [tcal-x] @umarcor Hmm, I can look at the git records to see who contributed it. | 16:58 |
im-tomu | [tcal-x] Shawn, the recipes in EnjoyDigital's tweet worked for me (after getting in the LiteX environment): https://twitter.com/enjoy_digital/status/1313788215409684481 | 16:59 |
im-tomu | [umarcor] @tcal-x, I think the workshop should have 3 minimal examples: RGB led control, mass storage, and serial/uart. | 17:01 |
im-tomu | - https://github.com/im-tomu/fomu-workshop/blob/master/litex/workshop_rgb.py | 17:01 |
im-tomu | - https://github.com/im-tomu/fomu-workshop/blob/master/litex/workshop.py | 17:01 |
im-tomu | - `workshop_usbserial.py` | 17:01 |
im-tomu | The point is that the existing two are failing because of `from litex_boards.targets.fomu import BaseSoC, add_dfu_suffix`. Precisely, `add_dfu_suffix` does not exist in newer versions of litex_boards. | 17:01 |
scientes | http://paste.debian.net/1178634/ | 17:01 |
tpb | Title: debian Pastezone (at paste.debian.net) | 17:01 |
scientes | starts looping at like 4.33.33 | 17:01 |
im-tomu | [tcal-x] @umarcor thanks for pointing this out. We should be able to get this resolved somehow. | 17:04 |
im-tomu | [tcal-x] Shawn, you might have found a bug in Yosys. What version is being used (look in `build/fomu_pvt/gateware/fomu_pvt.rpt`) ? | 17:07 |
im-tomu | [umarcor] I've kept merging all other dependabot PRs. Therefore, all other dependencies (litex, migen, etc.) should be up to date. litex_boards is the only submodule lagging behind. | 17:07 |
im-tomu | [tcal-x] @umarcor yes thanks for keeping on top of the dependabot traffic! Ok, so it's probably that the local scripts dealing with LiteX (workshop.py) need to be updated the same time that we bump litex-boards. Do you know if there is an issue already? If not I will file one against myself. | 17:17 |
*** Jay_jayjay has quit IRC | 17:18 | |
im-tomu | [umarcor] @tcal-x I don't think there is any specific issue, other that the PR(s): https://github.com/im-tomu/fomu-workshop/pull/410. But assigning the PR to you is pointless, because it is recreated weekly. Hence, please, go ahead and create an issue for keeping track of it. | 17:22 |
im-tomu | [tcal-x] https://github.com/im-tomu/fomu-workshop/issues/411 | 17:23 |
im-tomu | [tcal-x] I just did :) | 17:23 |
im-tomu | [umarcor] :thumbsup: | 17:23 |
im-tomu | [tcal-x] Thanks @umarcor for pointing out what was going on. | 17:24 |
*** feuerrot has quit IRC | 18:28 | |
*** feuerrot has joined #tomu | 18:29 | |
*** feuerrot has quit IRC | 18:37 | |
*** srk has quit IRC | 18:38 | |
*** feuerrot has joined #tomu | 18:38 | |
*** srk has joined #tomu | 18:38 | |
*** Jay_jayjay has joined #tomu | 18:56 | |
*** NoGodDamnIdea has quit IRC | 19:58 | |
*** NoGodDamnIdea has joined #tomu | 19:58 | |
*** Jay_jayjay has quit IRC | 21:53 | |
*** Jay_jayjay has joined #tomu | 22:18 | |
*** Jay_jayjay has quit IRC | 22:40 | |
*** Jay_jayjay has joined #tomu | 23:20 | |
*** Jay_jayjay has quit IRC | 23:50 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!