*** tpb has joined #timvideos | 00:00 | |
*** sb0 has joined #timvideos | 01:37 | |
mithro | https://lwn.net/Articles/703574/ | 04:12 |
---|---|---|
tpb | Title: Graphics world domination may be closer than it appears [LWN.net] (at lwn.net) | 04:12 |
*** Bertl_oO is now known as Bertl_zZ | 05:07 | |
*** miselin has quit IRC | 05:46 | |
*** CarlFK has quit IRC | 06:13 | |
mithro | _florent_: Evening! I'm just working on from Google stuff, then dinner and I'll be back to do hack at the time in the calendar. | 07:17 |
mithro | _florent_: I have some small fixes to send that I didn't get to yesterday | 07:18 |
_florent_ | mithro: ok, I'll be there too | 07:22 |
mithro | _florent_: Did you get anywhere with https://github.com/enjoy-digital/opsis-soc/issues/22 ? | 07:23 |
tpb | Title: DDR status output is bogus · Issue #22 · enjoy-digital/opsis-soc · GitHub (at github.com) | 07:23 |
*** fumblehool has joined #timvideos | 07:45 | |
mithro | Hello fumblehool | 07:46 |
fumblehool | @mithro hello | 07:48 |
mithro | fumblehool: I'm just getting dinner, but can I help you with anything? | 07:52 |
fumblehool | I want to contribute to the project. How can I get started? | 07:58 |
mithro | Awesome! Do you have an idea where you might want to contribute too? Otherwise is there something you want to learn or skills you want to exercise? | 08:18 |
*** rohitksingh has joined #timvideos | 08:22 | |
_florent_ | mithro: I'm going to look at https://github.com/enjoy-digital/opsis-soc/issues/22 | 08:46 |
tpb | Title: DDR status output is bogus · Issue #22 · enjoy-digital/opsis-soc · GitHub (at github.com) | 08:46 |
mithro | _florent_: Great, with that VHDL file, liteEth should work on opsis_video and opsis_hdmi2usb targets now? | 08:50 |
_florent_ | mithro: yes it's working | 08:50 |
mithro | _florent_: I might start with checking that it is working here too | 08:50 |
_florent_ | mithro: ok | 08:53 |
mithro | _florent_: What tftp server do you use under Windows? | 08:54 |
_florent_ | tftpd32 | 08:56 |
mithro | _florent_: Where does that come from? | 08:56 |
_florent_ | http://tftpd32.jounin.net/ | 08:56 |
tpb | Title: TFTPD32 : an opensource IPv6 ready TFTP server/service for windows : TFTP server (at tftpd32.jounin.net) | 08:56 |
mithro | _florent_: I assume you just set the TFTP root to be your build directory? | 08:57 |
_florent_ | the firmware directory | 09:00 |
mithro | _florent_: and you get the board to load the firmware by hitting the switch on the opsis near the SD card? | 09:07 |
_florent_ | I'm not using the swich | 09:09 |
_florent_ | just loading the firmware | 09:09 |
_florent_ | or do a netboot/reboot command | 09:09 |
mithro | _florent_: Ahh okay | 09:10 |
*** fumblehool has quit IRC | 10:32 | |
*** fumblehool has joined #timvideos | 10:33 | |
_florent_ | mithro: have you been able to test ethernet on opsis_video or opsis_hdmi2usb? | 10:53 |
mithro | _florent_: Not yet, sorry got distracted by someone walking up to my desk | 10:54 |
*** fumblehool has quit IRC | 11:07 | |
mithro | _florent_: I couldn' | 11:43 |
mithro | _florent_: I couldn't figure out why it wasn't working and then realised you have removed the shared uart in your branch | 11:43 |
_florent_ | mithro: ah sorry | 11:44 |
_florent_ | but you are not supposed to use my branch | 11:44 |
mithro | _florent_: I've switched back to the hdmi2usb branch | 11:45 |
_florent_ | modification are applied to hdmi2usb branch | 11:45 |
mithro | _florent_: yes I see | 11:46 |
*** Bertl_zZ is now known as Bertl | 11:50 | |
mithro | _florent_: So I can tftpd boot on opsis_video now | 12:04 |
_florent_ | mithro: ok great | 12:04 |
mithro | _florent_: but see my latest comments on the issue | 12:04 |
_florent_ | mithro: which one? the warning? | 12:05 |
mithro | No, the fact it thinks it is working at 10Mbps | 12:05 |
_florent_ | hmm your mdio dump seems to be corrupted | 12:06 |
_florent_ | what do you mean by "then became unreliable"? | 12:08 |
mithro | _florent_: I can connect to it but commands sending and getting output back stopped working after a bit and the connection just drops | 12:10 |
_florent_ | mithro: ok but this a different problem | 12:13 |
_florent_ | mithro: and probably also happening on others design | 12:13 |
_florent_ | mithro: can you create another specific issue for this? | 12:13 |
mithro | _florent_: I will when I confirm that it happens on the opsis_minisoc target | 12:14 |
_florent_ | mithro: btw, are you using or1k or lm32 | 12:14 |
_florent_ | ? | 12:14 |
mithro | _florent_: What ever is configured by default - lm32 I'm pretty sure | 12:15 |
_florent_ | ok | 12:15 |
mithro | _florent_: minisoc has the same behaviour as the video | 12:36 |
_florent_ | mithro: ok so that's not the same issue | 12:37 |
mithro | _florent_: Does it make sense to even worry about the telnet stuff until the mdio stuff is fixed? | 12:39 |
_florent_ | the mdio stuff is not broken | 12:39 |
_florent_ | it's the same than: | 12:40 |
_florent_ | https://github.com/enjoy-digital/opsis-soc/issues/22 | 12:40 |
tpb | Title: DDR status output is bogus · Issue #22 · enjoy-digital/opsis-soc · GitHub (at github.com) | 12:40 |
mithro | _florent_: Well, one of the devices is lieing? (One says 1000Mbit, the other says 10Mbit) | 12:40 |
_florent_ | or https://github.com/enjoy-digital/opsis-soc/issues/28 | 12:40 |
tpb | Title: Matrix commands are all screwy · Issue #28 · enjoy-digital/opsis-soc · GitHub (at github.com) | 12:40 |
mithro | _florent_: Oh | 12:40 |
_florent_ | and I don't have this behaviour here | 12:40 |
mithro | _florent_: You can't reproduce? | 12:43 |
_florent_ | mithro: this is intermittent , I used to have to issue but I don't have it on the last designs I built | 12:45 |
mithro | _florent_: Could it be the gcc version? | 12:45 |
_florent_ | mithro: we probably don't have the same behaviour because of the GCC version, but since I also have it from time to time, this is not the real reason | 12:46 |
mithro | _florent_: So, what is the next step to try and figure it out? I seem to be always getting it even on opsis_base | 12:49 |
_florent_ | mithro: I don't know for now, if you have some ideas... | 12:50 |
mithro | _florent_: so it seems like something related to the csr registers? | 12:52 |
_florent_ | mithro: no, more related to some computations | 12:52 |
_florent_ | mithro: can you give a try with mor1kx? | 12:55 |
mithro | RUNTIME>debug dna | 12:55 |
mithro | Board's DNA: 0000000000000000 | 12:55 |
mithro | That is the same problem, right? | 12:55 |
mithro | _florent_: building with or1k now | 12:56 |
_florent_ | mithro: probably, ok thanks for the or1k test | 12:57 |
mithro | _florent_: Okay, something else weird is happening here | 13:10 |
mithro | RUNTIME>status | 13:10 |
mithro | ddr: read:268468180Mbps write:1073753704Mbps all:268435618Mbps | 13:10 |
mithro | RUNTIME>debug dna | 13:10 |
mithro | Board's DNA: 10007fd410007fd410007fd410007fd410007fd410007fd410007fd410007fd4 | 13:10 |
mithro | _florent_: That was the base target | 13:19 |
_florent_ | mithro: ok strange, that seems to be a similar issue | 13:19 |
mithro | _florent_: Is it worth me sending you a .bit file? | 13:20 |
mithro | _florent_: I'm going to have to head home and to bed soon | 13:21 |
_florent_ | mithro: yes you can send me your bit file and firmware | 13:22 |
mithro | _florent_: https://github.com/enjoy-digital/litex/pull/7/files | 13:22 |
tpb | Title: soc/software/Makefile: Fix Makefile depend generation. by mithro · Pull Request #7 · enjoy-digital/litex · GitHub (at github.com) | 13:22 |
_florent_ | mithro: what does it fix exactly? | 13:23 |
mithro | _florent_: Despite what that comment said, you were not actually generating the .d files at all | 13:25 |
mithro | _florent_: the opsis_video target won't even load into the bios with the or1k | 13:25 |
_florent_ | mithro: ok | 13:27 |
_florent_ | mithro: I'll try see if I'm able to reproduce the issue with the printf | 13:27 |
mithro | _florent_: So incremental building never worked - which I assume is why you have ended up always doing a "make clean" | 13:28 |
_florent_ | mithro: ok, not that was more for the gateware part | 13:29 |
_florent_ | not/no | 13:30 |
_florent_ | but thanks | 13:30 |
mithro | _florent_: You rm -rf the gateware | 13:30 |
mithro | _florent_: shenki was trying to modify the litex bios to do some debugging and couldn't figure out why it didn't ever rebuild properly, that fixes it | 13:31 |
_florent_ | mithro: ok good | 13:31 |
mithro | _florent_: It seems that liteeth doesn't meet timing with or1k | 13:33 |
mithro | _florent_: Just waiting for the lm32 version to build | 13:39 |
_florent_ | ok | 13:39 |
mithro | _florent_: Then I'll email you both the or1k and lm32 versions of opsis_minisoc that I have | 13:40 |
_florent_ | ok thanks | 13:40 |
mithro | _florent_: I just tared up the whole build directory | 13:45 |
mithro | _florent_: Did you get them okay? | 13:50 |
mithro | _florent_: I need to go home and get some sleep | 14:01 |
_florent_ | mithro: sorry I was not there | 14:02 |
mithro | _florent_: Hopefully you have the right things you can poke at | 14:02 |
_florent_ | yes that's fine | 14:02 |
_florent_ | thanks | 14:02 |
mithro | _florent_: I'll probably work on this stuff over the weekend again | 14:02 |
_florent_ | mithro: ok | 14:03 |
mithro | _florent_: If you have any ideas that you think are worth trying, dump them in a bug | 14:03 |
_florent_ | ok I'll do that | 14:03 |
_florent_ | I'm also going to have a look at that | 14:03 |
mithro | _florent_: I have some more makefile fixes which should make your current workflow compatible with my makefile changes - I also figured out what the libuip problem you were having was | 14:04 |
mithro | _florent_: But I need to clean it up a little more before I'm happy with it | 14:04 |
mithro | anyway, have a good evening! | 14:05 |
_florent_ | mithro: thanks, have a good nigh | 14:05 |
_florent_ | night | 14:05 |
mithro | _florent_: Oh - I was wondering if it had something to do with floating point or optional div/multiply instructions | 14:06 |
* mithro is walking home now and on his phone | 14:07 | |
_florent_ | mithro: yes maybe why are you thinking that? | 14:08 |
mithro | Because the ddr printf thing does some division calculations right before printing | 14:11 |
mithro | I was going to try printing the raw csr values | 14:11 |
mithro | I also remembered that those instructions are optionally hardware accelerated | 14:13 |
mithro | It's just a stab in the dark | 14:13 |
*** CarlFK has joined #timvideos | 14:15 | |
*** ChanServ sets mode: +v CarlFK | 14:15 | |
mithro | Btw if you want to try to repo under Linux, I recommend this script -> | 14:15 |
mithro | https://gist.github.com/mithro/604da515edc1061a77a8ee6c1fe729e6 | 14:16 |
tpb | Title: Script to get all the enjoy-digital repos and set up a conda environment for using them in · GitHub (at gist.github.com) | 14:16 |
mithro | It will get you the exact same gcc I'm using | 14:17 |
mithro | Btw, does litex / misoc tool chain set up handlers for invalid instructions? | 14:24 |
mithro | I assume the cpu would jump or have some type of signal for invlaid op codes | 14:26 |
_florent_ | mithro: since the issue is intermittent, I'm not sure this is related to invalid instructions | 14:48 |
mithro | _florent_: Well, it always happens for me at the moment (i've never seen it happen otherwise) | 14:50 |
mithro | _florent_: But you could be right, it was just a random guess | 14:51 |
_florent_ | mithro: do you also see it in the bios? | 14:51 |
mithro | _florent_: the bios seems to work fine? | 14:52 |
_florent_ | mithro: it seems | 14:52 |
mithro | _florent_: memtest works and I can interact with it | 14:53 |
_florent_ | mithro: so yes it's probably working fine | 14:54 |
_florent_ | now we have to find why bios and firmware behave differently | 14:54 |
mithro | _florent_: The firmware seems to "work mostly fine" IE I can type commands and get the responses, the video pattern seems to work, etc | 14:56 |
mithro | _florent_: It's just that random status output | 14:56 |
mithro | anyway | 15:00 |
mithro | really going to bed now | 15:00 |
*** tpb has joined #timvideos | 15:02 | |
*** Bertl is now known as Bertl_oO | 15:06 | |
*** rohitksingh has quit IRC | 19:07 | |
*** rohitksingh has joined #timvideos | 19:10 | |
*** rohitksingh has quit IRC | 20:23 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!