*** tpb has joined #timvideos | 00:00 | |
*** mithro has joined #timvideos | 00:01 | |
*** ChanServ sets mode: +o mithro | 00:01 | |
*** ivodd has joined #timvideos | 00:01 | |
*** tumbleweed has joined #timvideos | 00:01 | |
*** tumbleweed has joined #timvideos | 00:01 | |
*** Signotheque has joined #timvideos | 00:01 | |
*** jimmo has quit IRC | 00:22 | |
*** jimmo has joined #timvideos | 00:22 | |
*** springermac has quit IRC | 02:22 | |
*** springermac has joined #timvideos | 02:22 | |
*** mikal_ has joined #timvideos | 03:41 | |
*** mikal has quit IRC | 03:45 | |
*** rohitksingh_work has joined #timvideos | 03:52 | |
mithro | shenki: So you had success last night? | 04:35 |
---|---|---|
shenki | mithro: somewhat. packets get sent, and i know that they are being recieved, but they don't make it all the way through the rx path | 04:37 |
shenki | and quite often we hit an unaligned access in the network code rx path | 04:37 |
mithro | shenki: You mean they are not coming back? | 04:37 |
shenki | they come back. i get the irq | 04:37 |
shenki | and i read the data | 04:37 |
shenki | but they don't appear in userspace (ie, ping doesn't get a response, even tho the response is coming in on the wire and causing an interrupt) | 04:38 |
mithro | shenki: That sounds like something inside Linux not working? | 05:04 |
shenki | correct | 05:06 |
mithro | shenki: Okay, so you need help from Linux kernel people rather than me now :-P | 05:07 |
shenki | mithro: you could write an unaligned memory handler for us | 05:09 |
mithro | shenki: Why is it generating unaligned memory reads? | 05:09 |
shenki | it's reading data from the network buffer | 05:11 |
mithro | shenki: But shouldn't gcc be doing the work to fixing that up? | 05:12 |
shenki | no | 05:14 |
shenki | it's a buffer that comes in off the wire, containing the ethernet frame | 05:14 |
shenki | i'm doing what should be the right things to make the network stack align the data, but it is not working | 05:14 |
mithro | shenki: I assumed the unaligned access was reading from the Ethernet SRAM region? | 05:16 |
shenki | no, it's from ram | 05:17 |
shenki | the packet has been copied into memory by this stage | 05:17 |
mithro | can you attach gdb and see what is going on? | 05:18 |
shenki | i know what's going on | 05:20 |
shenki | it's reading the ip header from an unaligned address within the skb | 05:20 |
mithro | shenki: Well, I guess you have it under control... | 05:22 |
shenki | mithro: you don't want to help write the unaligned memory handler? | 05:23 |
mithro | shenki: why would it be needed? | 05:23 |
shenki | so the kenrel can read unaligned memory | 05:24 |
shenki | it's something most kenrel ports have | 05:24 |
shenki | kernel, dammit | 05:24 |
CarlFK[m] | mithro (IRC): make conda - I guess I did that. what do I do to 'activate' or something add to the path | 05:40 |
mithro | CarlFK[m]: I'm pretty sure it tells you at the end? | 05:40 |
CarlFK[m] | mithro (IRC): mabye, but that is gone. now I get errors http://paste.ubuntu.com/26168077/ | 05:41 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 05:41 |
CarlFK[m] | found it ansible logs "source /home/juser/HDMI2USB-litex-firmware/scripts/enter-env.sh" | 05:45 |
CarlFK[m] | WARNING:root:unbind-helper not found, will have to run as root! | 05:48 |
CarlFK[m] | (H2U P=opsis) juser@cnt3:~$ sudo hdmi2usb-mode-switch | 05:48 |
CarlFK[m] | sudo: hdmi2usb-mode-switch: command not found | 05:48 |
CarlFK[m] | I think I have head that one before. | 05:48 |
CarlFK[m] | https://hdmi2usb.tv/firmware/ TODO: Can someone please accept my PR :p | 06:00 |
shenki | mithro: something that would be really useful is exposing the reset line (the same signal that is hooked up to the RESET button) as a csr register | 06:01 |
mithro | shenki: That would be pretty easy to do... | 06:01 |
shenki | cool :) | 06:03 |
mithro | shenki: Do you want me to walk you through it? | 06:06 |
shenki | sure | 06:07 |
shenki | # ping 192.168.100.100 | 06:44 |
shenki | PING 192.168.100.100 (192.168.100.100) 56(84) bytes of data. | 06:44 |
shenki | 64 bytes from 192.168.100.100: icmp_seq=1 ttl=64 time=9.06 ms | 06:45 |
shenki | 64 bytes from 192.168.100.100: icmp_seq=2 ttl=64 time=2.21 ms | 06:45 |
shenki | 🚢 ship it | 06:45 |
mithro | shenki: Opps somehow I got distracted with doing work... | 06:48 |
cr1901_modern | _with_ doing work, or _from_ doing work :P? | 06:49 |
mithro | shenki: Just create a GPIOOut register kind of like this -> https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/gateware/led.py#L11 | 06:49 |
tpb | Title: HDMI2USB-litex-firmware/led.py at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 06:49 |
* cr1901_modern highly relates to one of the two | 06:49 | |
mithro | Instead of pads give it a Signal() | 06:50 |
mithro | shenki: Then connect the Signal() to the reset signal inside the CRG module | 06:51 |
mithro | shenki: Somewhere around here -> https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/targets/arty/base.py#L77-L84 | 06:52 |
tpb | Title: HDMI2USB-litex-firmware/base.py at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 06:52 |
shenki | ok | 06:52 |
*** rohitksingh_work has quit IRC | 06:54 | |
*** rohitksingh_work has joined #timvideos | 06:56 | |
mithro | I have to run | 06:57 |
mithro | Gnight! | 06:57 |
*** fumblehool has joined #timvideos | 07:09 | |
mithro | cr1901_modern: you still around at all? | 07:57 |
mithro | Ahh well, I'll try and catch you tomorrow | 08:01 |
mithro | Really going to bed now.... | 08:01 |
felix_ | hm, i wonder how much time the volunteering at lca will take and if that will collide with being at the fpga miniconf. and which type of ticket i should order for the miniconf; the flight to australia already cost me quite some money, but i don't want to take a sponsored ticket from someone who is also interested but really can't afford that otherwise | 09:21 |
xfxf | felix_: it's a ticket and accomodation for the week, as a thankyou for volunteering on the core AV crew for the week. i sent the email you're probably responding to but i don't think we've met, hi :) | 09:56 |
xfxf | mithro: how many of your crew are going to be involved in the FPGA miniconf? because that'll indeed conflict with AV volunteer duties, so i may be mis-reading your spreadsheet | 09:57 |
xfxf | (one or two people in that situation doesn't bother me too much at all, but it occurs to me it might be almost everyone you've invited, which might present some setup challenges over the weekend) | 09:59 |
felix_ | hi xfxf | 10:00 |
xfxf | (although.. for the FPGA hackers, i mostly care that we have a working firmware/gateware with the functionality we need, and we have somebody around to help us troublesheet if we have issues. which hopefully we won't!) | 10:00 |
xfxf | mithro: also, the current plan for the keynote venue is to use HDMI2USB's as vision switchers, because UTS don't have any and originally insisted on using a Windows laptop in the top area and a giant remote clicker for Powerpoint. so we should probably get on the same page there to ensure it'll be reliable... | 10:01 |
felix_ | i'm not too familiar with the inner workings of the hdmi2usb and i don't know much about video recording stuff. i'll check the boxes for av and venue helper, is this right? | 10:06 |
xfxf | i'd imagine mithro already has plans for you :) | 10:06 |
xfxf | i'll wait until he's awake + responds | 10:07 |
felix_ | ok, then i'll wait until he's awake again. don't really know how urgent the "please register for that" was | 10:08 |
xfxf | a volunteer ticket isn't too much of an issue if you're helping at the hackfest and then after the FPGA miniconf; it's more just as long as half the intended AV crew doesn't disappear for the FPGA miniconf | 10:08 |
xfxf | a few days is fine - i said urgent mostly so people did it and didn't forget about it :) | 10:08 |
xfxf | and i'm trying to confirm numbers before I book accomodation | 10:09 |
felix_ | ok | 10:09 |
xfxf | i'm guessing only 4 or 5 of the 14 people i have on my list will be going to the FPGA miniconf so this is likely totally fine | 10:10 |
felix_ | ok | 10:12 |
*** sb0 has quit IRC | 10:34 | |
*** fumblehool has quit IRC | 11:08 | |
*** sb0 has joined #timvideos | 11:11 | |
*** sb0_ has joined #timvideos | 12:00 | |
*** rohitksingh_work has quit IRC | 12:31 | |
*** shorne_ is now known as shorne | 13:19 | |
mithro | felix_: I'm not expecting you to pay for anything extra | 13:26 |
mithro | felix_: I already have FPGA Miniconf hardware for you and Rohit | 13:26 |
cr1901_modern | mithro: I am around now | 13:27 |
mithro | felix_: I would like you to participate in the A/V volunteer roster so that you get a feel for what environment PhotonSDI will be used in and the type of stresses it might be put under :-) | 13:27 |
cr1901_modern | (shouldn't you still be in bed?) | 13:27 |
mithro | cr1901_modern: Yes, but I woke up and couldn't get back to sleep so came into work instead | 13:27 |
cr1901_modern | mithro: That's dedication :)! Or you getting your hours out of the way early | 13:28 |
*** tsglove has quit IRC | 13:33 | |
*** tsglove has joined #timvideos | 13:35 | |
*** tsglove has joined #timvideos | 13:38 | |
*** tsglove has joined #timvideos | 13:40 | |
*** tsglove has quit IRC | 13:42 | |
*** kierank has joined #timvideos | 13:51 | |
felix_ | mithro: ok, sounds like a plan. i'd definitely like to try to get a better understanding of the usage of the things i'm developing | 13:53 |
felix_ | when trying to register for the fpga miniconf, i get this error: " | 14:09 |
felix_ | There are no products available from category: FPGA Miniconf | 14:09 |
mithro | felix_: You don't need to register for the FPGA Miniconf | 15:11 |
mithro | (You explicitly -- everyone else does) | 15:12 |
felix_ | i got the volunteer ticket and the registration of the fpga miniconf is on that page. so what should i select there? i also wonder if i should get a ticket for the penguin dinner and which hotel i should choose or if my accommodation booking will happen outside of that ordering page | 15:15 |
mithro | felix_: Your hotel booking will probably happen outside that page | 15:16 |
felix_ | ok | 15:16 |
CarlFK[m] | felix_: did you select one of the 6 or so fpga hardware choices? like usb a or c? | 15:24 |
CarlFK[m] | good morning all | 15:24 |
felix_ | i selected the sponsored with usb a option | 15:25 |
felix_ | or should i have selected no board there and i'll get the board directly from mithro? | 15:26 |
mithro | felix_: Don't sign up for anything at the FPGA miniconf | 15:26 |
felix_ | ok, i selected no selection instead | 15:29 |
felix_ | done | 15:31 |
CarlFK[m] | mithro (IRC): accept my PR so I can make it better | 15:39 |
CarlFK[m] | petty sure it is out of date with filenames | 15:39 |
CarlFK[m] | mithro (IRC): is there a spreadsheet or something with build/results? | 15:44 |
CarlFK[m] | this is what I think needs testing: http://paste.ubuntu.com/26168128/ (http://paste.ubuntu.com/26168128/) and I would like to log the results somewhere | 15:45 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 15:45 |
mithro | CarlFK[m]: yes | 15:48 |
mithro | CarlFK[m]: No we don't have any spreadsheet or anything | 15:48 |
mithro | CarlFK[m]: I'll try and look at your PR in a minute | 15:48 |
CarlFK[m] | take you time, i'm making breakfast | 15:49 |
felix_ | hmm, i thought that there was some minimal migen/misoc or litex example with only a blinking led or some characters sent via a serial port, but i don't find that any more. most examples i found already used the ddr memory, but i don't want to spend too much time on getting that working right now for the ac701 | 15:55 |
cr1901_modern | mithro: As a matter of policy, does every commit to HDMI2USB need to compile? B/c I don't think I can promise that during the rebase. | 16:08 |
cr1901_modern | (Makefile conflict) | 16:10 |
mithro | felix_: Getting the DDR working should be pretty trivial. You can just comment out the ddr | 16:11 |
cr1901_modern | mithro: Disregard | 16:13 |
cr1901_modern | mithro: Just FYI, it's not possible to test whether changes to the Makefile during a rebase break until _after_ the rebase is done thanks to >> | 16:21 |
cr1901_modern | version_data.sh bombing if "ref HEAD is not a symbolic ref" | 16:22 |
cr1901_modern | (which it won't be during a rebase conflict) | 16:22 |
felix_ | ok | 17:01 |
FelixVi | cr1901_modern: ping - any further thoughts on the flash interface? | 17:34 |
cr1901_modern | FelixVi: No and I'm really busy the next few days. I'll talk to you privately later tonight about what we should do. | 17:38 |
FelixVi | cr1901_modern: No worries, we can also talk about it next week | 17:40 |
*** samsagaz has quit IRC | 18:30 | |
*** MaZderMind has quit IRC | 20:09 | |
*** MaZderMind has joined #timvideos | 20:09 | |
*** bunnie_ has quit IRC | 20:37 | |
*** mcarden has quit IRC | 20:37 | |
*** mcarden has joined #timvideos | 20:38 | |
*** jea has quit IRC | 20:38 | |
*** Guest4752 has quit IRC | 20:42 | |
CarlFK[m] | MaZderMind (IRC): Do you have notes on what you installed from where to flash your Opsis? | 20:44 |
*** bunnie has joined #timvideos | 20:44 | |
CarlFK[m] | I have both a stretch and xenail box, and get various errors from modeswitch | 20:44 |
MaZderMind | CarlFK[m]: i blindly ran the getting-started script and successfully used the modeswitch tool. I've put my board aside until january, because of ccc congress preparations | 20:45 |
CarlFK[m] | what getting-started script? | 20:46 |
CarlFK[m] | does "make conda" sound familiar? | 20:46 |
*** jea has joined #timvideos | 20:46 | |
*** Peetz0r has quit IRC | 20:47 | |
*** Peetz0r has joined #timvideos | 20:47 | |
*** Guest4752 has joined #timvideos | 20:50 | |
CarlFK[m] | mithro (IRC): docs :p | 20:58 |
*** Guest4752 is now known as puck | 21:36 | |
*** CarlFK has quit IRC | 23:29 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!